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";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "3.2";
|
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";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-rvtY7fsn2K2hueAsQkaPXcwxUAgE8j+GsQFF3eJKG2o=";
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
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;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-09-18 10:52:07 +00:00
|
|
|
};
|
|
|
|
}
|