Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, buildPythonPackage, fetchFromCodeberg, click, pyscard, pycountry, terminaltables, pytestCheckHook, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "emv"; version = "1.0.14"; pyproject = true;
src = fetchFromCodeberg { owner = "russss"; repo = "python-emv"; tag = "v${finalAttrs.version}"; hash = "sha256-MnaeQZ0rA3i0CoUA6HgJQpwk5yo4rm9e+pc5XzRd1eg="; };
pythonRelaxDeps = [ "click" "pyscard" "pycountry" "terminaltables" ];
pythonRemoveDeps = [ "enum-compat" "argparse" ];
build-system = [ setuptools ];
dependencies = [ click pyscard pycountry terminaltables ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "emv" ];
meta = { description = "Implementation of the EMV chip-and-pin smartcard protocol"; homepage = "https://codeberg.org/russss/python-emv/"; changelog = "https://codeberg.org/russss/python-emv/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ lukegb ]; mainProgram = "emvtool"; };})