1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

qemu: qemu-2.4.0-x86-only -> qemu-x86-only-2.4.0

This commit is contained in:
Vladimír Čunát 2015-09-17 12:44:17 +02:00
parent 03730319bd
commit ab295420c5

View file

@ -11,17 +11,17 @@
with stdenv.lib;
let
n = "qemu-2.4.0";
version = "2.4.0";
audio = optionalString (hasSuffix "linux" stdenv.system) "alsa,"
+ optionalString pulseSupport "pa,"
+ optionalString sdlSupport "sdl,";
in
stdenv.mkDerivation rec {
name = n + (if x86Only then "-x86-only" else "");
name = "qemu-" + stdenv.lib.optionalString x86Only "x86-only-" + version;
src = fetchurl {
url = "http://wiki.qemu.org/download/${n}.tar.bz2";
url = "http://wiki.qemu.org/download/qemu-${version}.tar.bz2";
sha256 = "0836gqv5zcl0xswwjcns3mlkn18lyz2fiq8rl1ihcm6cpf8vkc3j";
};