From 88154e2877c1f85029894507deb20e51d07069b1 Mon Sep 17 00:00:00 2001 From: Hans-Christian Esperer Date: Wed, 13 Jul 2016 19:24:18 +0200 Subject: [PATCH] commandergenius: init at 194beta --- lib/maintainers.nix | 1 + pkgs/games/commandergenius/default.nix | 54 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 57 insertions(+) create mode 100644 pkgs/games/commandergenius/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 3d83a0a3a1c..a3540deb407 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -163,6 +163,7 @@ guibert = "David Guibert "; havvy = "Ryan Scheel "; hbunke = "Hendrik Bunke "; + hce = "Hans-Christian Esperer "; henrytill = "Henry Till "; hiberno = "Christian Lask "; hinton = "Tom Hinton "; diff --git a/pkgs/games/commandergenius/default.nix b/pkgs/games/commandergenius/default.nix new file mode 100644 index 00000000000..007167dc696 --- /dev/null +++ b/pkgs/games/commandergenius/default.nix @@ -0,0 +1,54 @@ +{ lib, stdenv, fetchFromGitHub, SDL2, SDL2_image, pkgconfig +, libvorbis, libogg, mesa, boost, curl, zlib, cmake }: + + +stdenv.mkDerivation rec { + name = "commandergenius-${version}"; + version = "194beta"; + + src = fetchFromGitHub { + owner = "gerstrong"; + repo = "Commander-Genius"; + rev = "v${version}"; + sha256 = "0qxqzlmadxklrhxilbqj7y94fmbv0byj6vgpl59lb77lgs4y4x47"; + }; + + buildInputs = [ SDL2 SDL2_image pkgconfig libvorbis libogg mesa boost curl zlib cmake ]; + + patchPhase = '' + cat >> lib/GsKit/CMakeLists.txt <