From d19ed54693c51333f4e35195de352d765d78e6ad Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 1 Nov 2011 19:03:01 +0000 Subject: [PATCH] haskell-cryptocipher: added version 0.3.0 svn path=/nixpkgs/trunk/; revision=30169 --- .../cryptocipher/{default.nix => 0.2.14.nix} | 0 .../libraries/haskell/cryptocipher/0.3.0.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++- 3 files changed, 23 insertions(+), 1 deletion(-) rename pkgs/development/libraries/haskell/cryptocipher/{default.nix => 0.2.14.nix} (100%) create mode 100644 pkgs/development/libraries/haskell/cryptocipher/0.3.0.nix diff --git a/pkgs/development/libraries/haskell/cryptocipher/default.nix b/pkgs/development/libraries/haskell/cryptocipher/0.2.14.nix similarity index 100% rename from pkgs/development/libraries/haskell/cryptocipher/default.nix rename to pkgs/development/libraries/haskell/cryptocipher/0.2.14.nix diff --git a/pkgs/development/libraries/haskell/cryptocipher/0.3.0.nix b/pkgs/development/libraries/haskell/cryptocipher/0.3.0.nix new file mode 100644 index 00000000000..a1cbb48b463 --- /dev/null +++ b/pkgs/development/libraries/haskell/cryptocipher/0.3.0.nix @@ -0,0 +1,20 @@ +{ cabal, cereal, cryptoApi, cryptoPubkeyTypes, primitive, tagged +, vector +}: + +cabal.mkDerivation (self: { + pname = "cryptocipher"; + version = "0.3.0"; + sha256 = "17jbzssdbprspadz5ynyam60l5iw7s809irklfg1ii89x26mlyix"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + cereal cryptoApi cryptoPubkeyTypes primitive tagged vector + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-cryptocipher"; + description = "Symmetrical Block, Stream and PubKey Ciphers"; + 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 6c78b9c8f7b..07061fcc2f5 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -494,7 +494,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cryptoApi = callPackage ../development/libraries/haskell/crypto-api {}; - cryptocipher = callPackage ../development/libraries/haskell/cryptocipher {}; + cryptocipher_0_2_14 = callPackage ../development/libraries/haskell/cryptocipher/0.2.14.nix {}; + cryptocipher_0_3_0 = callPackage ../development/libraries/haskell/cryptocipher/0.3.0.nix {}; + cryptocipher = self.cryptocipher_0_2_14; cryptohash = callPackage ../development/libraries/haskell/cryptohash {};