summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/esptool/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-03-01 15:45:50 +0100
committermakefu <github@syntax-fehler.de>2017-03-05 16:56:11 +0100
commit8bacb23ad46c7c4feb8ba097ce2c221579065c2e (patch)
tree1778a45ae0d93261d67b80388b201c13f8bdae4b /makefu/5pkgs/esptool/default.nix
parentf32d84e23d1785463af9242bb616325b6ae58ada (diff)
m 5 esptool: ninit
Diffstat (limited to 'makefu/5pkgs/esptool/default.nix')
-rw-r--r--makefu/5pkgs/esptool/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/makefu/5pkgs/esptool/default.nix b/makefu/5pkgs/esptool/default.nix
new file mode 100644
index 000000000..84bb232cd
--- /dev/null
+++ b/makefu/5pkgs/esptool/default.nix
@@ -0,0 +1,32 @@
+{ pkgs, fetchFromGitHub, ... }:
+with pkgs.python2Packages;
+let
+ pyaes = buildPythonPackage rec {
+ name = "pyaes-${version}";
+ version = "1.6.0";
+ src = fetchFromGitHub {
+ owner = "ricmoo";
+ repo = "pyaes";
+ rev = "v${version}";
+ sha256 = "04934a9zgwc8g3qhfrkcfv0bs557paigllnkrnfhp9m1azr3bfqb";
+ };
+ doCheck = false;
+ };
+in
+buildPythonPackage rec {
+ name = "esptool-${version}";
+ version = "2.0beta2";
+ propagatedBuildInputs = [
+ pyserial
+ flake8
+ ecdsa
+ pyaes
+ ];
+ src = fetchFromGitHub {
+ owner = "themadinventor";
+ repo = "esptool";
+ rev = "v${version}";
+ sha256 = "0n96pyi1k4qlyfqk5k7xpgq8726wz74qvd3gqjg0bpsl3wr7l94i";
+ };
+ doCheck = false;
+}