nixpkgs/pkgs/tools/backup/zfs-replicate/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
816 B
Nix
Raw Normal View History

2023-08-22 20:38:29 +00:00
{
buildPythonApplication,
click,
fetchPypi,
hypothesis,
lib,
poetry-core,
pytest-cov-stub,
2023-08-22 20:38:29 +00:00
pytestCheckHook,
stringcase,
}:
buildPythonApplication rec {
2023-08-22 20:38:29 +00:00
pname = "zfs_replicate";
2024-11-24 22:46:59 +00:00
version = "4.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
2024-11-24 22:46:59 +00:00
hash = "sha256-9WD2IW7GRxMF7hOa8HTI/+cuOjVaYMT4OnrYU/xFgME=";
};
2023-08-22 20:38:29 +00:00
nativeBuildInputs = [
poetry-core
];
nativeCheckInputs = [
2023-08-22 20:38:29 +00:00
pytestCheckHook
hypothesis
pytest-cov-stub
];
propagatedBuildInputs = [
click
stringcase
];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/alunduil/zfs-replicate";
description = "ZFS Snapshot Replication";
mainProgram = "zfs-replicate";
license = licenses.bsd2;
maintainers = with maintainers; [ alunduil ];
};
}