python310Packages.ndeflib: init at 0.3.3

This commit is contained in:
Fabian Affolter 2023-05-04 13:05:08 +02:00
parent 2992b28922
commit f0569c8d96
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "ndeflib";
version = "0.3.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "nfcpy";
repo = "ndeflib";
rev = "refs/tags/v${version}";
hash = "sha256-cpfztE+/AW7P0J7QeTDfVGYc2gEkr7gzA352hC9bdTM=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"ndef"
];
disabledTests = [
# AssertionError caused due to wrong size
"test_decode_error"
];
meta = with lib; {
description = "Python package for parsing and generating NFC Data Exchange Format messages";
homepage = "https://github.com/nfcpy/ndeflib";
license = licenses.isc;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6500,6 +6500,8 @@ self: super: with self; {
nclib = callPackage ../development/python-modules/nclib { };
ndeflib = callPackage ../development/python-modules/ndeflib { };
ndg-httpsclient = callPackage ../development/python-modules/ndg-httpsclient { };
ndindex = callPackage ../development/python-modules/ndindex { };