add esp-idf tooling
This commit is contained in:
parent
e1c2c96ccf
commit
58fd3db51e
7 changed files with 220 additions and 1 deletions
21
esp-rom-elfs.nix
Normal file
21
esp-rom-elfs.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{pkgs}:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "esp-rom-elfs";
|
||||
version = "20241011";
|
||||
src =
|
||||
builtins.fetchurl
|
||||
{
|
||||
url = "https://github.com/espressif/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256:1ag9z459pgr7rmjxqfl8a6mayjiqffqmbvmzixicf8d4ch0h07wj";
|
||||
};
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cd "$out"
|
||||
tar -xf $src
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue