forked from mirrors/nixpkgs
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 {
|
||||
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
|
||||
python27Packages.platformio
|
||||
zlib
|
||||
]);
|
||||
targetPkgs = pio-pkgs;
|
||||
multiPkgs = pio-pkgs;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An open source ecosystem for IoT development";
|
||||
|
|
Loading…
Reference in a new issue