Higan: minor update
Updating source url
This commit is contained in:
parent
7c7f426b3f
commit
5ff233be6b
@ -11,6 +11,7 @@
|
|||||||
assert guiToolkit == "gtk" || guiToolkit == "qt4";
|
assert guiToolkit == "gtk" || guiToolkit == "qt4";
|
||||||
assert (guiToolkit == "gtk" -> gtk != null) || (guiToolkit == "qt4" -> qt4 != null);
|
assert (guiToolkit == "gtk" -> gtk != null) || (guiToolkit == "qt4" -> qt4 != null);
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "higan-${version}";
|
name = "higan-${version}";
|
||||||
@ -18,12 +19,12 @@ stdenv.mkDerivation rec {
|
|||||||
sourceName = "higan_v${version}-source";
|
sourceName = "higan_v${version}-source";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [ "http://byuu.org/files/${sourceName}.tar.xz" "http://byuu.net/files/${sourceName}.tar.xz" ];
|
urls = [ "http://files.byuu.org/download/${sourceName}.tar.xz" ];
|
||||||
sha256 = "06qm271pzf3qf2labfw2lx6k0xcd89jndmn0jzmnc40cspwrs52y";
|
sha256 = "06qm271pzf3qf2labfw2lx6k0xcd89jndmn0jzmnc40cspwrs52y";
|
||||||
curlOpts = "--user-agent 'Mozilla/5.0'"; # the good old user-agent trick...
|
curlOpts = "--user-agent 'Mozilla/5.0'"; # the good old user-agent trick...
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs =
|
||||||
[ pkgconfig libX11 libXv udev mesa SDL libao openal pulseaudio ]
|
[ pkgconfig libX11 libXv udev mesa SDL libao openal pulseaudio ]
|
||||||
++ optionals (guiToolkit == "gtk") [ gtk ]
|
++ optionals (guiToolkit == "gtk") [ gtk ]
|
||||||
++ optionals (guiToolkit == "qt4") [ qt4 ];
|
++ optionals (guiToolkit == "qt4") [ qt4 ];
|
||||||
@ -65,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
chmod +x $out/bin/higan-init.sh
|
chmod +x $out/bin/higan-init.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = {
|
||||||
description = "An open-source, cycle-accurate Nintendo multi-system emulator";
|
description = "An open-source, cycle-accurate Nintendo multi-system emulator";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Higan (formerly bsnes) is a Nintendo multi-system emulator.
|
Higan (formerly bsnes) is a Nintendo multi-system emulator.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user