From ad848d5a015f2822f5a4f74c737f89825bea26c3 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 21 May 2008 13:26:42 +0000 Subject: [PATCH] Added general purpose mouse daemon. svn path=/nixpkgs/trunk/; revision=11873 --- pkgs/servers/gpm/1.20.3pre6.nix | 22 ++++++++++++++++++++++ pkgs/servers/gpm/1.99.6.nix | 23 +++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 pkgs/servers/gpm/1.20.3pre6.nix create mode 100644 pkgs/servers/gpm/1.99.6.nix diff --git a/pkgs/servers/gpm/1.20.3pre6.nix b/pkgs/servers/gpm/1.20.3pre6.nix new file mode 100644 index 000000000000..fd7a5a2382f9 --- /dev/null +++ b/pkgs/servers/gpm/1.20.3pre6.nix @@ -0,0 +1,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"; + }; +} diff --git a/pkgs/servers/gpm/1.99.6.nix b/pkgs/servers/gpm/1.99.6.nix new file mode 100644 index 000000000000..bb797730a149 --- /dev/null +++ b/pkgs/servers/gpm/1.99.6.nix @@ -0,0 +1,23 @@ +args : with args; +rec { + src = fetchurl { + url = http://linux.schottelius.org/gpm/archives/gpm-1.99.6.tar.lzma; + sha256 = "14zxx7nx40k8b0bmwhxfyv20xrdi8cg9fxmv8ylsx661lvizqsg3"; + }; + + 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 + sed -e 's/gpm2//' -i Makefile.in + '') ["addInputs" "doUnpack" "minInit"]; + + name = "gpm-" + version; + meta = { + description = "Mouse daemon"; + }; +}