diff --git a/manifest.dhall b/manifest.dhall index 863398a4003207cbf103c3051d9d2a6f78a6000a..907b21d0e0bc3b0adad839bbc3faeb0e3370d6da 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -162,6 +162,7 @@ in [ callHackage "PyF" "0.11.0.0" "https://github.com/input-output-hk/cardano-base" (Some "46cd4c97cff9f1f0a0da976aa9e32bd2899c85ee") (Some "heapwords") + , callHackage "hedgehog-quickcheck" "0.1.1" , callCabal2nix "inline-r" "https://github.com/tweag/HaskellR" diff --git a/overlay.nix b/overlay.nix index f5fbfb22e06443a19fc49ab1dfdbb1101e90c32f..2a2209111361e9a6f9ffab2e47e503a7985c29d9 100644 --- a/overlay.nix +++ b/overlay.nix @@ -97,6 +97,8 @@ final: prev: with pkgs.haskell.lib; { heapwords = prev.callPackage (./pkgs/heapwords.nix) { }; + hedgehog-quickcheck = prev.callPackage (./pkgs/hedgehog-quickcheck.nix) { }; + inline-r = prev.callPackage (./pkgs/inline-r.nix) { }; measures = prev.callPackage (./pkgs/measures.nix) { }; diff --git a/pkgs/hedgehog-quickcheck.nix b/pkgs/hedgehog-quickcheck.nix new file mode 100644 index 0000000000000000000000000000000000000000..489634e50e224a776b037122a42df968d5eac810 --- /dev/null +++ b/pkgs/hedgehog-quickcheck.nix @@ -0,0 +1,23 @@ +{ mkDerivation, base, hedgehog, lib, QuickCheck, transformers }: +mkDerivation { + pname = "hedgehog-quickcheck"; + version = "0.1.1"; + sha256 = "97b65db815fdfaacc7c4d06a7b9b74680b50264afa03f839c4037dcc875152fc"; + revision = "4"; + editedCabalFile = "1838hm2p22n8qrps17zjzf9k0jwvrw9g99r0crii3igfbi22m8nf"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base hedgehog QuickCheck transformers ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://hedgehog.qa"; + description = "Use QuickCheck generators in Hedgehog and vice versa"; + license = lib.licenses.bsd3; + broken = false; +}