nixpkgs/pkgs/by-name/rd/rdiff-backup/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
788 B
Nix
Raw Normal View History

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