Unverified Commit a4533710 authored by Moraxyc's avatar Moraxyc
Browse files

openlist: 4.1.0 -> 4.1.3

Downgrade pnpm to v9 to fix openlist.frontend.pnpmDeps
parent 459874dc
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -5,35 +5,35 @@
  fetchzip,

  nodejs,
  pnpm_10,
  pnpm_9,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "openlist-frontend";
  version = "4.1.0";
  version = "4.1.3";

  src = fetchFromGitHub {
    owner = "OpenListTeam";
    repo = "OpenList-Frontend";
    tag = "v${finalAttrs.version}";
    hash = "sha256-E1kdoTLL9SloSJBYB277BVYwgKp8rmFYmCj9yb6Otuw=";
    hash = "sha256-HYXYBK+7/Tbov55vqVmxb4Vb5yy0qqW2WheOJSfgwEs=";
  };

  i18n = fetchzip {
    url = "https://github.com/OpenListTeam/OpenList-Frontend/releases/download/v${finalAttrs.version}/i18n.tar.gz";
    hash = "sha256-/g6TXeCo+tkqE5xF2foghATErGEWUZuxtg70uDA5UFA=";
    hash = "sha256-zj3LQ9NfFYQavcD/W8qwLCLahsDXdaen+noFVZ8NcBg=";
    stripRoot = false;
  };

  nativeBuildInputs = [
    nodejs
    pnpm_10.configHook
    pnpm_9.configHook
  ];

  pnpmDeps = pnpm_10.fetchDeps {
  pnpmDeps = pnpm_9.fetchDeps {
    inherit (finalAttrs) pname version src;
    fetcherVersion = 1;
    hash = "sha256-lWrh7jRx8DkwPZkk5Eh9YndfLsPIwCOUeLdieonZBgI=";
    fetcherVersion = 2;
    hash = "sha256-0XmUcM+sZnoHF1N9gdnScGwEqH55eLv9I+7xYN7CnIA=";
  };

  buildPhase = ''
+3 −3
Original line number Diff line number Diff line
@@ -11,13 +11,13 @@

buildGoModule (finalAttrs: {
  pname = "openlist";
  version = "4.1.0";
  version = "4.1.3";

  src = fetchFromGitHub {
    owner = "OpenListTeam";
    repo = "OpenList";
    tag = "v${finalAttrs.version}";
    hash = "sha256-505rEnqIwn1EGhzqhcVWYgYqyPsV/obJzaHaK9W2tVA=";
    hash = "sha256-Pz6sW7cF3PTTPi4xyJEPkKVpN9tLP17n4O9dW5bGnUU=";
    # populate values that require us to use git. By doing this in postFetch we
    # can delete .git afterwards and maintain better reproducibility of the src.
    leaveDotGit = true;
@@ -33,7 +33,7 @@ buildGoModule (finalAttrs: {
  frontend = callPackage ./frontend.nix { };

  proxyVendor = true;
  vendorHash = "sha256-J8ssJbILb3Gf6Br/PYkRAn4Haduf82iCYCfSAEi3nO4=";
  vendorHash = "sha256-HMUP6u5JXnj9My/8GxGex0GsJE96W/Ez6wzYSbDP8aU=";

  buildInputs = [ fuse ];