From 08151b58b32b900ff8e5c0d3a12dae16d216eb89 Mon Sep 17 00:00:00 2001 From: moni Date: Sun, 3 Nov 2024 07:06:49 +0800 Subject: [PATCH 1/4] libunicode: 0.4.0 -> 0.6.0 --- .../li/libunicode/package.nix} | 34 ++++++++++++++----- .../libunicode/remove-target-properties.diff | 19 +++++++++++ .../libunicode/remove-target-properties.diff | 19 ----------- pkgs/top-level/all-packages.nix | 15 ++++++-- 4 files changed, 56 insertions(+), 31 deletions(-) rename pkgs/{development/libraries/libunicode/default.nix => by-name/li/libunicode/package.nix} (58%) create mode 100644 pkgs/by-name/li/libunicode/remove-target-properties.diff delete mode 100644 pkgs/development/libraries/libunicode/remove-target-properties.diff diff --git a/pkgs/development/libraries/libunicode/default.nix b/pkgs/by-name/li/libunicode/package.nix similarity index 58% rename from pkgs/development/libraries/libunicode/default.nix rename to pkgs/by-name/li/libunicode/package.nix index 3fd47a9fc699..fdf88d026ab2 100644 --- a/pkgs/development/libraries/libunicode/default.nix +++ b/pkgs/by-name/li/libunicode/package.nix @@ -1,34 +1,50 @@ -{ lib, stdenv, fetchFromGitHub, fetchzip, cmake, catch2, fmt, python3 }: +{ + lib, + stdenv, + fetchFromGitHub, + fetchzip, + cmake, + catch2_3, + fmt, + python3, +}: let - ucd-version = "15.0.0"; + ucd-version = "16.0.0"; ucd-src = fetchzip { url = "https://www.unicode.org/Public/${ucd-version}/ucd/UCD.zip"; - hash = "sha256-jj6bX46VcnH7vpc9GwM9gArG+hSPbOGL6E4SaVd0s60="; + hash = "sha256-GgEYjOLrxxfTAQsc2bpi7ShoAr3up8z7GXXpe+txFuw"; stripRoot = false; }; -in stdenv.mkDerivation (final: { +in +stdenv.mkDerivation (final: { pname = "libunicode"; - version = "0.4.0"; + version = "0.6.0"; src = fetchFromGitHub { owner = "contour-terminal"; repo = "libunicode"; rev = "v${final.version}"; - hash = "sha256-Us3T4fnGsArdsVB7IUhwdex43C+H1+lfL8yK9enhf2c="; + hash = "sha256-zX33aTQ7Wgl8MABu+o6nA2HWrfXD4zQ9b3NDB+T2saI"; }; # Fix: set_target_properties Can not find target to add properties to: Catch2, et al. patches = [ ./remove-target-properties.diff ]; - nativeBuildInputs = [ cmake python3 ]; - buildInputs = [ catch2 fmt ]; + nativeBuildInputs = [ + cmake + python3 + ]; + buildInputs = [ + catch2_3 + fmt + ]; cmakeFlags = [ "-DLIBUNICODE_UCD_DIR=${ucd-src}" ]; meta = with lib; { - description = "Modern C++17 Unicode library"; + description = "Modern C++20 Unicode library"; mainProgram = "unicode-query"; license = licenses.asl20; platforms = platforms.unix; diff --git a/pkgs/by-name/li/libunicode/remove-target-properties.diff b/pkgs/by-name/li/libunicode/remove-target-properties.diff new file mode 100644 index 000000000000..bd5ae9f46481 --- /dev/null +++ b/pkgs/by-name/li/libunicode/remove-target-properties.diff @@ -0,0 +1,19 @@ +diff --git a/src/libunicode/CMakeLists.txt b/src/libunicode/CMakeLists.txt +index bb1a824..166834c 100644 +--- a/src/libunicode/CMakeLists.txt ++++ b/src/libunicode/CMakeLists.txt +@@ -235,10 +235,10 @@ if(LIBUNICODE_TESTING) + # supress conversion warnings for Catch2 + # https://github.com/catchorg/Catch2/issues/2583 + # https://github.com/SFML/SFML/blob/e45628e2ebc5843baa3739781276fa85a54d4653/test/CMakeLists.txt#L18-L22 +- set_target_properties(Catch2 PROPERTIES COMPILE_OPTIONS "" EXPORT_COMPILE_COMMANDS OFF) +- set_target_properties(Catch2WithMain PROPERTIES EXPORT_COMPILE_COMMANDS OFF) +- get_target_property(CATCH2_INCLUDE_DIRS Catch2 INTERFACE_INCLUDE_DIRECTORIES) +- target_include_directories(Catch2 SYSTEM INTERFACE ${CATCH2_INCLUDE_DIRS}) ++ # set_target_properties(Catch2 PROPERTIES COMPILE_OPTIONS "" EXPORT_COMPILE_COMMANDS OFF) ++ # set_target_properties(Catch2WithMain PROPERTIES EXPORT_COMPILE_COMMANDS OFF) ++ # get_target_property(CATCH2_INCLUDE_DIRS Catch2 INTERFACE_INCLUDE_DIRECTORIES) ++ # target_include_directories(Catch2 SYSTEM INTERFACE ${CATCH2_INCLUDE_DIRS}) + endif() + + target_link_libraries(unicode_test unicode Catch2::Catch2WithMain) diff --git a/pkgs/development/libraries/libunicode/remove-target-properties.diff b/pkgs/development/libraries/libunicode/remove-target-properties.diff deleted file mode 100644 index 4bf665cf3e7c..000000000000 --- a/pkgs/development/libraries/libunicode/remove-target-properties.diff +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/src/libunicode/CMakeLists.txt b/src/libunicode/CMakeLists.txt -index 6c5ac20..9fa13a3 100644 ---- a/src/libunicode/CMakeLists.txt -+++ b/src/libunicode/CMakeLists.txt -@@ -223,10 +223,10 @@ if(LIBUNICODE_TESTING) - # supress conversion warnings for Catch2 - # https://github.com/catchorg/Catch2/issues/2583 - # https://github.com/SFML/SFML/blob/e45628e2ebc5843baa3739781276fa85a54d4653/test/CMakeLists.txt#L18-L22 -- set_target_properties(Catch2 PROPERTIES COMPILE_OPTIONS "" EXPORT_COMPILE_COMMANDS OFF) -- set_target_properties(Catch2WithMain PROPERTIES EXPORT_COMPILE_COMMANDS OFF) -- get_target_property(CATCH2_INCLUDE_DIRS Catch2 INTERFACE_INCLUDE_DIRECTORIES) -- target_include_directories(Catch2 SYSTEM INTERFACE ${CATCH2_INCLUDE_DIRS}) -+ # set_target_properties(Catch2 PROPERTIES COMPILE_OPTIONS "" EXPORT_COMPILE_COMMANDS OFF) -+ # set_target_properties(Catch2WithMain PROPERTIES EXPORT_COMPILE_COMMANDS OFF) -+ # get_target_property(CATCH2_INCLUDE_DIRS Catch2 INTERFACE_INCLUDE_DIRECTORIES) -+ # target_include_directories(Catch2 SYSTEM INTERFACE ${CATCH2_INCLUDE_DIRS}) - - target_link_libraries(unicode_test unicode Catch2::Catch2WithMain fmt::fmt-header-only) - add_test(unicode_test unicode_test) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 15d61c44a95e..e81ba52744c8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10302,11 +10302,20 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) IOKit Security; }; - libunicode = callPackage ../development/libraries/libunicode { - catch2 = catch2_3; - fmt = fmt_9; + libunicode = callPackage ../by-name/li/libunicode/package.nix { + stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv; }; + libusbgx = callPackage ../development/libraries/libusbgx { }; + + libusbsio = callPackage ../development/libraries/libusbsio { }; + + libucontext = callPackage ../development/libraries/libucontext { }; + + libutempter = callPackage ../development/libraries/libutempter { }; + + libuldaq = callPackage ../development/libraries/libuldaq { }; + libunwind = # Use the system unwinder in the SDK but provide a compatibility package to: # 1. avoid evaluation errors with setting `unwind` to `null`; and From 37279cb3d66a5457280f975e3423abcdf0c88809 Mon Sep 17 00:00:00 2001 From: moni Date: Sun, 3 Nov 2024 08:04:28 +0800 Subject: [PATCH 2/4] glaze: init at 4.0.0 --- pkgs/by-name/gl/glaze/package.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pkgs/by-name/gl/glaze/package.nix diff --git a/pkgs/by-name/gl/glaze/package.nix b/pkgs/by-name/gl/glaze/package.nix new file mode 100644 index 000000000000..733a92774535 --- /dev/null +++ b/pkgs/by-name/gl/glaze/package.nix @@ -0,0 +1,29 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + avx2 ? false, +}: + +stdenv.mkDerivation (final: { + pname = "glaze"; + version = "4.0.0"; + + src = fetchFromGitHub { + owner = "stephenberry"; + repo = "glaze"; + rev = "v${final.version}"; + hash = "sha256-zaGKYEnYTyAhtP0Hywxp8Y33wvjB1RkEoOGF41CaVnY"; + }; + + nativeBuildInputs = [ cmake ]; + cmakeFlags = [ "-Dglaze_ENABLE_AVX2=${if avx2 then "ON" else "OFF"}" ]; + + meta = with lib; { + description = "Extremely fast, in memory, JSON and interface library for modern C++"; + platforms = platforms.all; + maintainers = with maintainers; [ moni ]; + license = licenses.mit; + }; +}) From ac196039ed84b22d9fd01267a9c11610e9d43b7f Mon Sep 17 00:00:00 2001 From: moni Date: Sun, 3 Nov 2024 08:25:18 +0800 Subject: [PATCH 3/4] termbench-pro: 2023-01-26 -> 2024-10-05 --- .../te/termbench-pro/dont-fetchcontent.diff | 41 +++++++++++++++++++ .../te/termbench-pro/package.nix} | 29 +++++++++---- pkgs/top-level/all-packages.nix | 4 +- 3 files changed, 65 insertions(+), 9 deletions(-) create mode 100644 pkgs/by-name/te/termbench-pro/dont-fetchcontent.diff rename pkgs/{development/libraries/termbench-pro/default.nix => by-name/te/termbench-pro/package.nix} (53%) diff --git a/pkgs/by-name/te/termbench-pro/dont-fetchcontent.diff b/pkgs/by-name/te/termbench-pro/dont-fetchcontent.diff new file mode 100644 index 000000000000..80a1ccf7724e --- /dev/null +++ b/pkgs/by-name/te/termbench-pro/dont-fetchcontent.diff @@ -0,0 +1,41 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6948010..1ee264f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -14,14 +14,15 @@ if(NOT WIN32 AND NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) + set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release MinSizeRel RelWithDebInfo) + endif() + +-include(FetchContent) +-FetchContent_Declare( +- glaze +- GIT_REPOSITORY https://github.com/stephenberry/glaze.git +- GIT_TAG v3.4.2 +- GIT_SHALLOW TRUE +-) +-FetchContent_MakeAvailable(glaze) ++#include(FetchContent) ++#FetchContent_Declare( ++ #glaze ++ #GIT_REPOSITORY https://github.com/stephenberry/glaze.git ++ #GIT_TAG v3.4.2 ++ # GIT_SHALLOW TRUE ++ #) ++#FetchContent_MakeAvailable(glaze) ++#add() + + set(MASTER_PROJECT OFF) + if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_SOURCE_DIR}) +diff --git a/libtermbench/CMakeLists.txt b/libtermbench/CMakeLists.txt +index f0ddc75..93f63ed 100644 +--- a/libtermbench/CMakeLists.txt ++++ b/libtermbench/CMakeLists.txt +@@ -25,6 +25,8 @@ set_target_properties(termbench PROPERTIES + + target_include_directories(termbench PUBLIC $ + $) ++ ++find_package(glaze REQUIRED) + target_link_libraries(termbench PUBLIC glaze::glaze) + + install(TARGETS termbench diff --git a/pkgs/development/libraries/termbench-pro/default.nix b/pkgs/by-name/te/termbench-pro/package.nix similarity index 53% rename from pkgs/development/libraries/termbench-pro/default.nix rename to pkgs/by-name/te/termbench-pro/package.nix index 5291536f695f..b5139a1af97e 100644 --- a/pkgs/development/libraries/termbench-pro/default.nix +++ b/pkgs/by-name/te/termbench-pro/package.nix @@ -1,33 +1,46 @@ -{ lib, stdenv, fetchFromGitHub, cmake, fmt }: +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + fmt, + glaze, +}: stdenv.mkDerivation { pname = "termbench-pro"; - version = "unstable-2023-01-26"; + version = "unstable-2024-10-05"; src = fetchFromGitHub { owner = "contour-terminal"; repo = "termbench-pro"; - rev = "a4feadd3a698e4fe2d9dd5b03d5f941534a25a91"; - hash = "sha256-/zpJY9Mecalk7dneYZYzmFOroopFGklWw62a+LbiUVs="; + rev = "22a0c42f78dc2e522eb1089bf9976a9ff0ecdcad"; + hash = "sha256-Yyvlu/yx/yGc9Ci9Pn098YfTdywLZEaowQZeLM4WGjQ"; }; + # don't fetch glaze from CMakeLists.txt + patches = [ ./dont-fetchcontent.diff ]; + nativeBuildInputs = [ cmake ]; - buildInputs = [ fmt ]; + buildInputs = [ + fmt + glaze + ]; installPhase = '' runHook preInstall mkdir -p $out/bin mkdir -p $out/lib - mv termbenchpro/tbp $out/bin - mv libtermbench/libtermbench.a $out/lib + mv tb/tb $out/bin + mv libtermbench/libtermbench.* $out/lib runHook postInstall ''; meta = with lib; { description = "Terminal Benchmarking as CLI and library"; - mainProgram = "tbp"; + mainProgram = "tb"; license = licenses.asl20; platforms = platforms.unix; maintainers = with maintainers; [ moni ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e81ba52744c8..7ce0162af77a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11216,7 +11216,9 @@ with pkgs; harfbuzz = harfbuzzFull; }; - termbench-pro = callPackage ../development/libraries/termbench-pro { fmt = fmt_8; }; + termbench-pro = callPackage ../by-name/te/termbench-pro/package.nix { + stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv; + }; texpresso = callPackage ../tools/typesetting/tex/texpresso { texpresso-tectonic = callPackage ../tools/typesetting/tex/texpresso/tectonic.nix { }; From b1fa370d51ae7090edb83a99da9effedcde436ed Mon Sep 17 00:00:00 2001 From: moni Date: Sun, 3 Nov 2024 08:51:42 +0800 Subject: [PATCH 4/4] contour: 0.4.3.6442 -> 0.5.1.7247 --- .../terminal-emulators/contour/default.nix | 106 ---------------- .../co}/contour/dont-fix-app-bundle.diff | 0 pkgs/by-name/co/contour/package.nix | 114 ++++++++++++++++++ pkgs/by-name/gl/glaze/package.nix | 4 +- pkgs/top-level/all-packages.nix | 19 +-- 5 files changed, 119 insertions(+), 124 deletions(-) delete mode 100644 pkgs/applications/terminal-emulators/contour/default.nix rename pkgs/{applications/terminal-emulators => by-name/co}/contour/dont-fix-app-bundle.diff (100%) create mode 100644 pkgs/by-name/co/contour/package.nix diff --git a/pkgs/applications/terminal-emulators/contour/default.nix b/pkgs/applications/terminal-emulators/contour/default.nix deleted file mode 100644 index 78a1b7243cdc..000000000000 --- a/pkgs/applications/terminal-emulators/contour/default.nix +++ /dev/null @@ -1,106 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, cmake -, pkg-config -, boxed-cpp -, freetype -, fontconfig -, libunicode -, libutempter -, termbench-pro -, qtmultimedia -, qt5compat -, wrapQtAppsHook -, pcre -, boost -, catch2 -, fmt -, microsoft-gsl -, range-v3 -, yaml-cpp -, ncurses -, file -, utmp -, sigtool -, nixosTests -, installShellFiles -}: - -stdenv.mkDerivation (final: { - pname = "contour"; - version = "0.4.3.6442"; - - src = fetchFromGitHub { - owner = "contour-terminal"; - repo = "contour"; - rev = "v${final.version}"; - hash = "sha256-m3BEhGbyQm07+1/h2IRhooLPDewmSuhRHOMpWPDluiY="; - }; - - patches = [ ./dont-fix-app-bundle.diff ]; - - outputs = [ "out" "terminfo" ]; - - nativeBuildInputs = [ - cmake - pkg-config - ncurses - file - wrapQtAppsHook - installShellFiles - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ sigtool ]; - - buildInputs = [ - boxed-cpp - fontconfig - freetype - libunicode - termbench-pro - qtmultimedia - qt5compat - pcre - boost - catch2 - fmt - microsoft-gsl - range-v3 - yaml-cpp - ] - ++ lib.optionals stdenv.hostPlatform.isLinux [ libutempter ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ utmp ]; - - cmakeFlags = [ "-DCONTOUR_QT_VERSION=6" ]; - - postInstall = '' - mkdir -p $out/nix-support $terminfo/share - '' + lib.optionalString stdenv.hostPlatform.isDarwin '' - mkdir $out/Applications - installShellCompletion --zsh $out/contour.app/Contents/Resources/shell-integration/shell-integration.zsh - installShellCompletion --fish $out/contour.app/Contents/Resources/shell-integration/shell-integration.fish - cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share - mv $out/contour.app $out/Applications - ln -s $out/bin $out/Applications/contour.app/Contents/MacOS - '' + lib.optionalString stdenv.hostPlatform.isLinux '' - mv $out/share/terminfo $terminfo/share/ - installShellCompletion --zsh $out/share/contour/shell-integration/shell-integration.zsh - installShellCompletion --fish $out/share/contour/shell-integration/shell-integration.fish - '' + '' - echo "$terminfo" >> $out/nix-support/propagated-user-env-packages - ''; - - passthru.tests.test = nixosTests.terminal-emulators.contour; - - meta = with lib; { - description = "Modern C++ Terminal Emulator"; - homepage = "https://github.com/contour-terminal/contour"; - changelog = "https://github.com/contour-terminal/contour/raw/v${version}/Changelog.md"; - license = licenses.asl20; - maintainers = with maintainers; [ moni ]; - platforms = platforms.unix; - mainProgram = "contour"; - # This was caused by boxed-cpp 1.4.2 -> 1.4.3 - # More details in issue #345752 - broken = true; - }; -}) diff --git a/pkgs/applications/terminal-emulators/contour/dont-fix-app-bundle.diff b/pkgs/by-name/co/contour/dont-fix-app-bundle.diff similarity index 100% rename from pkgs/applications/terminal-emulators/contour/dont-fix-app-bundle.diff rename to pkgs/by-name/co/contour/dont-fix-app-bundle.diff diff --git a/pkgs/by-name/co/contour/package.nix b/pkgs/by-name/co/contour/package.nix new file mode 100644 index 000000000000..03f09fab4025 --- /dev/null +++ b/pkgs/by-name/co/contour/package.nix @@ -0,0 +1,114 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + pkg-config, + boxed-cpp, + freetype, + fontconfig, + libunicode, + libutempter, + termbench-pro, + qt6, + pcre, + boost, + catch2_3, + fmt, + microsoft-gsl, + range-v3, + yaml-cpp, + ncurses, + file, + apple-sdk_11, + libutil, + sigtool, + nixosTests, + installShellFiles, +}: + +stdenv.mkDerivation (final: { + pname = "contour"; + version = "0.5.1.7247"; + + src = fetchFromGitHub { + owner = "contour-terminal"; + repo = "contour"; + rev = "v${final.version}"; + hash = "sha256-/vpbyaULemyM3elwaoofvbeeID7jNrmu8X8HlZxWGCk"; + }; + + patches = [ ./dont-fix-app-bundle.diff ]; + + outputs = [ + "out" + "terminfo" + ]; + + nativeBuildInputs = [ + cmake + pkg-config + ncurses + file + qt6.wrapQtAppsHook + installShellFiles + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ sigtool ]; + + buildInputs = + [ + boxed-cpp + fontconfig + freetype + libunicode + termbench-pro + qt6.qtmultimedia + qt6.qt5compat + pcre + boost + catch2_3 + fmt + microsoft-gsl + range-v3 + yaml-cpp + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ libutempter ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + apple-sdk_11 + libutil + ]; + + cmakeFlags = [ "-DCONTOUR_QT_VERSION=6" ]; + + postInstall = + '' + mkdir -p $out/nix-support $terminfo/share + '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' + mkdir $out/Applications + installShellCompletion --zsh $out/contour.app/Contents/Resources/shell-integration/shell-integration.zsh + installShellCompletion --fish $out/contour.app/Contents/Resources/shell-integration/shell-integration.fish + cp -r $out/contour.app/Contents/Resources/terminfo $terminfo/share + mv $out/contour.app $out/Applications + ln -s $out/bin $out/Applications/contour.app/Contents/MacOS + '' + + lib.optionalString stdenv.hostPlatform.isLinux '' + mv $out/share/terminfo $terminfo/share/ + installShellCompletion --zsh $out/share/contour/shell-integration/shell-integration.zsh + installShellCompletion --fish $out/share/contour/shell-integration/shell-integration.fish + '' + + '' + echo "$terminfo" >> $out/nix-support/propagated-user-env-packages + ''; + + passthru.tests.test = nixosTests.terminal-emulators.contour; + + meta = with lib; { + description = "Modern C++ Terminal Emulator"; + homepage = "https://github.com/contour-terminal/contour"; + changelog = "https://github.com/contour-terminal/contour/raw/v${version}/Changelog.md"; + license = licenses.asl20; + maintainers = with maintainers; [ moni ]; + platforms = platforms.unix; + mainProgram = "contour"; + }; +}) diff --git a/pkgs/by-name/gl/glaze/package.nix b/pkgs/by-name/gl/glaze/package.nix index 733a92774535..a36c79d89b39 100644 --- a/pkgs/by-name/gl/glaze/package.nix +++ b/pkgs/by-name/gl/glaze/package.nix @@ -3,7 +3,7 @@ stdenv, fetchFromGitHub, cmake, - avx2 ? false, + enableAvx2 ? false, }: stdenv.mkDerivation (final: { @@ -18,7 +18,7 @@ stdenv.mkDerivation (final: { }; nativeBuildInputs = [ cmake ]; - cmakeFlags = [ "-Dglaze_ENABLE_AVX2=${if avx2 then "ON" else "OFF"}" ]; + cmakeFlags = [ (lib.cmakeBool "glaze_ENABLE_AVX2" enableAvx2) ]; meta = with lib; { description = "Extremely fast, in memory, JSON and interface library for modern C++"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7ce0162af77a..d2fbac935796 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1606,12 +1606,9 @@ with pkgs; ### APPLICATIONS/TERMINAL-EMULATORS - contour = qt6.callPackage ../applications/terminal-emulators/contour { - inherit (darwin.apple_sdk_11_0.libs) utmp; - inherit (darwin) sigtool; - stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; - catch2 = catch2_3; - fmt = fmt_9; + contour = callPackage ../by-name/co/contour/package.nix { + inherit (darwin) libutil sigtool; + stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv; }; cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { }; @@ -10306,16 +10303,6 @@ with pkgs; stdenv = if stdenv.hostPlatform.isDarwin then llvmPackages_17.stdenv else stdenv; }; - libusbgx = callPackage ../development/libraries/libusbgx { }; - - libusbsio = callPackage ../development/libraries/libusbsio { }; - - libucontext = callPackage ../development/libraries/libucontext { }; - - libutempter = callPackage ../development/libraries/libutempter { }; - - libuldaq = callPackage ../development/libraries/libuldaq { }; - libunwind = # Use the system unwinder in the SDK but provide a compatibility package to: # 1. avoid evaluation errors with setting `unwind` to `null`; and