Merge master into staging-next

This commit is contained in:
github-actions[bot]
2024-04-23 06:01:22 +00:00
committed by GitHub
16 changed files with 261 additions and 83 deletions
+6
View File
@@ -11662,6 +11662,12 @@
github = "LongerHV";
githubId = 46924944;
};
lonyelon = {
email = "sergio@lony.xyz";
name = "Sergio Miguéns Iglesias";
github = "lonyelon";
githubId = 18664655;
};
lopsided98 = {
email = "benwolsieffer@gmail.com";
github = "lopsided98";
@@ -11,12 +11,12 @@
, pyright
, ruff
, tempel
, writeScript
, writeText
, unstableGitUpdater
}:
let
rev = "0b30d95c6de95b150d93ecee325b95e04ff09e46";
rev = "4d18701bdef13f6bdc0ad58d26896dff0548dbab";
python = python3.withPackages (ps: with ps; [
epc
orjson
@@ -28,13 +28,13 @@ let
in
melpaBuild {
pname = "lsp-bridge";
version = "20231021.309"; # 3:09 UTC
version = "20240423.38";
src = fetchFromGitHub {
owner = "manateelazycat";
repo = "lsp-bridge";
inherit rev;
hash = "sha256-hR7bZh0ElJ8F9ToJ4dkazF19T8PE01MTcxKrjeaEp4o=";
hash = "sha256-6taxbsu5v/mQBwl0CPt/fsTQpclNhi2alp/xIh5omJA=";
};
commit = rev;
@@ -88,7 +88,22 @@ melpaBuild {
runHook postCheck
'';
passthru.updateScript = unstableGitUpdater { };
passthru.updateScript = writeScript "update.sh" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p common-updater-scripts coreutils git gnused
set -eu -o pipefail
tmpdir="$(mktemp -d)"
git clone --depth=1 https://github.com/manateelazycat/lsp-bridge.git "$tmpdir"
pushd "$tmpdir"
commit=$(git show -s --pretty='format:%H')
# Based on: https://github.com/melpa/melpa/blob/2d8716906a0c9e18d6c979d8450bf1d15dd785eb/package-build/package-build.el#L523-L533
version=$(TZ=UTC git show -s --pretty='format:%cd' --date='format-local:%Y%m%d.%H%M' | sed 's|\.0*|.|')
popd
update-source-version emacsPackages.lsp-bridge $version --rev="$commit"
'';
meta = with lib; {
description = "A blazingly fast LSP client for Emacs";
-27
View File
@@ -1,27 +0,0 @@
{ lib, stdenv, fetchurl, cmake, stormlib }:
stdenv.mkDerivation rec {
pname = "smpq";
version = "1.6";
src = fetchurl {
url = "https://launchpad.net/smpq/trunk/${version}/+download/${pname}_${version}.orig.tar.gz";
sha256 = "1jqq5x3b17jy66x3kkf5hs5l322dx2v14djxxrqrnqp8bn5drlmm";
};
cmakeFlags = [
"-DWITH_KDE=OFF"
];
nativeBuildInputs = [ cmake ];
buildInputs = [ stormlib ];
meta = with lib; {
description = "StormLib MPQ archiving utility";
homepage = "https://launchpad.net/smpq";
license = licenses.gpl3Only;
platforms = platforms.all;
maintainers = with maintainers; [ aanderse karolchmist ];
mainProgram = "smpq";
};
}
@@ -22,18 +22,18 @@
ungoogled-chromium = {
deps = {
gn = {
hash = "sha256-JvilCnnb4laqwq69fay+IdAujYC1EHD7uWpkF/C8tBw=";
rev = "d4f94f9a6c25497b2ce0356bb99a8d202c8c1d32";
hash = "sha256-aEL1kIhgPAFqdb174dG093HoLhCJ07O1Kpqfu7r14wQ=";
rev = "22581fb46c0c0c9530caa67149ee4dd8811063cf";
url = "https://gn.googlesource.com/gn";
version = "2024-02-19";
version = "2024-03-14";
};
ungoogled-patches = {
hash = "sha256-ojKIAkJB/gfg6scCxUYNAGx4lsquAaCySBDcUCFLqSU=";
rev = "d5773b0fb696ef107cc6df6a94cbe732c9e905f9";
hash = "sha256-zgkt0stU/H5Mji429tigVbjOq27Op8UppHTjG6neoeA=";
rev = "124.0.6367.60-1";
};
};
hash = "sha256-7H7h621AHPyhFYbaVFO892TtS+SP3Qu7cYUVk3ICL14=";
hash_deb_amd64 = "sha256-tNkO1mPZg1xltBfoWeNhLekITtZV/WNgu//i2DJb17c=";
version = "123.0.6312.122";
hash = "sha256-apEniFKhIxPo4nhp9gCU+WpiV/EB40qif4RfE7Uniog=";
hash_deb_amd64 = "sha256-rSbigG5/xbL32d1ntOn6gnZyxSpgrg1h7lb/RD4YROI=";
version = "124.0.6367.60";
};
}
@@ -5,13 +5,13 @@
buildGoModule rec {
pname = "storj-uplink";
version = "1.102.2";
version = "1.102.4";
src = fetchFromGitHub {
owner = "storj";
repo = "storj";
rev = "v${version}";
hash = "sha256-GpHX34iHKeoT7AuEf76QTpTIrATLZyAoUxMoIouhvyA=";
hash = "sha256-ryOWnVcJOUs9kToXtwjUTk7nwuAW0NCDn5Npn27hKXU=";
};
subPackages = [ "cmd/uplink" ];
+53
View File
@@ -0,0 +1,53 @@
{ fetchgit
, pkg-config
, stdenv
, lib
# Package dependencies
, qt5
}:
stdenv.mkDerivation rec {
pname = "fgqcanvas";
version = "0-unstable-2024-02-11";
src = fetchgit {
url = "https://git.code.sf.net/p/flightgear/flightgear";
rev = "3168828949d6b42959ccee6c202b8895493edb2b";
sha256 = "sha256-QiIMkrzaB/ljVf6c+RJNFWKLZa84cIjYPO5nxEFDqjg=";
};
nativeBuildInputs = [
qt5.wrapQtAppsHook
qt5.qmake
pkg-config
qt5.qttools
];
buildInputs = [
qt5.qtwebsockets
];
configurePhase = ''
runHook preConfigure
cd utils/fgqcanvas/
mkdir -p build
cd build
qmake -makefile ../fgcanvas.pro CONFIG+="release" QMAKE_CXXFLAGS+=' -Wno-deprecated-copy -Wno-deprecated -Wno-deprecated-declarations'
runHook postConfigure
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
mv fgqcanvas $out/bin/
runHook postInstall
'';
meta = with lib; {
homepage = "https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/utils/fgqcanvas/README.md";
description = "A Qt-based remote canvas application for FlightGear";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nayala ];
mainProgram = "fgqcanvas";
};
}
+2 -2
View File
@@ -7,13 +7,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "simdutf";
version = "5.2.4";
version = "5.2.5";
src = fetchFromGitHub {
owner = "simdutf";
repo = "simdutf";
rev = "v${finalAttrs.version}";
hash = "sha256-ty4LqRJzwDRMCqPUcvgCAuvNExb0iRIzCOSMCfDzGEU=";
hash = "sha256-X/mpVmZ9FyN5MOcQRT1CjH5wsirSQ4rqdPE0lM5meT8=";
};
# Fix build on darwin
+36
View File
@@ -0,0 +1,36 @@
{
lib,
cmake,
fetchurl,
stdenv,
stormlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "smpq";
version = "1.6";
src = fetchurl {
url = "https://launchpad.net/smpq/trunk/${finalAttrs.version}/+download/smpq_${finalAttrs.version}.orig.tar.gz";
hash = "sha256-tdLcil3oYptx7l02ErboTYhBi4bFzTm6MV6esEYvGMs=";
};
cmakeFlags = [
(lib.cmakeBool "WITH_KDE" false)
];
nativeBuildInputs = [ cmake ];
buildInputs = [ stormlib ];
strictDeps = true;
meta = {
homepage = "https://launchpad.net/smpq";
description = "StormLib MPQ archiving utility";
license = lib.licenses.gpl3Only;
mainProgram = "smpq";
maintainers = with lib.maintainers; [ aanderse karolchmist ];
platforms = lib.platforms.all;
};
})
+42 -22
View File
@@ -1,41 +1,61 @@
{ lib, stdenv, fetchFromGitHub, cmake, bzip2, libtomcrypt, zlib, darwin }:
{
lib,
bzip2,
cmake,
darwin,
fetchFromGitHub,
libtomcrypt,
stdenv,
zlib,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "stormlib";
version = "9.22";
version = "9.23";
src = fetchFromGitHub {
owner = "ladislav-zezula";
repo = "StormLib";
rev = "v${version}";
sha256 = "1rcdl6ryrr8fss5z5qlpl4prrw8xpbcdgajg2hpp0i7fpk21ymcc";
rev = "v${finalAttrs.version}";
hash = "sha256-8JDMqZ5BWslH4+Mfo5lnWTmD2QDaColwBOLzcuGZciY=";
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks"
'';
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DWITH_LIBTOMCRYPT=ON"
nativeBuildInputs = [
cmake
];
nativeBuildInputs = [ cmake ];
buildInputs = [ bzip2 libtomcrypt zlib ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Carbon ];
buildInputs = [
bzip2
libtomcrypt
zlib
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Carbon
];
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeBool "WITH_LIBTOMCRYPT" true)
];
strictDeps = true;
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-implicit-function-declaration"
"-Wno-int-conversion"
]);
meta = with lib; {
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace "FRAMEWORK DESTINATION /Library/Frameworks" "FRAMEWORK DESTINATION Library/Frameworks"
'';
meta = {
homepage = "https://github.com/ladislav-zezula/StormLib";
license = licenses.mit;
description = "An open-source project that can work with Blizzard MPQ archives";
mainProgram = "storm_test";
platforms = platforms.all;
maintainers = with maintainers; [ aanderse karolchmist ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aanderse karolchmist ];
platforms = lib.platforms.all;
broken = stdenv.isDarwin; # installation directory mismatch
};
}
})
@@ -12,11 +12,11 @@
stdenv.mkDerivation rec {
pname = "xmake";
version = "2.8.9";
version = "2.9.1";
src = fetchurl {
url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz";
hash = "sha256-X3k8OTNG74Dkfwg63k08L9/ESGWKeRf9o1zNe9K5Ebg=";
hash = "sha256-ox2++MMDrqEmgGi0sawa7BQqxBJMfLfZx+61fEFPjRU=";
};
nativeBuildInputs = [
+3 -3
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation {
pname = "heroku";
version = "8.11.2";
version = "8.11.4";
src = fetchzip {
url = "https://cli-assets.heroku.com/versions/8.11.2/6a1a730/heroku-v8.11.2-6a1a730-linux-x64.tar.xz";
hash = "sha256-dQNe4zhCp0ouSjKwfccXcODO1ZShFntewmp/jD8l1Fs=";
url = "https://cli-assets.heroku.com/versions/8.11.4/501330b/heroku-v8.11.4-501330b-linux-x64.tar.xz";
hash = "sha256-Q8kXXsk2VGNLv4LyUqnN3Rapozac/jgkyhSnkBOcDmo=";
};
nativeBuildInputs = [ makeWrapper ];
@@ -15,17 +15,18 @@
, nix
, nixpkgs-fmt
, pkg-config
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "nixd";
version = "1.2.3";
version = "2.0.2";
src = fetchFromGitHub {
owner = "nix-community";
repo = "nixd";
rev = version;
hash = "sha256-i/z5VnsWPWloQfdk48i+a4XaGnTMPJ6QougChkT9IWw=";
rev = finalAttrs.version;
hash = "sha256-K6atInl+/58nzMj4JJHds//HY7luBRmX79g+Arj6iUw=";
};
mesonBuildType = "release";
@@ -74,19 +75,29 @@ stdenv.mkDerivation rec {
# Disable nixd regression tests, because it uses some features provided by
# nix, and does not correctly work in the sandbox
meson test --print-errorlogs server regression/nix-ast-dump
meson test --print-errorlogs unit/libnixf/Basic unit/libnixf/Parse unit/libnixt
runHook postCheck
'';
passthru.updateScript = nix-update-script { };
passthru.tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;
};
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
moduleNames = [ "libnixf" "libnixt" ];
};
};
meta = {
description = "Nix language server";
homepage = "https://github.com/nix-community/nixd";
changelog = "https://github.com/nix-community/nixd/releases/tag/${version}";
changelog = "https://github.com/nix-community/nixd/releases/tag/${finalAttrs.version}";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ inclyc Ruixi-rebirth marsam ];
mainProgram = "nixd";
platforms = lib.platforms.unix;
};
}
})
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "terraform-ls";
version = "0.33.0";
version = "0.33.1";
src = fetchFromGitHub {
owner = "hashicorp";
repo = pname;
rev = "v${version}";
hash = "sha256-UrymfiuaQ6k2MSwq/ZhtdsaSzc3uRzIsdq/Wepeo5+I=";
hash = "sha256-kVLB1ruWOWGmCyEgHj8wtA7GwbdKiCYo7n4anVyKM5Y=";
};
vendorHash = "sha256-yWRfYzctunXRHN9j3K7KUUAsJhs2bUzgPb+u6SjuAlk=";
vendorHash = "sha256-Vwa3km9CAq3Zik7dXWeHOnkIbL0eAwuKJ+bkw2lDe5k=";
ldflags = [ "-s" "-w" ];
@@ -0,0 +1,52 @@
{ lib, stdenv, fetchFromGitHub, kernel, bc, nukeReferences }:
stdenv.mkDerivation {
pname = "rtl8852au";
version = "${kernel.version}-unstable-2023-11-24";
src = fetchFromGitHub {
owner = "lwfinger";
repo = "rtl8852au";
rev = "70bdde265b9ab002daf11d4bea1a42baa8da4325";
hash = "sha256-6ARS7/0iKYajpMH+f+jWDxIkPY9ZixJkk864oKom4l4=";
};
nativeBuildInputs = [ bc nukeReferences ] ++ kernel.moduleBuildDependencies;
hardeningDisable = [ "pic" "format" ];
postPatch = ''
substituteInPlace ./Makefile \
--replace-fail /sbin/depmod \# \
--replace-fail '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/" \
--replace-fail '/usr/lib/systemd/system-sleep' "$out/usr/lib/systemd/system-sleep"
substituteInPlace ./platform/i386_pc.mk \
--replace-fail /lib/modules "${kernel.dev}/lib/modules"
'';
makeFlags = [
"ARCH=${stdenv.hostPlatform.linuxArch}"
("CONFIG_PLATFORM_I386_PC=" + (if stdenv.hostPlatform.isx86 then "y" else "n"))
("CONFIG_PLATFORM_ARM_RPI=" + (if stdenv.hostPlatform.isAarch then "y" else "n"))
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
];
preInstall = ''
mkdir -p "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
mkdir -p "$out/usr/lib/systemd/system-sleep"
'';
postInstall = ''
nuke-refs $out/lib/modules/*/kernel/net/wireless/*.ko
'';
enableParallelBuilding = true;
meta = with lib; {
description = "Driver for Realtek 802.11ac, rtl8852au, provides the 8852au mod";
homepage = "https://github.com/lwfinger/rtl8852au";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ lonyelon ];
};
}
+12 -2
View File
@@ -13150,7 +13150,17 @@ with pkgs;
smug = callPackage ../tools/misc/smug { };
smpq = callPackage ../applications/misc/smpq { };
smpq = callPackage ../by-name/sm/smpq/package.nix {
stormlib = stormlib.overrideAttrs (old: {
version = "9.22";
src = fetchFromGitHub {
owner = "ladislav-zezula";
repo = "StormLib";
rev = "v9.22";
hash = "sha256-jFUfxLzuRHAvFE+q19i6HfGcL6GX4vKL1g7l7LOhjeU=";
};
});
};
snabb = callPackage ../tools/networking/snabb { };
@@ -18057,7 +18067,7 @@ with pkgs;
nixd = callPackage ../development/tools/language-servers/nixd {
llvmPackages = llvmPackages_16;
nix = nixVersions.nix_2_16;
nix = nixVersions.nix_2_19;
};
openscad-lsp = callPackage ../development/tools/language-servers/openscad-lsp { };
+2
View File
@@ -441,6 +441,8 @@ in {
rtl8814au = callPackage ../os-specific/linux/rtl8814au { };
rtl8852au = callPackage ../os-specific/linux/rtl8852au { };
rtl88xxau-aircrack = callPackage ../os-specific/linux/rtl88xxau-aircrack {};
rtl8821au = callPackage ../os-specific/linux/rtl8821au { };