10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-cpfztE+/AW7P0J7QeTDfVGYc2gEkr7gzA352hC9bdTM=";
32 pythonImportsCheck = [
37 # AssertionError caused due to wrong size
39 ] ++ lib.optionals (pythonAtLeast "3.12") [
44 description = "Python package for parsing and generating NFC Data Exchange Format messages";
45 homepage = "https://github.com/nfcpy/ndeflib";
46 changelog = "https://github.com/nfcpy/ndeflib/releases/tag/v${version}";
47 license = licenses.isc;
48 maintainers = with maintainers; [ fab ];