diff --git a/pkgs/development/libraries/haskell/SHA/default.nix b/pkgs/development/libraries/haskell/SHA/default.nix new file mode 100644 index 000000000000..2d51cddca743 --- /dev/null +++ b/pkgs/development/libraries/haskell/SHA/default.nix @@ -0,0 +1,12 @@ +{cabal, binary}: + +cabal.mkDerivation (self : { + pname = "SHA"; + version = "1.4.0"; + sha256 = "7f08042fddadd8e3795d627a042d1884b33e066ab67d03b6de92551a4ad9fc7d"; + propagatedBuildInputs = [binary]; + meta = { + description = "Implementations of the SHA suite of message digest functions"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 591624655451..1b6331548172 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -312,6 +312,10 @@ rec { inherit (pkgs) SDL; }; + SHA = import ../development/libraries/haskell/SHA { + inherit cabal binary; + }; + Shellac = import ../development/libraries/haskell/Shellac/Shellac.nix { inherit cabal mtl; };