mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Higan: minor update
Updating source url
This commit is contained in:
parent
7c7f426b3f
commit
5ff233be6b
1 changed files with 4 additions and 3 deletions
|
@ -11,6 +11,7 @@
|
|||
assert guiToolkit == "gtk" || guiToolkit == "qt4";
|
||||
assert (guiToolkit == "gtk" -> gtk != null) || (guiToolkit == "qt4" -> qt4 != null);
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "higan-${version}";
|
||||
|
@ -18,12 +19,12 @@ stdenv.mkDerivation rec {
|
|||
sourceName = "higan_v${version}-source";
|
||||
|
||||
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";
|
||||
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 ]
|
||||
++ optionals (guiToolkit == "gtk") [ gtk ]
|
||||
++ optionals (guiToolkit == "qt4") [ qt4 ];
|
||||
|
@ -65,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||
chmod +x $out/bin/higan-init.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = {
|
||||
description = "An open-source, cycle-accurate Nintendo multi-system emulator";
|
||||
longDescription = ''
|
||||
Higan (formerly bsnes) is a Nintendo multi-system emulator.
|
||||
|
|
Loading…
Reference in a new issue