forked from mirrors/nixpkgs
Merge pull request #161410 from mweinelt/dddvb
linuxPackages.dddvb: init at 0.9.33-404-ge9ccab3
This commit is contained in:
commit
dc9bf840d3
39
pkgs/os-specific/linux/dddvb/default.nix
Normal file
39
pkgs/os-specific/linux/dddvb/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, kernel
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dddvb";
|
||||
version = "0.9.33-404-ge9ccab3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DigitalDevices";
|
||||
repo = "dddvb";
|
||||
rev = "e9ccab3578965234c0ea38c5b30969f33600561d";
|
||||
sha256 = "sha256-gOG+dAeQ++kTC5xaEpsr3emz3s6FXiKeCHmA9shYBJk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/depmod/d' Makefile
|
||||
'';
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
makeFlags = [
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
];
|
||||
|
||||
INSTALL_MOD_PATH = placeholder "out";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/DigitalDevices/dddvb";
|
||||
description = "ddbridge linux driver";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -284,6 +284,8 @@ in {
|
|||
|
||||
ddcci-driver = callPackage ../os-specific/linux/ddcci { };
|
||||
|
||||
dddvb = callPackage ../os-specific/linux/dddvb { };
|
||||
|
||||
digimend = callPackage ../os-specific/linux/digimend { };
|
||||
|
||||
dpdk-kmods = callPackage ../os-specific/linux/dpdk-kmods { };
|
||||
|
|
Loading…
Reference in a new issue