python310Packages.ndeflib: init at 0.3.3
This commit is contained in:
parent
2992b28922
commit
f0569c8d96
2 changed files with 43 additions and 0 deletions
41
pkgs/development/python-modules/ndeflib/default.nix
Normal file
41
pkgs/development/python-modules/ndeflib/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue