Merge pull request #249663 from hacker1024/package/pygobject-stubs

python3.pkgs.pygobject-stubs: init at 2.8.0
This commit is contained in:
OTABI Tomoya 2023-08-28 14:22:49 +09:00 committed by GitHub
commit 43248cbe07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, black
, codespell
, isort
, mypy
, pre-commit
, pygobject3
}:
buildPythonPackage rec {
pname = "pygobject-stubs";
version = "2.8.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "pygobject";
repo = "pygobject-stubs";
rev = "v${version}";
hash = "sha256-8TB8eqXPhvoKtyQ8+hnCQnH4NwO2WC1NYAxmVj+FCvg=";
};
nativeBuildInputs = [
setuptools
];
# This package does not include any tests.
doCheck = false;
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";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ hacker1024 ];
};
}

View file

@ -9144,6 +9144,8 @@ self: super: with self; {
inherit (pkgs.buildPackages) meson;
};
pygobject-stubs = callPackage ../development/python-modules/pygobject-stubs { };
pygogo = callPackage ../development/python-modules/pygogo { };
pygpgme = callPackage ../development/python-modules/pygpgme { };