Added xnee utility for X11 action recording

svn path=/nixpkgs/trunk/; revision=12612
This commit is contained in:
Michael Raskin 2008-08-14 09:25:26 +00:00
parent 2f5212ef5a
commit 61b285d660
3 changed files with 50 additions and 4 deletions

View file

@ -0,0 +1,31 @@
args :
let
fetchurl = args.fetchurl;
lib=args.lib;
version = lib.getAttr ["version"] "3.01" args;
buildInputs = with args; [
libX11 xproto libXext xextproto libXtst gtk
libXi inputproto pkgconfig recordproto
];
in
rec {
src = fetchurl {
url = "mirror://gnu/xnee/Xnee-${version}.tar.gz";
sha256 = "1g6wq1hjrmx102gg768nfs8a1ck77g5fn4pmprpsz9123xl4d181";
};
inherit buildInputs;
configureFlags = [
"--disable-gnome-applet"
];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "xnee-" + version;
meta = {
description = "X event recording and replay tool.";
};
}

View file

@ -7030,6 +7030,13 @@ let pkgs = rec {
inherit (xorg) xauth;
};
xnee = builderDefsPackage (import ../tools/X11/xnee) {
inherit (gtkLibs) gtk;
inherit (xlibs) libX11 libXtst xextproto libXext
inputproto libXi xproto recordproto;
inherit pkgconfig;
} null;
xvidcap = import ../applications/video/xvidcap {
inherit fetchurl stdenv perl perlXMLParser pkgconfig;
inherit (gtkLibs) gtk;

View file

@ -1,15 +1,23 @@
args : with args;
let version = lib.getAttr ["version"] "" args; in
args :
let
lib = args.lib;
fetchurl = args.fetchurl;
version = lib.getAttr ["version"] "" args;
buildInputs = with args; [
];
in
rec {
src = /* Here a fetchurl expression goes */;
buildInputs = [];
inherit buildInputs;
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doMakeInstall"];
name = "${abort "Specify name"}" + version;
name = "${abort "Specify name"}-" + version;
meta = {
description = "${abort "Specify description"}";
};