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