rdiff-backup: 2.0.5 -> 2.2.5

Changelog: https://github.com/rdiff-backup/rdiff-backup/blob/master/CHANGELOG.adoc
This commit is contained in:
Nadir Ishiguro 2023-08-26 13:21:49 +02:00 committed by Franz Pletz
parent b28a0df538
commit 200009610a
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -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;