nixpkgs/pkgs/games/performous/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
831 B
Nix
Raw Normal View History

2022-06-10 02:10:47 +00:00
{ lib
, stdenv
, fetchFromGitHub
, SDL2
, boost
, cmake
, ffmpeg
, gettext
, glew
, glibmm
, libepoxy
, librsvg
, libxmlxx
, pango
, pkg-config
, portaudio
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
src = fetchFromGitHub {
owner = "performous";
repo = "performous";
2016-08-21 06:56:11 +00:00
rev = version;
2022-06-10 02:10:47 +00:00
hash = "sha256-neTHfug2RkcH/ZvAMCJv++IhygGU0L5Ls/jQYjLEQCI=";
2014-11-25 13:39:46 +00:00
};
2020-03-25 17:36:13 +00:00
patches = [ ./performous-cmake.patch ];
2022-06-10 02:10:47 +00:00
nativeBuildInputs = [
cmake
gettext
pkg-config
];
2014-11-25 13:39:46 +00:00
buildInputs = [
2022-06-10 02:10:47 +00:00
SDL2
boost
ffmpeg
glew
glibmm
libepoxy
librsvg
libxmlxx
pango
portaudio
2014-11-25 13:39:46 +00:00
];
2022-06-10 02:10:47 +00:00
meta = with lib; {
homepage = "http://performous.org/";
description = "Karaoke, band and dancing game";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
2014-11-25 13:39:46 +00:00
}