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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user