@@ -1,18 +1,18 @@
1−{ stdenv, fetchurl, botan, libobjc, Security }:
1+{ stdenv, fetchurl, botan2, libobjc, Security }:
22
33stdenv.mkDerivation rec {
44
55 pname = "softhsm";
6− version = "2.5.0";
6+ version = "2.6.1";
77
88 src = fetchurl {
99 url = "https://dist.opendnssec.org/source/${pname}-${version}.tar.gz";
10− sha256 = "1cijq78jr3mzg7jj11r0krawijp99p253f4qdqr94n728p7mdalj";
10+ hash = "sha256:1wkmyi6n3z2pak1cj5yk6v6bv9w0m24skycya48iikab0mrr8931";
1111 };
1212
1313 configureFlags = [
1414 "--with-crypto-backend=botan"
15− "--with-botan=${botan}"
15+ "--with-botan=${botan2}"
1616 "--sysconfdir=$out/etc"
1717 "--localstatedir=$out/var"
1818 ];
@@ -20,13 +20,24 @@ stdenv.mkDerivation rec {
2020 propagatedBuildInputs =
2121 stdenv.lib.optionals stdenv.isDarwin [ libobjc Security ];
2222
23− buildInputs = [ botan ];
23+ buildInputs = [ botan2 ];
2424
2525 postInstall = "rm -rf $out/var";
2626
2727 meta = with stdenv.lib; {
2828 homepage = "https://www.opendnssec.org/softhsm";
2929 description = "Cryptographic store accessible through a PKCS #11 interface";
30+ longDescription = "
31+ SoftHSM provides a software implementation of a generic
32+ cryptographic device with a PKCS#11 interface, which is of
33+ course especially useful in environments where a dedicated hardware
34+ implementation of such a device - for instance a Hardware
35+ Security Module (HSM) or smartcard - is not available.
36+
37+ SoftHSM follows the OASIS PKCS#11 standard, meaning it should be
38+ able to work with many cryptographic products. SoftHSM is a
39+ programme of The Commons Conservancy.
40+ ";
3041 license = licenses.bsd2;
3142 maintainers = [ maintainers.leenaars ];
3243 platforms = platforms.unix;