diff --git a/manifest.dhall b/manifest.dhall index 2f5efaadc55b0771edab2db729a6ba49dd39a81e..bbf483261d197d3f19fe366bd64fdcda0d01e84b 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -607,6 +607,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "quickcheck-dynamic" "2.0.0" , callHackage "quickcheck-instances" "0.3.28" , callHackage "quickcheck-io" "0.2.0" + , callHackage "quickcheck-text" "0.1.2.1" , callHackage "quickcheck-unicode" "1.0.1.0" , callHackage "random-bytestring" "0.1.4" , callHackage "random-shuffle" "0.0.4" diff --git a/overlay.nix b/overlay.nix index 99fc6f70e2c7659e7b3d24b3ffde4a7fb17b7286..35d5c98b515a0beda3223467d5f56edb7ba9eb3b 100644 --- a/overlay.nix +++ b/overlay.nix @@ -939,6 +939,8 @@ self: with pkgs.haskell.lib; { quickcheck-io = self.callPackage (./pkgs/quickcheck-io.nix) { }; + quickcheck-text = self.callPackage (./pkgs/quickcheck-text.nix) { }; + quickcheck-unicode = self.callPackage (./pkgs/quickcheck-unicode.nix) { }; random = self.callPackage (./pkgs/random.nix) { }; diff --git a/pkgs/quickcheck-text.nix b/pkgs/quickcheck-text.nix new file mode 100644 index 0000000000000000000000000000000000000000..0c439d47c24c23c1f224a4cb35c8e53e925c43b0 --- /dev/null +++ b/pkgs/quickcheck-text.nix @@ -0,0 +1,22 @@ +{ mkDerivation, base, binary, bytestring, lib, QuickCheck, text }: +mkDerivation { + pname = "quickcheck-text"; + version = "0.1.2.1"; + sha256 = "4442fdb8ae6cd469c04957d34fee46039c9dc0ddce23ce6050babe6826d0ab09"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base binary bytestring QuickCheck text ]; + testHaskellDepends = [ base bytestring QuickCheck text ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/olorin/quickcheck-text"; + description = "Alternative arbitrary instance for Text"; + license = lib.licenses.mit; + broken = false; +}