duckstation: init at unstable-2020-12-29 (#107878)

This commit is contained in:
Guillaume Bouchard 2020-12-30 01:35:04 +01:00 committed by GitHub
parent 97d0953f9d
commit 0c7b63e302
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, SDL2, qtbase
, wrapQtAppsHook, qttools, ninja, gtk3 }:
mkDerivation rec {
pname = "duckstation";
version = "unstable-2020-12-29";
src = fetchFromGitHub {
owner = "stenzek";
repo = pname;
rev = "f8dcfabc44ff8391b2d41eab2e883dc8f21a88b7";
sha256 = "0v6w4di4yj1hbxpqqrcw8rbfjg18g9kla8mnb3b5zgv7i4dyzykw";
};
nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
buildInputs = [ SDL2 qtbase gtk3 pkg-config ];
installPhase = ''
mkdir -p $out/
mv bin $out/
'';
# TODO:
# - vulkan graphics backend (OpenGL works).
# - default sound backend (cubeb) does not work, but SDL does.
meta = with lib; {
description =
"PlayStation 1 emulator focusing on playability, speed and long-term maintainability";
homepage = "https://github.com/stenzek/duckstation";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.guibou ];
};
}

View file

@ -12815,6 +12815,8 @@ in
duckdb = callPackage ../development/libraries/duckdb {};
duckstation = libsForQt5.callPackage ../misc/emulators/duckstation {};
easyloggingpp = callPackage ../development/libraries/easyloggingpp {};
eccodes = callPackage ../development/libraries/eccodes {