about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/pegasus-frontend/default.nix
blob: a6459943a98ba6668ee3e96f3dc6d6023912d64e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ 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;
  };
}