3
0
Fork 0
forked from mirrors/nixpkgs

softhsm: init -> 2.1.0

This commit is contained in:
Michiel Leenaars 2016-04-18 10:36:47 +02:00 committed by zimbatm
parent 5d3ccc0fe1
commit 38c5319fd8
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ stdenv, fetchurl, botan }:
stdenv.mkDerivation rec {
name = "softhsm-${version}";
version = "2.1.0";
src = fetchurl {
url = "https://dist.opendnssec.org/source/${name}.tar.gz";
sha256 = "0399b06f196fbfaebe73b4aeff2e2d65d0dc1901161513d0d6a94f031dcd827e";
};
configureFlags = [
"--with-crypto-backend=botan"
"--with-botan=${botan}"
"--sysconfdir=$out/etc"
"--localstatedir=$out/var"
];
buildInputs = [ botan ];
postInstall = "rm -rf $out/var";
meta = {
homepage = https://www.opendnssec.org/softhsm;
description = "Cryptographic store accessible through a PKCS #11 interface";
license = stdenv.lib.licenses.bsd2;
maintainers = stdenv.lib.maintainers.leenaars;
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -3230,6 +3230,8 @@ in
snort = callPackage ../applications/networking/ids/snort { }; snort = callPackage ../applications/networking/ids/snort { };
softhsm = callPackage ../tools/security/softhsm { };
solr = callPackage ../servers/search/solr { }; solr = callPackage ../servers/search/solr { };
solvespace = callPackage ../applications/graphics/solvespace { }; solvespace = callPackage ../applications/graphics/solvespace { };