diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix index 863a7af192e7..19d6b9e33339 100644 --- a/pkgs/development/python-modules/jenkins-job-builder/default.nix +++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix @@ -9,23 +9,16 @@ buildPythonPackage rec { pname = "jenkins-job-builder"; - version = "5.0.4"; + version = "6.0.0"; format = "setuptools"; src = fetchPypi { inherit pname version; - hash = "sha256-+zrsfyi4I8venFGMKXDMUq+9+f7y6IY59y1/OJDExGs="; + hash = "sha256-queP6RBpw32PXbpz6StIE6Pb7RNsm2O4tNarrDwb2cU="; }; postPatch = '' - # relax version constraint, https://storyboard.openstack.org/#!/story/2009723 - substituteInPlace requirements.txt --replace 'PyYAML>=3.10.0,<6' 'PyYAML>=3.10.0' - - # Allow building with setuptools from nixpkgs. - # Related: https://github.com/NixOS/nixpkgs/issues/238226. - substituteInPlace requirements.txt --replace 'setuptools<=65.7.0' 'setuptools' - - export HOME=$TMPDIR + export HOME=$(mktemp -d) ''; propagatedBuildInputs = [ pbr python-jenkins pyyaml six stevedore fasteners jinja2 ]; @@ -35,7 +28,7 @@ buildPythonPackage rec { meta = with lib; { description = "Jenkins Job Builder is a system for configuring Jenkins jobs using simple YAML files stored in Git"; - homepage = "https://docs.openstack.org/infra/jenkins-job-builder/"; + homepage = "https://jenkins-job-builder.readthedocs.io/en/latest/"; license = licenses.asl20; maintainers = with maintainers; [ ]; };