diff options
author | makefu <github@syntax-fehler.de> | 2021-10-01 18:32:01 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-10-01 18:32:01 +0200 |
commit | 8b9a53d7e1838006cf3a072ab2f27b8cc1457cb2 (patch) | |
tree | 27585d1afe089ce56d1707e7b5a795c415fa25dc /makefu/5pkgs | |
parent | 39b20119e12f1b76c7f12797481b7449ee3675ab (diff) |
ma pkgs.xmm7360: bump to latest HEAD
Diffstat (limited to 'makefu/5pkgs')
-rw-r--r-- | makefu/5pkgs/xmm7360/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/makefu/5pkgs/xmm7360/default.nix b/makefu/5pkgs/xmm7360/default.nix index 5e423b5af..76cdc2cbf 100644 --- a/makefu/5pkgs/xmm7360/default.nix +++ b/makefu/5pkgs/xmm7360/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, python3, kernel, kmod }: let - py = python3.withPackages (p: [ p.ConfigArgParse p.pyroute2 ]); + py = python3.withPackages (p: [ p.ConfigArgParse p.pyroute2 p.dbus-python ]); in stdenv.mkDerivation rec { name = "xmm7360-pci-${version}-${kernel.version}"; @@ -9,8 +9,8 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "xmm7360"; repo = "xmm7360-pci"; - rev = "0060149"; - sha256 = "0nr7adlwglpw6hp44x0pq8xhv7kik7nsb8yzbxllvy2v1pinyflv"; + rev = "b28714b6fb73887ecd5c0c25ffc0613d6eab6533"; + sha256 = "1f1r3cnnjaxdxig56a9v4wfjq1r2z1wg8lq59klxxnybydk91m60"; }; #sourceRoot = "source/linux/v4l2loopback"; @@ -27,12 +27,13 @@ stdenv.mkDerivation rec { "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 $@ + exec ${py}/bin/python3 rpc/open_xdatachannel.py "\$@" EOF install -D open_xdatachannel $out/bin/open_xdatachannel ''; |