2023-08-22 20:38:29 +00:00
|
|
|
{
|
|
|
|
buildPythonApplication,
|
|
|
|
click,
|
|
|
|
fetchPypi,
|
|
|
|
hypothesis,
|
|
|
|
lib,
|
|
|
|
poetry-core,
|
2024-08-23 13:12:04 +00:00
|
|
|
pytest-cov-stub,
|
2023-08-22 20:38:29 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
stringcase,
|
2019-07-21 15:29:39 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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";
|
2024-02-17 23:05:33 +00:00
|
|
|
pyproject = true;
|
2019-07-21 15:29:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-11-24 22:46:59 +00:00
|
|
|
hash = "sha256-9WD2IW7GRxMF7hOa8HTI/+cuOjVaYMT4OnrYU/xFgME=";
|
2019-07-21 15:29:39 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:38:29 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [
|
2023-08-22 20:38:29 +00:00
|
|
|
pytestCheckHook
|
2019-07-21 15:29:39 +00:00
|
|
|
hypothesis
|
2024-08-23 13:12:04 +00:00
|
|
|
pytest-cov-stub
|
2019-07-21 15:29:39 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
click
|
|
|
|
stringcase
|
|
|
|
];
|
|
|
|
|
2024-02-06 17:35:05 +00:00
|
|
|
doCheck = true;
|
2019-07-21 15:29:39 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/alunduil/zfs-replicate";
|
2019-07-21 15:29:39 +00:00
|
|
|
description = "ZFS Snapshot Replication";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "zfs-replicate";
|
2019-07-21 15:29:39 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ alunduil ];
|
|
|
|
};
|
|
|
|
}
|