24 lines
791 B
Nix
24 lines
791 B
Nix
{ cabal, asn1Encoding, asn1Parse, asn1Types, cryptohash
|
|
, cryptoPubkeyTypes, filepath, HUnit, mtl, pem, QuickCheck
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, time
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "x509";
|
|
version = "1.4.11";
|
|
sha256 = "1ax56jps640cj1swy08y4k75vx908ckwkg2hi7y2s3bhnvpz49ga";
|
|
buildDepends = [
|
|
asn1Encoding asn1Parse asn1Types cryptohash cryptoPubkeyTypes
|
|
filepath mtl pem time
|
|
];
|
|
testDepends = [
|
|
asn1Types cryptoPubkeyTypes HUnit mtl QuickCheck testFramework
|
|
testFrameworkHunit testFrameworkQuickcheck2 time
|
|
];
|
|
meta = {
|
|
homepage = "http://github.com/vincenthz/hs-certificate";
|
|
description = "X509 reader and writer";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|