uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
45
pkgs/tools/security/softhsm/default.nix
Normal file
45
pkgs/tools/security/softhsm/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib, stdenv, fetchurl, botan2, libobjc, Security }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "softhsm";
|
||||
version = "2.6.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dist.opendnssec.org/source/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-YSSUcwVLzRgRUZ75qYmogKe9zDbTF8nCVFf8YU30dfI=";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--with-crypto-backend=botan"
|
||||
"--with-botan=${botan2}"
|
||||
"--sysconfdir=$out/etc"
|
||||
"--localstatedir=$out/var"
|
||||
];
|
||||
|
||||
propagatedBuildInputs =
|
||||
lib.optionals stdenv.isDarwin [ libobjc Security ];
|
||||
|
||||
buildInputs = [ botan2 ];
|
||||
|
||||
postInstall = "rm -rf $out/var";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.opendnssec.org/softhsm";
|
||||
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;
|
||||
maintainers = [ maintainers.leenaars ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue