Merge pull request #283236 from fabaff/ndeflib-fix

python312Packages.ndeflib: disable failing test on Python 3.12

authored by

Fabian Affolter and committed by
GitHub
3909a7f6 f1dd8afa

+10 -1
+10 -1
pkgs/development/python-modules/ndeflib/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 + , pythonAtLeast 5 6 , pythonOlder 7 + , setuptools 6 8 }: 7 9 8 10 buildPythonPackage rec { 9 11 pname = "ndeflib"; 10 12 version = "0.3.3"; 11 - format = "setuptools"; 13 + pyproject = true; 12 14 13 15 disabled = pythonOlder "3.7"; 14 16 ··· 19 21 hash = "sha256-cpfztE+/AW7P0J7QeTDfVGYc2gEkr7gzA352hC9bdTM="; 20 22 }; 21 23 24 + nativeBuildInputs = [ 25 + setuptools 26 + ]; 27 + 22 28 nativeCheckInputs = [ 23 29 pytestCheckHook 24 30 ]; ··· 30 36 disabledTests = [ 31 37 # AssertionError caused due to wrong size 32 38 "test_decode_error" 39 + ] ++ lib.optionals (pythonAtLeast "3.12") [ 40 + "test_encode_error" 33 41 ]; 34 42 35 43 meta = with lib; { 36 44 description = "Python package for parsing and generating NFC Data Exchange Format messages"; 37 45 homepage = "https://github.com/nfcpy/ndeflib"; 46 + changelog = "https://github.com/nfcpy/ndeflib/releases/tag/v${version}"; 38 47 license = licenses.isc; 39 48 maintainers = with maintainers; [ fab ]; 40 49 };