uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
48
pkgs/games/xbill/default.nix
Normal file
48
pkgs/games/xbill/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ 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";
|
||||
|
||||
configureFlags = [
|
||||
"--with-x"
|
||||
"--enable-motif"
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.xbill.org/download/${pname}-${version}.tar.gz";
|
||||
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/";
|
||||
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.
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue