summary refs log tree commit diff
path: root/pkgs/games/xbill/default.nix
blob: 8a6d4cf14cdce8d650614e9804bf6a52f1a39fd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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.
    '';
  };
}