@ -1,7 +1,7 @@
{ stdenv , fetchurl , makeWrapper , getopt , jre , cpio , gawk , gnugrep , gnused ,
procps , which , gtk2 , atk , glib , pango , gdk_pixbuf , cairo , freetype ,
fontconfig , dbus , gconf , nss , nspr , alsaLib , cups , expat , lib udev,
libX11 , libxcb , libXi , libXcursor , libXdamage , libXrandr , libXcomposite ,
{ stdenv , fetchurl , makeWrapper , getopt , jre , cpio , gawk , gnugrep , gnused ,
procps , which , gtk2 , atk , glib , pango , gdk_pixbuf , cairo , freetype ,
fontconfig , dbus , gconf , nss , nspr , alsaLib , cups , expat , udev ,
libX11 , libxcb , libXi , libXcursor , libXdamage , libXrandr , libXcomposite ,
libXext , libXfixes , libXrender , libXtst , libXScrnSaver , nodePackages ,
maxRam ? " 1 0 2 4 m " } :
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
rev = " 1 5 1 2 0 2 1 6 0 0 6 7 0 _ 4 5 0 3 " ;
pname = " C r a s h P l a n S m b " ;
name = " ${ pname } _ ${ version } _ ${ rev } " ;
src = fetchurl {
url = " h t t p s : / / w e b - e a m - m s p . c r a s h p l a n p r o . c o m / c l i e n t / i n s t a l l e r s / ${ name } _ L i n u x . t g z " ;
sha256 = " 0 f 7 y k f x a q j l v v 4 h v 1 2 y c 5 z 8 y 1 v j s y s d b l v 5 3 b y m l 7 i 1 f y 1 r 0 q 2 6 q " ;
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
vardir = " / v a r / l i b / c r a s h p l a n " ;
manifestdir = " ${ vardir } / m a n i f e s t " ;
postPatch = ''
# patch scripts/CrashPlanEngine
substituteInPlace scripts/CrashPlanEngine \
@ -85,10 +85,10 @@ stdenv.mkDerivation rec {
postFixup = ''
patchelf - - set-interpreter $ { stdenv . glibc } /lib/ld-linux-x86-64.so.2 $ out/electron/crashplan
wrapProgram $ out/bin/CrashPlanDesktop - - prefix LD_LIBRARY_PATH " : " " ${ stdenv . lib . makeLibraryPath [
stdenv . cc . cc . lib gtk2 atk glib pango gdk_pixbuf cairo freetype
fontconfig dbus gconf nss nspr alsaLib cups expat lib udev
libX11 libxcb libXi libXcursor libXdamage libXrandr libXcomposite
wrapProgram $ out/bin/CrashPlanDesktop - - prefix LD_LIBRARY_PATH " : " " ${ stdenv . lib . makeLibraryPath [
stdenv . cc . cc . lib gtk2 atk glib pango gdk_pixbuf cairo freetype
fontconfig dbus gconf nss nspr alsaLib cups expat udev
libX11 libxcb libXi libXcursor libXdamage libXrandr libXcomposite
libXext libXfixes libXrender libXtst libXScrnSaver ] } "
'' ;