2021-01-17 05:49:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext
|
2014-11-25 13:39:46 +00:00
|
|
|
, glibmm, libxmlxx, pango, librsvg
|
2021-01-30 20:35:57 +00:00
|
|
|
, SDL2, glew, boost, ffmpeg, portaudio, epoxy
|
2014-11-25 13:39:46 +00:00
|
|
|
}:
|
|
|
|
|
2016-08-21 06:56:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "performous";
|
2016-08-21 06:56:11 +00:00
|
|
|
version = "1.1";
|
2014-11-25 13:39:46 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-11-25 13:39:46 +00: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 06:56:11 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "08j0qhr65l7qnd5vxl4l07523qpvdwi31h4vzl3lfiinx1zcgr4x";
|
2014-11-25 13:39:46 +00:00
|
|
|
};
|
|
|
|
|
2020-03-25 17:36:13 +00:00
|
|
|
patches = [ ./performous-cmake.patch ];
|
|
|
|
|
2021-01-17 05:49:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config gettext ];
|
2014-11-25 13:39:46 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glibmm libxmlxx pango librsvg
|
2021-01-30 20:35:57 +00:00
|
|
|
SDL2 glew boost ffmpeg portaudio epoxy
|
2014-11-25 13:39:46 +00:00
|
|
|
];
|
|
|
|
}
|