792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
37 lines
828 B
Nix
37 lines
828 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, mednafen
|
|
, gtk3
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mednaffe";
|
|
version = "0.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AmatCoder";
|
|
repo = "mednaffe";
|
|
rev = version;
|
|
sha256 = "sha256-zvSAt6CMcgdoPpTTA5sPlQaWUw9LUMsR2Xg9jM2UaWY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
|
|
buildInputs = [ gtk3 mednafen ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/mednaffe \
|
|
--prefix PATH ':' "${mednafen}/bin"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "GTK-based frontend for mednafen emulator";
|
|
homepage = "https://github.com/AmatCoder/mednaffe";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ sheenobu yana AndersonTorres ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|