From f6aa2df3355598ee2cdff876287477fa7d923bd3 Mon Sep 17 00:00:00 2001 From: James Cook Date: Mon, 7 Aug 2017 22:18:03 -0700 Subject: [PATCH] rftg: init at 0.9.4 An implementation of the card game Race for the Galaxy, including an AI --- pkgs/games/rftg/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/games/rftg/default.nix diff --git a/pkgs/games/rftg/default.nix b/pkgs/games/rftg/default.nix new file mode 100644 index 000000000000..27dabe1deacd --- /dev/null +++ b/pkgs/games/rftg/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, gtk2, pkgconfig }: + +stdenv.mkDerivation rec { + + name = "rftg-${version}"; + version = "0.9.4"; + + src = fetchurl { + url = "http://keldon.net/rftg/rftg-${version}.tar.bz2"; + sha256 = "0j2y6ggpwdlvyqhirp010aix2g6aacj3kvggvpwzxhig30x9vgq8"; + }; + + buildInputs = [ gtk2.dev pkgconfig ]; + + meta = { + homepage = http://keldon.net/rftg/; + description = "Implementation of the card game Race for the Galaxy, including an AI"; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.falsifian ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b31eefc9f8af..33be2d641404 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17450,6 +17450,8 @@ with pkgs; openglSupport = mesaSupported; }; + rftg = callPackage ../games/rftg { }; + rigsofrods = callPackage ../games/rigsofrods { angelscript = angelscript_2_22; mygui = mygui.override {