nixpkgs/pkgs/games/performous/default.nix

33 lines
776 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, gettext
2014-11-25 13:39:46 +00:00
, glibmm, libxmlxx, pango, librsvg
2016-08-21 06:56:11 +00:00
, SDL2, glew, boost, libav, portaudio, epoxy
2014-11-25 13:39:46 +00:00
}:
2016-08-21 06:56:11 +00:00
stdenv.mkDerivation rec {
pname = "performous";
2016-08-21 06:56:11 +00:00
version = "1.1";
2014-11-25 13:39:46 +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 ];
nativeBuildInputs = [ cmake pkg-config gettext ];
2014-11-25 13:39:46 +00:00
buildInputs = [
glibmm libxmlxx pango librsvg
2016-08-21 06:56:11 +00:00
SDL2 glew boost libav portaudio epoxy
2014-11-25 13:39:46 +00:00
];
}