summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix
blob: 4dab4726cc1b9c11eeda8c6ad95f12cf5104979e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  snakemake-interface-executor-plugins,
  snakemake-interface-common,
}:

buildPythonPackage rec {
  pname = "snakemake-executor-plugin-cluster-generic";
  version = "1.0.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "snakemake";
    repo = "snakemake-executor-plugin-cluster-generic";
    tag = "v${version}";
    hash = "sha256-RHMefoJOZb6TjRsFCORLFdHtI5ZpTsV6CHrjHKMat9o=";
  };

  nativeBuildInputs = [ poetry-core ];

  propagatedBuildInputs = [
    snakemake-interface-executor-plugins
    snakemake-interface-common
  ];

  pythonImportsCheck = [ "snakemake_executor_plugin_cluster_generic" ];

  meta = {
    description = "Generic cluster executor for Snakemake";
    homepage = "https://github.com/snakemake/snakemake-executor-plugin-cluster-generic";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ veprbl ];
  };
}