btar: fix build with librsync 1.x
The patch from OpenSUSE fixes the build with a more recent librsync. I haven't tested that it runs, but the patch is very simple, and if it works for OpenSUSE, it should work for us too.
This commit is contained in:
parent
dcd7b5a931
commit
0271807d6f
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, librsync }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, librsync }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "btar-1.1.1";
|
||||
|
@ -7,6 +7,13 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0miklk4bqblpyzh1bni4x6lqn88fa8fjn15x1k1n8bxkx60nlymd";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://build.opensuse.org/public/source/openSUSE:Factory/btar/btar-librsync.patch?rev=2";
|
||||
sha256 = "1awqny9489vsfffav19s73xxg26m7zrhvsgf1wxb8c2izazwr785";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ librsync ];
|
||||
|
||||
installPhase = "make install PREFIX=$out";
|
||||
|
|
|
@ -3543,9 +3543,7 @@ in
|
|||
|
||||
bsdiff = callPackage ../tools/compression/bsdiff { };
|
||||
|
||||
btar = callPackage ../tools/backup/btar {
|
||||
librsync = librsync_0_9;
|
||||
};
|
||||
btar = callPackage ../tools/backup/btar { };
|
||||
|
||||
bud = callPackage ../tools/networking/bud { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue