nixpkgs/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix

41 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
argparse-dataclass,
throttler,
snakemake-interface-common,
}:
buildPythonPackage rec {
pname = "snakemake-interface-executor-plugins";
version = "9.3.2";
pyproject = true;
src = fetchFromGitHub {
owner = "snakemake";
repo = "snakemake-interface-executor-plugins";
rev = "refs/tags/v${version}";
hash = "sha256-3XdsEnL+kuYhNOeAxkAsjTJ2R6NOtq97zPhQg9kdFkI=";
};
build-system = [ poetry-core ];
dependencies = [
argparse-dataclass
throttler
snakemake-interface-common
];
pythonImportsCheck = [ "snakemake_interface_executor_plugins" ];
meta = {
description = "This package provides a stable interface for interactions between Snakemake and its executor plugins";
homepage = "https://github.com/snakemake/snakemake-interface-executor-plugins";
changelog = "https://github.com/snakemake/snakemake-interface-executor-plugins/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ veprbl ];
};
}