1 { lib, stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
4 inherit ((import ./sources.nix).libchipcard) hash releaseId version;
5 in stdenv.mkDerivation rec {
10 url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/${pname}-${version}.tar.gz";
14 nativeBuildInputs = [ pkg-config ];
16 buildInputs = [ gwenhywfar pcsclite zlib ];
18 makeFlags = [ "crypttokenplugindir=$(out)/lib/gwenhywfar/plugins/ct" ];
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;