Merge pull request #105030 from freezeboy/add-akvcam

linuxPackages.akvcam: init at 1.1.1
This commit is contained in:
Doron Behar 2020-11-28 18:17:40 +02:00 committed by GitHub
commit 00f7db841a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, kernel, qmake }:
stdenv.mkDerivation rec {
pname = "akvcam";
version = "1.1.1";
src = fetchFromGitHub {
owner = "webcamoid";
repo = "akvcam";
rev = version;
sha256 = "ULEhfF+uC/NcVUGAtmP1+BnrcgRgftNS97nLp81avQ8=";
};
nativeBuildInputs = [ qmake ];
qmakeFlags = [
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
installPhase = ''
install -m644 -b -D src/akvcam.ko $out/lib/modules/${kernel.modDirVersion}/akvcam.ko
'';
meta = with lib; {
description = "Virtual camera driver for Linux";
homepage = "https://github.com/webcamoid/akvcam";
maintainers = with maintainers; [ freezeboy ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}

View file

@ -18283,6 +18283,10 @@ in
acpi_call = callPackage ../os-specific/linux/acpi-call {};
akvcam = callPackage ../os-specific/linux/akvcam {
inherit (qt5) qmake;
};
amdgpu-pro = callPackage ../os-specific/linux/amdgpu-pro { };
anbox = callPackage ../os-specific/linux/anbox/kmod.nix { };