2021-01-17 06:49:22 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext
|
2014-11-25 14:39:46 +01:00
|
|
|
, glibmm, libxmlxx, pango, librsvg
|
2021-01-30 21:35:57 +01:00
|
|
|
, SDL2, glew, boost, ffmpeg, portaudio, epoxy
|
2014-11-25 14:39:46 +01:00
|
|
|
}:
|
|
|
|
|
2016-08-21 08:56:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "performous";
|
2016-08-21 08:56:11 +02:00
|
|
|
version = "1.1";
|
2014-11-25 14:39:46 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-11-25 14:39:46 +01:00
|
|
|
description = "Karaoke, band and dancing game";
|
|
|
|
homepage = "http://performous.org/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "performous";
|
|
|
|
repo = "performous";
|
2016-08-21 08:56:11 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "08j0qhr65l7qnd5vxl4l07523qpvdwi31h4vzl3lfiinx1zcgr4x";
|
2014-11-25 14:39:46 +01:00
|
|
|
};
|
|
|
|
|
2020-03-25 18:36:13 +01:00
|
|
|
patches = [ ./performous-cmake.patch ];
|
|
|
|
|
2021-01-17 06:49:22 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config gettext ];
|
2014-11-25 14:39:46 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glibmm libxmlxx pango librsvg
|
2021-01-30 21:35:57 +01:00
|
|
|
SDL2 glew boost ffmpeg portaudio epoxy
|
2014-11-25 14:39:46 +01:00
|
|
|
];
|
|
|
|
}
|