diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bd5cc9ed316..044b3d3c77d 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