From 2c944fd4dd8c067d3b7badf5f0d0bf46367c63eb Mon Sep 17 00:00:00 2001 From: Rok Garbas Date: Wed, 24 Jun 2015 12:37:11 +0200 Subject: [PATCH] pythonPackages.jenkins-job-builder: init at 1.2.0 --- pkgs/top-level/python-packages.nix | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bd5cc9ed3162..044b3d3c77d0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -16059,5 +16059,40 @@ let }; }; + jenkins-job-builder = buildPythonPackage rec { + name = "jenkins-job-builder-1.2.0"; + disabled = ! (isPy26 || isPy27); + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/j/jenkins-job-builder/${name}.tar.gz"; + md5 = "79e44ef0d3fffc19f415d8c0caac6b7b"; + }; + + # pbr required for jenkins-job-builder is <1.0.0 while many of the test + # dependencies require pbr>=1.1 + doCheck = false; + + buildInputs = with self; [ + pip + ]; + + propagatedBuildInputs = with self; [ + pbr + python-jenkins + pyyaml + six + ] ++ optionals isPy26 [ + argparse + ordereddict + ]; + + meta = { + description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git."; + homepage = "http://docs.openstack.org/infra/system-config/jjb.html"; + license = licenses.asl20; + maintainers = with maintainers; [ garbas ]; + }; + }; + }; in pythonPackages