nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 818 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fastcore, 6 packaging, 7 setuptools, 8}: 9 10buildPythonPackage (finalAttrs: { 11 pname = "ghapi"; 12 version = "1.0.10"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "fastai"; 17 repo = "ghapi"; 18 tag = finalAttrs.version; 19 hash = "sha256-2x9uiULYniFVpUNgRie4i49xEqtYfq/9u/07eozw0WQ="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 fastcore 26 packaging 27 ]; 28 29 # Module has no tests 30 doCheck = false; 31 32 pythonImportsCheck = [ "ghapi" ]; 33 34 meta = { 35 description = "Python interface to GitHub's API"; 36 homepage = "https://github.com/fastai/ghapi"; 37 changelog = "https://github.com/fastai/ghapi/releases/tag/${finalAttrs.src.tag}"; 38 license = lib.licenses.asl20; 39 maintainers = with lib.maintainers; [ fab ]; 40 }; 41})