Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pygobject-stubs / default.nix
blob38208b28ad30109cdf23d646d551cc5a4c09b10c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pygobject3,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pygobject-stubs";
12   version = "2.11.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "pygobject";
19     repo = "pygobject-stubs";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-HOAG5c0fjF6RzULc1IDk7hRSlKTqtdXEM6acyJeV0DE=";
22   };
24   build-system = [ setuptools ];
26   # This package does not include any tests.
27   doCheck = false;
29   meta = with lib; {
30     description = "PEP 561 Typing Stubs for PyGObject";
31     homepage = "https://github.com/pygobject/pygobject-stubs";
32     changelog = "https://github.com/pygobject/pygobject-stubs/blob/${version}/CHANGELOG.md";
33     license = licenses.lgpl21Plus;
34     maintainers = with maintainers; [ hacker1024 ];
35   };