blob: 5f282dd378a5e80dbd563f9effdc0486d20d34d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 = with stdenv.lib; {
homepage = https://www.opendnssec.org/softhsm;
description = "Cryptographic store accessible through a PKCS #11 interface";
license = licenses.bsd2;
maintainers = [ maintainers.leenaars ];
platforms = platforms.linux;
};
}
|