at 24.11-pre 770 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 fastcore, 7 packaging, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "ghapi"; 13 version = "1.0.3"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "fastai"; 20 repo = "ghapi"; 21 rev = "refs/tags/${version}"; 22 hash = "sha256-nH3OciLhet4620WAEmm8mUAmlnpniyIsF2oIzqbZ7FI="; 23 }; 24 25 propagatedBuildInputs = [ 26 fastcore 27 packaging 28 ]; 29 30 # Module has no tests 31 doCheck = false; 32 33 pythonImportsCheck = [ "ghapi" ]; 34 35 meta = with lib; { 36 description = "Python interface to GitHub's API"; 37 homepage = "https://github.com/fastai/ghapi"; 38 license = with licenses; [ asl20 ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}