1 { stdenv, lib, makeDesktopItem, copyDesktopItems, fetchurl, libX11, libXpm, libXt, motif, ... }:
3 stdenv.mkDerivation rec {
7 nativeBuildInputs = [ copyDesktopItems ];
8 buildInputs = [ libX11 libXpm libXt motif ];
10 NIX_CFLAGS_LINK = "-lXpm";
18 url = "http://www.xbill.org/download/${pname}-${version}.tar.gz";
19 sha256 = "13b08lli2gvppmvyhy0xs8cbjbkvrn4b87302mx0pxrdrvqzzz8f";
22 desktopItems = [ (makeDesktopItem {
26 desktopName = "XBill";
27 comment = "Get rid of those Wingdows viruses!";
28 categories = [ "Game" "ArcadeGame" ];
32 install -Dm644 pixmaps/icon.xpm $out/share/pixmaps/xbill.xpm
36 description = "Protect a computer network from getting infected";
37 homepage = "http://www.xbill.org/";
38 license = lib.licenses.gpl1Only;
39 maintainers = with lib.maintainers; [ aw ];
41 Ever get the feeling that nothing is going right? You're a sysadmin,
42 and someone's trying to destroy your computers. The little people
43 running around the screen are trying to infect your computers with
44 Wingdows [TM], a virus cleverly designed to resemble a popular
47 mainProgram = "xbill";