Loading .git-blame-ignore-revs +3 −0 Original line number Diff line number Diff line Loading @@ -144,3 +144,6 @@ ff5c8f6cc3d1f2e017e86d50965c14b71f00567b # mangal: format with nixfmt-rfc-style #328284 3bb5e993cac3a6e1c3056d2bc9bf43eb2c7a5951 # pico-sdk: switch to finalAttrs (#329438) 8946018b0391ae594d167f1e58497b18de068968 pkgs/development/libraries/pico-sdk/default.nix +6 −6 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "pico-sdk"; version = "1.5.1"; src = fetchFromGitHub { owner = "raspberrypi"; repo = pname; rev = version; sha256 = "sha256-JNcxd86XNNiPkvipVFR3X255boMmq+YcuJXUP4JwInU="; repo = "pico-sdk"; rev = finalAttrs.version; hash = "sha256-JNcxd86XNNiPkvipVFR3X255boMmq+YcuJXUP4JwInU="; }; nativeBuildInputs = [ cmake ]; # SDK contains libraries and build-system to develop projects for RP2040 chip # We only need to compile pioasm binary sourceRoot = "${src.name}/tools/pioasm"; sourceRoot = "${finalAttrs.src.name}/tools/pioasm"; installPhase = '' runHook preInstall Loading @@ -32,4 +32,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ muscaln ]; platforms = platforms.unix; }; } }) Loading
.git-blame-ignore-revs +3 −0 Original line number Diff line number Diff line Loading @@ -144,3 +144,6 @@ ff5c8f6cc3d1f2e017e86d50965c14b71f00567b # mangal: format with nixfmt-rfc-style #328284 3bb5e993cac3a6e1c3056d2bc9bf43eb2c7a5951 # pico-sdk: switch to finalAttrs (#329438) 8946018b0391ae594d167f1e58497b18de068968
pkgs/development/libraries/pico-sdk/default.nix +6 −6 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "pico-sdk"; version = "1.5.1"; src = fetchFromGitHub { owner = "raspberrypi"; repo = pname; rev = version; sha256 = "sha256-JNcxd86XNNiPkvipVFR3X255boMmq+YcuJXUP4JwInU="; repo = "pico-sdk"; rev = finalAttrs.version; hash = "sha256-JNcxd86XNNiPkvipVFR3X255boMmq+YcuJXUP4JwInU="; }; nativeBuildInputs = [ cmake ]; # SDK contains libraries and build-system to develop projects for RP2040 chip # We only need to compile pioasm binary sourceRoot = "${src.name}/tools/pioasm"; sourceRoot = "${finalAttrs.src.name}/tools/pioasm"; installPhase = '' runHook preInstall Loading @@ -32,4 +32,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ muscaln ]; platforms = platforms.unix; }; } })