From 60a58dda25d35b4de7f35179bd7fde2e2724504d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 11 Aug 2013 18:52:01 +0200 Subject: [PATCH] haskell-crypto-cipher-tests: add version 0.0.1 --- .../haskell/crypto-cipher-tests/default.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/libraries/haskell/crypto-cipher-tests/default.nix diff --git a/pkgs/development/libraries/haskell/crypto-cipher-tests/default.nix b/pkgs/development/libraries/haskell/crypto-cipher-tests/default.nix new file mode 100644 index 00000000000..60b4d3bad8f --- /dev/null +++ b/pkgs/development/libraries/haskell/crypto-cipher-tests/default.nix @@ -0,0 +1,20 @@ +{ cabal, byteable, cryptoCipherTypes, HUnit, mtl, QuickCheck +, securemem, testFramework, testFrameworkHunit +, testFrameworkQuickcheck2 +}: + +cabal.mkDerivation (self: { + pname = "crypto-cipher-tests"; + version = "0.0.1"; + sha256 = "1g5rxx07s23pr0vam0bjlp3qwxzqa3m6x6gbv88fhkmbqwxiq2fh"; + buildDepends = [ + byteable cryptoCipherTypes HUnit mtl QuickCheck securemem + testFramework testFrameworkHunit testFrameworkQuickcheck2 + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-crypto-cipher"; + description = "Generic cryptography cipher tests"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 56997382054..11e48aaeade 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -756,6 +756,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cryptocipher = callPackage ../development/libraries/haskell/cryptocipher {}; + cryptoCipherTests = callPackage ../development/libraries/haskell/crypto-cipher-tests {}; + cryptoConduit = callPackage ../development/libraries/haskell/crypto-conduit {}; cryptohash = callPackage ../development/libraries/haskell/cryptohash {};