mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
21f17d69f6
Build-tested on x86_64 Linux & Mac.
35 lines
797 B
Nix
35 lines
797 B
Nix
{ 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;
|
|
};
|
|
|
|
runScript = "platformio";
|
|
}
|