mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
pythonPackages.gidgethub: init at 2.5.0
This commit is contained in:
parent
4a5c5b7c31
commit
1ba50fe163
40
pkgs/development/python-modules/gidgethub/default.nix
Normal file
40
pkgs/development/python-modules/gidgethub/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, pytestrunner
|
||||
, pytest
|
||||
, pytest-asyncio
|
||||
, twisted
|
||||
, treq
|
||||
, tornado
|
||||
, aiohttp
|
||||
, uritemplate
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gidgethub";
|
||||
version = "2.5.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d37fdfd149bc0efa21d3899c737d9b5c7ff6348a9b3f03bf3aa0e9f8ca345483";
|
||||
};
|
||||
|
||||
buildInputs = [ setuptools pytestrunner ];
|
||||
checkInputs = [ pytest pytest-asyncio twisted treq tornado aiohttp ];
|
||||
propagatedBuildInputs = [ uritemplate ];
|
||||
|
||||
# requires network (reqests github.com)
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An async GitHub API library";
|
||||
homepage = https://github.com/brettcannon/gidgethub;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -340,6 +340,8 @@ in {
|
||||
|
||||
genanki = callPackage ../development/python-modules/genanki { };
|
||||
|
||||
gidgethub = callPackage ../development/python-modules/gidgethub { };
|
||||
|
||||
globus-sdk = callPackage ../development/python-modules/globus-sdk { };
|
||||
|
||||
goocalendar = callPackage ../development/python-modules/goocalendar { };
|
||||
|
Loading…
Reference in New Issue
Block a user