nixpkgs/pkgs/applications/emulators/melonDS/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
963 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
2023-01-03 18:20:13 +00:00
, stdenv
, cmake
2023-01-03 18:20:13 +00:00
, extra-cmake-modules
2021-09-13 19:23:30 +00:00
, libarchive
, libpcap
, libslirp
2021-09-13 19:23:30 +00:00
, pkg-config
, qtbase
2023-01-03 18:20:13 +00:00
, qtmultimedia
2021-09-13 19:23:30 +00:00
, SDL2
2023-01-03 18:20:13 +00:00
, wayland
, wrapQtAppsHook
}:
2019-10-28 22:13:45 +00:00
2023-01-03 18:20:13 +00:00
stdenv.mkDerivation rec {
2019-10-28 22:13:45 +00:00
pname = "melonDS";
2023-01-03 18:20:13 +00:00
version = "0.9.5";
2019-10-28 22:13:45 +00:00
src = fetchFromGitHub {
owner = "Arisotura";
repo = pname;
rev = version;
2023-01-03 18:20:13 +00:00
sha256 = "sha256-n4Vkxb/7fr214PgB6VFNgH1tMDgTBS/UHUQ6V4uGkDA=";
2019-10-28 22:13:45 +00:00
};
2023-01-03 18:20:13 +00:00
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
wrapQtAppsHook
];
buildInputs = [
2021-09-13 19:23:30 +00:00
libarchive
libslirp
2021-09-13 19:23:30 +00:00
qtbase
2023-01-03 18:20:13 +00:00
qtmultimedia
2021-09-13 19:23:30 +00:00
SDL2
2023-01-03 18:20:13 +00:00
wayland
];
2019-10-28 22:13:45 +00:00
qtWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpcap ]}" ];
meta = with lib; {
homepage = "https://melonds.kuribo64.net/";
2019-10-28 22:13:45 +00:00
description = "Work in progress Nintendo DS emulator";
2020-06-16 20:53:20 +00:00
license = licenses.gpl3Plus;
2021-09-13 19:23:30 +00:00
maintainers = with maintainers; [ artemist benley shamilton xfix ];
2019-10-28 22:13:45 +00:00
platforms = platforms.linux;
};
}