diff --git a/manifest.dhall b/manifest.dhall index 0ec53fe39d346b2e93777f3b1232fed3792dd44b..ae10826315d780e0226f88f3b30971614a473d22 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -174,6 +174,7 @@ in [ callHackage "HTF" "0.15.0.0" "https://github.com/tweag/HaskellR" (Some "fe9b5bd06cd4d3988e47b9933b11d83b6108e255") (Some "inline-r") + , callHackage "int-cast" "0.2.0.0" , callCabal2nix "measures" "https://github.com/input-output-hk/cardano-base" diff --git a/overlay.nix b/overlay.nix index 780734fa3ec6cc420e085700c595e2347f8cb38e..b43bab649c272e192be84c3e0148c6c33efbc13d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -113,6 +113,8 @@ final: prev: with pkgs.haskell.lib; { inline-r = prev.callPackage (./pkgs/inline-r.nix) { }; + int-cast = prev.callPackage (./pkgs/int-cast.nix) { }; + lazysmallcheck = prev.callPackage (./pkgs/lazysmallcheck.nix) { }; list-t = prev.callPackage (./pkgs/list-t.nix) { }; diff --git a/pkgs/int-cast.nix b/pkgs/int-cast.nix new file mode 100644 index 0000000000000000000000000000000000000000..ce2c621d354e10325aec7102579b72801cc36563 --- /dev/null +++ b/pkgs/int-cast.nix @@ -0,0 +1,35 @@ +{ mkDerivation +, base +, lib +, QuickCheck +, test-framework +, test-framework-quickcheck2 +}: +mkDerivation { + pname = "int-cast"; + version = "0.2.0.0"; + sha256 = "e006956a08b751a996a92828ccb728b7237c9c435c4b35b5169eb8d44ac51969"; + revision = "4"; + editedCabalFile = "1l5n3hsa8gr0wzc3cb32ha2j8kcf976i84z04580q41macf0r0h6"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base ]; + testHaskellDepends = [ + base + QuickCheck + test-framework + test-framework-quickcheck2 + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/hvr/int-cast"; + description = "Checked conversions between integral types"; + license = lib.licenses.bsd3; + broken = false; +}