depot/pkgs/tools/backup/zfs-replicate/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

46 lines
806 B
Nix

{ buildPythonApplication
, click
, fetchPypi
, hypothesis
, lib
, poetry-core
, pytest-cov-stub
, pytestCheckHook
, stringcase
}:
buildPythonApplication rec {
pname = "zfs_replicate";
version = "3.2.13";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Xmg33bqs3gQJWqkCNiWYUem3o6XsxpfbHIVvLs/2D94=";
};
nativeBuildInputs = [
poetry-core
];
nativeCheckInputs = [
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 ];
};
}