1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 boto3, 6 botocore, 7 poetry-core, 8 snakemake, 9 snakemake-interface-storage-plugins, 10 snakemake-interface-common, 11 urllib3, 12}: 13 14buildPythonPackage rec { 15 pname = "snakemake-storage-plugin-s3"; 16 version = "0.3.6"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "snakemake"; 21 repo = "snakemake-storage-plugin-s3"; 22 tag = "v${version}"; 23 hash = "sha256-hvyQ6V6POUBWTCWt9moQlH0RgSM4J36kjbXK4TtO8Bo="; 24 }; 25 26 build-system = [ poetry-core ]; 27 28 dependencies = [ 29 boto3 30 botocore 31 snakemake-interface-storage-plugins 32 snakemake-interface-common 33 urllib3 34 ]; 35 36 nativeCheckInputs = [ snakemake ]; 37 38 pythonImportsCheck = [ "snakemake_storage_plugin_s3" ]; 39 40 meta = with lib; { 41 description = "Snakemake storage plugin for S3 API storage (AWS S3, MinIO, etc.)"; 42 homepage = "https://github.com/snakemake/snakemake-storage-plugin-s3"; 43 changelog = "https://github.com/snakemake/snakemake-storage-plugin-s3/releases/tag/${src.tag}"; 44 license = licenses.mit; 45 maintainers = with maintainers; [ veprbl ]; 46 }; 47}