48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{
|
|
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.3.6";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "snakemake";
|
|
repo = "snakemake-storage-plugin-s3";
|
|
tag = "v${version}";
|
|
hash = "sha256-hvyQ6V6POUBWTCWt9moQlH0RgSM4J36kjbXK4TtO8Bo=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
boto3
|
|
botocore
|
|
snakemake-interface-storage-plugins
|
|
snakemake-interface-common
|
|
urllib3
|
|
];
|
|
|
|
nativeCheckInputs = [ snakemake ];
|
|
|
|
pythonImportsCheck = [ "snakemake_storage_plugin_s3" ];
|
|
|
|
meta = with lib; {
|
|
description = "Snakemake storage plugin for S3 API storage (AWS S3, MinIO, etc.)";
|
|
homepage = "https://github.com/snakemake/snakemake-storage-plugin-s3";
|
|
changelog = "https://github.com/snakemake/snakemake-storage-plugin-s3/releases/tag/${src.tag}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|