7f5b839524
`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
22 lines
462 B
Nix
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";
|
|
};
|
|
}
|