nixpkgs/pkgs/development/embedded/platformio/default.nix
Alvar Penning 848860d241 platformio: 5.2.1 -> 5.2.3
Next to bumping the patch version, two changed dependencies were pinned.
Furthermore, the SPDX patch was altered to correctly close the JSON file
as non-closed files are now also covered by the tests.
2021-11-08 18:29:16 +01:00

22 lines
477 B
Nix

{ newScope, fetchFromGitHub }:
let
callPackage = newScope self;
version = "5.2.3";
# 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 = "0wbmwawn25srkyrd6hwrgli1himzsj08vbm76fgnpqdc84n78ckl";
};
self = {
platformio-chrootenv = callPackage ./chrootenv.nix { inherit version src; };
};
in self