From 3adecdfcbcaf2223bf52746bd5e733516b897f6f Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 30 Jul 2023 06:53:30 +0000 Subject: [PATCH 01/27] proxysql: 2.5.3 -> 2.5.4 --- pkgs/servers/sql/proxysql/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/sql/proxysql/default.nix b/pkgs/servers/sql/proxysql/default.nix index 6847c5064dc..8a725ccfe1a 100644 --- a/pkgs/servers/sql/proxysql/default.nix +++ b/pkgs/servers/sql/proxysql/default.nix @@ -33,13 +33,13 @@ stdenv.mkDerivation rec { pname = "proxysql"; - version = "2.5.3"; + version = "2.5.4"; src = fetchFromGitHub { owner = "sysown"; repo = pname; rev = version; - hash = "sha256-D/AUjndpu4QJmlgLBXRqMj9gsHYitEYhHVMQzoab1ik="; + hash = "sha256-HFhfAWyDB20t+c4s9NlVwdANrFobVyr+vnmZqx+X20Q="; }; patches = [ From b4fc86847e8a4546235f8eec591b04cb147bf753 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sun, 30 Jul 2023 12:00:43 -0400 Subject: [PATCH 02/27] forgejo: add adamcstephens as maintainer --- pkgs/applications/version-management/forgejo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/forgejo/default.nix b/pkgs/applications/version-management/forgejo/default.nix index 566d99e7457..be74b509c15 100644 --- a/pkgs/applications/version-management/forgejo/default.nix +++ b/pkgs/applications/version-management/forgejo/default.nix @@ -115,7 +115,7 @@ buildGoModule rec { homepage = "https://forgejo.org"; changelog = "https://codeberg.org/forgejo/forgejo/releases/tag/${src.rev}"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ emilylange urandom bendlas ]; + maintainers = with lib.maintainers; [ emilylange urandom bendlas adamcstephens ]; broken = stdenv.isDarwin; mainProgram = "gitea"; }; From 1b47c0202fc35f69aaca37c785623e5a7f153e9c Mon Sep 17 00:00:00 2001 From: Maxim Zhukov Date: Sun, 30 Jul 2023 21:12:33 +0300 Subject: [PATCH 03/27] chezmoi: 2.35.2 -> 2.36.1 Diff: https://github.com/twpayne/chezmoi/compare/v2.35.2...v2.36.1 Changelog: https://github.com/twpayne/chezmoi/releases/tag/v2.36.1 --- pkgs/tools/misc/chezmoi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/chezmoi/default.nix b/pkgs/tools/misc/chezmoi/default.nix index e9da12b3282..688725a78a3 100644 --- a/pkgs/tools/misc/chezmoi/default.nix +++ b/pkgs/tools/misc/chezmoi/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "chezmoi"; - version = "2.35.2"; + version = "2.36.1"; src = fetchFromGitHub { owner = "twpayne"; repo = "chezmoi"; rev = "v${version}"; - hash = "sha256-drydLWt0B7mQKMn1GzEe/I352b2hvhCKV8tUicZoVHk="; + hash = "sha256-OZrQxF5fuKpauy3wk6q3bUh1uUw14nkEldrzYPiOVIQ="; }; - vendorHash = "sha256-HZYYENQIkmAhm0oDfUUpiAqWTbmNsy6u6hOyUvd8iC8="; + vendorHash = "sha256-H7sbpDZMkPF5qw9urb/Gfmy8b9T4UEsnl6CGlZ1LThQ="; doCheck = false; From aa7ee35c8a48f62cb75fd08aee452758c59e3c95 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sun, 30 Jul 2023 13:34:42 -0400 Subject: [PATCH 04/27] forgejo: 1.20.1-0 -> 1.20.2-0 --- .../version-management/forgejo/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/forgejo/default.nix b/pkgs/applications/version-management/forgejo/default.nix index be74b509c15..663f7d3f7b4 100644 --- a/pkgs/applications/version-management/forgejo/default.nix +++ b/pkgs/applications/version-management/forgejo/default.nix @@ -6,6 +6,7 @@ , gzip , lib , makeWrapper +, nix-update-script , nixosTests , openssh , pam @@ -38,17 +39,17 @@ let in buildGoModule rec { pname = "forgejo"; - version = "1.20.1-0"; + version = "1.20.2-0"; src = fetchFromGitea { domain = "codeberg.org"; owner = "forgejo"; repo = "forgejo"; rev = "v${version}"; - hash = "sha256-3L43hm6Tx4h5UHm3jGTGiOWBgAGx49zVGB0D6om6ayk="; + hash = "sha256-8mFI5Zt2J6EQZqu/qcirFp8WMz+IlrkvHeA+oUb0X5U="; }; - vendorHash = "sha256-n2fqqQ6jqHEAWLlaY9t6nd6Ty0viOuTwDWDhTECve+Q="; + vendorHash = "sha256-ZoFs2T3NNixrbTDdp7fqTgjJ+G8DpkxHW8K6BM8tZ9w="; subPackages = [ "." ]; @@ -95,6 +96,9 @@ buildGoModule rec { }); passthru = { + # allow nix-update to handle npmDepsHash + inherit (frontend) npmDeps; + data-compressed = runCommand "forgejo-data-compressed" { nativeBuildInputs = [ brotli xorg.lndir ]; } '' @@ -108,6 +112,7 @@ buildGoModule rec { ''; tests = nixosTests.forgejo; + updateScript = nix-update-script { }; }; meta = { From d213d1e173c657498d408a92fbdacef955d51e3b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 31 Jul 2023 05:20:35 +0000 Subject: [PATCH 05/27] ocamlPackages.ptime: 1.0.0 -> 1.1.0 --- pkgs/development/ocaml-modules/ptime/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/ptime/default.nix b/pkgs/development/ocaml-modules/ptime/default.nix index ee12abd3e3b..d5e6264b1f1 100644 --- a/pkgs/development/ocaml-modules/ptime/default.nix +++ b/pkgs/development/ocaml-modules/ptime/default.nix @@ -5,12 +5,12 @@ lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08") "ptime is not available for OCaml ${ocaml.version}" stdenv.mkDerivation rec { - version = "1.0.0"; + version = "1.1.0"; pname = "ocaml${ocaml.version}-ptime"; src = fetchurl { url = "https://erratique.ch/software/ptime/releases/ptime-${version}.tbz"; - sha256 = "sha256-RByDjAFiyDdR8G663/MxabuSHTTuwVn7urtw7Z3iEQs="; + sha256 = "sha256-y/WxVFT7JxBeLDNAI+HhHY+TnXF4hw9cvo7SbfcBPrE="; }; nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; From 012ff4f8b039d5f78a1b4e38a4b1c0261e5b1efd Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 31 Jul 2023 14:34:41 +0800 Subject: [PATCH 06/27] keycloak.plugins.keycloak-metrics-spi: build from source --- .../keycloak/keycloak-metrics-spi/default.nix | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/keycloak/keycloak-metrics-spi/default.nix b/pkgs/servers/keycloak/keycloak-metrics-spi/default.nix index 65fd0934bae..af43f0914f6 100644 --- a/pkgs/servers/keycloak/keycloak-metrics-spi/default.nix +++ b/pkgs/servers/keycloak/keycloak-metrics-spi/default.nix @@ -1,26 +1,29 @@ -{ stdenv, lib, fetchurl }: +{ maven, lib, fetchFromGitHub }: -stdenv.mkDerivation rec { +maven.buildMavenPackage rec { pname = "keycloak-metrics-spi"; version = "4.0.0"; - src = fetchurl { - url = "https://github.com/aerogear/keycloak-metrics-spi/releases/download/${version}/keycloak-metrics-spi-${version}.jar"; - sha256 = "sha256-D0NNBuc9YBiywGoq5hG4dcoiunyG/C2ZX73p4lS5v4s="; + src = fetchFromGitHub { + owner = "aerogear"; + repo = pname; + rev = "refs/tags/${version}"; + hash = "sha256-pacmx5w1VVWz3HmHO6sc2friNUpzo4zyJI1/TQgCXlc="; }; - dontUnpack = true; - dontBuild = true; + mvnHash = "sha256-rwAc2KtKo4vJ0JWwPquMyt+FHVNTmMpzBPbo8lWDN/A="; + + nativeBuildInputs = [ maven ]; installPhase = '' - mkdir -p $out - install "$src" "$out" + runHook preInstall + install -Dm444 -t "$out" target/keycloak-metrics-spi-*.jar + runHook postInstall ''; meta = with lib; { homepage = "https://github.com/aerogear/keycloak-metrics-spi"; description = "Keycloak Service Provider that adds a metrics endpoint"; - sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; maintainers = with maintainers; [ benley ]; }; From 956bdd6f2268a0ba2fe9b95d6842b570bb36065f Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:08:12 +0200 Subject: [PATCH 07/27] ogre_14: init at 14.0.1 --- pkgs/development/libraries/ogre/default.nix | 129 +++++++++++--------- pkgs/games/opendungeons/default.nix | 4 +- pkgs/games/stuntrally/default.nix | 6 +- pkgs/top-level/all-packages.nix | 7 +- 4 files changed, 80 insertions(+), 66 deletions(-) diff --git a/pkgs/development/libraries/ogre/default.nix b/pkgs/development/libraries/ogre/default.nix index ce495193716..6bac6c5a425 100644 --- a/pkgs/development/libraries/ogre/default.nix +++ b/pkgs/development/libraries/ogre/default.nix @@ -27,72 +27,85 @@ , libXxf86vm , xorgproto # darwin -, Cocoa +, darwin # optional , withNvidiaCg ? false , nvidia_cg_toolkit , withSamples ? false }: -stdenv.mkDerivation rec { - pname = "ogre"; - version = "13.6.4"; +let + common = { version, hash }: stdenv.mkDerivation { + pname = "ogre"; + inherit version; - src = fetchFromGitHub { - owner = "OGRECave"; - repo = "ogre"; - rev = "v${version}"; - hash = "sha256-MSBWCO0s46t+ExWDdmqi16OxmcQXnduhgFt6I4BG1g8="; + src = fetchFromGitHub { + owner = "OGRECave"; + repo = "ogre"; + rev = "v${version}"; + inherit hash; + }; + + nativeBuildInputs = [ + cmake + pkg-config + unzip + ]; + + buildInputs = [ + SDL2 + boost + freeimage + freetype + libpng + ois + pugixml + zziplib + ] ++ lib.optionals stdenv.isLinux [ + freeglut + libGL + libGLU + libICE + libSM + libX11 + libXaw + libXmu + libXrandr + libXrender + libXt + libXxf86vm + xorgproto + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Cocoa + ] ++ lib.optionals withNvidiaCg [ + nvidia_cg_toolkit + ]; + + cmakeFlags = [ + "-DOGRE_BUILD_COMPONENT_OVERLAY_IMGUI=FALSE" + "-DOGRE_BUILD_DEPENDENCIES=OFF" + "-DOGRE_BUILD_SAMPLES=${toString withSamples}" + ] ++ lib.optionals stdenv.isDarwin [ + "-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=FALSE" + ]; + + meta = { + description = "3D Object-Oriented Graphics Rendering Engine"; + homepage = "https://www.ogre3d.org/"; + maintainers = with lib.maintainers; [ raskin wegank ]; + platforms = lib.platforms.unix; + license = lib.licenses.mit; + }; + }; +in +{ + ogre_14 = common { + version = "14.0.1"; + hash = "sha256-jtUm0jy0GsxkGlFdODGodPsuSaQgiE77BORnA6SFViU="; }; - nativeBuildInputs = [ - cmake - pkg-config - unzip - ]; - - buildInputs = [ - SDL2 - boost - freeimage - freetype - libpng - ois - pugixml - zziplib - ] ++ lib.optionals stdenv.isLinux [ - freeglut - libGL - libGLU - libICE - libSM - libX11 - libXaw - libXmu - libXrandr - libXrender - libXt - libXxf86vm - xorgproto - ] ++ lib.optionals stdenv.isDarwin [ - Cocoa - ] ++ lib.optionals withNvidiaCg [ - nvidia_cg_toolkit - ]; - - cmakeFlags = [ - "-DOGRE_BUILD_COMPONENT_OVERLAY_IMGUI=FALSE" - "-DOGRE_BUILD_DEPENDENCIES=OFF" - "-DOGRE_BUILD_SAMPLES=${toString withSamples}" - ] ++ lib.optionals stdenv.isDarwin [ - "-DOGRE_BUILD_LIBS_AS_FRAMEWORKS=FALSE" - ]; - - meta = { - description = "3D Object-Oriented Graphics Rendering Engine"; - homepage = "https://www.ogre3d.org/"; - maintainers = with lib.maintainers; [ raskin wegank ]; - platforms = lib.platforms.unix; - license = lib.licenses.mit; + ogre_13 = common { + version = "13.6.5"; + hash = "sha256-8VQqePrvf/fleHijVIqWWfwOusGjVR40IIJ13o+HwaE="; }; } diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix index a5fdb5cd9a8..10bcf19a53e 100644 --- a/pkgs/games/opendungeons/default.nix +++ b/pkgs/games/opendungeons/default.nix @@ -3,7 +3,7 @@ , fetchFromGitHub , cmake , pkg-config -, ogre +, ogre_13 , cegui , boost , sfml @@ -12,7 +12,7 @@ }: let - ogre' = ogre.overrideAttrs (old: { + ogre' = ogre_13.overrideAttrs (old: { cmakeFlags = old.cmakeFlags ++ [ "-DOGRE_RESOURCEMANAGER_STRICT=0" ]; diff --git a/pkgs/games/stuntrally/default.nix b/pkgs/games/stuntrally/default.nix index af5535ec7ab..b4b2268c33e 100644 --- a/pkgs/games/stuntrally/default.nix +++ b/pkgs/games/stuntrally/default.nix @@ -3,7 +3,7 @@ , stdenv , cmake , boost -, ogre +, ogre_13 , mygui , ois , SDL2 @@ -19,7 +19,7 @@ }: let - stuntrally_ogre = ogre.overrideAttrs (old: { + stuntrally_ogre = ogre_13.overrideAttrs (old: { cmakeFlags = old.cmakeFlags ++ [ "-DOGRE_NODELESS_POSITIONING=ON" "-DOGRE_RESOURCEMANAGER_STRICT=0" @@ -27,7 +27,7 @@ let }); stuntrally_mygui = mygui.override { withOgre = true; - inherit ogre; + ogre = stuntrally_ogre; }; in diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 41f98db8e01..5ec481322af 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23903,9 +23903,10 @@ with pkgs; ode = callPackage ../development/libraries/ode { }; - ogre = callPackage ../development/libraries/ogre { - inherit (darwin.apple_sdk.frameworks) Cocoa; - }; + inherit (callPackages ../development/libraries/ogre { }) + ogre_13 ogre_14; + + ogre = ogre_14; olm = callPackage ../development/libraries/olm { }; From 8c028ce6ff47689f444f77fc66baf8a898021381 Mon Sep 17 00:00:00 2001 From: Red Star Over Earth Date: Mon, 31 Jul 2023 16:50:22 +0800 Subject: [PATCH 08/27] maintainers: add rs0vere --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f76eba52da2..9298786f636 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14489,6 +14489,15 @@ }]; name = "Rahul Butani"; }; + rs0vere = { + email = "rs0vere@outlook.com"; + github = "rs0vere"; + githubId = 140035635; + keys = [{ + fingerprint = "C6D8 B5C2 FA79 901B DCCF 95E1 FEC4 5C5A ED00 C58D"; + }]; + name = "Red Star Over Earth"; + }; rski = { name = "rski"; email = "rom.skiad+nix@gmail.com"; From b4395db6756b2872fadbd8060d35a8a2e1f23f5b Mon Sep 17 00:00:00 2001 From: Red Star Over Earth Date: Mon, 31 Jul 2023 17:03:00 +0800 Subject: [PATCH 09/27] hmcl: init at 3.5.5 --- pkgs/games/hmcl/default.nix | 97 +++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 99 insertions(+) create mode 100644 pkgs/games/hmcl/default.nix diff --git a/pkgs/games/hmcl/default.nix b/pkgs/games/hmcl/default.nix new file mode 100644 index 00000000000..f6ded13dc0f --- /dev/null +++ b/pkgs/games/hmcl/default.nix @@ -0,0 +1,97 @@ +{ lib +, stdenv +, fetchurl +, makeBinaryWrapper +, makeDesktopItem +, wrapGAppsHook +, copyDesktopItems +, imagemagick +, jre +, xorg +, libGL +, glfw +, openal +, libglvnd +, alsa-lib +, wayland +, libpulseaudio +}: + +let + version = "3.5.5"; + icon = fetchurl { + url = "https://github.com/huanghongxun/HMCL/raw/release-${version}/HMCLauncher/HMCL/HMCL.ico"; + hash = "sha256-MWp78rP4b39Scz5/gpsjwaJhSu+K9q3S2B2cD/V31MA="; + }; +in +stdenv.mkDerivation (finalAttrs: { + pname = "hmcl"; + inherit version; + + src = fetchurl { + url = "https://github.com/huanghongxun/HMCL/releases/download/release-${version}/HMCL-${version}.jar"; + hash = "sha256-bXZF38pd8I8cReuDNrZzDj1hp1Crk+P26JNiikUCg4g="; + }; + + dontUnpack = true; + + dontWrapGApps = true; + + desktopItems = [ + (makeDesktopItem { + name = "HMCL"; + exec = "hmcl"; + icon = "hmcl"; + comment = finalAttrs.meta.description; + desktopName = "HMCL"; + categories = [ "Game" ]; + }) + ]; + + nativeBuildInputs = [ + makeBinaryWrapper + wrapGAppsHook + copyDesktopItems + imagemagick + ]; + + installPhase = + let + libpath = lib.makeLibraryPath ([ + libGL + glfw + openal + libglvnd + ] ++ lib.optionals stdenv.isLinux [ + xorg.libX11 + xorg.libXxf86vm + xorg.libXext + xorg.libXcursor + xorg.libXrandr + xorg.libXtst + libpulseaudio + wayland + alsa-lib + ]); + in + '' + runHook preInstall + mkdir -p $out/{bin,lib/hmcl} + cp $src $out/lib/hmcl/hmcl.jar + magick ${icon} hmcl.png + install -Dm644 hmcl.png $out/share/icons/hicolor/32x32/apps/hmcl.png + makeBinaryWrapper ${jre}/bin/java $out/bin/hmcl \ + --add-flags "-jar $out/lib/hmcl/hmcl.jar" \ + --set LD_LIBRARY_PATH ${libpath} + runHook postInstall + ''; + + meta = with lib; { + homepage = "https://hmcl.huangyuhui.net"; + description = "A Minecraft Launcher which is multi-functional, cross-platform and popular"; + sourceProvenance = with sourceTypes; [ binaryBytecode ]; + license = licenses.gpl3Only; + maintainers = with maintainers; [ rs0vere ]; + inherit (jre.meta) platforms; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 877a88a0ff1..78b2ea332d6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37407,6 +37407,8 @@ with pkgs; hikounomizu = callPackage ../games/hikounomizu { }; + hmcl = callPackage ../games/hmcl { }; + hyperrogue = callPackage ../games/hyperrogue { }; ibmcloud-cli = callPackage ../tools/admin/ibmcloud-cli { stdenv = stdenvNoCC; }; From f66a17427221bbbb76bdd5ef8011030341c4a457 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Mon, 31 Jul 2023 11:52:29 +0200 Subject: [PATCH 10/27] texstudio: 4.5.2 -> 4.6.2 https://texstudio-org.github.io/CHANGELOG.html#texstudio-4-6-2 https://texstudio-org.github.io/CHANGELOG.html#texstudio-4-6-1 https://texstudio-org.github.io/CHANGELOG.html#texstudio-4-6-0 --- pkgs/applications/editors/texstudio/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix index 35b06fde1f2..bdb96271ef6 100644 --- a/pkgs/applications/editors/texstudio/default.nix +++ b/pkgs/applications/editors/texstudio/default.nix @@ -3,13 +3,13 @@ mkDerivation rec { pname = "texstudio"; - version = "4.5.2"; + version = "4.6.2"; src = fetchFromGitHub { owner = "${pname}-org"; repo = pname; rev = version; - hash = "sha256-L+q4+k4XWywnxIvhfXPCBeCqnGj4E9BhAmgcAZhm7S8="; + hash = "sha256-2bvKB/8HcZoTk2J6FQXXJREqGp6EZ95C2Aqcx9o/eho="; }; nativeBuildInputs = [ cmake wrapQtAppsHook pkg-config ]; From 07347b5352cd1ba9f80930690638980600a503ee Mon Sep 17 00:00:00 2001 From: ajs124 Date: Mon, 31 Jul 2023 11:54:40 +0200 Subject: [PATCH 11/27] texstudio: qt5 -> qt6 --- .../editors/texstudio/default.nix | 32 +++++++++++++------ pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix index bdb96271ef6..97f51014d0b 100644 --- a/pkgs/applications/editors/texstudio/default.nix +++ b/pkgs/applications/editors/texstudio/default.nix @@ -1,19 +1,33 @@ -{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtscript, qtsvg, - wrapQtAppsHook, poppler, zlib, pkg-config }: +{ stdenv, lib, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qt5compat, quazip +, hunspell +, wrapQtAppsHook, poppler, zlib, pkg-config }: -mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "texstudio"; version = "4.6.2"; src = fetchFromGitHub { - owner = "${pname}-org"; - repo = pname; - rev = version; + owner = "texstudio-org"; + repo = "texstudio"; + rev = finalAttrs.version; hash = "sha256-2bvKB/8HcZoTk2J6FQXXJREqGp6EZ95C2Aqcx9o/eho="; }; - nativeBuildInputs = [ cmake wrapQtAppsHook pkg-config ]; - buildInputs = [ qtbase qtscript qtsvg poppler zlib ]; + nativeBuildInputs = [ + cmake + wrapQtAppsHook + pkg-config + ]; + buildInputs = [ + hunspell + poppler + qt5compat + qtbase + qtsvg + qttools + quazip + zlib + ]; meta = with lib; { description = "TeX and LaTeX editor"; @@ -28,4 +42,4 @@ mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ ajs124 cfouche ]; }; -} +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ac157d4ba3..e10a1589dd8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13465,7 +13465,7 @@ with pkgs; texmaker = libsForQt5.callPackage ../applications/editors/texmaker { }; - texstudio = libsForQt5.callPackage ../applications/editors/texstudio { }; + texstudio = qt6Packages.callPackage ../applications/editors/texstudio { }; textadept = callPackage ../applications/editors/textadept { }; From 72d4cb47279ab49c6de2121f6c7a4fd7999e6d5b Mon Sep 17 00:00:00 2001 From: kilianar Date: Mon, 31 Jul 2023 13:19:44 +0200 Subject: [PATCH 12/27] hugo: 0.115.4 -> 0.116.0 https://github.com/gohugoio/hugo/releases/tag/v0.116.0 --- pkgs/applications/misc/hugo/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix index 81861a4673b..f1a8c150b05 100644 --- a/pkgs/applications/misc/hugo/default.nix +++ b/pkgs/applications/misc/hugo/default.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "hugo"; - version = "0.115.4"; + version = "0.116.0"; src = fetchFromGitHub { owner = "gohugoio"; repo = pname; rev = "v${version}"; - hash = "sha256-//WWdU6vKgc+X4R3/GClABbsAp+ZBnG3xsVh4YozPFg="; + hash = "sha256-Q5aSpKBgPa2EBEI9qJAw/WRM9LjHa2rdsThMFRV2/F8="; }; - vendorHash = "sha256-BmMrdPr3sQI0Pw32iIIVmWy2qLlR7SHyKu7+PLplxkE="; + vendorHash = "sha256-ScAjE+va/5K/9sYt05X1GmTJp8AUopMukWN/WlPG1sg="; doCheck = false; From 86a31e1efa4418d18c0a7c1c7936b5b7511b493d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Mon, 31 Jul 2023 12:20:48 +0100 Subject: [PATCH 13/27] init tesh at 0.3.0: TEstable SHell sessions in Markdown --- pkgs/tools/text/tesh/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/text/tesh/default.nix diff --git a/pkgs/tools/text/tesh/default.nix b/pkgs/tools/text/tesh/default.nix new file mode 100644 index 00000000000..7961b120d21 --- /dev/null +++ b/pkgs/tools/text/tesh/default.nix @@ -0,0 +1,26 @@ +{ python3Packages, fetchFromGitHub }: + +let + version = "0.3.0"; +in python3Packages.buildPythonPackage rec { + pname = "tesh"; + inherit version; + + format = "pyproject"; + + src = fetchFromGitHub { + owner = "OceanSprint"; + repo = "tesh"; + rev = version; + sha256 = "sha256-/CSYz2YXbjKZszb1HMOCS+srVJ+TcFSeLeuz9VvtlI4="; + }; + + prePatch = '' + substituteInPlace pyproject.toml \ + --replace "poetry.masonry" "poetry.core.masonry" + ''; + + checkInputs = [ python3Packages.pytest ]; + nativeBuildInputs = [ python3Packages.poetry-core ]; + propagatedBuildInputs = with python3Packages; [ click pexpect ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb552ca749e..c191f45e698 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19982,6 +19982,8 @@ with pkgs; terrascan = callPackage ../tools/security/terrascan { }; + tesh = callPackage ../tools/text/tesh {}; + texinfo413 = callPackage ../development/tools/misc/texinfo/4.13a.nix { }; texinfo4 = texinfo413; texinfo5 = callPackage ../development/tools/misc/texinfo/5.2.nix { }; From 24e2bb4e8c09ff245162860f0201a1e1a3f68dc0 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 29 Jul 2023 12:48:02 +0200 Subject: [PATCH 14/27] amdgpu_top: 0.1.9 -> 0.1.11 Diff: https://github.com/Umio-Yasuno/amdgpu_top/compare/v0.1.9...v0.1.11 Changelog: https://github.com/Umio-Yasuno/amdgpu_top/releases --- pkgs/tools/system/amdgpu_top/Cargo.lock | 242 +++++++++++++++++------ pkgs/tools/system/amdgpu_top/default.nix | 9 +- 2 files changed, 187 insertions(+), 64 deletions(-) diff --git a/pkgs/tools/system/amdgpu_top/Cargo.lock b/pkgs/tools/system/amdgpu_top/Cargo.lock index 3b0788defce..4cdf0831010 100644 --- a/pkgs/tools/system/amdgpu_top/Cargo.lock +++ b/pkgs/tools/system/amdgpu_top/Cargo.lock @@ -18,6 +18,16 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c71b1793ee61086797f5c80b6efa2b8ffa6d5dd703f118545808a7f2e27f7046" +[[package]] +name = "accesskit" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02c98a5d094590335462354da402d754fe2cb78f0e6ce5024611c28ed539c1de" +dependencies = [ + "enumn", + "serde", +] + [[package]] name = "adler" version = "1.0.2" @@ -33,12 +43,13 @@ dependencies = [ "cfg-if", "getrandom", "once_cell", + "serde", "version_check", ] [[package]] name = "amdgpu_top" -version = "0.1.9" +version = "0.1.11" dependencies = [ "amdgpu_top_gui", "amdgpu_top_json", @@ -142,6 +153,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "base64" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" + [[package]] name = "bitflags" version = "1.3.2" @@ -199,6 +216,12 @@ dependencies = [ "syn 2.0.15", ] +[[package]] +name = "byteorder" +version = "1.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" + [[package]] name = "bytes" version = "1.4.0" @@ -265,6 +288,43 @@ dependencies = [ "winapi", ] +[[package]] +name = "cocoa" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f425db7937052c684daec3bd6375c8abe2d146dca4b8b143d6db777c39138f3a" +dependencies = [ + "bitflags", + "block", + "cocoa-foundation", + "core-foundation", + "core-graphics", + "foreign-types", + "libc", + "objc", +] + +[[package]] +name = "cocoa-foundation" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "931d3837c286f56e3c58423ce4eba12d08db2374461a785c86f672b08b5650d6" +dependencies = [ + "bitflags", + "block", + "core-foundation", + "core-graphics-types", + "foreign-types", + "libc", + "objc", +] + +[[package]] +name = "color_quant" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" + [[package]] name = "combine" version = "4.6.6" @@ -442,6 +502,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "directories-next" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" +dependencies = [ + "cfg-if", + "dirs-sys-next", +] + [[package]] name = "dirs" version = "4.0.0" @@ -462,6 +532,17 @@ dependencies = [ "winapi", ] +[[package]] +name = "dirs-sys-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" +dependencies = [ + "libc", + "redox_users", + "winapi", +] + [[package]] name = "dispatch" version = "0.2.0" @@ -485,87 +566,100 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "ecolor" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f99fe3cac305af9d6d92971af60d0f7ea4d783201ef1673571567b6699964d9" +checksum = "2e479a7fa3f23d4e794f8b2f8b3568dd4e47886ad1b12c9c095e141cb591eb63" dependencies = [ "bytemuck", + "serde", ] [[package]] name = "eframe" -version = "0.21.3" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df3ce60931e5f2d83bab4484d1a283908534d5308cc6b0c5c22c59cd15ee7cc" +checksum = "bf4596583a2c680c55b6feaa748f74890c4f9cb9c7cb69d6117110444cb65b2f" dependencies = [ "bytemuck", + "cocoa", + "directories-next", "egui", "egui-winit", "egui_glow", "glow", "glutin", "glutin-winit", + "image", "js-sys", + "log", + "objc", "percent-encoding", "raw-window-handle", + "ron", + "serde", "thiserror", - "tracing", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", + "winapi", "winit", ] [[package]] name = "egui" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6412a21e0bde7c0918f7fb44bbbb86b5e1f88e63c026a4e747cc7af02f76dfbe" +checksum = "a3aef8ec3ae1b772f340170c65bf27d5b8c28f543a0116c844d2ac08d01123e7" dependencies = [ + "accesskit", "ahash", "epaint", + "log", "nohash-hasher", - "tracing", + "ron", + "serde", ] [[package]] name = "egui-winit" -version = "0.21.1" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab43597ba41f0ce39a364ad83185594578bfd8b3409b99dbcbb01df23afc3dbb" +checksum = "4a49155fd4a0a4fb21224407a91de0030847972ef90fc64edb63621caea61cb2" dependencies = [ - "android-activity", "arboard", "egui", "instant", + "log", + "raw-window-handle", + "serde", "smithay-clipboard", - "tracing", "webbrowser", "winit", ] [[package]] name = "egui_glow" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8257332fb168a965b3dca81d6a344e053153773c889cabdba0b3b76f1629ae81" +checksum = "1f8c2752cdf1b0ef5fcda59a898cacabad974d4f5880e92a420b2c917022da64" dependencies = [ "bytemuck", "egui", "glow", + "log", "memoffset", - "tracing", "wasm-bindgen", "web-sys", ] [[package]] name = "emath" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8ecd80612937e0267909d5351770fe150004e24dab93954f69ca62eecd3f77e" +checksum = "3857d743a6e0741cdd60b622a74c7a36ea75f5f8f11b793b41d905d2c9721a4b" dependencies = [ "bytemuck", + "serde", ] [[package]] @@ -588,6 +682,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "enumn" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48016319042fb7c87b78d2993084a831793a897a5cd1a2a67cab9d1eeb4b7d76" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.15", +] + [[package]] name = "enumset" version = "1.0.12" @@ -611,9 +716,9 @@ dependencies = [ [[package]] name = "epaint" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12e78b5c58a1f7f621f9d546add2adce20636422c9b251e29f749e8a2f713c95" +checksum = "09333964d4d57f40a85338ba3ca5ed4716070ab184dcfed966b35491c5c64f3b" dependencies = [ "ab_glyph", "ahash", @@ -621,8 +726,10 @@ dependencies = [ "bytemuck", "ecolor", "emath", + "log", "nohash-hasher", "parking_lot", + "serde", ] [[package]] @@ -814,6 +921,20 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "image" +version = "0.24.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527909aa81e20ac3a44803521443a765550f09b5130c2c2fa1ea59c2f8f50a3a" +dependencies = [ + "bytemuck", + "byteorder", + "color_quant", + "num-rational", + "num-traits", + "png", +] + [[package]] name = "indexmap" version = "1.9.3" @@ -896,7 +1017,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libamdgpu_top" -version = "0.1.9" +version = "0.1.10" dependencies = [ "anyhow", "libdrm_amdgpu_sys", @@ -910,9 +1031,9 @@ checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" [[package]] name = "libdrm_amdgpu_sys" -version = "0.1.4" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbba2720dc87ad23aaa9bbfb7f8cc25a826edfbe0fcfbb99fec1774ad1fb81a0" +checksum = "8e6441089848c428085639f12ef420bcae8ac6650f4cf1d7f9215611a34176bb" dependencies = [ "libc", ] @@ -1299,12 +1420,6 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - [[package]] name = "pkg-config" version = "0.3.26" @@ -1387,6 +1502,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ron" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "300a51053b1cb55c80b7a9fde4120726ddf25ca241a1cbb926626f62fb136bff" +dependencies = [ + "base64", + "bitflags", + "serde", +] + [[package]] name = "ryu" version = "1.0.13" @@ -1432,6 +1558,20 @@ name = "serde" version = "1.0.159" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c04e8343c3daeec41f58990b9d77068df31209f2af111e059e9fe9646693065" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.159" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c614d17805b093df4b147b51339e7e44bf05ef59fba1e45d83500bcfb4d8585" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.15", +] [[package]] name = "serde_json" @@ -1670,26 +1810,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if", - "pin-project-lite", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a" -dependencies = [ - "once_cell", -] - [[package]] name = "ttf-parser" version = "0.18.1" @@ -1770,9 +1890,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.84" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b" +checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -1780,16 +1900,16 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.84" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9" +checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.15", "wasm-bindgen-shared", ] @@ -1807,9 +1927,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.84" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5" +checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1817,22 +1937,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.84" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6" +checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.15", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.84" +version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d" +checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wayland-client" diff --git a/pkgs/tools/system/amdgpu_top/default.nix b/pkgs/tools/system/amdgpu_top/default.nix index f6397fa28ce..b8f753bc5a4 100644 --- a/pkgs/tools/system/amdgpu_top/default.nix +++ b/pkgs/tools/system/amdgpu_top/default.nix @@ -14,16 +14,18 @@ rustPlatform.buildRustPackage rec { pname = "amdgpu_top"; - version = "0.1.9"; + version = "0.1.11"; src = fetchFromGitHub { owner = "Umio-Yasuno"; repo = pname; rev = "v${version}"; - hash = "sha256-RR+YK8LyrPz7Pfv8moSOPei+56088lhoz8HxoB6+0B8="; + hash = "sha256-jeKwvecB67U+TACr4uXGjRWvRG3GUleiqyu5MYlFwq0="; }; - cargoLock.lockFile = ./Cargo.lock; + cargoLock = { + lockFile = ./Cargo.lock; + }; buildInputs = [ libdrm @@ -51,5 +53,6 @@ rustPlatform.buildRustPackage rec { changelog = "https://github.com/Umio-Yasuno/amdgpu_top/releases"; license = licenses.mit; maintainers = with maintainers; [ geri1701 ]; + platforms = platforms.linux; }; } From 403f35e92ff9bd82be6f23b82dcbeccb6e8f14d9 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 31 Jul 2023 10:25:54 +0200 Subject: [PATCH 15/27] proxysql: use `finalAttrs` pattern --- pkgs/servers/sql/proxysql/default.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/sql/proxysql/default.nix b/pkgs/servers/sql/proxysql/default.nix index 8a725ccfe1a..c489e181cb3 100644 --- a/pkgs/servers/sql/proxysql/default.nix +++ b/pkgs/servers/sql/proxysql/default.nix @@ -31,14 +31,14 @@ , texinfo }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "proxysql"; version = "2.5.4"; src = fetchFromGitHub { owner = "sysown"; - repo = pname; - rev = version; + repo = "proxysql"; + rev = finalAttrs.version; hash = "sha256-HFhfAWyDB20t+c4s9NlVwdANrFobVyr+vnmZqx+X20Q="; }; @@ -69,7 +69,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - GIT_VERSION = version; + GIT_VERSION = finalAttrs.version; dontConfigure = true; @@ -165,12 +165,12 @@ stdenv.mkDerivation rec { sed -i s_/usr/bin/proxysql_$out/bin/proxysql_ $out/lib/systemd/system/*.service ''; - meta = with lib; { - homepage = "https://proxysql.com/"; + meta = { broken = stdenv.isDarwin; description = "High-performance MySQL proxy"; - license = with licenses; [ gpl3Only ]; - maintainers = with maintainers; [ ajs124 ]; - platforms = platforms.unix; + homepage = "https://proxysql.com/"; + license = with lib.licenses; [ gpl3Only ]; + maintainers = with lib.maintainers; [ ajs124 ]; + platforms = lib.platforms.unix; }; -} +}) From 819bb53c2c49065ece6bfc4eb5d97eff08f0eda4 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 31 Jul 2023 15:31:40 +0200 Subject: [PATCH 16/27] nvc: 1.10.0 -> 1.10.1 --- pkgs/applications/science/electronics/nvc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/science/electronics/nvc/default.nix b/pkgs/applications/science/electronics/nvc/default.nix index 1e2620e39c4..15157b11f29 100644 --- a/pkgs/applications/science/electronics/nvc/default.nix +++ b/pkgs/applications/science/electronics/nvc/default.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation rec { pname = "nvc"; - version = "1.10.0"; + version = "1.10.1"; src = fetchFromGitHub { owner = "nickg"; repo = "nvc"; rev = "r${version}"; - hash = "sha256-WwO46x6McV18ebGFjXQ8fvqRh6ih1Wt5JTbfTxVWTi0="; + hash = "sha256-7Kw9irZltNE8VRnIvVX786/u0QQtmRhV8pzpba0h1JY="; }; nativeBuildInputs = [ From 07c88c96579b2e51fa4055256ad5b7d149e3523e Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 31 Jul 2023 15:39:11 +0200 Subject: [PATCH 17/27] python310Packages.pyvista: 0.40.1 -> 0.41.1 --- pkgs/development/python-modules/pyvista/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyvista/default.nix b/pkgs/development/python-modules/pyvista/default.nix index 000418a340c..e63038b54c0 100644 --- a/pkgs/development/python-modules/pyvista/default.nix +++ b/pkgs/development/python-modules/pyvista/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pyvista"; - version = "0.40.1"; + version = "0.41.1"; format = "setuptools"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-nGLguMbenfKONcY1W5S+BZ6zHmnW/Sivs2/NpDqrEck="; + hash = "sha256-vFxEMKEkiFOBrkvmaJPwoo+lOe6V9AmPxl32Tocy9p8="; }; propagatedBuildInputs = [ From 70bd808e818e26175b4b82635e0ebaf523be3652 Mon Sep 17 00:00:00 2001 From: Kerstin Date: Mon, 31 Jul 2023 15:58:39 +0200 Subject: [PATCH 18/27] mastodon: 4.1.5 -> 4.1.6 (#246348) --- pkgs/servers/mastodon/source.nix | 4 ++-- pkgs/servers/mastodon/version.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/mastodon/source.nix b/pkgs/servers/mastodon/source.nix index 0d0656c3a39..4456dff25bb 100644 --- a/pkgs/servers/mastodon/source.nix +++ b/pkgs/servers/mastodon/source.nix @@ -3,8 +3,8 @@ src = fetchFromGitHub { owner = "mastodon"; repo = "mastodon"; - rev = "v4.1.5"; - hash = "sha256-1bWrKcw+EQyu7WBujR5sptiUOjbhJvIM76h9jcX24jw="; + rev = "v4.1.6"; + hash = "sha256-UjTN9vEuZX9tDeHnW41TEZtnchNu2IOleHPisrv18Qk="; }; in applyPatches { inherit src; diff --git a/pkgs/servers/mastodon/version.nix b/pkgs/servers/mastodon/version.nix index 6240cd822c7..9b1e0114f7e 100644 --- a/pkgs/servers/mastodon/version.nix +++ b/pkgs/servers/mastodon/version.nix @@ -1 +1 @@ -"4.1.5" +"4.1.6" From 9d78971007802fc8c4a30cb9e64645b624a6e4ab Mon Sep 17 00:00:00 2001 From: digital <132694082+digtail@users.noreply.github.com> Date: Mon, 31 Jul 2023 16:08:56 +0200 Subject: [PATCH 19/27] nixos/boot/initrd-network: add option to enable udhcpc (#240406) In some setups, and especially with sytemd-networkd becoming more widely used, networking.useDHCP is set to false. Despite this, it may be useful to have dhcp in the initramfs. --- .../manual/release-notes/rl-2311.section.md | 2 ++ nixos/modules/system/boot/initrd-network.nix | 21 ++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index 305d534b257..616e45918d9 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -150,6 +150,8 @@ The module update takes care of the new config syntax and the data itself (user - `wrapHelm` now exposes `passthru.pluginsDir` which can be passed to `helmfile`. For convenience, a top-level package `helmfile-wrapped` has been added, which inherits `passthru.pluginsDir` from `kubernetes-helm-wrapped`. See [#217768](https://github.com/NixOS/nixpkgs/issues/217768) for details. +- `boot.initrd.network.udhcp.enable` allows control over dhcp during stage 1 regardless of what `networking.useDHCP` is set to. + ## Nixpkgs internals {#sec-release-23.11-nixpkgs-internals} - The `qemu-vm.nix` module by default now identifies block devices via diff --git a/nixos/modules/system/boot/initrd-network.nix b/nixos/modules/system/boot/initrd-network.nix index e8bbf1d0403..1d95742face 100644 --- a/nixos/modules/system/boot/initrd-network.nix +++ b/nixos/modules/system/boot/initrd-network.nix @@ -7,8 +7,8 @@ let cfg = config.boot.initrd.network; dhcpInterfaces = lib.attrNames (lib.filterAttrs (iface: v: v.useDHCP == true) (config.networking.interfaces or {})); - doDhcp = config.networking.useDHCP || dhcpInterfaces != []; - dhcpIfShellExpr = if config.networking.useDHCP + doDhcp = cfg.udhcpc.enable || dhcpInterfaces != []; + dhcpIfShellExpr = if config.networking.useDHCP || cfg.udhcpc.enable then "$(ls /sys/class/net/ | grep -v ^lo$)" else lib.concatMapStringsSep " " lib.escapeShellArg dhcpInterfaces; @@ -79,13 +79,24 @@ in ''; }; + boot.initrd.network.udhcpc.enable = mkOption { + default = config.networking.useDHCP; + defaultText = "networking.useDHCP"; + type = types.bool; + description = lib.mdDoc '' + Enables the udhcpc service during stage 1 of the boot process. This + defaults to {option}`networking.useDHCP`. Therefore, this useful if + useDHCP is off but the initramfs should do dhcp. + ''; + }; + boot.initrd.network.udhcpc.extraArgs = mkOption { default = []; type = types.listOf types.str; description = lib.mdDoc '' - Additional command-line arguments passed verbatim to udhcpc if - {option}`boot.initrd.network.enable` and {option}`networking.useDHCP` - are enabled. + Additional command-line arguments passed verbatim to + udhcpc if {option}`boot.initrd.network.enable` and + {option}`boot.initrd.network.udhcpc.enable` are enabled. ''; }; From 6dfbb7c89f716038a2567d6eb6f7f86e52cc876f Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 31 Jul 2023 16:13:23 +0200 Subject: [PATCH 20/27] ocamlPackages.ptime: use `finalAttrs` pattern --- .../ocaml-modules/ptime/default.nix | 35 ++++++++++++------- pkgs/top-level/ocaml-packages.nix | 5 ++- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/pkgs/development/ocaml-modules/ptime/default.nix b/pkgs/development/ocaml-modules/ptime/default.nix index d5e6264b1f1..9c1914b0f32 100644 --- a/pkgs/development/ocaml-modules/ptime/default.nix +++ b/pkgs/development/ocaml-modules/ptime/default.nix @@ -1,28 +1,40 @@ -{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg +{ stdenv +, lib +, fetchurl +, ocaml +, findlib +, ocamlbuild +, topkg }: -lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08") - "ptime is not available for OCaml ${ocaml.version}" - -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { version = "1.1.0"; pname = "ocaml${ocaml.version}-ptime"; src = fetchurl { - url = "https://erratique.ch/software/ptime/releases/ptime-${version}.tbz"; - sha256 = "sha256-y/WxVFT7JxBeLDNAI+HhHY+TnXF4hw9cvo7SbfcBPrE="; + url = "https://erratique.ch/software/ptime/releases/ptime-${finalAttrs.version}.tbz"; + hash = "sha256-y/WxVFT7JxBeLDNAI+HhHY+TnXF4hw9cvo7SbfcBPrE="; }; - nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; - buildInputs = [ topkg ]; + nativeBuildInputs = [ + findlib + ocaml + ocamlbuild + topkg + ]; + + buildInputs = [ + topkg + ]; strictDeps = true; inherit (topkg) buildPhase installPhase; meta = { - homepage = "https://erratique.ch/software/ptime"; description = "POSIX time for OCaml"; + homepage = "https://erratique.ch/software/ptime"; + license = lib.licenses.isc; longDescription = '' Ptime has platform independent POSIX time support in pure OCaml. It provides a type to represent a well-defined range of POSIX timestamps @@ -35,7 +47,6 @@ stdenv.mkDerivation rec { Ptime is not a calendar library. ''; - license = lib.licenses.isc; maintainers = with lib.maintainers; [ sternenseemann ]; }; -} +}) diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 85c79981cc0..02e659de3a9 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1433,7 +1433,10 @@ let psq = callPackage ../development/ocaml-modules/psq { }; - ptime = callPackage ../development/ocaml-modules/ptime { }; + ptime = + if lib.versionAtLeast ocaml.version "4.08" + then callPackage ../development/ocaml-modules/ptime { } + else null; ptmap = callPackage ../development/ocaml-modules/ptmap { }; From 9ea70cf76f37f31c63626ef47bdf5e3727633184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Sat, 29 Jul 2023 22:21:52 +0200 Subject: [PATCH 21/27] backintime-common: add missing dependency 'packaging' Fixes this fatal startup error: $ nix-build -A backintime-common && ./result/bin/backintime [...] ModuleNotFoundError: No module named 'packaging' Fixes https://github.com/NixOS/nixpkgs/issues/241966. --- pkgs/applications/networking/sync/backintime/common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/sync/backintime/common.nix b/pkgs/applications/networking/sync/backintime/common.nix index 71eece9e3ba..05971627703 100644 --- a/pkgs/applications/networking/sync/backintime/common.nix +++ b/pkgs/applications/networking/sync/backintime/common.nix @@ -2,7 +2,7 @@ python3, rsync, cron, openssh, sshfs-fuse, encfs }: let - python' = python3.withPackages (ps: with ps; [ dbus-python keyring ]); + python' = python3.withPackages (ps: with ps; [ dbus-python keyring packaging ]); apps = lib.makeBinPath [ openssh python' cron rsync sshfs-fuse encfs ]; in stdenv.mkDerivation rec { From 9520bdd08839adb23d5750fb659871273e197038 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Mon, 31 Jul 2023 16:38:55 +0200 Subject: [PATCH 22/27] code-server: 4.15.0 -> 4.16.0 --- pkgs/servers/code-server/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/code-server/default.nix b/pkgs/servers/code-server/default.nix index 03667318804..54aca01c1a4 100644 --- a/pkgs/servers/code-server/default.nix +++ b/pkgs/servers/code-server/default.nix @@ -71,18 +71,18 @@ let # To compute the commit when upgrading this derivation, do: # `$ git rev-parse ` where is the git revision of the `src` # Example: `$ git rev-parse v4.14.1` - commit = "5c511237970f4be0f1e5785feaa254da951bc367"; + commit = "e37b35278d4b529fd774469c3e1807ec8f4d1eb0"; in stdenv.mkDerivation (finalAttrs: { pname = "code-server"; - version = "4.15.0"; + version = "4.16.0"; src = fetchFromGitHub { owner = "coder"; repo = "code-server"; rev = "v${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-2/zIfeCROPrlwHuKk0ySPMLdI504aNLNZge+XUSrZB8="; + hash = "sha256-oGtYrCW9ZweWEkx7uQkQCQx53QoyV5Y3BMsvApGiY9Y="; }; yarnCache = stdenv.mkDerivation { From daa869b53b560ca9a0acfb9c6f26924466a15cdb Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 31 Jul 2023 16:52:04 +0200 Subject: [PATCH 23/27] tracker: fix cross using mesonEmulatorHook --- pkgs/development/libraries/tracker/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/tracker/default.nix b/pkgs/development/libraries/tracker/default.nix index 25049440c6c..ce54681799b 100644 --- a/pkgs/development/libraries/tracker/default.nix +++ b/pkgs/development/libraries/tracker/default.nix @@ -4,6 +4,7 @@ , fetchpatch , gettext , meson +, mesonEmulatorHook , ninja , pkg-config , asciidoc @@ -71,6 +72,8 @@ stdenv.mkDerivation rec { ] ++ lib.optionals withIntrospection [ gobject-introspection vala + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ + mesonEmulatorHook ]; buildInputs = [ From 022d53ede9c920f28e97e83794798e2dfa9c49dc Mon Sep 17 00:00:00 2001 From: happysalada Date: Mon, 31 Jul 2023 11:30:04 +0800 Subject: [PATCH 24/27] python310Packages.ttstokenizer: init at 1.0.0 --- .../python-modules/ttstokenizer/default.nix | 38 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/python-modules/ttstokenizer/default.nix diff --git a/pkgs/development/python-modules/ttstokenizer/default.nix b/pkgs/development/python-modules/ttstokenizer/default.nix new file mode 100644 index 00000000000..554e0341fb1 --- /dev/null +++ b/pkgs/development/python-modules/ttstokenizer/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchPypi +, anyascii +, inflect +, nltk +, numpy +}: + +buildPythonPackage rec { + pname = "ttstokenizer"; + version = "1.0.0"; + format = "setuptools"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-HtDXDKlZ3jpwIgb5DvaqurEkRe8TRJ2xqKl2IKElnKU="; + }; + + propagatedBuildInputs = [ + anyascii + inflect + nltk + numpy + ]; + + pythonImportsCheck = [ "ttstokenizer" ]; + + # no tests + doCheck = false; + + meta = with lib; { + description = "Tokenizer for Text to Speech (TTS) models"; + homepage = "https://pypi.org/project/ttstokenizer"; + license = with licenses; [ asl20 ]; + maintainers = with maintainers; [ happysalada ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4f3f91bd250..5c498ff9519 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12863,6 +12863,8 @@ self: super: with self; { ttp-templates = callPackage ../development/python-modules/ttp-templates { }; + ttstokenizer = callPackage ../development/python-modules/ttstokenizer { }; + tubes = callPackage ../development/python-modules/tubes { }; tunigo = callPackage ../development/python-modules/tunigo { }; From 21ad1050bf67f6a31acc38d41b7999e1a0bd0ca0 Mon Sep 17 00:00:00 2001 From: Sandro Date: Mon, 31 Jul 2023 17:27:23 +0200 Subject: [PATCH 25/27] gopls: 0.12.4 -> 0.13.0 (#246366) Diff: https://github.com/golang/tools/compare/gopls/v0.12.4...gopls%2Fv0.13.0 --- pkgs/development/tools/language-servers/gopls/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/language-servers/gopls/default.nix b/pkgs/development/tools/language-servers/gopls/default.nix index 987a1d13dc9..1edeabcef66 100644 --- a/pkgs/development/tools/language-servers/gopls/default.nix +++ b/pkgs/development/tools/language-servers/gopls/default.nix @@ -2,17 +2,17 @@ buildGoModule rec { pname = "gopls"; - version = "0.12.4"; + version = "0.13.0"; src = fetchFromGitHub { owner = "golang"; repo = "tools"; rev = "gopls/v${version}"; - sha256 = "sha256-OieIbWgc5l7HS6otkRxsKYQmNIjPbADQ+C3A6qJr2h0="; + sha256 = "sha256-E/QX3J/ux7GAG93b1K7OdDjYBAzte2HMa6bfALtXgcU="; }; modRoot = "gopls"; - vendorSha256 = "sha256-0Svz0VFmNW/f8Po+DpIQi0bJB1ICLcSJM1sG/Nju+ZY="; + vendorSha256 = "sha256-e83y8bu0xKGEg7o2BWt4CzM2YosLDefFRgTfA0f3ZmI="; doCheck = false; From 0ccd0c3c3e31e72592dc46e371ec77690795da78 Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 31 Jul 2023 18:29:50 +0300 Subject: [PATCH 26/27] spectacle: backport a patch to fix region capture preview being misaligned --- pkgs/applications/kde/spectacle.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/kde/spectacle.nix b/pkgs/applications/kde/spectacle.nix index 93e3f856398..7e9c80cd64a 100644 --- a/pkgs/applications/kde/spectacle.nix +++ b/pkgs/applications/kde/spectacle.nix @@ -5,11 +5,21 @@ , knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi , qtx11extras, knewstuff, kwayland, qttools, kcolorpicker, kimageannotator , qcoro, qtquickcontrols2, wayland, plasma-wayland-protocols, kpurpose, kpipewire -, wrapGAppsHook +, wrapGAppsHook, fetchpatch }: mkDerivation { pname = "spectacle"; + + patches = [ + # backport fix for region capture with multi-display high-dpi setups + # FIXME: remove in 23.08 + (fetchpatch { + url = "https://invent.kde.org/graphics/spectacle/-/commit/d0886c85445fad227b256152a549cb33bd97b776.patch"; + hash = "sha256-t0+X1pzjlS2OWduMwQBoYbjh+o/SF4hOkAqzz/MJw3E="; + }) + ]; + nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ]; buildInputs = [ kconfig kcoreaddons kdbusaddons kdeclarative ki18n kio knotifications From 021692865a0e1fbce7d32be7f289f2041299bd31 Mon Sep 17 00:00:00 2001 From: Yureka Date: Mon, 31 Jul 2023 19:16:07 +0200 Subject: [PATCH 27/27] matrix-synapse.plugins.matrix-synapse-s3-storage-provider: init at 1.2.1 (#229192) --- .../matrix-synapse/plugins/default.nix | 1 + .../plugins/s3-storage-provider.nix | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix diff --git a/pkgs/servers/matrix-synapse/plugins/default.nix b/pkgs/servers/matrix-synapse/plugins/default.nix index 7c77bf933c5..1f35ae05024 100644 --- a/pkgs/servers/matrix-synapse/plugins/default.nix +++ b/pkgs/servers/matrix-synapse/plugins/default.nix @@ -5,5 +5,6 @@ matrix-synapse-ldap3 = callPackage ./ldap3.nix { }; matrix-synapse-mjolnir-antispam = callPackage ./mjolnir-antispam.nix { }; matrix-synapse-pam = callPackage ./pam.nix { }; + matrix-synapse-s3-storage-provider = callPackage ./s3-storage-provider.nix { }; matrix-synapse-shared-secret-auth = callPackage ./shared-secret-auth.nix { }; } diff --git a/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix b/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix new file mode 100644 index 00000000000..646dfc3728d --- /dev/null +++ b/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix @@ -0,0 +1,33 @@ +{ lib, buildPythonPackage, fetchFromGitHub, matrix-synapse, twisted, humanize, boto3, tqdm }: + +buildPythonPackage rec { + pname = "matrix-synapse-s3-storage-provider"; + version = "1.2.1"; + + src = fetchFromGitHub { + owner = "matrix-org"; + repo = "synapse-s3-storage-provider"; + rev = "v${version}"; + sha256 = "sha256-92Xkq54jrUE2I9uVOxI72V9imLNU6K4JqDdOZb+4f+Y="; + }; + + postPatch = '' + substituteInPlace setup.py \ + --replace "humanize>=0.5.1,<0.6" "humanize>=0.5.1" + ''; + + doCheck = false; + pythonImportsCheck = [ "s3_storage_provider" ]; + + buildInputs = [ matrix-synapse ]; + propagatedBuildInputs = [ twisted humanize boto3 tqdm ] + # for the s3_media_upload script + ++ matrix-synapse.propagatedBuildInputs; + + meta = with lib; { + description = "Synapse storage provider to fetch and store media in Amazon S3"; + homepage = "https://github.com/matrix-org/synapse-s3-storage-provider"; + license = licenses.asl20; + maintainers = with maintainers; [ yuka ]; + }; +}