about summary refs log tree commit diff
path: root/pkgs/games/xbill
diff options
context:
space:
mode:
authorAndreas Wiese <aw-nixos@meterriblecrew.net>2019-05-15 21:09:53 +0200
committerLassulus <github@lassul.us>2019-05-18 06:55:53 +0900
commitb4148fb8399fac33ba27624070c3fae843f9ee59 (patch)
treec0ab64cb9cc765428c009e730cab97047b0546ea /pkgs/games/xbill
parent1a7c1989e9506cc75645e471ff06bafee4e71690 (diff)
xbill: init at 2.1
Old game, once more popular than Quake (but not Quake Ⅱ).

From the homepage:

Ever get the feeling that nothing is going right? You're a sysadmin, and
someone's trying to destroy your computers. The little people running
around the screen are trying to infect your computers with Wingdows
[TM], a virus cleverly designed to resemble a popular operating system.
Diffstat (limited to 'pkgs/games/xbill')
-rw-r--r--pkgs/games/xbill/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/games/xbill/default.nix b/pkgs/games/xbill/default.nix
new file mode 100644
index 0000000000000..119cd8f087694
--- /dev/null
+++ b/pkgs/games/xbill/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, lib, fetchurl, libX11, libXpm, libXt, motif, ... }:
+
+stdenv.mkDerivation rec {
+  pname = "xbill";
+  version = "2.1";
+
+  buildInputs = [ libX11 libXpm libXt motif ];
+
+  NIX_CFLAGS_LINK = [ "-lXpm" ];
+
+  configureFlags = [
+    "--with-x"
+    "--enable-motif"
+  ];
+
+  src = fetchurl {
+    url = "http://www.xbill.org/download/${pname}-${version}.tar.gz";
+    sha256 = "13b08lli2gvppmvyhy0xs8cbjbkvrn4b87302mx0pxrdrvqzzz8f";
+  };
+
+  meta = with stdenv; {
+    description = "Protect a computer network from getting infected.";
+    homepage = "http://www.xbill.org/";
+    license = lib.licenses.gpl1;
+    maintainers = with lib.maintainers; [ aw ];
+    longDescription = ''
+      Ever get the feeling that nothing is going right? You're a sysadmin,
+      and someone's trying to destroy your computers. The little people
+      running around the screen are trying to infect your computers with
+      Wingdows [TM], a virus cleverly designed to resemble a popular
+      operating system.
+    '';
+  };
+}