summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/esptool/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-29 00:16:36 +0200
committermakefu <github@syntax-fehler.de>2017-09-29 00:16:36 +0200
commitba907218ef263c3f0653ceac657796389709bc12 (patch)
tree3a9a91d5b4cb400ad860fe6ebaa6dcf5f57ad265 /makefu/5pkgs/esptool/default.nix
parent18d0d7df819a82c97965cc6ab5756f0a7894f081 (diff)
ma pkgs.esptool: 2.0 -> 2.1
Diffstat (limited to 'makefu/5pkgs/esptool/default.nix')
-rw-r--r--makefu/5pkgs/esptool/default.nix17
1 files changed, 8 insertions, 9 deletions
diff --git a/makefu/5pkgs/esptool/default.nix b/makefu/5pkgs/esptool/default.nix
index 84bb232cd..4e0d29e19 100644
--- a/makefu/5pkgs/esptool/default.nix
+++ b/makefu/5pkgs/esptool/default.nix
@@ -13,20 +13,19 @@ let
doCheck = false;
};
in
-buildPythonPackage rec {
- name = "esptool-${version}";
- version = "2.0beta2";
+ buildPythonPackage rec {
+ name = "${pname}-${version}";
+ pname = "esptool";
+ version = "2.1";
propagatedBuildInputs = [
pyserial
flake8
ecdsa
pyaes
];
- src = fetchFromGitHub {
- owner = "themadinventor";
- repo = "esptool";
- rev = "v${version}";
- sha256 = "0n96pyi1k4qlyfqk5k7xpgq8726wz74qvd3gqjg0bpsl3wr7l94i";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "08g393fiqhanixzjbs54pqr6xk1a4dsfaddw7gdwfvp3kvwdn2fp";
};
doCheck = false;
-}
+ }