nixpkgs/pkgs/servers/gpm/default.nix
Eelco Dolstra 7f5b839524 * Removed selectVersion. There's no good reason to write
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'.
* Replaced `with args' with formal function arguments in several
  packages.
* Renamed several files to `default.nix'.  As a general rule, version
  numbers should only be included in the filename when there is a
  reason to keep multiple versions of a package in Nixpkgs.
  Otherwise, it just makes it harder to update the package.

svn path=/nixpkgs/trunk/; revision=18403
2009-11-18 09:39:59 +00:00

22 lines
462 B
Nix

{ stdenv, fetchurl, lzma, flex, bison, ncurses }:
stdenv.mkDerivation rec {
name = "gpm-1.20.6";
src = fetchurl {
url = "http://linux.schottelius.org/gpm/archives/${name}.tar.lzma";
sha256 = "13w61bh9nyjaa0n5a7qq1rvbqxjbxpqz5qmdmqqpqgrd2jlviar7";
};
buildInputs = [lzma flex bison ncurses];
preConfigure =
''
sed -e 's/[$](MKDIR)/mkdir -p /' -i doc/Makefile.in
'';
meta = {
description = "Mouse daemon";
};
}