python3Packages.snakemake-logger-plugin-rich: init at 0.4.1
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
d4eedeb694
commit
2e7ebe3578
@@ -0,0 +1,60 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
pydantic,
|
||||
rich,
|
||||
snakemake-interface-executor-plugins,
|
||||
snakemake-interface-logger-plugins,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
snakemake,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "snakemake-logger-plugin-rich";
|
||||
version = "0.4.1";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cademirch";
|
||||
repo = "snakemake-logger-plugin-rich";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kMjzagM95Td529JU+qIxGStgJGctS08glrFo3CF+Ih8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
rich
|
||||
snakemake-interface-executor-plugins
|
||||
snakemake-interface-logger-plugins
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "snakemake_logger_plugin_rich" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
snakemake
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Snakemake logger plugin using Rich";
|
||||
homepage = "https://github.com/cademirch/snakemake-logger-plugin-rich";
|
||||
changelog = "https://github.com/cademirch/snakemake-logger-plugin-rich/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
})
|
||||
@@ -18192,6 +18192,10 @@ self: super: with self; {
|
||||
callPackage ../development/python-modules/snakemake-interface-storage-plugins
|
||||
{ };
|
||||
|
||||
snakemake-logger-plugin-rich =
|
||||
callPackage ../development/python-modules/snakemake-logger-plugin-rich
|
||||
{ };
|
||||
|
||||
snakemake-storage-plugin-fs =
|
||||
callPackage ../development/python-modules/snakemake-storage-plugin-fs
|
||||
{ };
|
||||
|
||||
Reference in New Issue
Block a user