summary refs log tree commit diff
path: root/pkgs/servers/gpm/default.nix
blob: 9ae20cd2c13026e710ffd1f309b2fb4d5b2e0359 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, flex, bison, ncurses }:

stdenv.mkDerivation rec {
  name = "gpm-1.20.6";
  
  src = fetchurl {
    url = "http://www.nico.schottelius.org/software/gpm/archives/${name}.tar.bz2";
    sha256 = "1990i19ddzn8gg5xwm53yn7d0mya885f48sd2hyvr7dvzyaw7ch8";
  };

  buildNativeInputs = [ flex bison ];
  buildInputs = [ ncurses ];

  preConfigure =
    ''
      sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
    '';
      
  meta = {
    homepage = http://www.nico.schottelius.org/software/gpm/;
    description = "A daemon that provides mouse support on the Linux console";
  };
}