summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/radio/ubertooth
diff options
context:
space:
mode:
authorAlvar Penning <post@0x21.biz>2020-05-13 18:39:36 +0200
committerAlvar Penning <post@0x21.biz>2021-01-08 11:15:30 +0100
commitdc0552b0b7b304e4ff970dd3efd73ebb8381945c (patch)
tree76556182540f786c2ec6b0636d6d7fc81f571e45 /pkgs/applications/radio/ubertooth
parent623c10ac79fd8cca12d40f182bd1aed87388035d (diff)
nixos/hardware/ubertooth: init at 2018-12-R1
Diffstat (limited to 'pkgs/applications/radio/ubertooth')
-rw-r--r--pkgs/applications/radio/ubertooth/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/radio/ubertooth/default.nix b/pkgs/applications/radio/ubertooth/default.nix
index f9626ea4c363..2ea240618c70 100644
--- a/pkgs/applications/radio/ubertooth/default.nix
+++ b/pkgs/applications/radio/ubertooth/default.nix
@@ -1,4 +1,6 @@
-{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, libbtbb, libpcap , libusb1, bluez }:
+{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, libbtbb, libpcap , libusb1, bluez
+, udevGroup ? "ubertooth"
+}:
stdenv.mkDerivation rec {
pname = "ubertooth";
@@ -19,7 +21,7 @@ stdenv.mkDerivation rec {
cmakeFlags = lib.optionals stdenv.isLinux [
"-DINSTALL_UDEV_RULES=TRUE"
"-DUDEV_RULES_PATH=etc/udev/rules.d"
- "-DUDEV_RULES_GROUP=ubertooth"
+ "-DUDEV_RULES_GROUP=${udevGroup}"
];
meta = with stdenv.lib; {