diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-18 10:46:56 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-11-18 10:46:56 +0100 |
commit | 95d4cd9cb6db472eb888d799934e3f118746818c (patch) | |
tree | 851336dd2c9c6b631f2766e3e21feefc1a041512 | |
parent | 56c09c2efb59d2171b5eb4c5356a5cc1bcfee9e5 (diff) |
python311Packages.pygobject-stubs: refactor
- adjust inputs
-rw-r--r-- | pkgs/development/python-modules/pygobject-stubs/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pygobject-stubs/default.nix b/pkgs/development/python-modules/pygobject-stubs/default.nix index bf4c552cff1aa..9dde5d012225c 100644 --- a/pkgs/development/python-modules/pygobject-stubs/default.nix +++ b/pkgs/development/python-modules/pygobject-stubs/default.nix @@ -1,19 +1,17 @@ { lib , buildPythonPackage , fetchFromGitHub -, setuptools -, black -, codespell -, isort -, mypy -, pre-commit , pygobject3 +, pythonOlder +, setuptools }: buildPythonPackage rec { pname = "pygobject-stubs"; version = "2.10.0"; - format = "pyproject"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pygobject"; @@ -32,7 +30,7 @@ buildPythonPackage rec { meta = with lib; { description = "PEP 561 Typing Stubs for PyGObject"; homepage = "https://github.com/pygobject/pygobject-stubs"; - changelog = "https://github.com/pygobject/pygobject-stubs/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/pygobject/pygobject-stubs/blob/${version}/CHANGELOG.md"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ hacker1024 ]; }; |