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