xbill: install desktop file
This commit is contained in:
parent
e614b5a2d0
commit
e7db46ccaf
@ -1,9 +1,10 @@
|
||||
{ stdenv, lib, fetchurl, libX11, libXpm, libXt, motif, ... }:
|
||||
{ stdenv, lib, makeDesktopItem, copyDesktopItems, fetchurl, libX11, libXpm, libXt, motif, ... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xbill";
|
||||
version = "2.1";
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems ];
|
||||
buildInputs = [ libX11 libXpm libXt motif ];
|
||||
|
||||
NIX_CFLAGS_LINK = "-lXpm";
|
||||
@ -18,6 +19,19 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "13b08lli2gvppmvyhy0xs8cbjbkvrn4b87302mx0pxrdrvqzzz8f";
|
||||
};
|
||||
|
||||
desktopItems = [ (makeDesktopItem {
|
||||
name = "xbill";
|
||||
exec = "xbill";
|
||||
icon = "xbill";
|
||||
desktopName = "XBill";
|
||||
comment = "Get rid of those Wingdows viruses!";
|
||||
categories = "Game;ArcadeGame;";
|
||||
}) ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 pixmaps/icon.xpm $out/share/pixmaps/xbill.xpm
|
||||
'';
|
||||
|
||||
meta = with stdenv; {
|
||||
description = "Protect a computer network from getting infected";
|
||||
homepage = "http://www.xbill.org/";
|
||||
|
Loading…
Reference in New Issue
Block a user