+ pico-sdk = pkgs.pico-sdk.overrideAttrs (old: {
+ version = pico-sdk-version;
+ src = pkgs.fetchFromGitHub {
+ fetchSubmodules = true;
+ owner = "raspberrypi";
+ repo = "pico-sdk";
+ rev = pico-sdk-version;
+ hash = "sha256-GY5jjJzaENL3ftuU5KpEZAmEZgyFRtLwGVg3W1e/4Ho=";
+ };
+ });
+
+ pico-examples = pkgs.fetchFromGitHub {
+ fetchSubmodules = true;
+ owner = "raspberrypi";
+ repo = "pico-examples";
+ rev = "sdk-${pico-sdk-version}";
+ hash = "sha256-mJIOWUqsQJcg7FUWZePf+pA/YblZskDtIVnUJiz7szU=";