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-04-07 22:03:42 +01:00
|
|
|
version = "3.5.2";
|
2017-09-29 14:05:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-07 22:03:42 +01:00
|
|
|
sha256 = "bb311ce5b8f12c95bc45c2071626a4887a3632fb2472b4d69a873b2acfc2e4ec";
|
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;
|
|
|
|
};
|
|
|
|
}
|