mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
8ed3f6b1c4
This commit includes a bunch of minor updates of some Nix modules but the focus here is the update of the theme template. The renaming of the Cookiecutter template will now make backups and migration between different filesystems very easy especially with NTFS-based filesystems often found on external hard drives.
34 lines
896 B
Nix
Executable File
34 lines
896 B
Nix
Executable File
{ stdenv, fetchFromGitHub, kernel }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "veikk-linux-driver";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jlam55555";
|
|
repo = "veikk-linux-driver";
|
|
rev = "v2.0";
|
|
sha256 = "11mg74ds58jwvdmi3i7c4chxs6v9g09r9ll22pc2kbxjdnrp8zrn";
|
|
};
|
|
|
|
nativeBuildInputs = kernel.moduleBuildDependencies;
|
|
|
|
patchPhase = ''
|
|
sed -i Makefile -e 's/modprobe veikk/#modprobe veikk/' -e 's/depmod/#depmod/'
|
|
'';
|
|
|
|
INSTALL_MOD_PATH = "\${out}";
|
|
|
|
makeFlags = [
|
|
"BUILD_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Linux device driver for supported VEIKK tablets (e.g., S640, A50, A30).";
|
|
homepage = "https://github.com/jlam55555/veikk-linux-driver";
|
|
licenses = licenses.free;
|
|
maintainers = with maintainers; [ foo-dogsquared ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|