Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at gcc-offload 35 lines 828 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "pygobject-stubs"; 11 version = "2.12.0"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "pygobject"; 18 repo = "pygobject-stubs"; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-Y9tqfv2DP2daxxafcQAtxH33pR3FHE8av0PkzEcs0RU="; 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/v${version}/CHANGELOG.md"; 32 license = licenses.lgpl21Plus; 33 maintainers = with maintainers; [ hacker1024 ]; 34 }; 35}