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
33
pkgs/tools/security/gnupg-pkcs11-scd/default.nix
Normal file
33
pkgs/tools/security/gnupg-pkcs11-scd/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchurl, libgpg-error, libassuan, libgcrypt, pkcs11helper,
|
||||
pkg-config, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnupg-pkcs11-scd";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/alonbl/${pname}/releases/download/${pname}-${version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-Kb8p53gPkhxtOhH2COKwSDwbtRDFr6hHMJAkndV8Ukk=";
|
||||
};
|
||||
|
||||
buildInputs = [ pkcs11helper pkg-config openssl ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-libgpg-error-prefix=${libgpg-error.dev}"
|
||||
"--with-libassuan-prefix=${libassuan.dev}"
|
||||
"--with-libgcrypt-prefix=${libgcrypt.dev}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A smart-card daemon to enable the use of PKCS#11 tokens with GnuPG";
|
||||
longDescription = ''
|
||||
gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
|
||||
daemon to enable the use of PKCS#11 tokens with GnuPG.
|
||||
'';
|
||||
homepage = "http://gnupg-pkcs11.sourceforge.net/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ matthiasbeyer philandstuff ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue