3
0
Fork 0
forked from mirrors/nixpkgs

linuxPackages_4_4.v4l2loopback: fix build for 4.4 kernels

This commit is contained in:
fortuneteller2k 2021-06-06 12:59:18 +08:00
parent 4a34590ece
commit 943d26cf3b

View file

@ -1,14 +1,14 @@
{ lib, stdenv, fetchFromGitHub, kernel, kmod }:
stdenv.mkDerivation rec {
name = "v4l2loopback-${version}-${kernel.version}";
version = "0.12.5";
pname = "v4l2loopback";
version = "unstable-2020-04-22-${kernel.version}";
src = fetchFromGitHub {
owner = "umlaeute";
repo = "v4l2loopback";
rev = "v${version}";
sha256 = "1qi4l6yam8nrlmc3zwkrz9vph0xsj1cgmkqci4652mbpbzigg7vn";
rev = "d26e624b4ead762d34152f9f825b3a51fb92fb9c";
sha256 = "sha256-OA45vmuVieoL7J83D3TD5qi3SBsiqi0kiQn4i1K6dVE=";
};
hardeningDisable = [ "format" "pic" ];
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = kernel.moduleBuildDependencies;
buildInputs = [ kmod ];
makeFlags = [
@ -30,8 +31,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A kernel module to create V4L2 loopback devices";
homepage = "https://github.com/umlaeute/v4l2loopback";
license = licenses.gpl2;
maintainers = [ ];
license = licenses.gpl2Only;
maintainers = with maintainers; [ fortuneteller2k ];
platforms = platforms.linux;
};
}