1 { lib, buildPythonPackage, fetchPypi, fasteners
10 buildPythonPackage rec {
11 pname = "jenkins-job-builder";
15 inherit pname version;
16 sha256 = "sha256-5jCltdomD4u5LZrYJFUHB/sLORXYuWoeJOalAci0+XQ=";
20 # relax version constraint, https://storyboard.openstack.org/#!/story/2009723
21 substituteInPlace requirements.txt --replace 'PyYAML>=3.10.0,<6' 'PyYAML>=3.10.0'
26 propagatedBuildInputs = [ pbr python-jenkins pyyaml six stevedore fasteners jinja2 ];
28 # Need to fix test deps, relies on stestr and a few other packages that aren't available on nixpkgs
29 checkPhase = "$out/bin/jenkins-jobs --help";
32 description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git";
33 homepage = "https://docs.openstack.org/infra/jenkins-job-builder/";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ ];