nixpkgs/pkgs/development/libraries/haskell/crypto-numbers/default.nix
Peter Simons a30df95691 Re-generate all Haskell packages with the latest version of cabal2nix.
This change brings support for building and running the regressions test suites.
2013-02-25 00:32:40 +01:00

20 lines
674 B
Nix

{ cabal, cryptoRandomApi, HUnit, QuickCheck, testFramework
, testFrameworkHunit, testFrameworkQuickcheck2, vector
}:
cabal.mkDerivation (self: {
pname = "crypto-numbers";
version = "0.1.3";
sha256 = "115lgnay3ly5r53flh3v5jygqks0rg1i8qmbvrqf9nkmnmw6a5x1";
buildDepends = [ cryptoRandomApi vector ];
testDepends = [
cryptoRandomApi HUnit QuickCheck testFramework testFrameworkHunit
testFrameworkQuickcheck2 vector
];
meta = {
homepage = "http://github.com/vincenthz/hs-crypto-numbers";
description = "Cryptographic numbers: functions and algorithms";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})