7 python3Packages.buildPythonApplication rec {
12 inherit pname version;
13 hash = "sha256-OtGgToDGUr6pBu9+LS/DxaYw/9+Pd6jPhxVDAM22HB4=";
16 # Remove the wrong GROUP=plugdev.
17 # The udev rule already has TAG+="uaccess", which is sufficient.
19 substituteInPlace contrib/udev/99-usbsdmux.rules \
20 --replace-fail 'TAG+="uaccess", GROUP="plugdev"' 'TAG+="uaccess"'
23 # usbsdmux is not meant to be used as an importable module and has no tests
27 install -Dm0444 -t $out/lib/udev/rules.d/ contrib/udev/99-usbsdmux.rules
31 description = "Control software for the LXA USB-SD-Mux";
32 homepage = "https://github.com/linux-automation/usbsdmux";
33 license = licenses.lgpl21;
34 maintainers = with maintainers; [ emantor ];
35 platforms = with platforms; linux;