2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pygobject3
|
2024-01-02 11:29:13 +00:00
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pygobject-stubs";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "2.10.0";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pygobject";
|
|
|
|
repo = "pygobject-stubs";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-fz+qzFWl9JJu9CEVkeiV6XUIPDvwWgrfhTo/nj1EH5c=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-01-02 11:29:13 +00:00
|
|
|
changelog = "https://github.com/pygobject/pygobject-stubs/blob/${version}/CHANGELOG.md";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ hacker1024 ];
|
|
|
|
};
|
|
|
|
}
|