python311Packages.pygobject-stubs: refactor

- adjust inputs
This commit is contained in:
Fabian Affolter 2023-11-18 10:46:56 +01:00
parent 56c09c2efb
commit 95d4cd9cb6

View File

@ -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 ];
};