From dae0571bc34e59ec1877c2c5cc780ec138beda33 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Mon, 29 Oct 2018 13:54:45 -0400 Subject: pythonPackages.jenkinsapi: refactor move to python-modules --- .../python-modules/jenkinsapi/default.nix | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/jenkinsapi/default.nix (limited to 'pkgs/development/python-modules/jenkinsapi') 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; + }; + +} -- cgit 1.4.1