python311Packages.jenkins-job-builder: cleanup

This commit is contained in:
Weijia Wang
2024-02-04 21:23:47 +01:00
parent 22f81d9c88
commit 2b6423fa14
@@ -18,14 +18,7 @@ buildPythonPackage rec {
};
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; [ ];
};