python3Packages.snakemake-interface-logger-plugins: cleanup

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gaetan Lepage
2026-05-22 10:10:06 +00:00
co-authored by Claude Opus 4.7
parent 0b4982f44a
commit f92b3f5b26
@@ -2,34 +2,45 @@
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatchling,
# dependencies
snakemake-interface-common,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "snakemake-interface-logger-plugins";
version = "2.0.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake-interface-logger-plugins";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-yvEjd4xBjjCocGK/HD1j5jcuy+syyXcEJGdsEFA0H40=";
};
nativeBuildInputs = [ hatchling ];
build-system = [
hatchling
];
propagatedBuildInputs = [
dependencies = [
snakemake-interface-common
];
pythonImportsCheck = [ "snakemake_interface_logger_plugins" ];
# Tests require snakemake-logger-plugin-rich, which is not packaged in nixpkgs
doCheck = false;
meta = {
description = "Stable interface for interactions between Snakemake and its logger plugins";
homepage = "https://github.com/snakemake/snakemake-interface-logger-plugins";
changelog = "https://github.com/snakemake/snakemake-interface-logger-plugins/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ veprbl ];
};
}
})