depot/third_party/nixpkgs/pkgs/development/embedded/platformio/default.nix
Default email b6f2ab0a42 Project import generated by Copybara.
GitOrigin-RevId: 253aecf69ed7595aaefabde779aa6449195bebb7
2021-08-18 15:19:15 +02:00

21 lines
477 B
Nix

{ newScope, fetchFromGitHub }:
let
callPackage = newScope self;
version = "5.1.1";
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
src = fetchFromGitHub {
owner = "platformio";
repo = "platformio-core";
rev = "v${version}";
sha256 = "1m9vq5r4g04n3ckmb3hrrc4ar5v31k6isc76bw4glrn2xb7r8c00";
};
self = {
platformio-chrootenv = callPackage ./chrootenv.nix { inherit version src; };
};
in self