From 6646b800279791dddda684d0d5f0a743f6dc8a9f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 24 Dec 2013 18:07:43 +0100 Subject: [PATCH] haskell-cipher-aes128: add version 0.5 --- .../libraries/haskell/cipher-aes128/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/development/libraries/haskell/cipher-aes128/default.nix diff --git a/pkgs/development/libraries/haskell/cipher-aes128/default.nix b/pkgs/development/libraries/haskell/cipher-aes128/default.nix new file mode 100644 index 00000000000..c8be6bcb0dc --- /dev/null +++ b/pkgs/development/libraries/haskell/cipher-aes128/default.nix @@ -0,0 +1,14 @@ +{ cabal, cereal, cryptoApi, tagged }: + +cabal.mkDerivation (self: { + pname = "cipher-aes128"; + version = "0.5"; + sha256 = "14rwnz0nwmy1zch1ywjxf2fgfs1xj84l4n785rhb6npmx6k7rmqd"; + buildDepends = [ cereal cryptoApi tagged ]; + meta = { + homepage = "https://github.com/TomMD/cipher-aes128"; + description = "AES128 using AES-NI when available"; + 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 012ac910486..976598dc5b3 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -722,6 +722,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x cipherAes = callPackage ../development/libraries/haskell/cipher-aes {}; + cipherAes128 = callPackage ../development/libraries/haskell/cipher-aes128 {}; + cipherBlowfish = callPackage ../development/libraries/haskell/cipher-blowfish {}; cipherCamellia = callPackage ../development/libraries/haskell/cipher-camellia {};