summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix2
-rw-r--r--pkgs/rftg/default.nix26
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index c7a2702..649c9c1 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -14,6 +14,8 @@ super: let
inherit (super.nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon;
};
+ rftg = super.callPackage ./rftg {};
+
static = {
css = {lineAwesome = super.callPackage ./static/css/lineAwesome {};};
fontMetadata = {
diff --git a/pkgs/rftg/default.nix b/pkgs/rftg/default.nix
new file mode 100644
index 0000000..fad219e
--- /dev/null
+++ b/pkgs/rftg/default.nix
@@ -0,0 +1,26 @@
+{
+ lib,
+ stdenv,
+ fetchurl,
+ gtk2,
+ pkg-config,
+}:
+stdenv.mkDerivation rec {
+ pname = "rftg";
+ version = "0.9.4";
+
+ src = fetchurl {
+ url = "http://keldon.net/rftg/rftg-${version}.tar.bz2";
+ sha256 = "0j2y6ggpwdlvyqhirp010aix2g6aacj3kvggvpwzxhig30x9vgq8";
+ };
+
+ nativeBuildInputs = [pkg-config];
+ buildInputs = [gtk2.dev];
+
+ meta = {
+ homepage = "http://keldon.net/rftg/";
+ description = "Implementation of the card game Race for the Galaxy, including an AI";
+ license = lib.licenses.gpl2Plus;
+ maintainers = [lib.maintainers.falsifian];
+ };
+}