587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
argparse-dataclass,
|
|
buildPythonPackage,
|
|
configargparse,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pythonOlder,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "snakemake-interface-common";
|
|
version = "1.17.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "snakemake";
|
|
repo = "snakemake-interface-common";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-N8mSS+gABAgXm01BcsMk89a3HsIsc3RHxCAi3GlxtRg=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
argparse-dataclass
|
|
configargparse
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "snakemake_interface_common" ];
|
|
|
|
pytestFlagsArray = [ "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 ];
|
|
};
|
|
}
|