diff --git a/pkgs/development/libraries/haskell/crypto-random-api/default.nix b/pkgs/development/libraries/haskell/crypto-random-api/default.nix new file mode 100644 index 00000000000..0530a4bb245 --- /dev/null +++ b/pkgs/development/libraries/haskell/crypto-random-api/default.nix @@ -0,0 +1,14 @@ +{ cabal, entropy }: + +cabal.mkDerivation (self: { + pname = "crypto-random-api"; + version = "0.1.0"; + sha256 = "1zx05hskzdxm0kfj6x9qsx8f659zv77pa189s3xg56i7h18d25md"; + buildDepends = [ entropy ]; + meta = { + homepage = "http://github.com/vincenthz/hs-crypto-random-api"; + description = "Simple random generators API for cryptography related code"; + 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 718ca298032..4a4b7ccdfa2 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -632,6 +632,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); cryptoPubkeyTypes = callPackage ../development/libraries/haskell/crypto-pubkey-types {}; + cryptoRandomApi = callPackage ../development/libraries/haskell/crypto-random-api {}; + cuda = callPackage ../development/libraries/haskell/cuda { inherit (pkgs.linuxPackages) nvidia_x11; };