nixpkgs/pkgs/games/pegasus-frontend/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

53 lines
1.0 KiB
Nix

{ lib
, fetchFromGitHub
, stdenv
, cmake
, qtbase
, qtgraphicaleffects
, qtmultimedia
, qtsvg
, qttools
, qtx11extras
, SDL2
, sqlite
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "pegasus-frontend";
version = "0-unstable-2023-12-05";
src = fetchFromGitHub {
owner = "mmatyas";
repo = "pegasus-frontend";
rev = "86d3eed534ef8e79f412270b955dc2ffd4d172a3";
fetchSubmodules = true;
hash = "sha256-lUoL63yFOVwTOcsGd8+pWqgcS5b3a6uuR8M4L6OvlXM=";
};
nativeBuildInputs = [
cmake
qttools
wrapQtAppsHook
];
buildInputs = [
qtbase
qtmultimedia
qtsvg
qtgraphicaleffects
qtx11extras
sqlite
SDL2
];
meta = with lib; {
description = "A cross platform, customizable graphical frontend for launching emulators and managing your game collection";
mainProgram = "pegasus-fe";
homepage = "https://pegasus-frontend.org/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ tengkuizdihar ];
platforms = platforms.linux;
};
}