Added xnee utility for X11 action recording
svn path=/nixpkgs/trunk/; revision=12612
This commit is contained in:
parent
2f5212ef5a
commit
61b285d660
31
pkgs/tools/X11/xnee/default.nix
Normal file
31
pkgs/tools/X11/xnee/default.nix
Normal 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.";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -7030,6 +7030,13 @@ let pkgs = rec {
|
|||||||
inherit (xorg) xauth;
|
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 {
|
xvidcap = import ../applications/video/xvidcap {
|
||||||
inherit fetchurl stdenv perl perlXMLParser pkgconfig;
|
inherit fetchurl stdenv perl perlXMLParser pkgconfig;
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
|
@ -1,15 +1,23 @@
|
|||||||
args : with args;
|
args :
|
||||||
let version = lib.getAttr ["version"] "" args; in
|
let
|
||||||
|
lib = args.lib;
|
||||||
|
fetchurl = args.fetchurl;
|
||||||
|
|
||||||
|
version = lib.getAttr ["version"] "" args;
|
||||||
|
buildInputs = with args; [
|
||||||
|
|
||||||
|
];
|
||||||
|
in
|
||||||
rec {
|
rec {
|
||||||
src = /* Here a fetchurl expression goes */;
|
src = /* Here a fetchurl expression goes */;
|
||||||
|
|
||||||
buildInputs = [];
|
inherit buildInputs;
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
|
|
||||||
/* doConfigure should be specified separately */
|
/* doConfigure should be specified separately */
|
||||||
phaseNames = ["doMakeInstall"];
|
phaseNames = ["doMakeInstall"];
|
||||||
|
|
||||||
name = "${abort "Specify name"}" + version;
|
name = "${abort "Specify name"}-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
description = "${abort "Specify description"}";
|
description = "${abort "Specify description"}";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user