summary refs log tree commit diff
path: root/pkgs/servers/gpm/1.20.6.nix
blob: 6e9e6e64d51800d61d7b7e2770bdb4a8617fe906 (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/gpm-1.20.6.tar.lzma;
    sha256 = "13w61bh9nyjaa0n5a7qq1rvbqxjbxpqz5qmdmqqpqgrd2jlviar7";
  };

  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";
  };
}