diff --git a/manifest.dhall b/manifest.dhall index 4ce4d71f4f358447a942f590f6297179c25b5373..b99a0c604a552a09ed2f2f88050aec1c73abc047 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -76,6 +76,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "OpenGLRaw" "3.3.4.1" , callHackage "PyF" "0.11.1.0" , callHackage "QuickCheck" "2.14.2" + , callHackage "SHA" "1.6.4.4" , callHackage "StateVar" "1.2.2" , callHackage "adjunctions" "4.4.2" , callHackage "aeson" "2.1.0.0" diff --git a/overlay.nix b/overlay.nix index f4c6919d4f2392af0e9fe48fa444ac12b83c6f5a..dfb76fe6f815bd8fb1545d4f638e02ef36d935bc 100644 --- a/overlay.nix +++ b/overlay.nix @@ -35,6 +35,8 @@ self: with pkgs.haskell.lib; { QuickCheck = self.callPackage (./pkgs/QuickCheck.nix) { }; + SHA = self.callPackage (./pkgs/SHA.nix) { }; + StateVar = self.callPackage (./pkgs/StateVar.nix) { }; adjunctions = self.callPackage (./pkgs/adjunctions.nix) { }; diff --git a/pkgs/SHA.nix b/pkgs/SHA.nix new file mode 100644 index 0000000000000000000000000000000000000000..3f0ce64d30d53acb35f6b041abbd04033c886286 --- /dev/null +++ b/pkgs/SHA.nix @@ -0,0 +1,38 @@ +{ mkDerivation +, array +, base +, binary +, bytestring +, lib +, QuickCheck +, test-framework +, test-framework-quickcheck2 +}: +mkDerivation { + pname = "SHA"; + version = "1.6.4.4"; + sha256 = "6bd950df6b11a3998bb1452d875d2da043ee43385459afc5f16d471d25178b44"; + isLibrary = true; + isExecutable = true; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ array base binary bytestring ]; + testHaskellDepends = [ + array + base + binary + bytestring + QuickCheck + test-framework + test-framework-quickcheck2 + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + description = "Implementations of the SHA suite of message digest functions"; + license = lib.licenses.bsd3; + broken = false; +}