summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/cipher-aes128/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/cipher-aes128/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/cipher-aes128/default.nix14
1 files changed, 14 insertions, 0 deletions
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 000000000000..c8be6bcb0dcf
--- /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;
+  };
+})