about summary refs log tree commit diff
path: root/pkgs/development/tools/mpfshell
diff options
context:
space:
mode:
authorAlvar <geistesk@users.noreply.github.com>2017-08-22 03:38:46 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2017-08-22 03:38:46 +0200
commit9fbb6e8e3a84d958a4198956e30d9e64105c0fb0 (patch)
tree24967f3e9ef84f7f9b369c317c9669c05722139e /pkgs/development/tools/mpfshell
parenta379ee6863ee42eb66629b1f6d96d13456aa2fa8 (diff)
mpfshell: init at 0.8.1 (#28384)
Diffstat (limited to 'pkgs/development/tools/mpfshell')
-rw-r--r--pkgs/development/tools/mpfshell/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/mpfshell/default.nix b/pkgs/development/tools/mpfshell/default.nix
new file mode 100644
index 0000000000000..b44e52aa2bf50
--- /dev/null
+++ b/pkgs/development/tools/mpfshell/default.nix
@@ -0,0 +1,23 @@
+{ lib, python3Packages, fetchFromGitHub }:
+
+python3Packages.buildPythonPackage rec {
+  name = "mpfshell-${version}";
+  version = "0.8.1";
+
+  src = fetchFromGitHub {
+    owner = "wendlers";
+    repo = "mpfshell";
+    rev = version;
+    sha256 = "1n4ap4yfii54y125f9n9krc0lc0drwg3hsq4z6g89xbswdx9sygr";
+  };
+
+  propagatedBuildInputs = with python3Packages; [
+    pyserial colorama websocket_client
+  ];
+
+  meta = with lib; {
+    homepage = https://github.com/wendlers/mpfshell;
+    description = "A simple shell based file explorer for ESP8266 Micropython based devices";
+    license = licenses.mit;
+  };
+}