mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
ad848d5a01
svn path=/nixpkgs/trunk/; revision=11873
23 lines
610 B
Nix
23 lines
610 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://linux.schottelius.org/gpm/archives/releases-2008/gpm-1.20.3pre6.tar.lzma;
|
|
sha256 = "0sps9987w7daxfkbavzyi694n7ggf1wd5lh81nwka87m90q7rah7";
|
|
};
|
|
|
|
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
|
|
'') ["addInputs" "doUnpack" "minInit"];
|
|
|
|
name = "gpm-" + version;
|
|
meta = {
|
|
description = "Mouse daemon";
|
|
};
|
|
}
|