2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "zfs-autobackup";
|
|
|
|
version = "3.1.3";
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2023-08-04 22:07:22 +00:00
|
|
|
inherit version;
|
|
|
|
pname = "zfs_autobackup";
|
|
|
|
sha256 = "sha256-ckikq8Am81O0wkL4ozRBFTCa15PrmkD54A2qEY6kA5c=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [ pythonRelaxDepsHook ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [ colorama ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
pythonRemoveDeps = [ "argparse" ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
# tests need zfs filesystem
|
|
|
|
doCheck = false;
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "zfs_autobackup" ];
|
2021-09-18 10:52:07 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ZFS backup, replicationand snapshot tool";
|
2023-08-04 22:07:22 +00:00
|
|
|
homepage = "https://github.com/psy0rz/zfs_autobackup";
|
|
|
|
changelog = "https://github.com/psy0rz/zfs_autobackup/releases/tag/v${version}";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = licenses.gpl3Only;
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|