summary refs log tree commit diff
path: root/pkgs/development/tools/misc/usbsdmux/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/usbsdmux/default.nix')
-rw-r--r--pkgs/development/tools/misc/usbsdmux/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/usbsdmux/default.nix b/pkgs/development/tools/misc/usbsdmux/default.nix
new file mode 100644
index 00000000000..ed7a6d8a220
--- /dev/null
+++ b/pkgs/development/tools/misc/usbsdmux/default.nix
@@ -0,0 +1,22 @@
+{ lib, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "usbsdmux";
+  version = "0.2.0";
+
+  src = python3Packages.fetchPypi {
+    inherit pname version;
+    sha256 = "sha256-ydDUSqBTY62iOtWdgrFh2qrO9LMi+OCYIw5reh6uoIA=";
+  };
+
+  # 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;
+  };
+}