lol

tiny-rdm: 1.2.4 -> 1.2.5

qzylinra eb1a0e7d 48702740

+24 -13
+24 -13
pkgs/by-name/ti/tiny-rdm/package.nix
··· 6 6 npmHooks, 7 7 nodejs, 8 8 wails, 9 - webkitgtk_4_0, 9 + webkitgtk_4_1, 10 10 pkg-config, 11 - libsoup_3, 12 11 copyDesktopItems, 13 12 makeDesktopItem, 14 13 autoPatchelfHook, 15 - nix-update-script, 14 + writeScript, 16 15 }: 17 16 18 17 buildGoModule (finalAttrs: { 19 18 pname = "tiny-rdm"; 20 - version = "1.2.4"; 19 + version = "1.2.5"; 21 20 22 21 src = fetchFromGitHub { 23 22 owner = "tiny-craft"; 24 23 repo = "tiny-rdm"; 25 24 tag = "v${finalAttrs.version}"; 26 - hash = "sha256-wSTC9Ne/Q9LLZL2+8ObMFCXrf4VSI0LkZhHHbAiXCYE="; 25 + hash = "sha256-LzZsnO14cyYzmEas23Mrf0I+ZZa7y4ZfLg/gPBLcNc8="; 27 26 }; 28 27 29 28 postPatch = '' ··· 31 30 --replace-fail "prefStore.autoCheckUpdate" "false" 32 31 ''; 33 32 34 - vendorHash = "sha256-Hh/qudoCZtIHJLsI6GQ814W4nC/uRd4gQd0PobzMlnQ="; 33 + vendorHash = "sha256-dv+1yRl0UUo6lkLjfYAgRDR8pMfuh4lM6JapIXNQG9Q="; 35 34 36 35 env = { 37 36 CGO_ENABLED = 1; 38 37 npmDeps = fetchNpmDeps { 39 38 src = "${finalAttrs.src}/frontend"; 40 - hash = "sha256-dcoTwfRocVjpBzqS9f2MkXjzcCI5sLjRZ3UC/Ml+7T0="; 39 + hash = "sha256-0QMakUr2QBDYb/BRMALOACsfknrzimgaNkdFMjg73og="; 41 40 }; 42 41 npmRoot = "frontend"; 43 42 }; ··· 51 50 copyDesktopItems 52 51 ]; 53 52 54 - buildInputs = [ 55 - webkitgtk_4_0 56 - libsoup_3 57 - ]; 53 + buildInputs = [ webkitgtk_4_1 ]; 58 54 59 55 buildPhase = '' 60 56 runHook preBuild 61 57 62 - wails build -m -trimpath -devtools -tags webkit2_40 -o tiny-rdm 58 + wails build -m -trimpath -devtools -tags webkit2_41 -o tiny-rdm 63 59 64 60 runHook postBuild 65 61 ''; ··· 88 84 runHook postInstall 89 85 ''; 90 86 91 - passthru.updateScript = nix-update-script { }; 87 + passthru = { 88 + inherit (finalAttrs.env) npmDeps; 89 + updateScript = writeScript "update-tiny-rdm" '' 90 + #!/usr/bin/env nix-shell 91 + #!nix-shell -i bash -p bash nix nix-update common-updater-scripts 92 + set -eou pipefail 93 + version=$(nix eval --log-format raw --raw --file default.nix tiny-rdm.version) 94 + nix-update tiny-rdm || true 95 + latestVersion=$(nix eval --log-format raw --raw --file default.nix tiny-rdm.version) 96 + if [[ "$latestVersion" == "$version" ]]; then 97 + exit 0 98 + fi 99 + update-source-version tiny-rdm "$latestVersion" --source-key=npmDeps --ignore-same-version 100 + nix-update tiny-rdm --version skip 101 + ''; 102 + }; 92 103 93 104 meta = { 94 105 description = "Modern, colorful, super lightweight Redis GUI client";