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

44 lines
952 B
Nix
Raw Normal View History

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