diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-14 10:36:50 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2018-10-17 08:02:16 +0200 |
commit | 1ba50fe163b03b4e1083c8baaa112c827f5197ab (patch) | |
tree | 0156ab9208be1f1cc550f95046b00b996795f013 /pkgs/development/python-modules/gidgethub | |
parent | 4a5c5b7c3141ba7e0d04a9c0e1a581ad548910bc (diff) | |
download | nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.tar nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.tar.gz nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.tar.bz2 nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.tar.lz nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.tar.xz nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.tar.zst nixpkgs-1ba50fe163b03b4e1083c8baaa112c827f5197ab.zip |
pythonPackages.gidgethub: init at 2.5.0
Diffstat (limited to 'pkgs/development/python-modules/gidgethub')
-rw-r--r-- | pkgs/development/python-modules/gidgethub/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gidgethub/default.nix b/pkgs/development/python-modules/gidgethub/default.nix new file mode 100644 index 00000000000..2a06ae1cb6d --- /dev/null +++ b/pkgs/development/python-modules/gidgethub/default.nix @@ -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 ]; + }; +} |