grafana-image-renderer: 3.7.1 -> 3.7.2 (#246517)

* grafana-image-renderer: 3.7.1 -> 3.7.2

* grafana-image-renderer: cleanup

---------

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
R. RyanTM 2023-08-05 14:11:18 -07:00 committed by GitHub
parent e3d4db7a19
commit 1be476a0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 9795 deletions

View File

@ -1,21 +1,28 @@
{ lib, mkYarnPackage, fetchFromGitHub, nodejs, runtimeShell }:
{ lib, mkYarnPackage, fetchFromGitHub, fetchYarnDeps, nodejs, runtimeShell }:
# Notes for the upgrade:
# * Download the tarball of the new version to use.
# * Replace new `package.json`, `yarn.nix`, `yarn.lock` here.
# * Replace new `package.json` here.
# * Update `version`+`hash` and rebuild.
mkYarnPackage rec {
pname = "grafana-image-renderer";
version = "3.7.1";
version = "3.7.2";
src = fetchFromGitHub {
owner = "grafana";
repo = "grafana-image-renderer";
rev = "v${version}";
sha256 = "sha256-hYjl8jwRqcWdxDlUxUBTd3A6giJVWa0l+BZvfYInD0Y=";
hash = "sha256-I5UHNt4vOsXqgeQ96CxJwxuD/MiGK1NEAFJItN1CkwA=";
};
offlineCache = fetchYarnDeps {
yarnLock = src + "/yarn.lock";
hash = "sha256-YT2tHvLtn4Z2CxH9utmsT8r/UM4/OdPFXByp9pBHDqU=";
};
packageJSON = ./package.json;
buildPhase = ''
runHook preBuild
@ -28,10 +35,6 @@ mkYarnPackage rec {
dontInstall = true;
packageJSON = ./package.json;
yarnNix = ./yarn.nix;
yarnLock = ./yarn.lock;
distPhase = ''
runHook preDist
@ -59,6 +62,6 @@ mkYarnPackage rec {
description = "A Grafana backend plugin that handles rendering of panels & dashboards to PNGs using headless browser (Chromium/Chrome)";
license = licenses.asl20;
maintainers = with maintainers; [ ma27 ];
platforms = platforms.linux;
platforms = platforms.all;
};
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff