mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
a30df95691
This change brings support for building and running the regressions test suites.
24 lines
747 B
Nix
24 lines
747 B
Nix
{ cabal, cryptohash, cryptoNumbers, cryptoPubkeyTypes
|
|
, cryptoRandomApi, HUnit, QuickCheck, testFramework
|
|
, testFrameworkHunit, testFrameworkQuickcheck2
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "crypto-pubkey";
|
|
version = "0.1.2";
|
|
sha256 = "1law5l7j0r0v89dnibmaipjp0yshffq10xs4rvg2j247v29lhns5";
|
|
buildDepends = [
|
|
cryptohash cryptoNumbers cryptoPubkeyTypes cryptoRandomApi
|
|
];
|
|
testDepends = [
|
|
cryptohash cryptoNumbers cryptoRandomApi HUnit QuickCheck
|
|
testFramework testFrameworkHunit testFrameworkQuickcheck2
|
|
];
|
|
meta = {
|
|
homepage = "http://github.com/vincenthz/hs-crypto-pubkey";
|
|
description = "Public Key cryptography";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|