platformio: init at 2.7.0
This commit is contained in:
parent
ecac5e9f67
commit
119a9458fb
|
@ -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";
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
{ pkgs, newScope }:
|
||||||
|
|
||||||
|
let
|
||||||
|
callPackage = newScope self;
|
||||||
|
|
||||||
|
self = rec {
|
||||||
|
platformio-chrootenv = callPackage ./chrootenv.nix { };
|
||||||
|
};
|
||||||
|
|
||||||
|
in self
|
|
@ -2747,6 +2747,9 @@ let
|
||||||
|
|
||||||
plan9port = callPackage ../tools/system/plan9port { };
|
plan9port = callPackage ../tools/system/plan9port { };
|
||||||
|
|
||||||
|
platformioPackages = callPackage ../development/arduino/platformio { };
|
||||||
|
platformio = platformioPackages.platformio-chrootenv.override {};
|
||||||
|
|
||||||
plex = callPackage ../servers/plex { };
|
plex = callPackage ../servers/plex { };
|
||||||
|
|
||||||
ploticus = callPackage ../tools/graphics/ploticus {
|
ploticus = callPackage ../tools/graphics/ploticus {
|
||||||
|
|
|
@ -13780,6 +13780,27 @@ in modules // {
|
||||||
propagatedBuildInputs = with self; [ unittest2 ];
|
propagatedBuildInputs = with self; [ unittest2 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
platformio = buildPythonPackage rec {
|
||||||
|
name = "platformio-${version}";
|
||||||
|
version="2.7.0";
|
||||||
|
|
||||||
|
disabled = isPy3k || isPyPy;
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://pypi.python.org/packages/source/p/platformio/platformio-${version}.tar.gz";
|
||||||
|
sha256 = "0bjp8gapd8v5az0xvsgh44zyma5kazhhbq266fk092i2q348zbv6";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with self; [ click_5 requests2 bottle pyserial lockfile colorama];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "An open source ecosystem for IoT development";
|
||||||
|
homepage = http://platformio.org;
|
||||||
|
maintainers = with maintainers; [ mog ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
pylibconfig2 = buildPythonPackage rec {
|
pylibconfig2 = buildPythonPackage rec {
|
||||||
name = "pylibconfig2-${version}";
|
name = "pylibconfig2-${version}";
|
||||||
version = "0.2.4";
|
version = "0.2.4";
|
||||||
|
|
Loading…
Reference in New Issue