From 27b5dbb1d0f41d319889995505e767104582a6fb Mon Sep 17 00:00:00 2001 From: Matthew O'Gorman Date: Wed, 3 Jan 2018 11:12:17 -0500 Subject: [PATCH] platformio: 3.4.1 -> 3.5.0 --- pkgs/development/arduino/platformio/chrootenv.nix | 6 +++++- pkgs/development/python-modules/platformio/default.nix | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/arduino/platformio/chrootenv.nix b/pkgs/development/arduino/platformio/chrootenv.nix index 187899b89647..a37206192417 100644 --- a/pkgs/development/arduino/platformio/chrootenv.nix +++ b/pkgs/development/arduino/platformio/chrootenv.nix @@ -18,8 +18,8 @@ buildFHSUserEnv { python27Packages.setuptools python27Packages.pip python27Packages.bottle - zlib python27Packages.platformio + zlib ]); meta = with stdenv.lib; { @@ -30,5 +30,9 @@ buildFHSUserEnv { platforms = with platforms; linux; }; + extraInstallCommands = '' + ln -s $out/bin/platformio $out/bin/pio + ''; + runScript = "platformio"; } diff --git a/pkgs/development/python-modules/platformio/default.nix b/pkgs/development/python-modules/platformio/default.nix index 329da89bf723..f84ed9026f4d 100644 --- a/pkgs/development/python-modules/platformio/default.nix +++ b/pkgs/development/python-modules/platformio/default.nix @@ -8,12 +8,12 @@ buildPythonPackage rec { disabled = isPy3k || isPyPy; pname = "platformio"; - version="3.4.1"; + version="3.5.0"; name = "${pname}-${version}"; src = fetchPypi { inherit pname version; - sha256 = "1b4lba672l851sv1xwc320xbh46x7hx4ms6whc0k37hxkxj0nwm2"; + sha256 = "0gy13cwp0i97lgjd8hh8kh9cswxh53x4cx2sq5b7d7vv8kd7bh6c"; }; propagatedBuildInputs = [