python313Packages.snakemake-interface-common: 1.17.4 -> 1.21.0

Changelog: https://github.com/snakemake/snakemake-interface-common/releases/tag/v1.21.0
This commit is contained in:
kyehn
2025-09-26 13:57:02 +08:00
parent 312ce6e2e5
commit ea7b9bfc3d
@@ -4,43 +4,40 @@
buildPythonPackage,
configargparse,
fetchFromGitHub,
poetry-core,
pythonOlder,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "snakemake-interface-common";
version = "1.17.4";
version = "1.21.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake-interface-common";
tag = "v${version}";
hash = "sha256-PMEs7yeVfSnZKbabLrbXfIKCIPteNV1wzbt9RIDG3qU=";
hash = "sha256-8QISVZZ/kwWBNFtndzysnxFuuemkDXcWqEtCdVVsANo=";
};
build-system = [ poetry-core ];
build-system = [ setuptools ];
dependencies = [
argparse-dataclass
configargparse
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "snakemake_interface_common" ];
enabledTestPaths = [ "tests/tests.py" ];
# test_snakemake_version: No module named 'snakemake'
# nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
# 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 = licenses.mit;
maintainers = with maintainers; [ veprbl ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ veprbl ];
};
}