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