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:
parent
83779429ec
commit
868ed9f2c4
22
pkgs/os-specific/linux/deepin-anything/default.nix
Normal file
22
pkgs/os-specific/linux/deepin-anything/default.nix
Normal 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
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue