summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/xmm7360
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
committermakefu <github@syntax-fehler.de>2023-07-28 22:24:15 +0200
commit060a8f28fa1fc648bdf66afb31a5d1efac868837 (patch)
tree2b354eacc7897365ee45244fe7a51720e0d0333f /makefu/5pkgs/xmm7360
parentcbfcc890e3b76d942b927809bf981a5fa7289e6a (diff)
makefu: move out to own repo, add vacation-note
Diffstat (limited to 'makefu/5pkgs/xmm7360')
-rw-r--r--makefu/5pkgs/xmm7360/default.nix48
1 files changed, 0 insertions, 48 deletions
diff --git a/makefu/5pkgs/xmm7360/default.nix b/makefu/5pkgs/xmm7360/default.nix
deleted file mode 100644
index 3c4eab345..000000000
--- a/makefu/5pkgs/xmm7360/default.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{ stdenv, lib, fetchFromGitHub, python3, kernel, kmod }:
-let
- py = python3.withPackages (p: [ p.ConfigArgParse p.pyroute2 p.dbus-python ]);
-in
-stdenv.mkDerivation rec {
- name = "xmm7360-pci-${version}-${kernel.version}";
- version = "1.0";
-
- src = fetchFromGitHub {
- owner = "xmm7360";
- repo = "xmm7360-pci";
- rev = "b28714b6fb73887ecd5c0c25ffc0613d6eab6533";
- sha256 = "1f1r3cnnjaxdxig56a9v4wfjq1r2z1wg8lq59klxxnybydk91m60";
- };
-
- #sourceRoot = "source/linux/v4l2loopback";
-
- buildTargets = "default";
- hardeningDisable = [ "pic" ];
-
- nativeBuildInputs = kernel.moduleBuildDependencies;
- buildInputs = [ kmod ];
-
-
- makeFlags = [
- "KVERSION=${kernel.modDirVersion}"
- "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
- "INSTALL_MOD_PATH=$(out)"
- ];
- installFlags = [ "DEPMOD=true" ];
- postInstall = ''
- install -d $out/lib/xmm7360/
- cp -r rpc/ $out/lib/xmm7360/
- cat > open_xdatachannel <<EOF
- cd $out/lib/xmm7360
- exec ${py}/bin/python3 rpc/open_xdatachannel.py "\$@"
- EOF
- install -D open_xdatachannel $out/bin/open_xdatachannel
- '';
-
- meta = with lib; {
- description = "A kernel module to create V4L2 loopback devices";
- homepage = "https://github.com/aramg/droidcam";
- license = licenses.gpl2;
- maintainers = [ maintainers.makefu ];
- platforms = platforms.linux;
- };
-}