1{ newScope, fetchFromGitHub }:
2
3let
4 callPackage = newScope self;
5
6 version = "6.1.4";
7
8 # pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
9 src = fetchFromGitHub {
10 owner = "platformio";
11 repo = "platformio-core";
12 rev = "v${version}";
13 sha256 = "sha256-PLVsXnaflEZdn12lWrpnm8+uNfwB+T7JXnvjQihfuSs=";
14 };
15
16 self = {
17 platformio-chrootenv = callPackage ./chrootenv.nix { inherit version src; };
18 };
19
20in
21self