linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / by-name / rd / rdiff-backup / package.nix
blob33050e805f9abd196a10660a18bfa356aebfc55e
1 { lib, python3Packages, fetchPypi, librsync }:
3 let
4   pypkgs = python3Packages;
6 in
7 pypkgs.buildPythonApplication rec {
8   pname = "rdiff-backup";
9   version = "2.2.6";
11   src = fetchPypi {
12     inherit pname version;
13     hash = "sha256-0HeDVyZrxlE7t/daRXCymySydgNIu/YHur/DpvCUWM8";
14   };
16   nativeBuildInputs = with pypkgs; [ setuptools-scm ];
18   buildInputs = [ librsync ];
20   propagatedBuildInputs = with pypkgs; [ pyyaml ];
22   # no tests from pypi
23   doCheck = false;
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     mainProgram = "rdiff-backup";
31     platforms = platforms.all;
32   };