My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ghapi/default.nix

42 lines
755 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, fastcore
, packaging
, pythonOlder
}:
buildPythonPackage rec {
pname = "ghapi";
version = "0.1.20";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "fastai";
repo = "ghapi";
rev = version;
sha256 = "sha256-Pry+qCHCt+c+uwkLaoTVUY1KblESj6kcNtMfGwK1rfk=";
};
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 ];
};
}