nixpkgs/pkgs/tools/X11/xnee/default.nix
Marc Weber f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
2009-05-24 10:57:41 +00:00

32 lines
683 B
Nix

args :
let
fetchurl = args.fetchurl;
lib=args.lib;
version = lib.attrByPath ["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.";
};
}