summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/cd-dvd/unetbootin
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2017-11-02 13:24:32 +0800
committerPeter Hoeg <peter@hoeg.com>2017-11-02 13:25:12 +0800
commitcf7d701108910120b68332d0b026133defa09c98 (patch)
treefc7a378b7f8d5aed71dddc1461bd981d113b2c92 /pkgs/tools/cd-dvd/unetbootin
parent49f68937c82ffbcd5bf4dff2352ea9a5172abc44 (diff)
unetbootin: 655 -> 657 and make it build again
Diffstat (limited to 'pkgs/tools/cd-dvd/unetbootin')
-rw-r--r--pkgs/tools/cd-dvd/unetbootin/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/tools/cd-dvd/unetbootin/default.nix b/pkgs/tools/cd-dvd/unetbootin/default.nix
index 4d6ddd546dbc..0da3ff45a8c3 100644
--- a/pkgs/tools/cd-dvd/unetbootin/default.nix
+++ b/pkgs/tools/cd-dvd/unetbootin/default.nix
@@ -3,16 +3,16 @@
stdenv.mkDerivation rec {
name = "unetbootin-${version}";
- version = "655";
+ version = "657";
src = fetchFromGitHub {
owner = "unetbootin";
repo = "unetbootin";
rev = version;
- sha256 = "1gis75vy172k7lgh8bwgap74s259y9x1wg3rkqhhqncl2vv0w1py";
+ sha256 = "18bbcrjk6ladr46kl3dvqz5pq2xcv4nnwmajqllb4sl3k1xqsngy";
};
- sourceRoot = "${name}-src/src/unetbootin";
+ sourceRoot = "source/src/unetbootin";
buildInputs = [ qt4 ];
nativeBuildInputs = [ makeWrapper qmake4Hook ];
@@ -42,18 +42,17 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
- mkdir -p $out/bin
- cp unetbootin $out/bin
+ runHook preInstall
- mkdir -p $out/share/unetbootin
- cp unetbootin_*.qm $out/share/unetbootin
-
- mkdir -p $out/share/applications
- cp unetbootin.desktop $out/share/applications
+ install -Dm755 -t $out/bin unetbootin
+ install -Dm644 -t $out/share/unetbootin unetbootin_*.qm
+ install -Dm644 -t $out/share/applications unetbootin.desktop
wrapProgram $out/bin/unetbootin \
--prefix PATH : ${stdenv.lib.makeBinPath [ mtools p7zip which ]} \
--set QT_X11_NO_MITSHM 1
+
+ runHook postInstall
'';
meta = with stdenv.lib; {