mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 13:06:32 +01:00
Diff: https://github.com/fastai/ghapi/compare/1.0.9...1.0.10 Changelog: https://github.com/fastai/ghapi/releases/tag/1.0.10
41 lines
818 B
Nix
41 lines
818 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
fastcore,
|
|
packaging,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "ghapi";
|
|
version = "1.0.10";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fastai";
|
|
repo = "ghapi";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-2x9uiULYniFVpUNgRie4i49xEqtYfq/9u/07eozw0WQ=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
fastcore
|
|
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 ];
|
|
};
|
|
})
|