From a70a2c140afcec8fde16e58014ea2aa6d83c9592 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 08:31:47 +0000 Subject: [PATCH] test-framework-quickcheck2: init at 0.3.0.5 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/test-framework-quickcheck2.nix | 36 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 pkgs/test-framework-quickcheck2.nix diff --git a/manifest.dhall b/manifest.dhall index 3ce759b4..abb24221 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -468,6 +468,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "tasty-wai" "0.1.2.0" , callHackage "test-framework" "0.8.2.0" , callHackage "test-framework-hunit" "0.3.0.2" + , callHackage "test-framework-quickcheck2" "0.3.0.5" , callHackage "text-display" "0.0.3.0" , callHackage "text-metrics" "0.3.2" , callHackage "text-zipper" "0.12" diff --git a/overlay.nix b/overlay.nix index b39d4dc1..b2be85a2 100644 --- a/overlay.nix +++ b/overlay.nix @@ -569,6 +569,8 @@ final: prev: with pkgs.haskell.lib; { test-framework-hunit = prev.callPackage (./pkgs/test-framework-hunit.nix) { }; + test-framework-quickcheck2 = prev.callPackage (./pkgs/test-framework-quickcheck2.nix) { }; + text-display = prev.callPackage (./pkgs/text-display.nix) { }; text-metrics = prev.callPackage (./pkgs/text-metrics.nix) { }; diff --git a/pkgs/test-framework-quickcheck2.nix b/pkgs/test-framework-quickcheck2.nix new file mode 100644 index 00000000..042820de --- /dev/null +++ b/pkgs/test-framework-quickcheck2.nix @@ -0,0 +1,36 @@ +{ mkDerivation +, base +, extensible-exceptions +, lib +, QuickCheck +, random +, test-framework +}: +mkDerivation { + pname = "test-framework-quickcheck2"; + version = "0.3.0.5"; + sha256 = "c9f678d4ec30599172eb887031f0bce2012b532daeb713836bd912bff64eee59"; + revision = "3"; + editedCabalFile = "0mglqfimla4vvv80mg08aj76zf4993wmngqlirh05h8i9nmgv6lh"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + extensible-exceptions + QuickCheck + random + test-framework + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://haskell.github.io/test-framework/"; + description = "QuickCheck-2 support for the test-framework package"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab