about summary refs log tree commit diff
path: root/pkgs/servers/gpm/1.20.3pre6.nix
blob: fd7a5a2382f91d73f1106977f79cec8d937c8960 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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";
  };
}