python312Packages.snakemake-storage-plugin-xrootd: modernize

This commit is contained in:
Peder Bergebakken Sundt 2024-08-24 18:50:28 +02:00
parent 8fbf1d3395
commit 9ab933e191

View File

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "snakemake-storage-plugin-xrootd";
version = "unstable-2023-12-16";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "snakemake";
@ -22,14 +22,11 @@ buildPythonPackage rec {
};
# xrootd<6.0.0,>=5.6.4 not satisfied by version 5.7rc20240303
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'xrootd = "^5.6.4"' ""
'';
pythonRelaxDeps = [ "xrootd" ];
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
snakemake-interface-storage-plugins
snakemake-interface-common
xrootd