2017-09-29 15:05:31 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, arrow, bottle, click_5, colorama
|
|
|
|
, lockfile, pyserial, requests
|
|
|
|
, semantic-version
|
|
|
|
, isPy3k, isPyPy
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
disabled = isPy3k || isPyPy;
|
|
|
|
|
|
|
|
pname = "platformio";
|
2018-01-03 17:12:17 +01:00
|
|
|
version="3.5.0";
|
2017-09-29 15:05:31 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-01-03 17:12:17 +01:00
|
|
|
sha256 = "0gy13cwp0i97lgjd8hh8kh9cswxh53x4cx2sq5b7d7vv8kd7bh6c";
|
2017-09-29 15:05:31 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
arrow bottle click_5 colorama
|
|
|
|
lockfile pyserial requests semantic-version
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|