7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
45 lines
1 KiB
Nix
45 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
snakemake,
|
|
snakemake-interface-storage-plugins,
|
|
snakemake-interface-common,
|
|
xrootd,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "snakemake-storage-plugin-xrootd";
|
|
version = "0.1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "snakemake";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-1plBss9jRzIIGQE7rXDEnAomFxNzSUKsw0VyhYA2mIc=";
|
|
};
|
|
|
|
# xrootd<6.0.0,>=5.6.4 not satisfied by version 5.7rc20240303
|
|
pythonRelaxDeps = [ "xrootd" ];
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
snakemake-interface-storage-plugins
|
|
snakemake-interface-common
|
|
xrootd
|
|
];
|
|
|
|
nativeCheckInputs = [ snakemake ];
|
|
|
|
pythonImportsCheck = [ "snakemake_storage_plugin_xrootd" ];
|
|
|
|
meta = with lib; {
|
|
description = "Snakemake storage plugin for handling input and output via XRootD";
|
|
homepage = "https://github.com/snakemake/snakemake-storage-plugin-xrootd";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ veprbl ];
|
|
};
|
|
}
|