depot/third_party/nixpkgs/pkgs/development/libraries/aqbanking/libchipcard.nix
Default email c6ca5b8f13 Project import generated by Copybara.
GitOrigin-RevId: e4d49de45a3b5dbcb881656b4e3986e666141ea9
2022-07-18 18:21:45 +02:00

27 lines
787 B
Nix

{ lib, stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
let
inherit ((import ./sources.nix).libchipcard) hash releaseId version;
in stdenv.mkDerivation rec {
pname = "libchipcard";
inherit version;
src = fetchurl {
url = "https://www.aquamaniac.de/rdm/attachments/download/${releaseId}/${pname}-${version}.tar.gz";
inherit hash;
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gwenhywfar pcsclite zlib ];
makeFlags = [ "crypttokenplugindir=$(out)/lib/gwenhywfar/plugins/ct" ];
meta = with lib; {
description = "Library for access to chipcards";
homepage = "https://www.aquamaniac.de/rdm/projects/libchipcard";
license = licenses.lgpl21;
maintainers = with maintainers; [ aszlig ];
platforms = platforms.linux;
};
}