1{ lib, python3Packages, fetchPypi, librsync }:
2
3let
4 pypkgs = python3Packages;
5
6in
7pypkgs.buildPythonApplication rec {
8 pname = "rdiff-backup";
9 version = "2.2.6";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-0HeDVyZrxlE7t/daRXCymySydgNIu/YHur/DpvCUWM8";
14 };
15
16 nativeBuildInputs = with pypkgs; [ setuptools-scm ];
17
18 buildInputs = [ librsync ];
19
20 propagatedBuildInputs = with pypkgs; [ pyyaml ];
21
22 # no tests from pypi
23 doCheck = false;
24
25 meta = with lib; {
26 description = "Backup system trying to combine best a mirror and an incremental backup system";
27 homepage = "https://rdiff-backup.net";
28 license = licenses.gpl2Only;
29 maintainers = with maintainers; [ peterhoeg ];
30 platforms = platforms.all;
31 };
32}