forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / development / libraries / aqbanking / libchipcard.nix
blob9190e1ad9b797fc6fcd366e66a4a36ed2a794470
1 { lib, stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
3 let
4   inherit ((import ./sources.nix).libchipcard) hash releaseId version;
5 in stdenv.mkDerivation rec {
6   pname = "libchipcard";
7   inherit version;
9   src = fetchurl {
10     url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/${pname}-${version}.tar.gz";
11     inherit hash;
12   };
14   nativeBuildInputs = [ pkg-config ];
16   buildInputs = [ gwenhywfar pcsclite zlib ];
18   makeFlags = [ "crypttokenplugindir=$(out)/lib/gwenhywfar/plugins/ct" ];
20   meta = with lib; {
21     description = "Library for access to chipcards";
22     homepage = "https://www.aquamaniac.de/rdm/projects/libchipcard";
23     license = licenses.lgpl21;
24     maintainers = with maintainers; [ aszlig ];
25     platforms = platforms.linux;
26   };