treewide: drop orphaned x86_64-darwin packages (#541159)

This commit is contained in:
Heitor Augusto
2026-07-15 04:31:50 +00:00
committed by GitHub
8 changed files with 4 additions and 315 deletions
@@ -1,35 +0,0 @@
{
lib,
buildGoModule,
minikube,
}:
buildGoModule rec {
inherit (minikube)
version
src
nativeBuildInputs
buildInputs
vendorHash
doCheck
postPatch
;
pname = "docker-machine-hyperkit";
buildPhase = ''
make docker-machine-driver-hyperkit COMMIT=${src.rev}
'';
installPhase = ''
install out/docker-machine-driver-hyperkit -Dt $out/bin
'';
meta = {
homepage = "https://minikube.sigs.k8s.io/docs/drivers/hyperkit";
description = "HyperKit driver for docker-machine";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ atkinschang ];
platforms = [ ];
};
}
@@ -1,36 +0,0 @@
{
lib,
stdenvNoCC,
fetchurl,
undmg,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "disk-inventory-x";
version = "1.3";
src = fetchurl {
url = "https://www.derlien.com/diskinventoryx/downloads/Disk%20Inventory%20X%20${finalAttrs.version}.dmg";
sha256 = "1rfqp8ia6ficvqxynn43f1pba4rfmhf61kn2ihysbnjs8c33bbvq";
};
sourceRoot = ".";
nativeBuildInputs = [ undmg ];
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r *.app $out/Applications
runHook postInstall
'';
meta = {
description = "Disk usage utility for Mac OS X";
homepage = "https://www.derlien.com";
license = lib.licenses.gpl3Plus;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
maintainers = with lib.maintainers; [ emilytrau ];
platforms = [ ];
};
})
-132
View File
@@ -1,132 +0,0 @@
{
lib,
stdenv,
pkgsCross,
fetchFromGitHub,
buildPackages,
cmake,
git,
python3,
meson,
ninja,
tinyxxd,
sqlite,
libz,
ncurses,
libxml2,
wine64,
darwin,
symlinkJoin,
}:
let
dxmt-llvm = stdenv.mkDerivation rec {
pname = "dxmt-llvm";
version = "15.0.7";
src = fetchFromGitHub {
owner = "llvm";
repo = "llvm-project";
tag = version;
hash = "sha256-wjuZQyXQ/jsmvy6y1aksCcEDXGBjuhpgngF3XQJ/T4s=";
};
nativeBuildInputs = [
cmake
git
ninja
python3
];
cmakeFlags = [
"-DLLVM_ENABLE_ZSTD=OFF"
"-DLLVM_BUILD_TOOLS=Off"
"-S ../llvm"
];
};
inherit (darwin) xcode;
dxmt = pkgsCross.mingwW64.stdenv.mkDerivation (finalAttrs: {
pname = "dxmt";
version = "0.80";
src = fetchFromGitHub {
owner = "3shain";
repo = "dxmt";
rev = "v${finalAttrs.version}";
hash = "sha256-HNSKqEYu8se8DyzwRbqfmHRRyBXyW6D5ddPaEdnkuL4=";
fetchSubmodules = true;
};
patches = [
./winecrt0.patch
];
postPatch = ''
substituteInPlace src/airconv/darwin/meson.build --replace-fail -lcurses -lncurses
sed -e "/find_program('xcrun')/d" \
-e "s,metalir_generator = generator(xcrun,metalir_generator = generator(find_program('${xcode}/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal')," \
-e "s,metallib_generator = generator(xcrun,metallib_generator = generator(find_program('${xcode}/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metallib')," \
-e "s/'-sdk', 'macosx', 'metal\(lib\)\{0,1\}', //" \
-i meson.build
'';
nativeBuildInputs = [
meson
ninja
tinyxxd
buildPackages.stdenv.cc
];
buildInputs = [
sqlite
libz
ncurses
libxml2
];
mesonFlags = [
(lib.mesonOption "native_llvm_path" "${dxmt-llvm}")
(lib.mesonOption "wine_install_path" "${wine64}")
];
preBuild = ''
export HOME=$TMPDIR
'';
__structuredAttrs = true;
strictDeps = true;
meta = {
description = "Metal-based translation layer for Direct3D 10/11";
homepage = "https://github.com/3shain/dxmt";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.feyorsh ];
platforms = lib.platforms.windows;
hydraPlatforms = [ ];
};
});
in
symlinkJoin {
name = "dxmt-${dxmt.version}";
paths = [ dxmt ];
passthru = {
inherit dxmt;
};
__structuredAttrs = true;
strictDeps = true;
meta = {
inherit (dxmt.meta)
description
homepage
maintainers
license
;
platforms = [ ];
hydraPlatforms = [ ];
};
}
-33
View File
@@ -1,33 +0,0 @@
diff --git c/src/winemetal/meson.build i/src/winemetal/meson.build
index 858d4b3..d937e29 100644
--- c/src/winemetal/meson.build
+++ i/src/winemetal/meson.build
@@ -26,8 +26,19 @@ elif wine_install_path != ''
if not wine_install_path.startswith('/')
wine_install_path = join_paths(meson.project_source_root(), wine_install_path)
endif
- lib_winecrt0 = cc.find_library('winecrt0', dirs : [ join_paths(wine_install_path,'lib/wine', windows_builtin_install_dir) ])
- lib_ntdll = cc.find_library('ntdll', dirs : [ join_paths(wine_install_path, 'lib/wine', windows_builtin_install_dir)], static: true)
+ winecrt0_unix_archive = custom_target(
+ 'winecrt0_fixup',
+ output : 'libwinecrt0_fixed.a',
+ command : [
+ 'sh', '-c',
+ 'ar p "$1" unix_lib.o > unix_lib.o && ar crs "$2" unix_lib.o',
+ 'sh',
+ join_paths(wine_install_path, 'lib/wine', windows_builtin_install_dir, 'libwinecrt0.a'),
+ '@OUTPUT@',
+ ],
+ )
+ lib_winecrt0 = declare_dependency(sources : winecrt0_unix_archive)
+ lib_ntdll = cc.find_library('ntdll', dirs : [ join_paths(wine_install_path, 'lib/wine', windows_builtin_install_dir)])
lib_dbghelp = cc.find_library('dbghelp', dirs : [ join_paths(wine_install_path, 'lib/wine', windows_builtin_install_dir) ])
winebuild = join_paths(wine_install_path, 'bin/winebuild')
else
@@ -59,4 +70,4 @@ custom_target('postprocess_lib',
if cpu_family == 'x86_64' or cpu_family == 'aarch64'
subdir('unix')
-endif
\ No newline at end of file
+endif
-56
View File
@@ -1,56 +0,0 @@
{
lib,
stdenvNoCC,
fetchurl,
makeWrapper,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "pcsx2-bin";
version = "2.4.0";
src = fetchurl {
url = "https://github.com/PCSX2/pcsx2/releases/download/v${finalAttrs.version}/pcsx2-v${finalAttrs.version}-macos-Qt.tar.xz";
hash = "sha256-nExKu5WwBVxUA8P3DZ7SVln5zORXcR3lM/gWjFxgAV8=";
};
nativeBuildInputs = [ makeWrapper ];
dontPatch = true;
dontConfigure = true;
dontBuild = true;
sourceRoot = ".";
installPhase = ''
runHook preInstall
mkdir -p $out/Applications
cp -r "PCSX2-v${finalAttrs.version}.app" $out/Applications/PCSX2.app
runHook postInstall
'';
passthru = {
updateScript = ./update.sh;
};
meta = {
homepage = "https://pcsx2.net";
description = "Playstation 2 emulator (precompiled binary, repacked from official website)";
longDescription = ''
PCSX2 is an open-source PlayStation 2 (AKA PS2) emulator. Its purpose is
to emulate the PS2 hardware, using a combination of MIPS CPU Interpreters,
Recompilers and a Virtual Machine which manages hardware states and PS2
system memory. This allows you to play PS2 games on your PC, with many
additional features and benefits.
'';
changelog = "https://github.com/PCSX2/pcsx2/releases/tag/v${finalAttrs.version}";
downloadPage = "https://github.com/PCSX2/pcsx2";
license = with lib.licenses; [
gpl3Plus
lgpl3Plus
];
maintainers = with lib.maintainers; [ matteopacini ];
platforms = [ ];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})
-20
View File
@@ -1,20 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq gnused
set -euo pipefail
cd "$(dirname "$0")" || exit 1
# Grab latest version, ignoring "latest" and "preview" tags
LATEST_VER="$(curl --fail -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/PCSX2/pcsx2/releases/latest" | jq -r '.tag_name' | sed 's/^v//')"
CURRENT_VER="$(grep -oP 'version = "\K[^"]+' package.nix)"
if [[ "$LATEST_VER" == "$CURRENT_VER" ]]; then
echo "pcsx2-bin is up-to-date"
exit 0
fi
HASH="$(nix-hash --to-sri --type sha256 "$(nix-prefetch-url --type sha256 "https://github.com/PCSX2/pcsx2/releases/download/v${LATEST_VER}/pcsx2-v${LATEST_VER}-macos-Qt.tar.xz")")"
sed -i "s#hash = \".*\"#hash = \"$HASH\"#g" package.nix
sed -i "s#version = \".*\";#version = \"$LATEST_VER\";#g" package.nix
+4
View File
@@ -654,6 +654,7 @@ mapAliases {
devdocs-desktop = throw "'devdocs-desktop' has been removed as it is unmaintained upstream and vendors insecure dependencies"; # Added 2025-06-11
dfilemanager = throw "'dfilemanager' has been dropped as it was unmaintained"; # Added 2025-06-03
discord-screenaudio = throw "discord-screenaudio has been removed because it was archived upstream. Use vesktop instead."; # added 2025-11-29
disk-inventory-x = throw "disk-inventory-x has been removed as it only supported x86_64-darwin"; # Added 2026-07-12
DisnixWebService = warnAlias "'DisnixWebService' has been renamed to 'disnix-web-service'" disnix-web-service; # Added 2026-01-14
djmount = throw "'djmount' has been removed as it is no longer maintained"; # Added 2026-05-19
dleyna-connector-dbus = throw "'dleyna-connector-dbus' has been renamed to/replaced by 'dleyna'"; # Converted to throw 2025-10-27
@@ -662,6 +663,7 @@ mapAliases {
dleyna-server = throw "'dleyna-server' has been renamed to/replaced by 'dleyna'"; # Converted to throw 2025-10-27
dnscrypt-proxy2 = throw "'dnscrypt-proxy2' has been renamed to/replaced by 'dnscrypt-proxy'"; # Converted to throw 2025-10-27
docker-distribution = throw "'docker-distribution' has been renamed to/replaced by 'distribution'"; # Converted to throw 2025-10-27
docker-machine-hyperkit = throw "docker-machine-hyperkit has been removed as it only supported x86_64-darwin"; # Added 2026-07-12
docker-sync = throw "'docker-sync' has been removed because it was broken and unmaintained"; # Added 2025-08-26
docker_26 = throw "'docker_26' has been removed because it has been unmaintained since February 2025. Use docker_28 or newer instead."; # Added 2025-06-21
docker_27 = throw "'docker_27' has been removed because it has been unmaintained since May 2025. Use docker_28 or newer instead."; # Added 2025-06-15
@@ -688,6 +690,7 @@ mapAliases {
dumb = throw "'dumb' has been archived by upstream. Upstream recommends libopenmpt as a replacement."; # Added 2025-09-14
dump1090 = throw "'dump1090' has been renamed to/replaced by 'dump1090-fa'"; # Converted to throw 2025-10-27
dune_1 = throw "'dune_1' has been removed"; # Added 2025-11-13
dxmt = throw "dxmt has been removed as it only supported x86_64-darwin"; # Added 2026-07-12
e17gtk = throw "'e17gtk' has been removed because it was archived upstream."; # Added 2026-01-15
e-search = throw "'e-search' has been removed due to outdated KF5 dependencies"; # Added 2026-05-01
eagle = throw "'eagle' has been removed because official support ends 2026-06-07. It depended on qt5 webengine, which was removed for its numerous security issues. For more details, see the autodesk announcement at https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Autodesk-EAGLE-Announcement-Next-steps-and-FAQ.html"; # Added 2026-04-26
@@ -1779,6 +1782,7 @@ mapAliases {
pcp = throw "'pcp' has been removed because the upstream repo was archived and it hasn't been updated since 2021"; # Added 2025-09-23
pcre16 = throw "'pcre16' has been removed because it is obsolete. Consider migrating to 'pcre2' instead."; # Added 2025-05-29
pcsctools = throw "'pcsctools' has been renamed to/replaced by 'pcsc-tools'"; # Converted to throw 2025-10-27
pcsx2-bin = throw "pcsx2-bin has been removed as it only supported x86_64-darwin"; # Added 2026-06-26
pdf2djvu = throw "pdf2djvu has been removed because it was broken and archived upstream"; # added 2025-12-06
pdf4tcl = throw "'pdf4tcl' has been renamed to/replaced by 'tclPackages.pdf4tcl'"; # Converted to throw 2025-10-27
pdf-quench = throw "'pdf-quench' has been removed as it was unmaintained upstream and depended on the outdated and vulnerable pypdf2"; # Added 2026-03-29
-3
View File
@@ -8536,9 +8536,6 @@ with pkgs;
docker-client = docker.override { clientOnly = true; };
docker-gc = callPackage ../applications/virtualization/docker/gc.nix { };
docker-machine-hyperkit =
callPackage ../applications/networking/cluster/docker-machine/hyperkit.nix
{ };
docker-buildx = callPackage ../applications/virtualization/docker/buildx.nix { };
docker-compose = callPackage ../applications/virtualization/docker/compose.nix { };
docker-sbom = callPackage ../applications/virtualization/docker/sbom.nix { };