cup-docker: drop (#424038)

This commit is contained in:
Peder Bergebakken Sundt
2026-06-29 11:44:48 +00:00
committed by GitHub
3 changed files with 2 additions and 98 deletions
@@ -1,7 +0,0 @@
{
cup-docker,
}:
cup-docker.override {
withServer = false;
}
-91
View File
@@ -1,91 +0,0 @@
{
rustPlatform,
fetchFromGitHub,
lib,
stdenvNoCC,
bun,
nodejs-slim_latest,
nix-update-script,
withServer ? true,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cup-docker";
version = "3.5.1";
src = fetchFromGitHub {
owner = "sergi0g";
repo = "cup";
tag = "v${finalAttrs.version}";
hash = "sha256-l7TQwCzQNwrsM+xRcRcQaxIsnd8SVzrqEMwIoZGVBR0=";
};
web = stdenvNoCC.mkDerivation (finalAttrsWeb: {
pname = "cup-docker-web";
inherit (finalAttrs) version src;
impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [
"GIT_PROXY_COMMAND"
"SOCKS_SERVER"
];
sourceRoot = "${finalAttrsWeb.src.name}/web";
nativeBuildInputs = [
bun
nodejs-slim_latest
];
configurePhase = ''
runHook preConfigure
bun install --no-progress --frozen-lockfile
substituteInPlace node_modules/.bin/{vite,tsc} \
--replace-fail "/usr/bin/env node" "${nodejs-slim_latest}/bin/node"
runHook postConfigure
'';
buildPhase = ''
runHook preBuild
bun run build
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/dist
cp -R ./dist $out
runHook postInstall
'';
outputHash = "sha256-uLsWppRabaI7JSHYf3YsEvf0Y36kU/iuNXnDXd+6AXY=";
outputHashAlgo = "sha256";
outputHashMode = "recursive";
});
cargoHash = "sha256-1VSbv6lDRRLZIu7hYrAqzQmvxcuhnPU0rcWfg7Upcm4=";
buildNoDefaultFeatures = true;
buildFeatures = [
"cli"
]
++ lib.optional withServer [
"server"
];
preConfigure = lib.optionalString withServer ''
cp -r ${finalAttrs.web}/dist src/static
'';
passthru = {
updateScript = nix-update-script {
extraArgs = [
"--subpackage"
"web"
];
};
};
meta = {
description = "Lightweight way to check for container image updates. written in Rust";
homepage = "https://cup.sergi0g.dev";
license = lib.licenses.agpl3Only;
platforms = lib.platforms.all;
changelog = "https://github.com/sergi0g/cup/releases";
mainProgram = "cup";
maintainers = with lib.maintainers; [
kuflierl
];
};
})
+2
View File
@@ -611,6 +611,8 @@ mapAliases {
cudaPackages_12_3 = throw "CUDA 12.3 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2025-08-08
cudaPackages_12_4 = throw "CUDA 12.4 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2025-08-08
cudaPackages_12_5 = throw "CUDA 12.5 has been removed from Nixpkgs, as it is unmaintained upstream and depends on unsupported compilers"; # Added 2025-08-08
cup-docker = throw "'cup-docker' has been removed, due to being orphaned and packaged in an unreproducible manner"; # Added 2026-06-27
cup-docker-noserver = throw "'cup-docker-noserver' has been removed, due to being orphaned and packaged in an unreproducible manner"; # Added 2026-06-27
cups-kyodialog3 = throw "'cups-kyodialog3' has been renamed to/replaced by 'cups-kyodialog'"; # Converted to throw 2025-10-27
cura = throw "'cura' has been removed, as it was unmaintained in nixpkgs"; # Added 2026-05-22
curaengine = throw "'curaengine' has been removed, as it was unmaintained in nixpkgs"; # Added 2026-05-22