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

35 lines
797 B
Nix
Raw Normal View History

2016-01-06 09:05:19 +00:00
{ 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;
platforms = with platforms; linux;
2016-01-06 09:05:19 +00:00
};
runScript = "platformio";
}