about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/performous/default.nix
blob: b0fc9483629e7362ab96e34868ebdf1b95447143 (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
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext
, glibmm, libxmlxx, pango, librsvg
, SDL2, glew, boost, libav, portaudio, epoxy
}:

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

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

  src = fetchFromGitHub {
    owner = "performous";
    repo = "performous";
    rev = version;
    sha256 = "08j0qhr65l7qnd5vxl4l07523qpvdwi31h4vzl3lfiinx1zcgr4x";
  };

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

  nativeBuildInputs = [ cmake pkg-config gettext ];

  buildInputs = [
    glibmm libxmlxx pango librsvg
    SDL2 glew boost libav portaudio epoxy
  ];
}