From 2234f938b67ab2e896d4ac63b2503ec79494e3ad Mon Sep 17 00:00:00 2001 From: Max Tomago <noreply@tomagotech.com> Date: Fri, 18 Nov 2022 00:55:31 +0000 Subject: [PATCH] hedgehog-quickcheck: init at 0.1.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/hedgehog-quickcheck.nix | 23 +++++++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/hedgehog-quickcheck.nix diff --git a/manifest.dhall b/manifest.dhall index 863398a..907b21d 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 f5fbfb2..2a22091 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 0000000..489634e --- /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; +} -- GitLab