snakemake: 9.5.1 -> 9.11.8 (#446245)

Changed files
+65 -16
pkgs
by-name
sn
snakemake
development
python-modules
snakemake-interface-common
snakemake-interface-scheduler-plugins
top-level
+8 -2
pkgs/by-name/sn/snakemake/package.nix
···
python3Packages.buildPythonApplication rec {
pname = "snakemake";
-
version = "9.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake";
tag = "v${version}";
-
hash = "sha256-cSFqPSLeM7hw1bxQZ2FhlHUP+O3iyrwBz4+Jz90Zck8=";
};
postPatch = ''
···
snakemake-interface-logger-plugins
snakemake-interface-storage-plugins
snakemake-interface-report-plugins
stopit
tabulate
throttler
···
# Requires snakemake-storage-plugin-http
"test_keep_local"
"test_retrieve"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Unclear failure:
···
python3Packages.buildPythonApplication rec {
pname = "snakemake";
+
version = "9.11.8";
pyproject = true;
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake";
tag = "v${version}";
+
hash = "sha256-fQCpQ3LB0Q1USZ9YTEniR5iKq68Zri9+14zqa/jzO2o=";
};
postPatch = ''
···
snakemake-interface-logger-plugins
snakemake-interface-storage-plugins
snakemake-interface-report-plugins
+
snakemake-interface-scheduler-plugins
stopit
tabulate
throttler
···
# Requires snakemake-storage-plugin-http
"test_keep_local"
"test_retrieve"
+
+
# Requires conda
+
"test_jupyter_notebook"
+
"test_jupyter_notebook_nbconvert"
+
"test_jupyter_notebook_draft"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Unclear failure:
+11 -14
pkgs/development/python-modules/snakemake-interface-common/default.nix
···
buildPythonPackage,
configargparse,
fetchFromGitHub,
-
poetry-core,
-
pythonOlder,
-
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "snakemake-interface-common";
-
version = "1.17.4";
pyproject = true;
-
disabled = pythonOlder "3.8";
-
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake-interface-common";
tag = "v${version}";
-
hash = "sha256-PMEs7yeVfSnZKbabLrbXfIKCIPteNV1wzbt9RIDG3qU=";
};
-
build-system = [ poetry-core ];
dependencies = [
argparse-dataclass
configargparse
];
-
nativeCheckInputs = [ pytestCheckHook ];
-
pythonImportsCheck = [ "snakemake_interface_common" ];
-
enabledTestPaths = [ "tests/tests.py" ];
-
meta = with lib; {
description = "Common functions and classes for Snakemake and its plugins";
homepage = "https://github.com/snakemake/snakemake-interface-common";
changelog = "https://github.com/snakemake/snakemake-interface-common/releases/tag/v${version}";
-
license = licenses.mit;
-
maintainers = with maintainers; [ veprbl ];
};
}
···
buildPythonPackage,
configargparse,
fetchFromGitHub,
+
setuptools,
}:
buildPythonPackage rec {
pname = "snakemake-interface-common";
+
version = "1.22.0";
pyproject = true;
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake-interface-common";
tag = "v${version}";
+
hash = "sha256-DxbB/UaBkLbG18CGHyDMo7dmRlVY2tD3BhO0MShbnq4=";
};
+
build-system = [ setuptools ];
dependencies = [
argparse-dataclass
configargparse
];
+
pythonImportsCheck = [ "snakemake_interface_common" ];
+
# test_snakemake_version: No module named 'snakemake'
+
# nativeCheckInputs = [ pytestCheckHook ];
+
# enabledTestPaths = [ "tests/tests.py" ];
+
meta = {
description = "Common functions and classes for Snakemake and its plugins";
homepage = "https://github.com/snakemake/snakemake-interface-common";
changelog = "https://github.com/snakemake/snakemake-interface-common/releases/tag/v${version}";
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ veprbl ];
};
}
+42
pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix
···
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
hatchling,
+
snakemake-interface-common,
+
}:
+
+
let
+
version = "2.0.1";
+
+
src = fetchFromGitHub {
+
owner = "snakemake";
+
repo = "snakemake-interface-scheduler-plugins";
+
tag = "v${version}";
+
hash = "sha256-Z/rJGkby9AcYB+Gil00xhbrySChqEIEOtzLyzQPhObk=";
+
};
+
in
+
buildPythonPackage {
+
pname = "snakemake-interface-scheduler-plugins";
+
inherit version src;
+
pyproject = true;
+
+
build-system = [ hatchling ];
+
+
dependencies = [ snakemake-interface-common ];
+
+
pythonImportsCheck = [ "snakemake_interface_scheduler_plugins" ];
+
+
# test_scheduler: No module named 'snakemake'
+
# nativeCheckInputs = [ pytestCheckHook ];
+
+
# enabledTestPaths = [ "tests/tests.py" ];
+
+
meta = {
+
description = "Provides a stable interface for interactions between Snakemake and its scheduler plugins";
+
homepage = "https://github.com/snakemake/snakemake-interface-scheduler-plugins";
+
changelog = "https://github.com/snakemake/snakemake-interface-scheduler-plugins/blob/${src.rev}/CHANGELOG.md";
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ kyehn ];
+
};
+
}
+4
pkgs/top-level/python-packages.nix
···
callPackage ../development/python-modules/snakemake-interface-report-plugins
{ };
snakemake-interface-storage-plugins =
callPackage ../development/python-modules/snakemake-interface-storage-plugins
{ };
···
callPackage ../development/python-modules/snakemake-interface-report-plugins
{ };
+
snakemake-interface-scheduler-plugins =
+
callPackage ../development/python-modules/snakemake-interface-scheduler-plugins
+
{ };
+
snakemake-interface-storage-plugins =
callPackage ../development/python-modules/snakemake-interface-storage-plugins
{ };