Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pygobject3, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pygobject-stubs"; 12 version = "2.11.0"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "pygobject"; 19 repo = "pygobject-stubs"; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-HOAG5c0fjF6RzULc1IDk7hRSlKTqtdXEM6acyJeV0DE="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 # This package does not include any tests. 27 doCheck = false; 28 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 }; 36}