From b2c789302201f416398914061e2067dc97a8099c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 28 Jun 2025 23:49:05 +0200 Subject: [PATCH] python313Packages.pygreat: refactor --- .../python-modules/pygreat/default.nix | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/pygreat/default.nix b/pkgs/development/python-modules/pygreat/default.nix index f587a5683f00..bb3bd2ee8f10 100644 --- a/pkgs/development/python-modules/pygreat/default.nix +++ b/pkgs/development/python-modules/pygreat/default.nix @@ -3,7 +3,6 @@ buildPythonPackage, fetchFromGitHub, setuptools, - future, pyusb, }: @@ -27,31 +26,22 @@ buildPythonPackage rec { --replace-fail 'dynamic = ["version"]' 'version = "${version}"' ''; - build-system = [ - setuptools - ]; + pythonRemoveDeps = [ "backports.functools_lru_cache" ]; - pythonRemoveDeps = [ - "backports.functools_lru_cache" - ]; + build-system = [ setuptools ]; - dependencies = [ - future - pyusb - ]; + dependencies = [ pyusb ]; - # has no tests + # Module has no tests doCheck = false; - pythonImportsCheck = [ - "pygreat" - ]; + pythonImportsCheck = [ "pygreat" ]; meta = { - changelog = "https://github.com/greatscottgadgets/libgreat/releases/tag/${src.tag}"; description = "Python library for talking with libGreat devices"; homepage = "https://github.com/greatscottgadgets/libgreat/"; - license = with lib.licenses; [ bsd3 ]; + changelog = "https://github.com/greatscottgadgets/libgreat/releases/tag/${src.tag}"; + license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ carlossless ]; }; }