2024-01-13 08:15:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, poetry-core
|
|
|
|
, reretry
|
|
|
|
, snakemake-interface-common
|
|
|
|
, throttler
|
|
|
|
, wrapt
|
|
|
|
, snakemake
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snakemake-interface-storage-plugins";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.2.1";
|
2024-01-13 08:15:51 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "snakemake";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-hOZIdYL9YcKmZCTnKA4GbvvvPJ6pUcMLGvU5uYQHokw=";
|
2024-01-13 08:15:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
reretry
|
|
|
|
snakemake-interface-common
|
|
|
|
throttler
|
|
|
|
wrapt
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "snakemake_interface_storage_plugins" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This package provides a stable interface for interactions between Snakemake and its storage plugins";
|
|
|
|
homepage = "https://github.com/snakemake/snakemake-interface-storage-plugins";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ veprbl ];
|
|
|
|
};
|
|
|
|
}
|