Unverified Commit 0488e922 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

nezha-theme-admin: 1.4.4 -> 1.5.12; nezha-theme-user: 1.12.1 -> 1.12.5 (#374097)

parents ef1e8c96 7b733383
Loading
Loading
Loading
Loading
+781 −1360

File changed.

Preview size limit exceeded, changes collapsed.

+6 −3
Original line number Diff line number Diff line
@@ -2,17 +2,18 @@
  lib,
  buildNpmPackage,
  fetchFromGitHub,
  nix-update-script,
}:

buildNpmPackage rec {
  pname = "nezha-theme-admin";
  version = "1.4.4";
  version = "1.6.2";

  src = fetchFromGitHub {
    owner = "nezhahq";
    repo = "admin-frontend";
    tag = "v${version}";
    hash = "sha256-V9Vdvh66oH8cKd8vtKDHbKU5bpgSrjvgKvGo5R9E0Ao=";
    hash = "sha256-AM3ZHI6oGsvkGg7YmlzLlNlOAAAZYztsRZ9qT/wR2KY=";
  };

  # TODO: Switch to the bun build function once available in nixpkgs
@@ -20,7 +21,7 @@ buildNpmPackage rec {
    cp ${./package-lock.json} package-lock.json
  '';

  npmDepsHash = "sha256-I9oV0avnALw5BUD4hyO2FORtU59KINLWT7widUPsZtE=";
  npmDepsHash = "sha256-qegPPUDlcStdGWMggn9oHSTieWLoNoIJVK0sCx9zMNA=";

  npmPackFlags = [ "--ignore-scripts" ];

@@ -35,6 +36,8 @@ buildNpmPackage rec {
    runHook postInstall
  '';

  passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; };

  meta = {
    description = "Nezha monitoring admin frontend";
    homepage = "https://github.com/nezhahq/admin-frontend";
+348 −311

File changed.

Preview size limit exceeded, changes collapsed.

+6 −3
Original line number Diff line number Diff line
@@ -2,17 +2,18 @@
  lib,
  buildNpmPackage,
  fetchFromGitHub,
  nix-update-script,
}:

buildNpmPackage rec {
  pname = "nezha-theme-user";
  version = "1.12.1";
  version = "1.13.3";

  src = fetchFromGitHub {
    owner = "hamster1963";
    repo = "nezha-dash-v1";
    tag = "v${version}";
    hash = "sha256-vd242bYWT7AgpKDyYEb+Kc+8o1qtuTusmxqLnWGo5pE=";
    hash = "sha256-dg46wJtaY+b0gfL0+HchVNGFAx41Cz/moqL/8InNYp4=";
  };

  # TODO: Switch to the bun build function once available in nixpkgs
@@ -26,7 +27,7 @@ buildNpmPackage rec {
      --replace-fail '/commit/' '/tree/'
  '';

  npmDepsHash = "sha256-jWCgeT3IvTZZTh/kKq+mRc0tAVoptl3rrlwcbUSs5uc=";
  npmDepsHash = "sha256-n7ejpEkakvWO89GhHyy/QbxNvDaXXIDGERc8neeIyoU=";

  npmPackFlags = [ "--ignore-scripts" ];

@@ -41,6 +42,8 @@ buildNpmPackage rec {
    runHook postInstall
  '';

  passthru.updateScript = nix-update-script { extraArgs = [ "--generate-lockfile" ]; };

  meta = {
    description = "Nezha monitoring user frontend based on next.js";
    changelog = "https://github.com/hamster1963/nezha-dash-v1/releases/tag/v${version}";