Commit 95d4cd9c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.pygobject-stubs: refactor

- adjust inputs
parent 56c09c2e
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
{ 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 ];
  };