From fa7e494b2533d727395dbea84e8396b53cca7ec3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 24 Dec 2013 17:27:45 +0100 Subject: [PATCH] haskell-RSA: update to version 2.0 --- .../development/libraries/haskell/RSA/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/haskell/RSA/default.nix b/pkgs/development/libraries/haskell/RSA/default.nix index c5257c5b2620..9ac3036ffb51 100644 --- a/pkgs/development/libraries/haskell/RSA/default.nix +++ b/pkgs/development/libraries/haskell/RSA/default.nix @@ -1,16 +1,19 @@ -{ cabal, binary, cryptoApi, cryptoPubkeyTypes, monadcryptorandom -, pureMD5, SHA +{ cabal, binary, cryptoApi, cryptoPubkeyTypes, DRBG +, monadcryptorandom, pureMD5, QuickCheck, SHA, tagged +, testFramework, testFrameworkQuickcheck2 }: cabal.mkDerivation (self: { pname = "RSA"; - version = "1.2.2.0"; - sha256 = "0x4an1060slppyccf18isqrdl548ll33xzzqch3qxg285a0mm12m"; - isLibrary = true; - isExecutable = true; + version = "2.0"; + sha256 = "170bjcqd6q8q0c0idjpm9vgn02ifwxz1xvwp1l30qdf56293p4bq"; buildDepends = [ binary cryptoApi cryptoPubkeyTypes monadcryptorandom pureMD5 SHA ]; + testDepends = [ + binary cryptoApi cryptoPubkeyTypes DRBG pureMD5 QuickCheck SHA + tagged testFramework testFrameworkQuickcheck2 + ]; meta = { description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1."; license = self.stdenv.lib.licenses.bsd3;