pythonPackages.gidgethub: init at 2.5.0

This commit is contained in:
Chris Ostrouchov 2018-10-14 10:36:50 -04:00 committed by Frederik Rietdijk
parent 4a5c5b7c31
commit 1ba50fe163
2 changed files with 42 additions and 0 deletions

View 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 ];
};
}

View File

@ -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 { };