garage-webui: drop (#534446)
This commit is contained in:
@@ -1,75 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
nodejs,
|
||||
pnpm_9,
|
||||
fetchPnpmDeps,
|
||||
pnpmConfigHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "garage-webui";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "khairul169";
|
||||
repo = "garage-webui";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-bqUAhZBSQkWZ1QsgPslEUDwt8NOg25Os0NGlPoyjPL4=";
|
||||
};
|
||||
|
||||
frontend = stdenv.mkDerivation (finalAttrs': {
|
||||
pname = "${finalAttrs.pname}-frontend";
|
||||
inherit (finalAttrs) version src;
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpmConfigHook
|
||||
pnpm_9
|
||||
];
|
||||
|
||||
pnpmDeps = fetchPnpmDeps {
|
||||
inherit (finalAttrs') pname version src;
|
||||
pnpm = pnpm_9;
|
||||
fetcherVersion = 3;
|
||||
hash = "sha256-z/Y9q/SE2c/KYzIOAfATlprjr6NjmmUHQB+ZbO39OK4=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
pnpm run build
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp -r dist $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
|
||||
preBuild = ''
|
||||
cp -r ${finalAttrs.frontend} ./ui/dist
|
||||
'';
|
||||
|
||||
modRoot = "./backend";
|
||||
tags = [ "prod" ];
|
||||
env.CGO_ENABLED = 0;
|
||||
vendorHash = "sha256-7z6r6w/SbBlYYHMxm11xFl/QEYZc2KebnOJZRgYRUYk=";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Simple admin web UI for Garage";
|
||||
homepage = "https://github.com/khairul169/garage-webui";
|
||||
changelog = "https://github.com/khairul169/garage-webui/releases/tag/${finalAttrs.version}";
|
||||
mainProgram = "garage-webui";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ griffi-gh ];
|
||||
};
|
||||
})
|
||||
@@ -862,6 +862,7 @@ mapAliases {
|
||||
gamecube-tools = throw "gamecube-tools was removed due to numerous vulnerabilities in freeimage"; # Added 2025-10-23
|
||||
gamehub = throw "'gamehub' has been removed as it was archived upstream and depended on webkitgtk 4.0"; # Added 2026-06-07
|
||||
gandi-cli = throw "'gandi-cli' has been removed as it is unmaintained upstream"; # Added 2026-01-11
|
||||
garage-webui = throw "'garage-webui' has been removed as it is unmaintained upstream"; # Added 2026-06-23
|
||||
garage_0_8 = throw "'garage_0_8' has been removed as it is unmaintained upstream"; # Added 2025-06-23
|
||||
garage_0_8_7 = throw "'garage_0_8_7' has been removed as it is unmaintained upstream"; # Added 2025-06-23
|
||||
garage_0_9 = throw "'garage_0_9' has been removed as it is unmaintained upstream"; # Added 2025-09-16
|
||||
|
||||
Reference in New Issue
Block a user