{ lib, buildPythonPackage, fetchFromGitHub, fastcore, fastspec, packaging, setuptools, }: buildPythonPackage (finalAttrs: { pname = "ghapi"; version = "2.1.2"; pyproject = true; src = fetchFromGitHub { owner = "fastai"; repo = "ghapi"; tag = finalAttrs.version; hash = "sha256-o54xFz7AgTGbsI7OSjXx3d/Prv8OPKPBRNSpK6kCrIY="; }; build-system = [ setuptools ]; dependencies = [ fastcore fastspec packaging ]; # Module has no tests doCheck = false; pythonImportsCheck = [ "ghapi" ]; meta = { description = "Python interface to GitHub's API"; homepage = "https://github.com/fastai/ghapi"; changelog = "https://github.com/fastai/ghapi/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; }; })