Merge pull request #250370 from nadir-yttrium/update-rdiff-backup

This commit is contained in:
Franz Pletz
2023-08-26 18:00:59 +02:00
committed by GitHub
+4 -8
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;