Compare commits

..

2 Commits

Author SHA1 Message Date
fafca36889 Update arduino package index 2025-10-17 14:39:01 +02:00
23532168b1 Migrate to arduino-sketch-builder-nix 2025-10-17 14:32:29 +02:00
3 changed files with 30432 additions and 16780 deletions

37
flake.lock generated
View File

@@ -1,21 +1,37 @@
{
"nodes": {
"arduino-nix": {
"arduino-esp32": {
"flake": false,
"locked": {
"lastModified": 1760702729,
"narHash": "sha256-wNtHhM2YyR+01mqNDCQjUscNOxkIbPbC8zsfpzFAeTg=",
"owner": "clerie",
"repo": "arduino-nix",
"rev": "2fe354b7eb0083ee76c8578446057eaffcbb2784",
"lastModified": 1760702836,
"narHash": "sha256-YJeesKfnNbkWVYgTCOX4aYlSDs/5+lzMwL8kCXQMtYI=",
"owner": "espressif",
"repo": "arduino-esp32",
"rev": "c44966dd1cc205fed90354ce0e086dc2346c877a",
"type": "github"
},
"original": {
"owner": "clerie",
"ref": "clerie/arduino-env",
"repo": "arduino-nix",
"owner": "espressif",
"ref": "gh-pages",
"repo": "arduino-esp32",
"type": "github"
}
},
"arduino-sketch-builder-nix": {
"locked": {
"lastModified": 1760703962,
"narHash": "sha256-QDFGRAtW57ooL6aefBamciR9yAD+vBvVkv6koT9Bf0g=",
"ref": "refs/heads/main",
"rev": "b53c9c75cf4c33438a112a8a63449b1e7aa1685a",
"revCount": 24,
"type": "git",
"url": "https://git.clerie.de/clerie/arduino-sketch-builder-nix.git"
},
"original": {
"type": "git",
"url": "https://git.clerie.de/clerie/arduino-sketch-builder-nix.git"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1760524057,
@@ -34,7 +50,8 @@
},
"root": {
"inputs": {
"arduino-nix": "arduino-nix",
"arduino-esp32": "arduino-esp32",
"arduino-sketch-builder-nix": "arduino-sketch-builder-nix",
"nixpkgs": "nixpkgs"
}
}

View File

@@ -1,20 +1,21 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
arduino-nix.url = "github:clerie/arduino-nix/clerie/arduino-env";
arduino-sketch-builder-nix.url = "git+https://git.clerie.de/clerie/arduino-sketch-builder-nix.git";
arduino-esp32 = {
url = "github:espressif/arduino-esp32/gh-pages";
flake = false;
};
};
outputs = { self, nixpkgs, arduino-nix, ... }: {
outputs = { self, nixpkgs, arduino-sketch-builder-nix, arduino-esp32, ... }: {
packages.x86_64-linux = let
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
(arduino-nix.overlay)
(arduino-nix.mkArduinoPackageOverlay ./package_index.json)
(arduino-nix.mkArduinoPackageOverlay (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/espressif/arduino-esp32/8bae7e23376c6087a55e46456049ae6d73b72e16/package_esp32_index.json";
hash = "sha256-0kvZeRDtE/JKJes86omyN4cf4HWfX68P7xPfE+BvTC8=";
}))
(arduino-sketch-builder-nix.overlay)
(arduino-sketch-builder-nix.mkArduinoPackageOverlay ./package_index.json)
(arduino-sketch-builder-nix.mkArduinoPackageOverlay (arduino-esp32 + "/package_esp32_index.json"))
];
};

File diff suppressed because it is too large Load Diff