softhsm: 2.5.0 -> 2.6.1 (#95594)
This commit is contained in:
parent
e98368631d
commit
49f6cbaaa9
@ -1,18 +1,18 @@
|
|||||||
{ stdenv, fetchurl, botan, libobjc, Security }:
|
{ stdenv, fetchurl, botan2, libobjc, Security }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
pname = "softhsm";
|
pname = "softhsm";
|
||||||
version = "2.5.0";
|
version = "2.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://dist.opendnssec.org/source/${pname}-${version}.tar.gz";
|
url = "https://dist.opendnssec.org/source/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1cijq78jr3mzg7jj11r0krawijp99p253f4qdqr94n728p7mdalj";
|
hash = "sha256:1wkmyi6n3z2pak1cj5yk6v6bv9w0m24skycya48iikab0mrr8931";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-crypto-backend=botan"
|
"--with-crypto-backend=botan"
|
||||||
"--with-botan=${botan}"
|
"--with-botan=${botan2}"
|
||||||
"--sysconfdir=$out/etc"
|
"--sysconfdir=$out/etc"
|
||||||
"--localstatedir=$out/var"
|
"--localstatedir=$out/var"
|
||||||
];
|
];
|
||||||
@ -20,13 +20,24 @@ stdenv.mkDerivation rec {
|
|||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
stdenv.lib.optionals stdenv.isDarwin [ libobjc Security ];
|
stdenv.lib.optionals stdenv.isDarwin [ libobjc Security ];
|
||||||
|
|
||||||
buildInputs = [ botan ];
|
buildInputs = [ botan2 ];
|
||||||
|
|
||||||
postInstall = "rm -rf $out/var";
|
postInstall = "rm -rf $out/var";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.opendnssec.org/softhsm";
|
homepage = "https://www.opendnssec.org/softhsm";
|
||||||
description = "Cryptographic store accessible through a PKCS #11 interface";
|
description = "Cryptographic store accessible through a PKCS #11 interface";
|
||||||
|
longDescription = "
|
||||||
|
SoftHSM provides a software implementation of a generic
|
||||||
|
cryptographic device with a PKCS#11 interface, which is of
|
||||||
|
course especially useful in environments where a dedicated hardware
|
||||||
|
implementation of such a device - for instance a Hardware
|
||||||
|
Security Module (HSM) or smartcard - is not available.
|
||||||
|
|
||||||
|
SoftHSM follows the OASIS PKCS#11 standard, meaning it should be
|
||||||
|
able to work with many cryptographic products. SoftHSM is a
|
||||||
|
programme of The Commons Conservancy.
|
||||||
|
";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = [ maintainers.leenaars ];
|
maintainers = [ maintainers.leenaars ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user