Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pygobject-stubs / default.nix
blob9dde5d012225c4db23b2e427c4b6ed279045cf28
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pygobject3
5 , pythonOlder
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "pygobject-stubs";
11   version = "2.10.0";
12   pyproject = true;
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "pygobject";
18     repo = "pygobject-stubs";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-fz+qzFWl9JJu9CEVkeiV6XUIPDvwWgrfhTo/nj1EH5c=";
21   };
23   nativeBuildInputs = [
24     setuptools
25   ];
27   # This package does not include any tests.
28   doCheck = false;
30   meta = with lib; {
31     description = "PEP 561 Typing Stubs for PyGObject";
32     homepage = "https://github.com/pygobject/pygobject-stubs";
33     changelog = "https://github.com/pygobject/pygobject-stubs/blob/${version}/CHANGELOG.md";
34     license = licenses.lgpl21Plus;
35     maintainers = with maintainers; [ hacker1024 ];
36   };