2024-01-13 08:15:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, poetry-core
|
|
|
|
, argparse-dataclass
|
|
|
|
, configargparse
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snakemake-interface-common";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "1.17.1";
|
2024-01-13 08:15:51 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "snakemake";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-23PGKSBX7KMt0Q7sWiLIPfCkxr2HtBas7flYeNHABWM=";
|
2024-01-13 08:15:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
argparse-dataclass
|
|
|
|
configargparse
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "snakemake_interface_common" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Common functions and classes for Snakemake and its plugins";
|
|
|
|
homepage = "https://github.com/snakemake/snakemake-interface-common";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|