summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/esptool/default.nix
blob: 84bb232cdf21572c33c853c282cfaf02bbd2897e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
}