diff --git a/horizon.dhall b/horizon.dhall index a8595360784e6cc1a7c99e975e00aaa4e7ba9af9..27439ecbe770878fb84ef17f42901437f293e2ba 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -177,6 +177,11 @@ let otherLibraries = (None H.Subdir) , H.callHackage "haskell-src" "1.0.4" , callCardanoBase "heapwords" "heapwords" + , H.callCabal2nix + "hedgehog-extras" + "https://github.com/input-output-hk/hedgehog-extras" + "26b76bbcecfe48d0a87099f213f58e3778aa1f59" + (None H.Subdir) , H.callHackage "hedgehog-fn" "1.0" , H.callHackage "hedgehog-quickcheck" "0.1.1" , H.callHackage "heredoc" "0.2.0.0" diff --git a/overlay.nix b/overlay.nix index 71608679c5e9abc8d3ae1cfb4c53f798b22711e8..77089617fdaa06d5088b3ad9068e1e5efb7e233d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -119,6 +119,8 @@ final: prev: with pkgs.haskell.lib; { heapwords = final.callPackage (./pkgs/heapwords.nix) { }; + hedgehog-extras = final.callPackage (./pkgs/hedgehog-extras.nix) { }; + hedgehog-fn = final.callPackage (./pkgs/hedgehog-fn.nix) { }; hedgehog-quickcheck = final.callPackage (./pkgs/hedgehog-quickcheck.nix) { }; diff --git a/pkgs/hedgehog-extras.nix b/pkgs/hedgehog-extras.nix new file mode 100644 index 0000000000000000000000000000000000000000..358c2cc2e773e118cf0b3306c369f7dd26497898 --- /dev/null +++ b/pkgs/hedgehog-extras.nix @@ -0,0 +1,77 @@ +{ mkDerivation +, aeson +, aeson-pretty +, async +, base +, bytestring +, deepseq +, directory +, exceptions +, fetchgit +, filepath +, hedgehog +, hw-aeson +, lib +, mmorph +, mtl +, network +, process +, resourcet +, stm +, temporary +, text +, time +, transformers +, unliftio +, unordered-containers +, yaml +}: +mkDerivation { + pname = "hedgehog-extras"; + version = "0.2.0.0"; + src = fetchgit { + url = "https://github.com/input-output-hk/hedgehog-extras"; + sha256 = "14fq596n48jx2yys7pzz2rfdssd6hj28z6wb7dl4pjzpkznbwj3a"; + rev = "26b76bbcecfe48d0a87099f213f58e3778aa1f59"; + fetchSubmodules = true; + }; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + aeson + aeson-pretty + async + base + bytestring + deepseq + directory + exceptions + filepath + hedgehog + hw-aeson + mmorph + mtl + network + process + resourcet + stm + temporary + text + time + transformers + unliftio + unordered-containers + yaml + ]; + enableLibraryProfiling = true; + enableExecutableProfiling = true; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Supplemental library for hedgehog"; + license = lib.licenses.asl20; + broken = false; +}