diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-29 13:54:45 -0400 |
---|---|---|
committer | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2018-10-30 00:51:17 -0400 |
commit | dae0571bc34e59ec1877c2c5cc780ec138beda33 (patch) | |
tree | a5ce7b29e0370911d0496cc90e4650ce995d6004 /pkgs/development/python-modules/jenkinsapi | |
parent | 15b5f85a963de1a99047ed0f7cf037b32033db68 (diff) |
pythonPackages.jenkinsapi: refactor move to python-modules
Diffstat (limited to 'pkgs/development/python-modules/jenkinsapi')
-rw-r--r-- | pkgs/development/python-modules/jenkinsapi/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jenkinsapi/default.nix b/pkgs/development/python-modules/jenkinsapi/default.nix new file mode 100644 index 0000000000000..a80320707088c --- /dev/null +++ b/pkgs/development/python-modules/jenkinsapi/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, pytz +, requests +, coverage +, mock +, nose +, unittest2 +}: + +buildPythonPackage rec { + pname = "jenkinsapi"; + version = "0.2.32"; + + src = fetchPypi { + inherit pname version; + sha256 = "0fcc78b8dfc87237942aad2a8be54dbc08bc4afceaa7f6897f3d894e7d4bfd22"; + }; + + propagatedBuildInputs = [ pytz requests ]; + buildInputs = [ coverage mock nose unittest2 ]; + + meta = with stdenv.lib; { + description = "A Python API for accessing resources on a Jenkins continuous-integration server"; + homepage = https://github.com/salimfadhley/jenkinsapi; + maintainers = with maintainers; [ drets ]; + license = licenses.mit; + }; + +} |