Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 39 lines 848 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, setuptools 5, black 6, codespell 7, isort 8, mypy 9, pre-commit 10, pygobject3 11}: 12 13buildPythonPackage rec { 14 pname = "pygobject-stubs"; 15 version = "2.9.0"; 16 format = "pyproject"; 17 18 src = fetchFromGitHub { 19 owner = "pygobject"; 20 repo = "pygobject-stubs"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-A28vH5S5xxY7VIJORbgQ7jAi/wG4WiffNGryiumHWf0="; 23 }; 24 25 nativeBuildInputs = [ 26 setuptools 27 ]; 28 29 # This package does not include any tests. 30 doCheck = false; 31 32 meta = with lib; { 33 description = "PEP 561 Typing Stubs for PyGObject"; 34 homepage = "https://github.com/pygobject/pygobject-stubs"; 35 changelog = "https://github.com/pygobject/pygobject-stubs/blob/${src.rev}/CHANGELOG.md"; 36 license = licenses.lgpl21Plus; 37 maintainers = with maintainers; [ hacker1024 ]; 38 }; 39}