summary refs log tree commit diff
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
parent1a7c1989e9506cc75645e471ff06bafee4e71690 (diff)
downloadnixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.tar
nixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.tar.gz
nixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.tar.bz2
nixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.tar.lz
nixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.tar.xz
nixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.tar.zst
nixpkgs-b4148fb8399fac33ba27624070c3fae843f9ee59.zip
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.
-rw-r--r--pkgs/games/xbill/default.nix34
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/games/xbill/default.nix b/pkgs/games/xbill/default.nix
new file mode 100644
index 00000000000..119cd8f0876
--- /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.
+    '';
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 35c40045b8e..50cd07c2f1b 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6585,6 +6585,8 @@ in
 
   xbanish = callPackage ../tools/X11/xbanish { };
 
+  xbill = callPackage ../games/xbill { };
+
   xbrightness = callPackage ../tools/X11/xbrightness { };
 
   xkbvalidate = callPackage ../tools/X11/xkbvalidate { };