mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
bd75a7b3cb
Co-authored-by: R. RyanTM <ryantm-bot@ryantm.com>
53 lines
946 B
Nix
53 lines
946 B
Nix
{
|
|
lib,
|
|
autoreconfHook,
|
|
fetchFromGitHub,
|
|
gtk3,
|
|
mednafen,
|
|
pkg-config,
|
|
stdenv,
|
|
wrapGAppsHook,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "mednaffe";
|
|
version = "0.9.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AmatCoder";
|
|
repo = "mednaffe";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-ZizW0EeY/Cc68m87cnbLAkx3G/ULyFT5b6Ku2ObzFRU=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
mednafen
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
strictDeps = true;
|
|
|
|
preFixup = ''
|
|
gappsWrapperArgs+=(
|
|
--prefix PATH ':' "${mednafen}/bin"
|
|
)
|
|
'';
|
|
|
|
meta = {
|
|
description = "GTK-based frontend for mednafen emulator";
|
|
mainProgram = "mednaffe";
|
|
homepage = "https://github.com/AmatCoder/mednaffe";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|