File tree 1 file changed +9
-10
lines changed
pkgs/tools/cd-dvd/unetbootin
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 3
3
4
4
stdenv . mkDerivation rec {
5
5
name = "unetbootin-${ version } " ;
6
- version = "655 " ;
6
+ version = "657 " ;
7
7
8
8
src = fetchFromGitHub {
9
9
owner = "unetbootin" ;
10
10
repo = "unetbootin" ;
11
11
rev = version ;
12
- sha256 = "1gis75vy172k7lgh8bwgap74s259y9x1wg3rkqhhqncl2vv0w1py " ;
12
+ sha256 = "18bbcrjk6ladr46kl3dvqz5pq2xcv4nnwmajqllb4sl3k1xqsngy " ;
13
13
} ;
14
14
15
- sourceRoot = "${ name } -src /src/unetbootin" ;
15
+ sourceRoot = "source /src/unetbootin" ;
16
16
17
17
buildInputs = [ qt4 ] ;
18
18
nativeBuildInputs = [ makeWrapper qmake4Hook ] ;
@@ -42,18 +42,17 @@ stdenv.mkDerivation rec {
42
42
'' ;
43
43
44
44
installPhase = ''
45
- mkdir -p $out/bin
46
- cp unetbootin $out/bin
45
+ runHook preInstall
47
46
48
- mkdir -p $out/share/unetbootin
49
- cp unetbootin_*.qm $out/share/unetbootin
50
-
51
- mkdir -p $out/share/applications
52
- cp unetbootin.desktop $out/share/applications
47
+ install -Dm755 -t $out/bin unetbootin
48
+ install -Dm644 -t $out/share/unetbootin unetbootin_*.qm
49
+ install -Dm644 -t $out/share/applications unetbootin.desktop
53
50
54
51
wrapProgram $out/bin/unetbootin \
55
52
--prefix PATH : ${ stdenv . lib . makeBinPath [ mtools p7zip which ] } \
56
53
--set QT_X11_NO_MITSHM 1
54
+
55
+ runHook postInstall
57
56
'' ;
58
57
59
58
meta = with stdenv . lib ; {
You can’t perform that action at this time.
0 commit comments