evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / gn / gnupg-pkcs11-scd / package.nix
blobe594fde69dac2c0dbb7af29a3c8a10b27bca9a26
1 { lib, stdenv, fetchurl, libgpg-error, libassuan, libgcrypt, pkcs11helper,
2   pkg-config, openssl }:
4 stdenv.mkDerivation rec {
5   pname = "gnupg-pkcs11-scd";
6   version = "0.10.0";
8   src = fetchurl {
9     url = "https://github.com/alonbl/${pname}/releases/download/${pname}-${version}/${pname}-${version}.tar.bz2";
10     sha256 = "sha256-Kb8p53gPkhxtOhH2COKwSDwbtRDFr6hHMJAkndV8Ukk=";
11   };
13   nativeBuildInputs = [ pkg-config ];
14   buildInputs = [ pkcs11helper openssl ];
16   configureFlags = [
17     "--with-libgpg-error-prefix=${libgpg-error.dev}"
18     "--with-libassuan-prefix=${libassuan.dev}"
19     "--with-libgcrypt-prefix=${libgcrypt.dev}"
20   ];
22   meta = with lib; {
23     description = "Smart-card daemon to enable the use of PKCS#11 tokens with GnuPG";
24     mainProgram = "gnupg-pkcs11-scd";
25     longDescription = ''
26     gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
27     daemon to enable the use of PKCS#11 tokens with GnuPG.
28     '';
29     homepage = "https://gnupg-pkcs11.sourceforge.net/";
30     license = licenses.bsd3;
31     maintainers = with maintainers; [ matthiasbeyer philandstuff ];
32     platforms = platforms.unix;
33   };