2023-07-15 17:15:38 +00:00
|
|
|
{ lib, python3Packages, fetchPypi, librsync }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
let
|
|
|
|
pypkgs = python3Packages;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
in
|
|
|
|
pypkgs.buildPythonApplication rec {
|
|
|
|
pname = "rdiff-backup";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "2.2.6";
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2021-07-14 22:03:04 +00:00
|
|
|
inherit pname version;
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-0HeDVyZrxlE7t/daRXCymySydgNIu/YHur/DpvCUWM8";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = with pypkgs; [ setuptools-scm ];
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
buildInputs = [ librsync ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
propagatedBuildInputs = with pypkgs; [ pyyaml ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
# no tests from pypi
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Backup system trying to combine best a mirror and an incremental backup system";
|
2021-07-14 22:03:04 +00:00
|
|
|
homepage = "https://rdiff-backup.net";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|