Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
953 B
Nix
53 lines
953 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
pkg-config,
|
|
libtool,
|
|
autoreconfHook,
|
|
pcsclite,
|
|
libnfc,
|
|
python3,
|
|
help2man,
|
|
gengetopt,
|
|
vsmartcard-vpcd,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "vsmartcard-pcsc-relay";
|
|
|
|
inherit (vsmartcard-vpcd) version src;
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/pcsc-relay";
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
libtool
|
|
pkg-config
|
|
help2man
|
|
];
|
|
|
|
buildInputs = [
|
|
pcsclite
|
|
libnfc
|
|
gengetopt
|
|
(python3.withPackages (
|
|
pp: with pp; [
|
|
pyscard
|
|
pycrypto
|
|
pbkdf2
|
|
pillow
|
|
gnureadline
|
|
]
|
|
))
|
|
];
|
|
|
|
meta = {
|
|
description = "Relays a smart card using an contact-less interface";
|
|
homepage = "https://frankmorgner.github.io/vsmartcard/pcsc-relay/README.html";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = lib.platforms.all;
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
maintainers = with lib.maintainers; [ stargate01 ];
|
|
};
|
|
})
|