1{ stdenv, buildPythonPackage, fetchPypi
2, bottle, click_5, colorama
3, lockfile, pyserial, requests
4, semantic-version
5, isPy3k, isPyPy
6, git
7}:
8buildPythonPackage rec {
9 disabled = isPy3k || isPyPy;
10
11 pname = "platformio";
12 version="3.5.1";
13 name = "${pname}-${version}";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "0cc15mzh7p1iykip0jpxldz81yz946vrgvhwmfl8w3z5kgjjgx3n";
18 };
19
20 propagatedBuildInputs = [
21 bottle click_5 colorama git lockfile
22 pyserial requests semantic-version
23 ];
24
25 patches = [ ./fix-searchpath.patch ];
26
27 meta = with stdenv.lib; {
28 description = "An open source ecosystem for IoT development";
29 homepage = http://platformio.org;
30 maintainers = with maintainers; [ mog makefu ];
31 license = licenses.asl20;
32 };
33}