1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/servers/gpm/1.99.6.nix
Marc Weber 52647ea3b0 FullDepEntry -> fullDepEntry, PackEntry -> packEntry
svn path=/nixpkgs/trunk/; revision=15662
2009-05-19 23:25:58 +00:00

24 lines
629 B
Nix

args : with args;
rec {
src = fetchurl {
url = http://linux.schottelius.org/gpm/archives/gpm-1.99.6.tar.lzma;
sha256 = "14zxx7nx40k8b0bmwhxfyv20xrdi8cg9fxmv8ylsx661lvizqsg3";
};
buildInputs = [lzma flex bison ncurses];
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
preConfigure = fullDepEntry (''
sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
sed -e 's/gpm2//' -i Makefile.in
'') ["addInputs" "doUnpack" "minInit"];
name = "gpm-" + version;
meta = {
description = "Mouse daemon";
};
}