depot/third_party/nixpkgs/pkgs/development/python-modules/snakemake-interface-common/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

38 lines
827 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, argparse-dataclass
, configargparse
}:
buildPythonPackage rec {
pname = "snakemake-interface-common";
version = "1.15.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "snakemake";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-7AWIYt9sz6+oHQ5ELpIJDTBWSwIpX3gJYgfgxMNHQ2k=";
};
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 ];
};
}