Commit a34b0b9d authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.ndeflib: refactor

parent a9767322
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -2,13 +2,15 @@
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
}:

buildPythonPackage rec {
  pname = "ndeflib";
  version = "0.3.3";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.7";

@@ -19,6 +21,10 @@ buildPythonPackage rec {
    hash = "sha256-cpfztE+/AW7P0J7QeTDfVGYc2gEkr7gzA352hC9bdTM=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];
@@ -35,6 +41,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Python package for parsing and generating NFC Data Exchange Format messages";
    homepage = "https://github.com/nfcpy/ndeflib";
    changelog = "https://github.com/nfcpy/ndeflib/releases/tag/v${version}";
    license = licenses.isc;
    maintainers = with maintainers; [ fab ];
  };