2020-04-24 23:36:52 +00:00
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
{ newScope, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
callPackage = newScope self;
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "5.2.5";
|
2020-11-24 20:58:05 +00:00
|
|
|
|
|
|
|
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "platformio";
|
|
|
|
repo = "platformio-core";
|
|
|
|
rev = "v${version}";
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "1x1jqprwzpb09ca953rqbh2jvizh7bz8yj30krphb6007bnjilwy";
|
2020-11-24 20:58:05 +00:00
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
self = {
|
2020-11-24 20:58:05 +00:00
|
|
|
platformio-chrootenv = callPackage ./chrootenv.nix { inherit version src; };
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
in self
|