3
0
Fork 0
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:
ajs124 2022-02-24 00:52:02 +01:00 committed by GitHub
commit dc9bf840d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View 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;
};
}

View file

@ -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 { };