nixpkgs/pkgs/development/tools/misc/usbsdmux/default.nix
Rouven Czerwinski 729143096b usbsdmux: 0.2.0 -> 0.2.1
New upstream release:
- The get command now respects the hardware signal priority. Until now
  this command returned the wrong value if the USB-SD-Mux was switched
  to off.
- An error leading to creation of files in /dev/ when using the tool as
  root and if the device-node does not exist was fixed.  This error lead
  to errors like OSError: [Errno 25] Inappropriate ioctl for device. Now
  the actual error File not found will be raised instead.
2021-07-28 07:17:43 +02:00

23 lines
622 B
Nix

{ lib, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "usbsdmux";
version = "0.2.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "sha256-gCxwR5jxzkH22B6nxBwAd0HpwWMIj/zp5VROJ0IWq7c=";
};
# usbsdmux is not meant to be used as an importable module and has no tests
doCheck = false;
meta = with lib; {
description = "Control software for the LXA USB-SD-Mux";
homepage = "https://github.com/linux-automation/usbsdmux";
license = licenses.lgpl21;
maintainers = with maintainers; [ emantor ];
platforms = with platforms; linux;
};
}