python312Packages.snakemake-storage-plugin-s3: modernize

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

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "snakemake-storage-plugin-s3";
version = "0.2.12";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "snakemake";
@ -23,14 +23,9 @@ buildPythonPackage rec {
hash = "sha256-TKv/7b3+uhY18v7p1ZSya5KJEMUv4M1NkObP9vPzMxU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace ">=2.0,<2.2" "*"
'';
build-system = [ poetry-core ];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
boto3
botocore
snakemake-interface-storage-plugins