melonDS: 0.9.5 -> 0.9.5-unstable-2024-01-17 (#282620)
* melonDS: refactor - extra dependency: zstd - finalAttrs design pattern - get rid of nested with - add AndersonTorres as maintainer * melonDS: set strictDeps as true - Why does it not find extra-cmake-modules in nativeBuildInputs? Let's mark it on issue https://github.com/NixOS/nixpkgs/issues/178468 * melonDS: 0.9.5 -> 0.9.5-unstable-2024-01-17
This commit is contained in:
parent
c16078dc39
commit
522c89c370
1 changed files with 38 additions and 20 deletions
|
@ -1,54 +1,72 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, SDL2
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, fetchFromGitHub
|
||||
, libarchive
|
||||
, libpcap
|
||||
, libsForQt5
|
||||
, libslirp
|
||||
, libGL
|
||||
, pkg-config
|
||||
, qtbase
|
||||
, qtmultimedia
|
||||
, SDL2
|
||||
, stdenv
|
||||
, wayland
|
||||
, wrapQtAppsHook
|
||||
, zstd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
inherit (libsForQt5)
|
||||
qtbase
|
||||
qtmultimedia
|
||||
wrapQtAppsHook;
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "melonDS";
|
||||
version = "0.9.5";
|
||||
version = "0.9.5-unstable-2024-01-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Arisotura";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-n4Vkxb/7fr214PgB6VFNgH1tMDgTBS/UHUQ6V4uGkDA=";
|
||||
owner = "melonDS-emu";
|
||||
repo = "melonDS";
|
||||
rev = "7897bd387bfd37615a049eba28d02dc23cfa5194";
|
||||
hash = "sha256-7BrUa8QJnudJkiCtuBdfar+FeeJSrdMGJdhXrPP6uww=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
pkg-config
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
extra-cmake-modules
|
||||
libarchive
|
||||
libslirp
|
||||
libGL
|
||||
qtbase
|
||||
qtmultimedia
|
||||
SDL2
|
||||
wayland
|
||||
zstd
|
||||
];
|
||||
|
||||
qtWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpcap ]}" ];
|
||||
strictDeps = true;
|
||||
|
||||
meta = with lib; {
|
||||
qtWrapperArgs = [
|
||||
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpcap ]}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://melonds.kuribo64.net/";
|
||||
description = "Work in progress Nintendo DS emulator";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ artemist benley shamilton xfix ];
|
||||
platforms = platforms.linux;
|
||||
license = with lib.licenses; [ gpl3Plus ];
|
||||
mainProgram = "melonDS";
|
||||
maintainers = with lib.maintainers; [
|
||||
AndersonTorres
|
||||
artemist
|
||||
benley
|
||||
shamilton
|
||||
xfix
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue