summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2014-11-25 21:39:46 +0800
committer宋文武 <iyzsong@gmail.com>2014-11-25 21:39:46 +0800
commit159bdd12192b052ddb39e3c82dd073695dff3581 (patch)
tree0520e1d4b5e8008099c5d4b827b8b49e2a84c644
parent9dff67eed7238e338ec28a1d8341b0ce438b2663 (diff)
downloadnixlib-159bdd12192b052ddb39e3c82dd073695dff3581.tar
nixlib-159bdd12192b052ddb39e3c82dd073695dff3581.tar.gz
nixlib-159bdd12192b052ddb39e3c82dd073695dff3581.tar.bz2
nixlib-159bdd12192b052ddb39e3c82dd073695dff3581.tar.lz
nixlib-159bdd12192b052ddb39e3c82dd073695dff3581.tar.xz
nixlib-159bdd12192b052ddb39e3c82dd073695dff3581.tar.zst
nixlib-159bdd12192b052ddb39e3c82dd073695dff3581.zip
performous: new package
-rw-r--r--pkgs/games/performous/default.nix30
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/games/performous/default.nix b/pkgs/games/performous/default.nix
new file mode 100644
index 000000000000..ff4f370f04a6
--- /dev/null
+++ b/pkgs/games/performous/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext
+, glibmm, libxmlxx, pango, librsvg
+, SDL2, glew, boost, libav, portaudio
+}:
+
+stdenv.mkDerivation {
+  name = "performous-1.0";
+
+  meta = with stdenv.lib; {
+    description = "Karaoke, band and dancing game";
+    homepage    = "http://performous.org/";
+    license     = licenses.gpl2Plus;
+    platforms   = platforms.linux;
+    maintainers = with maintainers; [ iyzsong ];
+  };
+
+  src = fetchFromGitHub {
+    owner = "performous";
+    repo = "performous";
+    rev = "1.0";
+    sha256 = "1wgydwnhadrjkj3mjzrhppfmphrxnqfljs361206imirmvs7s15l";
+  };
+
+  nativeBuildInputs = [ cmake pkgconfig gettext ];
+
+  buildInputs = [
+    glibmm libxmlxx pango librsvg
+    SDL2 glew boost libav portaudio
+  ];
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 9e3cd16fe6b1..05e9aef05cef 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -11493,6 +11493,8 @@ let
 
   openxcom = callPackage ../games/openxcom { };
 
+  performous = callPackage ../games/performous { };
+
   pingus = callPackage ../games/pingus {};
 
   pioneers = callPackage ../games/pioneers { };