summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/esptool
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-07 19:44:03 +0100
committerlassulus <lass@lassul.us>2017-03-07 19:44:03 +0100
commit8061bed274adf680aa4cd68c5ca052fdf7743f55 (patch)
tree2edc06fa450aef2ea0e74943b13082e18d149154 /makefu/5pkgs/esptool
parente1045698d6e563ec9ad10cb1b0036252a34a010a (diff)
parentc04b08ab7e7967038e5ce9b494aafbbfc206d307 (diff)
Merge remote-tracking branch 'onondaga/master'
Diffstat (limited to 'makefu/5pkgs/esptool')
-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;
+}