python311Packages.snakemake-storage-plugin-s3: init at 0.2.10

This commit is contained in:
Dmitry Kalinkin 2024-03-26 13:29:46 -04:00
parent 71401e8d39
commit 37d707fb47
2 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, boto3
, botocore
, poetry-core
, snakemake
, snakemake-interface-storage-plugins
, snakemake-interface-common
, urllib3
}:
buildPythonPackage rec {
pname = "snakemake-storage-plugin-s3";
version = "0.2.10";
format = "pyproject";
src = fetchFromGitHub {
owner = "snakemake";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-k21DRQdSUFkdwNb7MZJmClhIg+pdSc7H6FkDrbf4DT8=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace ">=2.0,<2.2" "*"
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
boto3
botocore
snakemake-interface-storage-plugins
snakemake-interface-common
urllib3
];
nativeCheckInputs = [
snakemake
];
pythonImportsCheck = [ "snakemake_storage_plugin_s3" ];
meta = with lib; {
description = "A Snakemake storage plugin for S3 API storage (AWS S3, MinIO, etc.)";
homepage = "https://github.com/snakemake/snakemake-storage-plugin-s3";
license = licenses.mit;
maintainers = with maintainers; [ veprbl ];
};
}

View File

@ -13704,6 +13704,8 @@ self: super: with self; {
snakemake-interface-storage-plugins = callPackage ../development/python-modules/snakemake-interface-storage-plugins { };
snakemake-storage-plugin-s3 = callPackage ../development/python-modules/snakemake-storage-plugin-s3 { };
snakebite = callPackage ../development/python-modules/snakebite { };
snakeviz = callPackage ../development/python-modules/snakeviz { };