1 { lib, buildPythonPackage, fetchFromGitHub
2 , click, enum-compat, pyscard, pycountry, terminaltables
3 , pytestCheckHook, pythonOlder
6 buildPythonPackage rec {
9 disabled = pythonOlder "3.4";
11 src = fetchFromGitHub {
15 hash = "sha256:1715hcba3fdi0i5awnrjdjnk74p66sxm9349pd8bb717zrh4gpj7";
18 checkInputs = [ pytestCheckHook ];
19 propagatedBuildInputs = [
27 # argparse is part of the standardlib
29 substituteInPlace setup.py \
30 --replace '"argparse==1.4.0",' ""
34 homepage = "https://github.com/russss/python-emv";
35 description = "Implementation of the EMV chip-and-pin smartcard protocol";
36 license = licenses.mit;
37 maintainers = with maintainers; [ lukegb ];