1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 humanfriendly,
7 reretry,
8 snakemake-interface-common,
9 throttler,
10 wrapt,
11}:
12
13buildPythonPackage rec {
14 pname = "snakemake-interface-storage-plugins";
15 version = "4.2.3";
16 format = "pyproject";
17
18 src = fetchFromGitHub {
19 owner = "snakemake";
20 repo = "snakemake-interface-storage-plugins";
21 tag = "v${version}";
22 hash = "sha256-gez2UptlCorf42qHnnG31gfjzcTm9uyerF23N2fmTiM=";
23 };
24
25 nativeBuildInputs = [ poetry-core ];
26
27 propagatedBuildInputs = [
28 humanfriendly
29 reretry
30 snakemake-interface-common
31 throttler
32 wrapt
33 ];
34
35 pythonImportsCheck = [ "snakemake_interface_storage_plugins" ];
36
37 meta = with lib; {
38 description = "This package provides a stable interface for interactions between Snakemake and its storage plugins";
39 homepage = "https://github.com/snakemake/snakemake-interface-storage-plugins";
40 license = licenses.mit;
41 maintainers = with maintainers; [ veprbl ];
42 };
43}