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

44 lines
952 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, reretry
, snakemake-interface-common
, throttler
, wrapt
, snakemake
}:
buildPythonPackage rec {
pname = "snakemake-interface-storage-plugins";
version = "3.2.2";
format = "pyproject";
src = fetchFromGitHub {
owner = "snakemake";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-syUjK32RPV9FMV7RSpXy+PJ2AVigGH+ywm6iTjUAuec=";
};
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 ];
};
}