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