119570cd83
the install phase writes into /nix : ``` <snip> install -d /nix/store/1kc8xcni0wp4y35vafh03rdxvqkrsxvl-backintime-qt4-1.1.24/../etc/dbus-1/system.d install --mode=644 net.launchpad.backintime.serviceHelper.conf /nix/store/1kc8xcni0wp4y35vafh03rdxvqkrsxvl-backintime-qt4-1.1.24/../etc/dbus-1/system.d <snap> ```
29 lines
792 B
Nix
29 lines
792 B
Nix
{stdenv, fetchurl, makeWrapper, gettext, pkgconfig, libtool, backintime-common, python3, python3Packages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
inherit (backintime-common) version src installFlags;
|
|
|
|
name = "backintime-qt4-${version}";
|
|
|
|
buildInputs = [ makeWrapper gettext python3 python3Packages.pyqt4 backintime-common python3 ];
|
|
|
|
preConfigure = "cd qt4";
|
|
configureFlags = [ ];
|
|
|
|
dontAddPrefix = true;
|
|
|
|
preFixup =
|
|
''
|
|
substituteInPlace "$out/bin/backintime-qt4" \
|
|
--replace "=\"/usr/share" "=\"$prefix/share"
|
|
|
|
wrapProgram "$out/bin/backintime-qt4" \
|
|
--prefix PYTHONPATH : "${backintime-common}/share/backintime/common:$PYTHONPATH" \
|
|
--prefix PATH : "${backintime-common}/bin:$PATH"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
broken = true;
|
|
};
|
|
}
|