platformio-fhs: minor changes
This commit is contained in:
parent
ad7ab43448
commit
4da3c294f6
|
@ -1,26 +1,21 @@
|
||||||
{ lib, buildFHSUserEnv, platformio, stdenv }:
|
{ stdenv, lib, buildFHSUserEnv
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
pio-pkgs = pkgs: (with pkgs;
|
||||||
|
[
|
||||||
|
python27Packages.python
|
||||||
|
python27Packages.setuptools
|
||||||
|
python27Packages.pip
|
||||||
|
python27Packages.bottle
|
||||||
|
python27Packages.platformio
|
||||||
|
zlib
|
||||||
|
]);
|
||||||
|
in
|
||||||
buildFHSUserEnv {
|
buildFHSUserEnv {
|
||||||
name = "platformio";
|
name = "platformio";
|
||||||
|
|
||||||
targetPkgs = pkgs: (with pkgs;
|
targetPkgs = pio-pkgs;
|
||||||
[
|
multiPkgs = pio-pkgs;
|
||||||
python27Packages.python
|
|
||||||
python27Packages.setuptools
|
|
||||||
python27Packages.pip
|
|
||||||
python27Packages.bottle
|
|
||||||
python27Packages.platformio
|
|
||||||
zlib
|
|
||||||
]);
|
|
||||||
multiPkgs = pkgs: (with pkgs;
|
|
||||||
[
|
|
||||||
python27Packages.python
|
|
||||||
python27Packages.setuptools
|
|
||||||
python27Packages.pip
|
|
||||||
python27Packages.bottle
|
|
||||||
python27Packages.platformio
|
|
||||||
zlib
|
|
||||||
]);
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An open source ecosystem for IoT development";
|
description = "An open source ecosystem for IoT development";
|
||||||
|
|
Loading…
Reference in New Issue