1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

linuxPackages.deepin-anything: init at 0.0.7

This commit is contained in:
José Romildo Malaquias 2019-04-13 17:26:15 -03:00
parent 83779429ec
commit 868ed9f2c4
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, deepin, kernel }:
stdenv.mkDerivation {
pname = "deepin-anything-module";
version = "${deepin.deepin-anything.version}-${kernel.version}";
src = deepin.deepin-anything.modsrc;
nativeBuildInputs = kernel.moduleBuildDependencies;
buildPhase = ''
make -C src/deepin-anything-0.0 kdir=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build
'';
installPhase = ''
install -m 644 -D -t $out/lib/modules/${kernel.modDirVersion}/extra src/deepin-anything-0.0/*.ko
'';
meta = deepin.deepin-anything.meta // {
description = deepin.deepin-anything.meta.description + " (kernel modules)";
badPlatforms = [ "aarch64-linux" ]; # the kernel module is not building
};
}

View file

@ -15131,6 +15131,8 @@ in
cpupower = callPackage ../os-specific/linux/cpupower { };
deepin-anything = callPackage ../os-specific/linux/deepin-anything { };
dpdk = callPackage ../os-specific/linux/dpdk { };
exfat-nofuse = callPackage ../os-specific/linux/exfat { };