3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/emulators/mednaffe/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
853 B
Nix
Raw Normal View History

{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, pkg-config
, mednafen
, gtk3
, wrapGAppsHook
}:
2016-03-22 05:35:20 +00:00
stdenv.mkDerivation rec {
pname = "mednaffe";
2021-12-07 14:37:34 +00:00
version = "0.9.2";
2016-03-22 05:35:20 +00:00
src = fetchFromGitHub {
owner = "AmatCoder";
repo = "mednaffe";
rev = version;
2021-12-07 14:37:34 +00:00
sha256 = "sha256-zvSAt6CMcgdoPpTTA5sPlQaWUw9LUMsR2Xg9jM2UaWY=";
2016-03-22 05:35:20 +00:00
};
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
buildInputs = [ gtk3 mednafen ];
enableParallelBuilding = true;
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH ':' "${mednafen}/bin"
)
'';
2016-03-22 05:35:20 +00:00
meta = with lib; {
description = "GTK-based frontend for mednafen emulator";
2020-03-03 12:12:44 +00:00
homepage = "https://github.com/AmatCoder/mednaffe";
license = licenses.gpl3Plus;
2021-12-31 18:48:55 +00:00
maintainers = with maintainers; [ sheenobu yana AndersonTorres ];
platforms = platforms.unix;
2016-03-22 05:35:20 +00:00
};
}