From 8bde40359a2504dd6bc02cccebe3099ba305c22b Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Fri, 2 Jan 2015 19:10:16 -0500 Subject: [PATCH] gnubg: initial package at 1.04.000 --- pkgs/games/gnubg/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/games/gnubg/default.nix diff --git a/pkgs/games/gnubg/default.nix b/pkgs/games/gnubg/default.nix new file mode 100644 index 000000000000..00ae4e28860a --- /dev/null +++ b/pkgs/games/gnubg/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, pkgconfig, glib, python, gtk2 }: + +let version = "1.04.000"; in +stdenv.mkDerivation { + name = "gnubg-"+version; + + src = fetchurl { + url = "http://gnubg.org/media/sources/gnubg-release-${version}-sources.tar.gz"; + sha256 = "0gsfl6qbj529d1jg3bkyj9m7bvb566wd7pq5fslgg5yn6c6rbjk6"; + }; + + buildInputs = [ pkgconfig python glib gtk2 ]; + + configureFlags = [ "--with-gtk" "--with--board3d" ]; + + meta = with stdenv.lib; + { description = "World class backgammon application."; + homepage = http://www.gnubg.org/; + license = licenses.gpl3; + maintainers = [ maintainers.emery ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c7813320b14d..72179852211c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11567,6 +11567,8 @@ let gltron = callPackage ../games/gltron { }; + gnubg = callPackage ../games/gnubg { }; + gnuchess = callPackage ../games/gnuchess { }; gnugo = callPackage ../games/gnugo { };