depot/third_party/nixpkgs/pkgs/development/python-modules/pygobject-stubs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

37 lines
844 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pygobject3
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "pygobject-stubs";
version = "2.10.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pygobject";
repo = "pygobject-stubs";
rev = "refs/tags/v${version}";
hash = "sha256-fz+qzFWl9JJu9CEVkeiV6XUIPDvwWgrfhTo/nj1EH5c=";
};
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/${version}/CHANGELOG.md";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ hacker1024 ];
};
}