nixpkgs-suyu/pkgs/development/python-modules/platformio/default.nix

33 lines
779 B
Nix
Raw Normal View History

{ 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";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-03 17:12:17 +01:00
sha256 = "0gy13cwp0i97lgjd8hh8kh9cswxh53x4cx2sq5b7d7vv8kd7bh6c";
};
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;
};
}