1 { lib, stdenv, coreutils }:
4 pname = "teensy-udev-rules";
5 version = "2022-05-15";
7 # Source: https://www.pjrc.com/teensy/00-teensy.rules
12 runtimeDeps = [ coreutils ];
15 install -D $src $out/etc/udev/rules.d/70-teensy.rules
16 substituteInPlace $out/etc/udev/rules.d/70-teensy.rules \
17 --replace "/bin/stty" "${coreutils}/bin/stty"
21 homepage = "https://www.pjrc.com/teensy/00-teensy.rules";
22 description = "udev rules for the Teensy microcontrollers";
24 udev rules that give non-root users permission to communicate with the
25 Teensy family of microcontrolers.
27 ModemManager (part of NetworkManager) can interfere with USB Serial
28 devices, which includes the Teensy. See comments in the .rules file (or
29 this package's homepage) for possible workarounds.
31 platforms = platforms.linux;
32 license = licenses.unfree; # No license specified.
33 maintainers = with maintainers; [ aidalgol ];