nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python310Packages.nfcpy: init at 1.0.4

+69 -2
+6 -2
pkgs/development/python-modules/ledgerblue/default.nix
··· 1 1 { lib 2 + , bleak 2 3 , buildPythonPackage 3 4 , ecpy 4 5 , fetchPypi 5 6 , future 6 7 , hidapi 8 + , nfcpy 7 9 , pillow 8 10 , protobuf 9 11 , pycrypto ··· 18 16 19 17 buildPythonPackage rec { 20 18 pname = "ledgerblue"; 21 - version = "0.1.44"; 19 + version = "0.1.47"; 22 20 format = "setuptools"; 23 21 24 22 disabled = pythonOlder "3.7"; 25 23 26 24 src = fetchPypi { 27 25 inherit pname version; 28 - hash = "sha256-pOLpeej10G7Br8juTuQOSuCbhMjAP4aY0/JwnmJRblk="; 26 + hash = "sha256-xe8ude2JzrdmJqwzqLlxRO697IjcGuQgGG6c3nQ/drg="; 29 27 }; 30 28 31 29 propagatedBuildInputs = [ 30 + bleak 32 31 ecpy 33 32 future 34 33 hidapi 34 + nfcpy 35 35 pillow 36 36 protobuf 37 37 pycrypto
+61
pkgs/development/python-modules/nfcpy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , libusb1 5 + , mock 6 + , ndeflib 7 + , pydes 8 + , pyserial 9 + , pytest-mock 10 + , pytestCheckHook 11 + , pythonOlder 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "nfcpy"; 16 + version = "1.0.4"; 17 + format = "setuptools"; 18 + 19 + disabled = pythonOlder "3.7"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "nfcpy"; 23 + repo = "nfcpy"; 24 + rev = "refs/tags/v${version}"; 25 + hash = "sha256-HFWOCiz6ISfxEeC6KPKNKGZoHvFjFGUn7QJWnwvJKYw="; 26 + }; 27 + 28 + propagatedBuildInputs = [ 29 + libusb1 30 + ndeflib 31 + pydes 32 + pyserial 33 + ]; 34 + 35 + nativeCheckInputs = [ 36 + mock 37 + pytest-mock 38 + pytestCheckHook 39 + ]; 40 + 41 + pythonImportsCheck = [ 42 + "nfc" 43 + ]; 44 + 45 + disabledTestPaths = [ 46 + # AttributeError: 'NoneType' object has no attribute 'EC_KEY' 47 + "tests/test_llcp_llc.py" 48 + "tests/test_llcp_sec.py" 49 + # Doesn't work on Hydra 50 + "tests/test_clf_udp.py" 51 + ]; 52 + 53 + meta = with lib; { 54 + description = "A Python module to read/write NFC tags or communicate with another NFC device"; 55 + homepage = "https://github.com/nfcpy/nfcpy"; 56 + changelog = "https://github.com/nfcpy/nfcpy/blob/v${version}/HISTORY.rst"; 57 + license = licenses.eupl11; 58 + maintainers = with maintainers; [ fab ]; 59 + }; 60 + } 61 +
+2
pkgs/top-level/python-packages.nix
··· 6566 6566 6567 6567 nextdns = callPackage ../development/python-modules/nextdns { }; 6568 6568 6569 + nfcpy = callPackage ../development/python-modules/nfcpy { }; 6570 + 6569 6571 nftables = toPythonModule (pkgs.nftables.override { 6570 6572 python3 = python; 6571 6573 withPython = true;