36 lines
817 B
Nix
36 lines
817 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pygobject-stubs";
|
|
version = "2.13.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pygobject";
|
|
repo = "pygobject-stubs";
|
|
tag = "v${version}";
|
|
hash = "sha256-d7caFIjRRFEZYyCDUcilJ7iquUdltZ0ZQupxQ6ITUEc=";
|
|
};
|
|
|
|
build-system = [ 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.tag}/CHANGELOG.md";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ hacker1024 ];
|
|
};
|
|
}
|