From 66b32c4b666e0d0b71cc15022aa5de7cafbbd7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Mon, 13 Jul 2009 11:36:50 +0000 Subject: [PATCH] Added SHA for Haskell. svn path=/nixpkgs/trunk/; revision=16335 --- pkgs/development/libraries/haskell/SHA/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/SHA/default.nix 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; };