add esp-idf tooling
This commit is contained in:
parent
e1c2c96ccf
commit
58fd3db51e
7 changed files with 220 additions and 1 deletions
20
esp-idf.nix
Normal file
20
esp-idf.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
pkgs ? import <nixpkgs> {},
|
||||
system ? builtins.currentSystem,
|
||||
}:
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
pname = "esp-idf";
|
||||
version = "5.4";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "espressif";
|
||||
repo = "esp-idf";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-9OQ/0DGwgfR3MkRWd6zSe1FD3Ywt4Ugw8J/BFu1Vfw0=";
|
||||
};
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
python3
|
||||
libusb1
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue