forked from mirrors/nixpkgs
linuxPackages.psmouse_alps: remove, driver in kernel since 3.9
This commit is contained in:
parent
62e6bc0bd9
commit
73a9ce2ce3
|
@ -1,40 +0,0 @@
|
|||
{ stdenv, fetchurl, kernel, zlib }:
|
||||
|
||||
/* Only useful for kernels 3.2 to 3.5.
|
||||
Fails to build in 3.8.
|
||||
3.9 upstream already includes a proper alps driver for this */
|
||||
|
||||
assert builtins.compareVersions "3.8" kernel.version == 1;
|
||||
|
||||
let
|
||||
ver = "1.3";
|
||||
bname = "psmouse-alps-${ver}";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "psmouse-alps-${kernel.version}-${ver}";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://www.dahetral.com/public-download/alps-psmouse-dlkm-for-3-2-and-3-5/at_download/file;
|
||||
name = "${bname}-alt.tar.bz2";
|
||||
sha256 = "1ghr8xcyidz31isxbwrbcr9rvxi4ad2idwmb3byar9n2ig116cxp";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
cd src/${bname}/src
|
||||
make -C ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build \
|
||||
SUBDIRS=`pwd` INSTALL_PATH=$out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make -C ${kernel.dev}/lib/modules/${kernel.modDirVersion}/build \
|
||||
INSTALL_MOD_PATH=$out SUBDIRS=`pwd` modules_install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "ALPS dlkm driver with all known touchpads";
|
||||
homepage = http://www.dahetral.com/public-download/alps-psmouse-dlkm-for-3-2-and-3-5/view;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
};
|
||||
}
|
|
@ -11247,8 +11247,6 @@ in
|
|||
|
||||
prl-tools = callPackage ../os-specific/linux/prl-tools { };
|
||||
|
||||
psmouse_alps = callPackage ../os-specific/linux/psmouse-alps { };
|
||||
|
||||
seturgent = callPackage ../os-specific/linux/seturgent { };
|
||||
|
||||
spl = callPackage ../os-specific/linux/spl {
|
||||
|
|
Loading…
Reference in a new issue