depot/third_party/nixpkgs/pkgs/tools/backup/rdiff-backup/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
754 B
Nix

{ lib, python3Packages, fetchPypi, librsync }:
let
pypkgs = python3Packages;
in
pypkgs.buildPythonApplication rec {
pname = "rdiff-backup";
version = "2.2.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-0HeDVyZrxlE7t/daRXCymySydgNIu/YHur/DpvCUWM8";
};
nativeBuildInputs = with pypkgs; [ setuptools-scm ];
buildInputs = [ librsync ];
propagatedBuildInputs = with pypkgs; [ pyyaml ];
# no tests from pypi
doCheck = false;
meta = with lib; {
description = "Backup system trying to combine best a mirror and an incremental backup system";
homepage = "https://rdiff-backup.net";
license = licenses.gpl2Only;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
};
}