3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/emulators/melonDS/default.nix

42 lines
774 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, mkDerivation
, cmake
2021-01-17 02:30:45 +00:00
, pkg-config
, SDL2
, qtbase
, libpcap
, libslirp
, wrapGAppsHook
}:
2019-10-28 22:13:45 +00:00
mkDerivation rec {
2019-10-28 22:13:45 +00:00
pname = "melonDS";
2021-01-20 05:07:49 +00:00
version = "0.9.1";
2019-10-28 22:13:45 +00:00
src = fetchFromGitHub {
owner = "Arisotura";
repo = pname;
rev = version;
2021-01-20 05:07:49 +00:00
sha256 = "sha256-bvi0Y+zwfEcsZMNxoH85hxwIGn0UIYlg/ZaE6yJ7vlo=";
2019-10-28 22:13:45 +00:00
};
2021-01-17 02:30:45 +00:00
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
buildInputs = [
SDL2
qtbase
libpcap
libslirp
];
2019-10-28 22:13:45 +00:00
cmakeFlags = [ "-UUNIX_PORTABLE" ];
2019-10-28 22:13:45 +00:00
meta = with lib; {
2019-10-28 22:13:45 +00:00
homepage = "http://melonds.kuribo64.net/";
description = "Work in progress Nintendo DS emulator";
2020-06-16 21:53:20 +01:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ artemist benley shamilton ];
2019-10-28 22:13:45 +00:00
platforms = platforms.linux;
};
}