summary refs log tree commit diff
path: root/pkgs/games/performous/default.nix
blob: 10ce4dd06fcd275b65650e3fc97bdaee7b00dc05 (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
53
54
55
56
57
{ lib
, stdenv
, fetchFromGitHub
, SDL2
, boost
, cmake
, ffmpeg
, gettext
, glew
, glibmm
, libepoxy
, librsvg
, libxmlxx
, pango
, pkg-config
, portaudio
}:

stdenv.mkDerivation rec {
  pname = "performous";
  version = "1.1";

  src = fetchFromGitHub {
    owner = "performous";
    repo = "performous";
    rev = version;
    hash = "sha256-neTHfug2RkcH/ZvAMCJv++IhygGU0L5Ls/jQYjLEQCI=";
  };

  patches = [ ./performous-cmake.patch ];

  nativeBuildInputs = [
    cmake
    gettext
    pkg-config
  ];

  buildInputs = [
    SDL2
    boost
    ffmpeg
    glew
    glibmm
    libepoxy
    librsvg
    libxmlxx
    pango
    portaudio
  ];

  meta = with lib; {
    homepage = "http://performous.org/";
    description = "Karaoke, band and dancing game";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
  };
}