nixpkgs/pkgs/development/python-modules/ghapi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
755 B
Nix
Raw Normal View History

2021-12-11 15:55:11 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, fastcore
, packaging
, pythonOlder
}:
buildPythonPackage rec {
pname = "ghapi";
version = "0.1.20";
2021-12-11 15:55:11 +00:00
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "fastai";
repo = "ghapi";
rev = version;
sha256 = "sha256-Pry+qCHCt+c+uwkLaoTVUY1KblESj6kcNtMfGwK1rfk=";
2021-12-11 15:55:11 +00:00
};
propagatedBuildInputs = [
fastcore
packaging
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"ghapi"
];
meta = with lib; {
description = "Python interface to GitHub's API";
homepage = "https://github.com/fastai/ghapi";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}