summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/esptool/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-03-05 17:01:57 +0100
committertv <tv@krebsco.de>2017-03-05 17:01:57 +0100
commit23a79b8fb02b3bebfb377f2b236432ff9a73343a (patch)
tree494bcb3bb57b397bab756aebe86e85dbd5a2a2fd /makefu/5pkgs/esptool/default.nix
parentfd6c056a720544319f02cf02b64fa8dd2b657aa8 (diff)
parentcb48e9371a337d23e1f3f09b5d024ee60451d9d2 (diff)
Merge remote-tracking branch 'gum/master'
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;
+}