platformio: init at 2.7.0

This commit is contained in:
Matthew O'Gorman 2016-01-06 04:05:19 -05:00
parent ecac5e9f67
commit 119a9458fb
No known key found for this signature in database
GPG Key ID: F71F32386DEAE4B2
4 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib, buildFHSUserEnv, platformio, stdenv }:
buildFHSUserEnv {
name = "platformio";
targetPkgs = pkgs: (with pkgs;
[
python27Packages.python
python27Packages.setuptools
python27Packages.pip
python27Packages.bottle
python27Packages.platformio
zlib
]);
multiPkgs = pkgs: (with pkgs;
[
python27Packages.python
python27Packages.setuptools
python27Packages.pip
python27Packages.bottle
zlib
python27Packages.platformio
]);
meta = with stdenv.lib; {
description = "An open source ecosystem for IoT development";
homepage = http://platformio.org;
maintainers = with maintainers; [ mog ];
license = licenses.asl20;
};
runScript = "platformio";
}

View File

@ -0,0 +1,11 @@
{ pkgs, newScope }:
let
callPackage = newScope self;
self = rec {
platformio-chrootenv = callPackage ./chrootenv.nix { };
};
in self

View File

@ -2747,6 +2747,9 @@ let
plan9port = callPackage ../tools/system/plan9port { };
platformioPackages = callPackage ../development/arduino/platformio { };
platformio = platformioPackages.platformio-chrootenv.override {};
plex = callPackage ../servers/plex { };
ploticus = callPackage ../tools/graphics/ploticus {

View File

@ -13780,6 +13780,27 @@ in modules // {
propagatedBuildInputs = with self; [ unittest2 ];
};
platformio = buildPythonPackage rec {
name = "platformio-${version}";
version="2.7.0";
disabled = isPy3k || isPyPy;
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/platformio/platformio-${version}.tar.gz";
sha256 = "0bjp8gapd8v5az0xvsgh44zyma5kazhhbq266fk092i2q348zbv6";
};
propagatedBuildInputs = with self; [ click_5 requests2 bottle pyserial lockfile colorama];
meta = with stdenv.lib; {
description = "An open source ecosystem for IoT development";
homepage = http://platformio.org;
maintainers = with maintainers; [ mog ];
license = licenses.asl20;
};
};
pylibconfig2 = buildPythonPackage rec {
name = "pylibconfig2-${version}";
version = "0.2.4";