linuxPackages.digimend: init at unstable-2019-06-18
This commit is contained in:
parent
471869c918
commit
1af9ccccb0
45
pkgs/os-specific/linux/digimend/default.nix
Normal file
45
pkgs/os-specific/linux/digimend/default.nix
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, kernel }:
|
||||||
|
|
||||||
|
assert stdenv.lib.versionAtLeast kernel.version "3.5";
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "digimend";
|
||||||
|
version = "unstable-2019-06-18";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "digimend";
|
||||||
|
repo = "digimend-kernel-drivers";
|
||||||
|
rev = "8b228a755e44106c11f9baaadb30ce668eede5d4";
|
||||||
|
sha256 = "1l54j85540386a8aypqka7p5hy1b63cwmpsscv9rmmf10f78v8mm";
|
||||||
|
};
|
||||||
|
|
||||||
|
INSTALL_MOD_PATH = "\${out}";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed 's/udevadm /true /' -i Makefile
|
||||||
|
sed 's/depmod /true /' -i Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# Remove module reload hack.
|
||||||
|
# The hid-rebind unloads and then reloads the hid-* module to ensure that
|
||||||
|
# the extra/ module is loaded.
|
||||||
|
rm -r $out/lib/udev
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [
|
||||||
|
"KVERSION=${kernel.modDirVersion}"
|
||||||
|
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||||
|
"DESTDIR=${placeholder "out"}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "DIGImend graphics tablet drivers for the Linux kernel";
|
||||||
|
homepage = "https://digimend.github.io/";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ gebner ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -16120,6 +16120,8 @@ in
|
|||||||
|
|
||||||
deepin-anything = callPackage ../os-specific/linux/deepin-anything { };
|
deepin-anything = callPackage ../os-specific/linux/deepin-anything { };
|
||||||
|
|
||||||
|
digimend = callPackage ../os-specific/linux/digimend { };
|
||||||
|
|
||||||
dpdk = callPackage ../os-specific/linux/dpdk { };
|
dpdk = callPackage ../os-specific/linux/dpdk { };
|
||||||
|
|
||||||
exfat-nofuse = callPackage ../os-specific/linux/exfat { };
|
exfat-nofuse = callPackage ../os-specific/linux/exfat { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user