vsmartcard-vpcd: add missing wrapPythonPrograms

Fixes this issue:

  $ vicc
  Traceback (most recent call last):
    File "/run/current-system/sw/bin/vicc", line 116, in <module>
      from virtualsmartcard.VirtualSmartcard import VirtualICC
  ModuleNotFoundError: No module named 'virtualsmartcard'
This commit is contained in:
Bjørn Forsman
2026-04-21 18:20:17 +02:00
parent e558534568
commit 13ea73de62
@@ -8,6 +8,7 @@
pcsclite,
qrencode,
python3,
python3Packages,
help2man,
}:
@@ -28,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
autoreconfHook
libtool
pkg-config
python3Packages.wrapPython
help2man
];
@@ -47,6 +49,10 @@ stdenv.mkDerivation (finalAttrs: {
configureFlags = lib.optional stdenv.hostPlatform.isDarwin "--enable-infoplist";
postFixup = ''
wrapPythonPrograms
'';
meta = {
description = "Emulates a smart card and makes it accessible through PC/SC";
homepage = "http://frankmorgner.github.io/vsmartcard/virtualsmartcard/README.html";