Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

59 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
libtool,
autoreconfHook,
pcsclite,
qrencode,
python3,
help2man,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vsmartcard-vpcd";
version = "0.9-unstable-2025-01-25";
src = fetchFromGitHub {
owner = "frankmorgner";
repo = "vsmartcard";
rev = "7369dae26bcb709845003ae2128b8db9df7031ae";
hash = "sha256-mfw/Yv12ceBVZIyAKJqBh+w4otj3rYYZbJUjKRLcsr4=";
};
sourceRoot = "${finalAttrs.src.name}/virtualsmartcard";
nativeBuildInputs = [
autoreconfHook
libtool
pkg-config
help2man
];
buildInputs = [
pcsclite
qrencode
(python3.withPackages (
pp: with pp; [
pyscard
pycrypto
pbkdf2
pillow
gnureadline
]
))
];
configureFlags = lib.optional stdenv.hostPlatform.isDarwin "--enable-infoplist";
meta = {
description = "Emulates a smart card and makes it accessible through PC/SC";
homepage = "http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
broken = stdenv.hostPlatform.isDarwin;
maintainers = with lib.maintainers; [ stargate01 ];
};
})