25 lines
790 B
Nix
25 lines
790 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.7";
|
||
|
sha256 = "0bm5sijahpih2c6scz3y32904wzvmllgslg9d547cksbgy7lyx1h";
|
||
|
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;
|
||
|
};
|
||
|
})
|