1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pygobject-stubs"; 11 version = "2.13.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "pygobject"; 18 repo = "pygobject-stubs"; 19 tag = "v${version}"; 20 hash = "sha256-d7caFIjRRFEZYyCDUcilJ7iquUdltZ0ZQupxQ6ITUEc="; 21 }; 22 23 build-system = [ setuptools ]; 24 25 # This package does not include any tests. 26 doCheck = false; 27 28 meta = with lib; { 29 description = "PEP 561 Typing Stubs for PyGObject"; 30 homepage = "https://github.com/pygobject/pygobject-stubs"; 31 changelog = "https://github.com/pygobject/pygobject-stubs/blob/${src.tag}/CHANGELOG.md"; 32 license = licenses.lgpl21Plus; 33 maintainers = with maintainers; [ hacker1024 ]; 34 }; 35}