depot/third_party/nixpkgs/pkgs/misc/emulators/melonDS/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

42 lines
814 B
Nix

{ stdenv
, fetchFromGitHub
, mkDerivation
, cmake
, pkgconfig
, SDL2
, qtbase
, libpcap
, libslirp
, wrapGAppsHook
}:
mkDerivation rec {
pname = "melonDS";
version = "0.9";
src = fetchFromGitHub {
owner = "Arisotura";
repo = pname;
rev = version;
sha256 = "0m45m1ch0az8l3d3grjbqvi5vvydbffxwka9w3k3qiia50m7fnph";
};
enableParallelBuilding = true;
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook ];
buildInputs = [
SDL2
qtbase
libpcap
libslirp
];
cmakeFlags = [ "-UUNIX_PORTABLE" ];
meta = with stdenv.lib; {
homepage = "http://melonds.kuribo64.net/";
description = "Work in progress Nintendo DS emulator";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ artemist benley shamilton ];
platforms = platforms.linux;
};
}