nixpkgs/pkgs/development/arduino/platformio/core.nix

31 lines
694 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
2018-04-07 22:00:21 +01:00
, bottle, click, colorama
, lockfile, pyserial, requests
, semantic-version
2018-01-09 23:27:40 +00:00
, git
}:
2018-04-07 22:00:21 +01:00
buildPythonPackage rec {
pname = "platformio";
2018-06-19 18:01:34 +01:00
version = "3.5.3";
src = fetchPypi {
inherit pname version;
2018-06-19 18:01:34 +01:00
sha256 = "1l4s2xh1p9h767amk9zapzivz4irl2y3kff3dna6icvsgq6rz011";
};
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
];
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;
};
}