From 200009610a4add0c79ca075b63d149f886b95c6c Mon Sep 17 00:00:00 2001 From: Nadir Ishiguro Date: Sat, 26 Aug 2023 13:21:49 +0200 Subject: [PATCH] rdiff-backup: 2.0.5 -> 2.2.5 Changelog: https://github.com/rdiff-backup/rdiff-backup/blob/master/CHANGELOG.adoc --- pkgs/tools/backup/rdiff-backup/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/backup/rdiff-backup/default.nix b/pkgs/tools/backup/rdiff-backup/default.nix index 5892ddbe0106..654306f873b9 100644 --- a/pkgs/tools/backup/rdiff-backup/default.nix +++ b/pkgs/tools/backup/rdiff-backup/default.nix @@ -6,22 +6,18 @@ let in pypkgs.buildPythonApplication rec { pname = "rdiff-backup"; - version = "2.0.5"; + version = "2.2.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-VNFgOOYgFO2RbHHIMDsH0vphpqaAOMoYn8LTFTSw84s="; + sha256 = "sha256-huKCa3hOw+pO8YfZNu5fFSd0IsQHfvoBVu9n4xOeoI4="; }; - # pkg_resources fails to find the version and then falls back to "DEV" - postPatch = '' - substituteInPlace src/rdiff_backup/Globals.py \ - --replace 'version = "DEV"' 'version = "${version}"' - ''; + nativeBuildInputs = with pypkgs; [ setuptools-scm ]; buildInputs = [ librsync ]; - nativeBuildInputs = with pypkgs; [ setuptools-scm ]; + propagatedBuildInputs = with pypkgs; [ pyyaml ]; # no tests from pypi doCheck = false;