blob: de8b5e03552d9608349b940e2f84c33414e8cd75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, gtk3, curl, libpcap }:
stdenv.mkDerivation rec {
pname = "melonDS";
version = "0.8.3";
src = fetchFromGitHub {
owner = "Arisotura";
repo = pname;
rev = version;
sha256 = "1lqmfwjpkdqfkns1aaxlp4yrg6i0r66mxfr4rrj7b5286k44hqwn";
};
enableParallelBuilding = true;
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ SDL2 gtk3 curl libpcap ];
postInstall = ''
install -Dm644 romlist.bin "$out/share/melonDS/romlist.bin"
'';
meta = with stdenv.lib; {
homepage = "http://melonds.kuribo64.net/";
description = "Work in progress Nintendo DS emulator";
license = licenses.gpl3;
maintainers = with maintainers; [ artemist ];
platforms = platforms.linux;
};
}
|