flipperzero-firmware: update to RM0209-2252-0.76.1-dcbe3cd
This commit is contained in:
parent
1185ae98f0
commit
3e87d33c07
1 changed files with 16 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs ? import <nixpkgs> {}
|
{ depot
|
||||||
|
, pkgs ? import <nixpkgs> {}
|
||||||
, ... }:
|
, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -49,13 +50,14 @@ let
|
||||||
in
|
in
|
||||||
pkgs.stdenvNoCC.mkDerivation rec {
|
pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
pname = "flipper-firmware";
|
pname = "flipper-firmware";
|
||||||
version = "RM0114-1253-0.75.1-b873a59";
|
version = "RM0209-2252-0.76.1-dcbe3cd";
|
||||||
|
upstreamVersion = "0.76.1";
|
||||||
|
|
||||||
src = pkgs.fetchgit {
|
src = pkgs.fetchgit {
|
||||||
url = "https://github.com/RogueMaster/flipperzero-firmware-wPlugins.git";
|
url = "https://github.com/RogueMaster/flipperzero-firmware-wPlugins.git";
|
||||||
rev = "b873a591e2af417adc14921b457230e397ca97fb";
|
rev = "dcbe3cd255bc2c2d5da9d3f2859a11f45d8bc2d4";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "1xnyj0xvlpf6vd0d31vgr6rszzy6vvm0yybb20m6vqzf23h2yfcl";
|
sha256 = "1zs10b9rxbbxcwv9r28q8vyx3jkkg71mg4xfpf18zmkzj3wczaiv";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -100,4 +102,14 @@ pkgs.stdenvNoCC.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.deps = deps;
|
passthru.deps = deps;
|
||||||
|
passthru.upload = let
|
||||||
|
firmware = depot.nix.pkgs.flipperzero-firmware;
|
||||||
|
in pkgs.writeShellApplication {
|
||||||
|
name = "upload-f0";
|
||||||
|
runtimeInputs = [ pkgs.google-cloud-sdk ];
|
||||||
|
text = ''
|
||||||
|
echo "Uploading ${firmware.version}"
|
||||||
|
gcloud storage cp "${firmware}/f7-C/*-update-*.tgz" "gs://lukegb-flipperzero/${firmware.name}.tgz"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue