c9baba9212
(My OCD kicked in today...) Remove repeated package names, capitalize first word, remove trailing periods and move overlong descriptions to longDescription. I also simplified some descriptions as well, when they were particularly long or technical, often based on Arch Linux' package descriptions. I've tried to stay away from generated expressions (and I think I succeeded). Some specifics worth mentioning: * cron, has "Vixie Cron" in its description. The "Vixie" part is not mentioned anywhere else. I kept it in a parenthesis at the end of the description. * ctags description started with "Exuberant Ctags ...", and the "exuberant" part is not mentioned elsewhere. Kept it in a parenthesis at the end of description. * nix has the description "The Nix Deployment System". Since that doesn't really say much what it is/does (especially after removing the package name!), I changed that to "Powerful package manager that makes package management reliable and reproducible" (borrowed from nixos.org). * Tons of "GNU Foo, Foo is a [the important bits]" descriptions is changed to just [the important bits]. If the package name doesn't contain GNU I don't think it's needed to say it in the description either.
54 lines
1.5 KiB
Nix
54 lines
1.5 KiB
Nix
{ fetchurl, stdenv, libX11, xproto, libXext, xextproto, libXtst
|
|
, gtk, libXi, inputproto, pkgconfig, recordproto, texinfo }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xnee-3.12";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/xnee/${name}.tar.gz";
|
|
sha256 = "10vxn0in0l2jir6x90grx5jc64x63l3b0f8liladdbplc8za8zmw";
|
|
};
|
|
|
|
patchPhase =
|
|
'' for i in `find cnee/test -name \*.sh`
|
|
do
|
|
sed -i "$i" -e's|/bin/bash|/bin/sh|g ; s|/usr/bin/env bash|/bin/sh|g'
|
|
done
|
|
'';
|
|
|
|
buildInputs =
|
|
[ libX11 xproto libXext xextproto libXtst gtk
|
|
libXi inputproto pkgconfig recordproto
|
|
texinfo
|
|
];
|
|
|
|
configureFlags =
|
|
# Do a static build because `libxnee' doesn't get installed anyway.
|
|
[ "--disable-gnome-applet" "--enable-static" ];
|
|
|
|
# `cnee' is linked without `-lXi' and as a consequence has a RUNPATH that
|
|
# lacks libXi.
|
|
makeFlags = "LDFLAGS=-lXi";
|
|
|
|
# XXX: Actually tests require an X server.
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "X11 event recording and replay tool";
|
|
|
|
longDescription =
|
|
'' Xnee is a suite of programs that can record, replay and distribute
|
|
user actions under the X11 environment. Think of it as a robot that
|
|
can imitate the job you just did. Xnee can be used to automate
|
|
tests, demonstrate programs, distribute actions, record & replay
|
|
"macros", retype a file.
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
homepage = http://www.gnu.org/software/xnee/;
|
|
|
|
maintainers = [ ];
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
};
|
|
}
|