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