pico-sdk: 2.0.0 -> 2.1.0
This commit is contained in:
parent
a0da48df91
commit
ca228f3532
@ -3,6 +3,9 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
cmake,
|
cmake,
|
||||||
|
versionCheckHook,
|
||||||
|
nix-update-script,
|
||||||
|
pico-sdk,
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
|
|
||||||
@ -14,18 +17,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "pico-sdk";
|
pname = "pico-sdk";
|
||||||
version = "2.0.0";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "raspberrypi";
|
owner = "raspberrypi";
|
||||||
repo = "pico-sdk";
|
repo = "pico-sdk";
|
||||||
rev = finalAttrs.version;
|
tag = finalAttrs.version;
|
||||||
fetchSubmodules = withSubmodules;
|
fetchSubmodules = withSubmodules;
|
||||||
hash =
|
hash =
|
||||||
if (withSubmodules) then
|
if withSubmodules then
|
||||||
"sha256-fVSpBVmjeP5pwkSPhhSCfBaEr/FEtA82mQOe/cHFh0A="
|
"sha256-nLn6H/P79Jbk3/TIowH2WqmHFCXKEy7lgs7ZqhqJwDM="
|
||||||
else
|
else
|
||||||
"sha256-d6mEjuG8S5jvJS4g8e90gFII3sEqUVlT2fgd9M9LUkA=";
|
"sha256-QKc16Wnx2AvpM0/bklY8CnbsShVR1r5ejtRlvE8f8mM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
@ -42,11 +45,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
passthru = {
|
||||||
homepage = "https://github.com/raspberrypi/pico-sdk";
|
updateScript = nix-update-script { };
|
||||||
|
tests = {
|
||||||
|
withSubmodules = pico-sdk.override { withSubmodules = true; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "SDK provides the headers, libraries and build system necessary to write programs for the RP2040-based devices";
|
description = "SDK provides the headers, libraries and build system necessary to write programs for the RP2040-based devices";
|
||||||
license = licenses.bsd3;
|
homepage = "https://github.com/raspberrypi/pico-sdk";
|
||||||
maintainers = with maintainers; [ muscaln ];
|
changelog = "https://github.com/raspberrypi/pico-sdk/releases/tag/${finalAttrs.version}";
|
||||||
platforms = platforms.unix;
|
license = lib.licenses.bsd3;
|
||||||
|
maintainers = with lib.maintainers; [ muscaln ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user