Merge pull request #249663 from hacker1024/package/pygobject-stubs
python3.pkgs.pygobject-stubs: init at 2.8.0
This commit is contained in:
commit
43248cbe07
39
pkgs/development/python-modules/pygobject-stubs/default.nix
Normal file
39
pkgs/development/python-modules/pygobject-stubs/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue