Merge pull request #12062 from mogorman/platformio

platformio: init at 2.7.0
This commit is contained in:
lethalman
2016-01-13 15:47:25 +01:00
5 changed files with 92 additions and 2 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