From 9ab933e191fe422e2748db6840fdf9ab00cf86cf Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 24 Aug 2024 18:50:28 +0200 Subject: [PATCH] python312Packages.snakemake-storage-plugin-xrootd: modernize --- .../snakemake-storage-plugin-xrootd/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix index 264dcf516d17..3f67ce74218f 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix @@ -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