mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
python3Packages.ghapi: init at 0.1.19
This commit is contained in:
parent
834ff9a604
commit
16c153f7d7
42
pkgs/development/python-modules/ghapi/default.nix
Normal file
42
pkgs/development/python-modules/ghapi/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, fastcore
|
||||
, packaging
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ghapi";
|
||||
version = "0.1.19";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastai";
|
||||
repo = "ghapi";
|
||||
rev = version;
|
||||
sha256 = "sha256-UV2cfotRad9jg/X3pOysKJyMi4/XKt24kf6F4aw4vcI=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -3146,6 +3146,8 @@ in {
|
||||
|
||||
gflags = callPackage ../development/python-modules/gflags { };
|
||||
|
||||
ghapi = callPackage ../development/python-modules/ghapi { };
|
||||
|
||||
ghdiff = callPackage ../development/python-modules/ghdiff { };
|
||||
|
||||
ghp-import = callPackage ../development/python-modules/ghp-import { };
|
||||
|
Loading…
Reference in New Issue
Block a user