mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
mednaffe: init at 0.8
This commit is contained in:
parent
f03993366e
commit
ef2f2de53a
28
pkgs/misc/emulators/mednaffe/default.nix
Normal file
28
pkgs/misc/emulators/mednaffe/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, gtk2, mednafen }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "0.8";
|
||||
name = "mednaffe-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "mednaffe";
|
||||
owner = "AmatCoder";
|
||||
rev = "v${version}";
|
||||
sha256 = "1j4py4ih14fa6dv0hka03rs4mq19ir83qkbxsz3695a4phmip0jr";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace src/mednaffe.c --replace "binpath = NULL" "binpath = \"${mednafen}/bin/mednafen\""
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig gtk2 mednafen ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A GTK based frontend for mednafen";
|
||||
homepage = https://github.com/AmatCoder/mednaffe;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.sheenobu ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -2428,6 +2428,8 @@ let
|
||||
|
||||
mednafen-server = callPackage ../misc/emulators/mednafen/server.nix { };
|
||||
|
||||
mednaffe = callPackage ../misc/emulators/mednaffe/default.nix { };
|
||||
|
||||
megacli = callPackage ../tools/misc/megacli { };
|
||||
|
||||
megatools = callPackage ../tools/networking/megatools { };
|
||||
|
Loading…
Reference in New Issue
Block a user