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

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