mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
unetbootin: 655 -> 657 and make it build again
This commit is contained in:
parent
49f68937c8
commit
cf7d701108
|
@ -3,16 +3,16 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "unetbootin-${version}";
|
name = "unetbootin-${version}";
|
||||||
version = "655";
|
version = "657";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "unetbootin";
|
owner = "unetbootin";
|
||||||
repo = "unetbootin";
|
repo = "unetbootin";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1gis75vy172k7lgh8bwgap74s259y9x1wg3rkqhhqncl2vv0w1py";
|
sha256 = "18bbcrjk6ladr46kl3dvqz5pq2xcv4nnwmajqllb4sl3k1xqsngy";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${name}-src/src/unetbootin";
|
sourceRoot = "source/src/unetbootin";
|
||||||
|
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qt4 ];
|
||||||
nativeBuildInputs = [ makeWrapper qmake4Hook ];
|
nativeBuildInputs = [ makeWrapper qmake4Hook ];
|
||||||
|
@ -42,18 +42,17 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
runHook preInstall
|
||||||
cp unetbootin $out/bin
|
|
||||||
|
|
||||||
mkdir -p $out/share/unetbootin
|
install -Dm755 -t $out/bin unetbootin
|
||||||
cp unetbootin_*.qm $out/share/unetbootin
|
install -Dm644 -t $out/share/unetbootin unetbootin_*.qm
|
||||||
|
install -Dm644 -t $out/share/applications unetbootin.desktop
|
||||||
mkdir -p $out/share/applications
|
|
||||||
cp unetbootin.desktop $out/share/applications
|
|
||||||
|
|
||||||
wrapProgram $out/bin/unetbootin \
|
wrapProgram $out/bin/unetbootin \
|
||||||
--prefix PATH : ${stdenv.lib.makeBinPath [ mtools p7zip which ]} \
|
--prefix PATH : ${stdenv.lib.makeBinPath [ mtools p7zip which ]} \
|
||||||
--set QT_X11_NO_MITSHM 1
|
--set QT_X11_NO_MITSHM 1
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue