2023-05-25 12:52:27 +00:00
|
|
|
{ lib, python3Packages, fetchPypi }:
|
2020-12-13 05:58:59 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "usbsdmux";
|
2021-07-28 05:17:41 +00:00
|
|
|
version = "0.2.1";
|
2020-12-13 05:58:59 +00:00
|
|
|
|
2023-05-25 12:52:27 +00:00
|
|
|
src = fetchPypi {
|
2020-12-13 05:58:59 +00:00
|
|
|
inherit pname version;
|
2021-07-28 05:17:41 +00:00
|
|
|
sha256 = "sha256-gCxwR5jxzkH22B6nxBwAd0HpwWMIj/zp5VROJ0IWq7c=";
|
2020-12-13 05:58:59 +00:00
|
|
|
};
|
|
|
|
|
2021-04-09 05:52:23 +00:00
|
|
|
# usbsdmux is not meant to be used as an importable module and has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-12-13 05:58:59 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|