lol

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
5fdc6c66 3e8920f5

+259 -81
+6
maintainers/maintainer-list.nix
··· 11662 11662 github = "LongerHV"; 11663 11663 githubId = 46924944; 11664 11664 }; 11665 + lonyelon = { 11666 + email = "sergio@lony.xyz"; 11667 + name = "Sergio Miguéns Iglesias"; 11668 + github = "lonyelon"; 11669 + githubId = 18664655; 11670 + }; 11665 11671 lopsided98 = { 11666 11672 email = "benwolsieffer@gmail.com"; 11667 11673 github = "lopsided98";
+20 -5
pkgs/applications/editors/emacs/elisp-packages/manual-packages/lsp-bridge/default.nix
··· 11 11 , pyright 12 12 , ruff 13 13 , tempel 14 + , writeScript 14 15 , writeText 15 - , unstableGitUpdater 16 16 }: 17 17 18 18 let 19 - rev = "0b30d95c6de95b150d93ecee325b95e04ff09e46"; 19 + rev = "4d18701bdef13f6bdc0ad58d26896dff0548dbab"; 20 20 python = python3.withPackages (ps: with ps; [ 21 21 epc 22 22 orjson ··· 28 28 in 29 29 melpaBuild { 30 30 pname = "lsp-bridge"; 31 - version = "20231021.309"; # 3:09 UTC 31 + version = "20240423.38"; 32 32 33 33 src = fetchFromGitHub { 34 34 owner = "manateelazycat"; 35 35 repo = "lsp-bridge"; 36 36 inherit rev; 37 - hash = "sha256-hR7bZh0ElJ8F9ToJ4dkazF19T8PE01MTcxKrjeaEp4o="; 37 + hash = "sha256-6taxbsu5v/mQBwl0CPt/fsTQpclNhi2alp/xIh5omJA="; 38 38 }; 39 39 40 40 commit = rev; ··· 88 88 runHook postCheck 89 89 ''; 90 90 91 - passthru.updateScript = unstableGitUpdater { }; 91 + passthru.updateScript = writeScript "update.sh" '' 92 + #!/usr/bin/env nix-shell 93 + #!nix-shell -i bash -p common-updater-scripts coreutils git gnused 94 + set -eu -o pipefail 95 + 96 + tmpdir="$(mktemp -d)" 97 + git clone --depth=1 https://github.com/manateelazycat/lsp-bridge.git "$tmpdir" 98 + 99 + pushd "$tmpdir" 100 + commit=$(git show -s --pretty='format:%H') 101 + # Based on: https://github.com/melpa/melpa/blob/2d8716906a0c9e18d6c979d8450bf1d15dd785eb/package-build/package-build.el#L523-L533 102 + version=$(TZ=UTC git show -s --pretty='format:%cd' --date='format-local:%Y%m%d.%H%M' | sed 's|\.0*|.|') 103 + popd 104 + 105 + update-source-version emacsPackages.lsp-bridge $version --rev="$commit" 106 + ''; 92 107 93 108 meta = with lib; { 94 109 description = "A blazingly fast LSP client for Emacs";
-27
pkgs/applications/misc/smpq/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, stormlib }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "smpq"; 5 - version = "1.6"; 6 - 7 - src = fetchurl { 8 - url = "https://launchpad.net/smpq/trunk/${version}/+download/${pname}_${version}.orig.tar.gz"; 9 - sha256 = "1jqq5x3b17jy66x3kkf5hs5l322dx2v14djxxrqrnqp8bn5drlmm"; 10 - }; 11 - 12 - cmakeFlags = [ 13 - "-DWITH_KDE=OFF" 14 - ]; 15 - 16 - nativeBuildInputs = [ cmake ]; 17 - buildInputs = [ stormlib ]; 18 - 19 - meta = with lib; { 20 - description = "StormLib MPQ archiving utility"; 21 - homepage = "https://launchpad.net/smpq"; 22 - license = licenses.gpl3Only; 23 - platforms = platforms.all; 24 - maintainers = with maintainers; [ aanderse karolchmist ]; 25 - mainProgram = "smpq"; 26 - }; 27 - }
+8 -8
pkgs/applications/networking/browsers/chromium/upstream-info.nix
··· 22 22 ungoogled-chromium = { 23 23 deps = { 24 24 gn = { 25 - hash = "sha256-JvilCnnb4laqwq69fay+IdAujYC1EHD7uWpkF/C8tBw="; 26 - rev = "d4f94f9a6c25497b2ce0356bb99a8d202c8c1d32"; 25 + hash = "sha256-aEL1kIhgPAFqdb174dG093HoLhCJ07O1Kpqfu7r14wQ="; 26 + rev = "22581fb46c0c0c9530caa67149ee4dd8811063cf"; 27 27 url = "https://gn.googlesource.com/gn"; 28 - version = "2024-02-19"; 28 + version = "2024-03-14"; 29 29 }; 30 30 ungoogled-patches = { 31 - hash = "sha256-ojKIAkJB/gfg6scCxUYNAGx4lsquAaCySBDcUCFLqSU="; 32 - rev = "d5773b0fb696ef107cc6df6a94cbe732c9e905f9"; 31 + hash = "sha256-zgkt0stU/H5Mji429tigVbjOq27Op8UppHTjG6neoeA="; 32 + rev = "124.0.6367.60-1"; 33 33 }; 34 34 }; 35 - hash = "sha256-7H7h621AHPyhFYbaVFO892TtS+SP3Qu7cYUVk3ICL14="; 36 - hash_deb_amd64 = "sha256-tNkO1mPZg1xltBfoWeNhLekITtZV/WNgu//i2DJb17c="; 37 - version = "123.0.6312.122"; 35 + hash = "sha256-apEniFKhIxPo4nhp9gCU+WpiV/EB40qif4RfE7Uniog="; 36 + hash_deb_amd64 = "sha256-rSbigG5/xbL32d1ntOn6gnZyxSpgrg1h7lb/RD4YROI="; 37 + version = "124.0.6367.60"; 38 38 }; 39 39 }
+2 -2
pkgs/applications/networking/sync/storj-uplink/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "storj-uplink"; 8 - version = "1.102.2"; 8 + version = "1.102.4"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "storj"; 12 12 repo = "storj"; 13 13 rev = "v${version}"; 14 - hash = "sha256-GpHX34iHKeoT7AuEf76QTpTIrATLZyAoUxMoIouhvyA="; 14 + hash = "sha256-ryOWnVcJOUs9kToXtwjUTk7nwuAW0NCDn5Npn27hKXU="; 15 15 }; 16 16 17 17 subPackages = [ "cmd/uplink" ];
+53
pkgs/by-name/fg/fgqcanvas/package.nix
··· 1 + { fetchgit 2 + , pkg-config 3 + , stdenv 4 + , lib 5 + # Package dependencies 6 + , qt5 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "fgqcanvas"; 11 + version = "0-unstable-2024-02-11"; 12 + 13 + src = fetchgit { 14 + url = "https://git.code.sf.net/p/flightgear/flightgear"; 15 + rev = "3168828949d6b42959ccee6c202b8895493edb2b"; 16 + sha256 = "sha256-QiIMkrzaB/ljVf6c+RJNFWKLZa84cIjYPO5nxEFDqjg="; 17 + }; 18 + 19 + nativeBuildInputs = [ 20 + qt5.wrapQtAppsHook 21 + qt5.qmake 22 + pkg-config 23 + qt5.qttools 24 + ]; 25 + buildInputs = [ 26 + qt5.qtwebsockets 27 + ]; 28 + 29 + configurePhase = '' 30 + runHook preConfigure 31 + cd utils/fgqcanvas/ 32 + mkdir -p build 33 + cd build 34 + qmake -makefile ../fgcanvas.pro CONFIG+="release" QMAKE_CXXFLAGS+=' -Wno-deprecated-copy -Wno-deprecated -Wno-deprecated-declarations' 35 + runHook postConfigure 36 + ''; 37 + 38 + installPhase = '' 39 + runHook preInstall 40 + mkdir -p $out/bin 41 + mv fgqcanvas $out/bin/ 42 + runHook postInstall 43 + ''; 44 + 45 + meta = with lib; { 46 + homepage = "https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/utils/fgqcanvas/README.md"; 47 + description = "A Qt-based remote canvas application for FlightGear"; 48 + license = licenses.gpl2Plus; 49 + platforms = platforms.linux; 50 + maintainers = with maintainers; [ nayala ]; 51 + mainProgram = "fgqcanvas"; 52 + }; 53 + }
+2 -2
pkgs/by-name/si/simdutf/package.nix
··· 7 7 8 8 stdenv.mkDerivation (finalAttrs: { 9 9 pname = "simdutf"; 10 - version = "5.2.4"; 10 + version = "5.2.5"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "simdutf"; 14 14 repo = "simdutf"; 15 15 rev = "v${finalAttrs.version}"; 16 - hash = "sha256-ty4LqRJzwDRMCqPUcvgCAuvNExb0iRIzCOSMCfDzGEU="; 16 + hash = "sha256-X/mpVmZ9FyN5MOcQRT1CjH5wsirSQ4rqdPE0lM5meT8="; 17 17 }; 18 18 19 19 # Fix build on darwin
+36
pkgs/by-name/sm/smpq/package.nix
··· 1 + { 2 + lib, 3 + cmake, 4 + fetchurl, 5 + stdenv, 6 + stormlib, 7 + }: 8 + 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "smpq"; 11 + version = "1.6"; 12 + 13 + src = fetchurl { 14 + url = "https://launchpad.net/smpq/trunk/${finalAttrs.version}/+download/smpq_${finalAttrs.version}.orig.tar.gz"; 15 + hash = "sha256-tdLcil3oYptx7l02ErboTYhBi4bFzTm6MV6esEYvGMs="; 16 + }; 17 + 18 + cmakeFlags = [ 19 + (lib.cmakeBool "WITH_KDE" false) 20 + ]; 21 + 22 + nativeBuildInputs = [ cmake ]; 23 + 24 + buildInputs = [ stormlib ]; 25 + 26 + strictDeps = true; 27 + 28 + meta = { 29 + homepage = "https://launchpad.net/smpq"; 30 + description = "StormLib MPQ archiving utility"; 31 + license = lib.licenses.gpl3Only; 32 + mainProgram = "smpq"; 33 + maintainers = with lib.maintainers; [ aanderse karolchmist ]; 34 + platforms = lib.platforms.all; 35 + }; 36 + })
+40 -20
pkgs/by-name/st/stormlib/package.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, bzip2, libtomcrypt, zlib, darwin }: 1 + { 2 + lib, 3 + bzip2, 4 + cmake, 5 + darwin, 6 + fetchFromGitHub, 7 + libtomcrypt, 8 + stdenv, 9 + zlib, 10 + }: 2 11 3 - stdenv.mkDerivation rec { 12 + stdenv.mkDerivation (finalAttrs: { 4 13 pname = "stormlib"; 5 - version = "9.22"; 14 + version = "9.23"; 6 15 7 16 src = fetchFromGitHub { 8 17 owner = "ladislav-zezula"; 9 18 repo = "StormLib"; 10 - rev = "v${version}"; 11 - sha256 = "1rcdl6ryrr8fss5z5qlpl4prrw8xpbcdgajg2hpp0i7fpk21ymcc"; 19 + rev = "v${finalAttrs.version}"; 20 + hash = "sha256-8JDMqZ5BWslH4+Mfo5lnWTmD2QDaColwBOLzcuGZciY="; 12 21 }; 13 22 14 - postPatch = '' 15 - substituteInPlace CMakeLists.txt \ 16 - --replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks" 17 - ''; 23 + nativeBuildInputs = [ 24 + cmake 25 + ]; 26 + 27 + buildInputs = [ 28 + bzip2 29 + libtomcrypt 30 + zlib 31 + ] 32 + ++ lib.optionals stdenv.isDarwin [ 33 + darwin.apple_sdk.frameworks.Carbon 34 + ]; 18 35 19 36 cmakeFlags = [ 20 - "-DBUILD_SHARED_LIBS=ON" 21 - "-DWITH_LIBTOMCRYPT=ON" 37 + (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) 38 + (lib.cmakeBool "WITH_LIBTOMCRYPT" true) 22 39 ]; 23 40 24 - nativeBuildInputs = [ cmake ]; 25 - buildInputs = [ bzip2 libtomcrypt zlib ] ++ 26 - lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Carbon ]; 41 + strictDeps = true; 27 42 28 43 env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [ 29 44 "-Wno-implicit-function-declaration" 30 45 "-Wno-int-conversion" 31 46 ]); 32 47 33 - meta = with lib; { 48 + postPatch = '' 49 + substituteInPlace CMakeLists.txt \ 50 + --replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks" 51 + ''; 52 + 53 + meta = { 34 54 homepage = "https://github.com/ladislav-zezula/StormLib"; 35 - license = licenses.mit; 36 55 description = "An open-source project that can work with Blizzard MPQ archives"; 37 - mainProgram = "storm_test"; 38 - platforms = platforms.all; 39 - maintainers = with maintainers; [ aanderse karolchmist ]; 56 + license = lib.licenses.mit; 57 + maintainers = with lib.maintainers; [ aanderse karolchmist ]; 58 + platforms = lib.platforms.all; 59 + broken = stdenv.isDarwin; # installation directory mismatch 40 60 }; 41 - } 61 + })
+2 -2
pkgs/development/tools/build-managers/xmake/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "xmake"; 15 - version = "2.8.9"; 15 + version = "2.9.1"; 16 16 17 17 src = fetchurl { 18 18 url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz"; 19 - hash = "sha256-X3k8OTNG74Dkfwg63k08L9/ESGWKeRf9o1zNe9K5Ebg="; 19 + hash = "sha256-ox2++MMDrqEmgGi0sawa7BQqxBJMfLfZx+61fEFPjRU="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+3 -3
pkgs/development/tools/heroku/default.nix
··· 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "heroku"; 5 - version = "8.11.2"; 5 + version = "8.11.4"; 6 6 7 7 src = fetchzip { 8 - url = "https://cli-assets.heroku.com/versions/8.11.2/6a1a730/heroku-v8.11.2-6a1a730-linux-x64.tar.xz"; 9 - hash = "sha256-dQNe4zhCp0ouSjKwfccXcODO1ZShFntewmp/jD8l1Fs="; 8 + url = "https://cli-assets.heroku.com/versions/8.11.4/501330b/heroku-v8.11.4-501330b-linux-x64.tar.xz"; 9 + hash = "sha256-Q8kXXsk2VGNLv4LyUqnN3Rapozac/jgkyhSnkBOcDmo="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ];
+18 -7
pkgs/development/tools/language-servers/nixd/default.nix
··· 15 15 , nix 16 16 , nixpkgs-fmt 17 17 , pkg-config 18 + , testers 18 19 }: 19 20 20 - stdenv.mkDerivation rec { 21 + stdenv.mkDerivation (finalAttrs: { 21 22 pname = "nixd"; 22 - version = "1.2.3"; 23 + version = "2.0.2"; 23 24 24 25 src = fetchFromGitHub { 25 26 owner = "nix-community"; 26 27 repo = "nixd"; 27 - rev = version; 28 - hash = "sha256-i/z5VnsWPWloQfdk48i+a4XaGnTMPJ6QougChkT9IWw="; 28 + rev = finalAttrs.version; 29 + hash = "sha256-K6atInl+/58nzMj4JJHds//HY7luBRmX79g+Arj6iUw="; 29 30 }; 30 31 31 32 mesonBuildType = "release"; ··· 74 75 75 76 # Disable nixd regression tests, because it uses some features provided by 76 77 # nix, and does not correctly work in the sandbox 77 - meson test --print-errorlogs server regression/nix-ast-dump 78 + meson test --print-errorlogs unit/libnixf/Basic unit/libnixf/Parse unit/libnixt 78 79 runHook postCheck 79 80 ''; 80 81 81 82 passthru.updateScript = nix-update-script { }; 82 83 84 + passthru.tests = { 85 + version = testers.testVersion { 86 + package = finalAttrs.finalPackage; 87 + }; 88 + pkg-config = testers.hasPkgConfigModules { 89 + package = finalAttrs.finalPackage; 90 + moduleNames = [ "libnixf" "libnixt" ]; 91 + }; 92 + }; 93 + 83 94 meta = { 84 95 description = "Nix language server"; 85 96 homepage = "https://github.com/nix-community/nixd"; 86 - changelog = "https://github.com/nix-community/nixd/releases/tag/${version}"; 97 + changelog = "https://github.com/nix-community/nixd/releases/tag/${finalAttrs.version}"; 87 98 license = lib.licenses.lgpl3Plus; 88 99 maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth marsam ]; 89 100 mainProgram = "nixd"; 90 101 platforms = lib.platforms.unix; 91 102 }; 92 - } 103 + })
+3 -3
pkgs/development/tools/misc/terraform-ls/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "terraform-ls"; 5 - version = "0.33.0"; 5 + version = "0.33.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "hashicorp"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-UrymfiuaQ6k2MSwq/ZhtdsaSzc3uRzIsdq/Wepeo5+I="; 11 + hash = "sha256-kVLB1ruWOWGmCyEgHj8wtA7GwbdKiCYo7n4anVyKM5Y="; 12 12 }; 13 13 14 - vendorHash = "sha256-yWRfYzctunXRHN9j3K7KUUAsJhs2bUzgPb+u6SjuAlk="; 14 + vendorHash = "sha256-Vwa3km9CAq3Zik7dXWeHOnkIbL0eAwuKJ+bkw2lDe5k="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+52
pkgs/os-specific/linux/rtl8852au/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, kernel, bc, nukeReferences }: 2 + 3 + stdenv.mkDerivation { 4 + pname = "rtl8852au"; 5 + version = "${kernel.version}-unstable-2023-11-24"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "lwfinger"; 9 + repo = "rtl8852au"; 10 + rev = "70bdde265b9ab002daf11d4bea1a42baa8da4325"; 11 + hash = "sha256-6ARS7/0iKYajpMH+f+jWDxIkPY9ZixJkk864oKom4l4="; 12 + }; 13 + 14 + nativeBuildInputs = [ bc nukeReferences ] ++ kernel.moduleBuildDependencies; 15 + hardeningDisable = [ "pic" "format" ]; 16 + 17 + postPatch = '' 18 + substituteInPlace ./Makefile \ 19 + --replace-fail /sbin/depmod \# \ 20 + --replace-fail '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/" \ 21 + --replace-fail '/usr/lib/systemd/system-sleep' "$out/usr/lib/systemd/system-sleep" 22 + substituteInPlace ./platform/i386_pc.mk \ 23 + --replace-fail /lib/modules "${kernel.dev}/lib/modules" 24 + ''; 25 + 26 + makeFlags = [ 27 + "ARCH=${stdenv.hostPlatform.linuxArch}" 28 + ("CONFIG_PLATFORM_I386_PC=" + (if stdenv.hostPlatform.isx86 then "y" else "n")) 29 + ("CONFIG_PLATFORM_ARM_RPI=" + (if stdenv.hostPlatform.isAarch then "y" else "n")) 30 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 31 + "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 32 + ]; 33 + 34 + preInstall = '' 35 + mkdir -p "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/" 36 + mkdir -p "$out/usr/lib/systemd/system-sleep" 37 + ''; 38 + 39 + postInstall = '' 40 + nuke-refs $out/lib/modules/*/kernel/net/wireless/*.ko 41 + ''; 42 + 43 + enableParallelBuilding = true; 44 + 45 + meta = with lib; { 46 + description = "Driver for Realtek 802.11ac, rtl8852au, provides the 8852au mod"; 47 + homepage = "https://github.com/lwfinger/rtl8852au"; 48 + license = licenses.gpl2Only; 49 + platforms = platforms.linux; 50 + maintainers = with maintainers; [ lonyelon ]; 51 + }; 52 + }
+12 -2
pkgs/top-level/all-packages.nix
··· 13150 13150 13151 13151 smug = callPackage ../tools/misc/smug { }; 13152 13152 13153 - smpq = callPackage ../applications/misc/smpq { }; 13153 + smpq = callPackage ../by-name/sm/smpq/package.nix { 13154 + stormlib = stormlib.overrideAttrs (old: { 13155 + version = "9.22"; 13156 + src = fetchFromGitHub { 13157 + owner = "ladislav-zezula"; 13158 + repo = "StormLib"; 13159 + rev = "v9.22"; 13160 + hash = "sha256-jFUfxLzuRHAvFE+q19i6HfGcL6GX4vKL1g7l7LOhjeU="; 13161 + }; 13162 + }); 13163 + }; 13154 13164 13155 13165 snabb = callPackage ../tools/networking/snabb { }; 13156 13166 ··· 18057 18067 18058 18068 nixd = callPackage ../development/tools/language-servers/nixd { 18059 18069 llvmPackages = llvmPackages_16; 18060 - nix = nixVersions.nix_2_16; 18070 + nix = nixVersions.nix_2_19; 18061 18071 }; 18062 18072 18063 18073 openscad-lsp = callPackage ../development/tools/language-servers/openscad-lsp { };
+2
pkgs/top-level/linux-kernels.nix
··· 441 441 442 442 rtl8814au = callPackage ../os-specific/linux/rtl8814au { }; 443 443 444 + rtl8852au = callPackage ../os-specific/linux/rtl8852au { }; 445 + 444 446 rtl88xxau-aircrack = callPackage ../os-specific/linux/rtl88xxau-aircrack {}; 445 447 446 448 rtl8821au = callPackage ../os-specific/linux/rtl8821au { };