nixpkgs/pkgs/misc/emulators/snes9x-gtk/default.nix
R. RyanTM 953ab8fb4f snes9x-gtk: 1.56.1 -> 1.56.2 (#42446)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/snes9x-gtk/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/dwkaz8igww0j8mvlvbmmia9dqn1zfi4r-snes9x-gtk-1.56.2/bin/snes9x-gtk had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/dwkaz8igww0j8mvlvbmmia9dqn1zfi4r-snes9x-gtk-1.56.2/bin/.snes9x-gtk-wrapped had a zero exit code or showed the expected version
- 0 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 1.56.2 with grep in /nix/store/dwkaz8igww0j8mvlvbmmia9dqn1zfi4r-snes9x-gtk-1.56.2
- directory tree listing: https://gist.github.com/9099159d34f80ca08f46e16de03222b7
- du listing: https://gist.github.com/089002406d67da563ace4b09e11494ab
2018-06-27 16:59:12 +02:00

40 lines
1.2 KiB
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, wrapGAppsHook, intltool, pkgconfig
, SDL2, zlib, gtk3, libxml2, libXv, epoxy, minizip, portaudio }:
stdenv.mkDerivation rec {
name = "snes9x-gtk-${version}";
version = "1.56.2";
src = fetchFromGitHub {
owner = "snes9xgit";
repo = "snes9x";
rev = version;
sha256 = "0cbv95799gpagf6bxs1fmwmxvz5qs9g2rmmf5fsdd1cb4lryaijr";
};
enableParallelBuilding = true;
nativeBuildInputs = [ autoreconfHook wrapGAppsHook intltool pkgconfig ];
buildInputs = [ SDL2 zlib gtk3 libxml2 libXv epoxy minizip portaudio ];
preAutoreconf = ''
cd gtk
intltoolize
'';
meta = with stdenv.lib; {
homepage = "http://www.snes9x.com";
description = "Super Nintendo Entertainment System (SNES) emulator";
longDescription = ''
Snes9x is a portable, freeware Super Nintendo Entertainment System (SNES)
emulator. It basically allows you to play most games designed for the SNES
and Super Famicom Nintendo game systems on your PC or Workstation; which
includes some real gems that were only ever released in Japan.
'';
license = licenses.lgpl2;
maintainers = with maintainers; [ qknight ];
platforms = platforms.linux;
};
}