Something went wrong. Try again.
lol
Something went wrong. Try again.
969 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pytest8_3CheckHook, pythonAtLeast, setuptools,}:
buildPythonPackage rec { pname = "ndeflib"; version = "0.3.3"; pyproject = true;
src = fetchFromGitHub { owner = "nfcpy"; repo = "ndeflib"; tag = "v${version}"; hash = "sha256-cpfztE+/AW7P0J7QeTDfVGYc2gEkr7gzA352hC9bdTM="; };
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytest8_3CheckHook ];
pythonImportsCheck = [ "ndef" ];
disabledTests = [ # AssertionError caused due to wrong size "test_decode_error" ] ++ lib.optionals (pythonAtLeast "3.12") [ "test_encode_error" ];
meta = { description = "Python package for parsing and generating NFC Data Exchange Format messages"; homepage = "https://github.com/nfcpy/ndeflib"; changelog = "https://github.com/nfcpy/ndeflib/releases/tag/v${version}"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ fab ]; };}