cf3f6e7a7d
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
31 lines
770 B
Nix
31 lines
770 B
Nix
{ 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;
|
|
};
|
|
}
|