nixpkgs/pkgs/development/embedded/platformio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
476 B
Nix
Raw Normal View History

2016-01-06 09:05:19 +00:00
{ newScope, fetchFromGitHub }:
2016-01-06 09:05:19 +00:00
let
callPackage = newScope self;
2022-07-17 16:55:46 +00:00
version = "6.0.2";
# 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-07-17 16:55:46 +00:00
sha256 = "sha256-yfUF9+M45ZSjmB275kTs8+/Q8Q5FMmr63e3Om8dPi2k=";
};
2019-08-13 21:52:01 +00:00
self = {
platformio-chrootenv = callPackage ./chrootenv.nix { inherit version src; };
2016-01-06 09:05:19 +00:00
};
in self