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:
parent
b28a0df538
commit
200009610a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user