···
9
-
"x86_64-linux" = "15gji5zqs1py92bpwvvq0r1spl0yynbrsnh4ajphwq17bqys3192";
10
-
"i686-linux" = "1y67bd63b95va7g2676rgp2clvcy09pnmivy00r2w46y7kwwwbj8";
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ];
15
-
stdenv.mkDerivation rec {
10
+
in stdenv.mkDerivation rec {
name = "resilio-sync-${version}";
21
-
"https://download-cdn.resilio.com/${version}/linux-${arch}/resilio-sync_${arch}.tar.gz"
23
-
sha256 = sha256s.${stdenv.system};
15
+
url = "https://download-cdn.resilio.com/${version}/linux-${arch}/resilio-sync_${arch}.tar.gz";
17
+
"x86_64-linux" = "15gji5zqs1py92bpwvvq0r1spl0yynbrsnh4ajphwq17bqys3192";
18
+
"i686-linux" = "1y67bd63b95va7g2676rgp2clvcy09pnmivy00r2w46y7kwwwbj8";
dontStrip = true; # Don't strip, otherwise patching the rpaths breaks
···
install -D rslsync "$out/bin/rslsync"
31
-
patchelf --interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" --set-rpath ${libPath} "$out/bin/rslsync"
28
+
--interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" \
29
+
--set-rpath ${libPath} "$out/bin/rslsync"
32
+
meta = with stdenv.lib; {
description = "Automatically sync files via secure, distributed technology";
homepage = https://www.resilio.com/;
37
-
license = stdenv.lib.licenses.unfreeRedistributable;
38
-
platforms = stdenv.lib.platforms.linux;
39
-
maintainers = with stdenv.lib.maintainers; [ domenkozar thoughtpolice cwoac ];
35
+
license = licenses.unfreeRedistributable;
36
+
platforms = platforms.linux;
37
+
maintainers = with maintainers; [ domenkozar thoughtpolice cwoac ];