summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/DRBG/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/DRBG/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/DRBG/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/DRBG/default.nix b/pkgs/development/libraries/haskell/DRBG/default.nix
new file mode 100644
index 000000000000..0d479b815153
--- /dev/null
+++ b/pkgs/development/libraries/haskell/DRBG/default.nix
@@ -0,0 +1,20 @@
+{ cabal, cereal, cipherAes128, cryptoApi, cryptohashCryptoapi
+, entropy, mtl, parallel, prettyclass, tagged
+}:
+
+cabal.mkDerivation (self: {
+  pname = "DRBG";
+  version = "0.5.1";
+  sha256 = "0mqgll5rf0h0yrdng1w9i8pis4yv9f4qffkh4c0g1ng5lxa9l747";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [
+    cereal cipherAes128 cryptoApi cryptohashCryptoapi entropy mtl
+    parallel prettyclass tagged
+  ];
+  meta = {
+    description = "Deterministic random bit generator (aka RNG, PRNG) based HMACs, Hashes, and Ciphers";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})