2017-09-29 14:05:31 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-04-07 22:00:21 +01:00
|
|
|
, bottle, click, colorama
|
2017-09-29 14:05:31 +01:00
|
|
|
, lockfile, pyserial, requests
|
|
|
|
, semantic-version
|
2018-01-09 23:27:40 +00:00
|
|
|
, git
|
2017-09-29 14:05:31 +01:00
|
|
|
}:
|
|
|
|
|
2018-04-07 22:00:21 +01:00
|
|
|
buildPythonPackage rec {
|
2017-09-29 14:05:31 +01:00
|
|
|
pname = "platformio";
|
2018-06-19 18:01:34 +01:00
|
|
|
version = "3.5.3";
|
2017-09-29 14:05:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-06-19 18:01:34 +01:00
|
|
|
sha256 = "1l4s2xh1p9h767amk9zapzivz4irl2y3kff3dna6icvsgq6rz011";
|
2017-09-29 14:05:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-04-07 22:00:21 +01:00
|
|
|
bottle click colorama git lockfile
|
2018-01-18 15:02:44 +00:00
|
|
|
pyserial requests semantic-version
|
2017-09-29 14:05:31 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
patches = [ ./fix-searchpath.patch ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An open source ecosystem for IoT development";
|
|
|
|
homepage = http://platformio.org;
|
|
|
|
maintainers = with maintainers; [ mog makefu ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|