forked from mirrors/nixpkgs
848860d241
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.
22 lines
477 B
Nix
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
|