From f4d5a76a811df99d26706336dda940556c4491f5 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Thu, 27 Apr 2023 10:30:29 +0200 Subject: [PATCH 01/65] netdata module: add automatic claim Allow machines to auto-register themselves by passing the claim token. --- nixos/modules/services/monitoring/netdata.nix | 29 ++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index 92c870bb23f1..60dfcb769350 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -159,6 +159,15 @@ in { ''; }; + claim_token_file = mkOption { + type = types.nullOr types.path; + default = null; + description = lib.mdDoc '' + If set, automatically registers the agent using the given claim token + file. + ''; + }; + enableAnalyticsReporting = mkOption { type = types.bool; default = false; @@ -246,7 +255,25 @@ in { PrivateTmp = true; ProtectControlGroups = true; PrivateMounts = true; - }; + } // (lib.optionalAttrs (cfg.claim_token_file != null) { + LoadCredential = [ + "netdata_claim_token:${cfg.claim_token_file}" + ]; + + ExecStartPre = pkgs.writeShellScript "netdata-claim" '' + set -euo pipefail + + if [[ -f /var/lib/netdata/cloud.d/claimed_id ]]; then + # Already registered + exit + fi + + exec ${cfg.package}/bin/netdata-claim.sh \ + -token="$(< "$CREDENTIALS_DIRECTORY/netdata_claim_token")" \ + -url=https://app.netdata.cloud \ + -daemon-not-running + ''; + }); }; systemd.enableCgroupAccounting = true; From 14793fac6c173e111d9be6a21135d59bf805b1c4 Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Fri, 5 May 2023 18:41:51 +0200 Subject: [PATCH 02/65] Update nixos/modules/services/monitoring/netdata.nix Co-authored-by: Ryan Lahfa --- nixos/modules/services/monitoring/netdata.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index 60dfcb769350..b60ec85e7deb 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -159,7 +159,7 @@ in { ''; }; - claim_token_file = mkOption { + claimTokenFile = mkOption { type = types.nullOr types.path; default = null; description = lib.mdDoc '' From db8b28dc5dcd75009953f97762d6d196b9e519c2 Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Fri, 5 May 2023 18:41:56 +0200 Subject: [PATCH 03/65] Update nixos/modules/services/monitoring/netdata.nix Co-authored-by: Ryan Lahfa --- nixos/modules/services/monitoring/netdata.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index b60ec85e7deb..0aa8acad10d9 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -257,7 +257,7 @@ in { PrivateMounts = true; } // (lib.optionalAttrs (cfg.claim_token_file != null) { LoadCredential = [ - "netdata_claim_token:${cfg.claim_token_file}" + "netdata_claim_token:${cfg.claimTokenFile}" ]; ExecStartPre = pkgs.writeShellScript "netdata-claim" '' From 5c5474ff6ba16b96efd2906b0bbcdb54f318b795 Mon Sep 17 00:00:00 2001 From: Jakub Pravda Date: Thu, 25 May 2023 22:27:03 +0200 Subject: [PATCH 04/65] maintainers: add jacfal --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ae163ca951fa..69ef13de3d94 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6997,6 +6997,12 @@ github = "j4m3s-s"; githubId = 9413812; }; + jacfal = { + name = "Jakub Pravda"; + email = "me@jakubpravda.net"; + github = "jakub-pravda"; + githubId = 16310411; + }; jacg = { name = "Jacek Generowicz"; email = "jacg@my-post-office.net"; From 786292291ab453c93e5923aad62faf3e4544e423 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 2 Jun 2023 00:18:37 +0200 Subject: [PATCH 05/65] maintainers: add sigmanificient (cherry picked from commit 56f7ddb994ae2c988fcdcf045b765ff945f8aa5f) --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index c370d1726acf..2a6c103ceb3d 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14604,6 +14604,12 @@ githubId = 16090; name = "Yann Hodique"; }; + sigmanificient = { + email = "sigmanificient@gmail.com"; + github = "Sigmanificient"; + githubId = 53050011; + name = "Yohann Boniface"; + }; sikmir = { email = "sikmir@disroot.org"; github = "sikmir"; From 0cdcc8cd250fcd9fb7bc8bf7cf9871962497130b Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 6 Jun 2023 14:52:51 +0200 Subject: [PATCH 06/65] netbox: 3.5.0 -> 3.5.3 --- pkgs/servers/web-apps/netbox/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/netbox/default.nix b/pkgs/servers/web-apps/netbox/default.nix index 922bc181e05d..5903c5183335 100644 --- a/pkgs/servers/web-apps/netbox/default.nix +++ b/pkgs/servers/web-apps/netbox/default.nix @@ -23,8 +23,8 @@ in }; netbox = callPackage generic { - version = "3.5.0"; - hash = "sha256-LsUitX/e+ec/9mRBw+cbGOG2Idl9ZQwf/vxIC3YS5LU="; + version = "3.5.3"; + hash = "sha256-F8rsTOOxARI3ll545AF0+HFaG4wNO+RWwsl5y9kAyE4="; extraPatches = [ # Allow setting the STATIC_ROOT from within the configuration and setting a custom redis URL ./config.patch From a46c5ee816eb042b299ac9ca1c765c48a54d7424 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 6 Jun 2023 14:53:08 +0200 Subject: [PATCH 07/65] nixos/netbox: make systemd units more consistent with upstream --- nixos/modules/services/web-apps/netbox.nix | 42 +++++++++++++++------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/nixos/modules/services/web-apps/netbox.nix b/nixos/modules/services/web-apps/netbox.nix index 0ecb20e8c2c0..e2ef350ba4e5 100644 --- a/nixos/modules/services/web-apps/netbox.nix +++ b/nixos/modules/services/web-apps/netbox.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, buildEnv, ... }: +{ config, lib, pkgs, ... }: with lib; @@ -261,6 +261,7 @@ in { StateDirectory = "netbox"; StateDirectoryMode = "0750"; Restart = "on-failure"; + RestartSec = 30; }; in { netbox-migration = { @@ -276,13 +277,18 @@ in { ExecStart = '' ${pkg}/bin/netbox migrate ''; + PrivateTmp = true; }; }; netbox = { description = "NetBox WSGI Service"; + documentation = [ "https://docs.netbox.dev/" ]; + wantedBy = [ "netbox.target" ]; - after = [ "netbox-migration.service" ]; + + after = [ "network-online.target" "netbox-migration.service" ]; + wants = [ "network-online.target" ]; preStart = '' ${pkg}/bin/netbox trace_paths --no-input @@ -290,9 +296,7 @@ in { ${pkg}/bin/netbox remove_stale_contenttypes --no-input ''; - environment = { - PYTHONPATH = pkg.pythonPath; - }; + environment.PYTHONPATH = pkg.pythonPath; serviceConfig = defaultServiceConfig // { ExecStart = '' @@ -300,32 +304,37 @@ in { --bind ${cfg.listenAddress}:${toString cfg.port} \ --pythonpath ${pkg}/opt/netbox/netbox ''; + PrivateTmp = true; }; }; netbox-rq = { description = "NetBox Request Queue Worker"; + documentation = [ "https://docs.netbox.dev/" ]; + wantedBy = [ "netbox.target" ]; after = [ "netbox.service" ]; - environment = { - PYTHONPATH = pkg.pythonPath; - }; + environment.PYTHONPATH = pkg.pythonPath; serviceConfig = defaultServiceConfig // { ExecStart = '' ${pkg}/bin/netbox rqworker high default low ''; + PrivateTmp = true; }; }; netbox-housekeeping = { description = "NetBox housekeeping job"; - after = [ "netbox.service" ]; + documentation = [ "https://docs.netbox.dev/" ]; - environment = { - PYTHONPATH = pkg.pythonPath; - }; + wantedBy = [ "multi-user.target" ]; + + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; + + environment.PYTHONPATH = pkg.pythonPath; serviceConfig = defaultServiceConfig // { Type = "oneshot"; @@ -338,10 +347,17 @@ in { systemd.timers.netbox-housekeeping = { description = "Run NetBox housekeeping job"; - wantedBy = [ "timers.target" ]; + documentation = [ "https://docs.netbox.dev/" ]; + + wantedBy = [ "multi-user.target" ]; + + after = [ "network-online.target" ]; + wants = [ "network-online.target" ]; timerConfig = { OnCalendar = "daily"; + AccuracySec = "1h"; + Persistent = true; }; }; From 0cddbe54736bf0a4bf918d1c16b02189a1644a41 Mon Sep 17 00:00:00 2001 From: Jakub Pravda Date: Wed, 7 Jun 2023 12:22:27 +0200 Subject: [PATCH 08/65] questdb: init at 7.1.3 --- pkgs/servers/nosql/questdb/default.nix | 37 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 39 insertions(+) create mode 100644 pkgs/servers/nosql/questdb/default.nix diff --git a/pkgs/servers/nosql/questdb/default.nix b/pkgs/servers/nosql/questdb/default.nix new file mode 100644 index 000000000000..a250f3c560f6 --- /dev/null +++ b/pkgs/servers/nosql/questdb/default.nix @@ -0,0 +1,37 @@ +{ fetchurl, jdk17_headless, lib, makeWrapper, stdenv }: + +let + jre = jdk17_headless; +in +stdenv.mkDerivation rec { + pname = "questdb"; + version = "7.1.3"; + + src = fetchurl { + url = "https://github.com/questdb/questdb/releases/download/${version}/questdb-${version}-no-jre-bin.tar.gz"; + sha256 = "lB3h8HRQaQwdTtxxjHNfYrDXY3UULSSrM74OCGgLoMc="; + }; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin $out/share/java + cp questdb.sh $out/bin + cp questdb.jar $out/share/java + + ln -s $out/share/java/questdb.jar $out/bin + wrapProgram $out/bin/questdb.sh --set JAVA_HOME "${jre}" + + runHook postInstall + ''; + + meta = with lib; { + description = "high-performance, open-source SQL database for applications in financial services, IoT, machine learning, DevOps and observability"; + homepage = "https://questdb.io/"; + license = licenses.asl20; + maintainers = [ maintainers.jacfal ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f23b163942b8..8b981db6e4a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26147,6 +26147,8 @@ with pkgs; qremotecontrol-server = libsForQt5.callPackage ../servers/misc/qremotecontrol-server { }; + questdb = callPackage ../servers/nosql/questdb { }; + rabbitmq-server = callPackage ../servers/amqp/rabbitmq-server { inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa; elixir = elixir_1_14; From fb7456dbd628266a678d6642f73a99fd7451f358 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 12 Jun 2023 04:20:00 +0000 Subject: [PATCH 09/65] flow: 0.207.0 -> 0.208.0 Diff: https://github.com/facebook/flow/compare/v0.207.0...v0.208.0 Changelog: https://github.com/facebook/flow/raw/v0.208.0/Changelog.md --- pkgs/development/tools/analysis/flow/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix index b69391f0fdc2..ef6f265fda7a 100644 --- a/pkgs/development/tools/analysis/flow/default.nix +++ b/pkgs/development/tools/analysis/flow/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "flow"; - version = "0.207.0"; + version = "0.208.0"; src = fetchFromGitHub { owner = "facebook"; repo = "flow"; rev = "v${version}"; - sha256 = "sha256-0qEo1drdtIxdZriaLNm+T1J00wJoeBbtox5LDmrLX4Y="; + sha256 = "sha256-fZWSTSq8C4LwOuZaR4HtxJ5jwVKqmcIzf2zTyHeK1Cs="; }; postPatch = '' From e1792ede74e1cec38f8018fcde8b2c657336388e Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Sun, 7 May 2023 12:19:24 -0700 Subject: [PATCH 10/65] lyx: fix cross compilation This commit fixes cross compilation of `lyx` by adding `qtbase` to its `nativeBuildInputs`. --- pkgs/applications/misc/lyx/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix index 10dbb2c6a74b..514cca9e8a5e 100644 --- a/pkgs/applications/misc/lyx/default.nix +++ b/pkgs/applications/misc/lyx/default.nix @@ -18,7 +18,7 @@ mkDerivation rec { ''; # LaTeX is used from $PATH, as people often want to have it with extra pkgs - nativeBuildInputs = [ pkg-config makeWrapper python3 ]; + nativeBuildInputs = [ pkg-config makeWrapper python3 qtbase ]; buildInputs = [ qtbase qtsvg file/*for libmagic*/ bc hunspell # enchant From 927290d2a65d47d573f287e5297651093a8fda1a Mon Sep 17 00:00:00 2001 From: Pavel Sobolev Date: Fri, 14 Apr 2023 10:47:28 +0300 Subject: [PATCH 11/65] codon: 0.15.5 -> 0.16.1 --- pkgs/development/compilers/codon/default.nix | 22 ++++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/development/compilers/codon/default.nix b/pkgs/development/compilers/codon/default.nix index 65c177a7b957..70cd16327299 100644 --- a/pkgs/development/compilers/codon/default.nix +++ b/pkgs/development/compilers/codon/default.nix @@ -12,13 +12,13 @@ }: let - version = "0.15.5"; + version = "0.16.1"; src = fetchFromGitHub { owner = "exaloop"; repo = "codon"; rev = "v${version}"; - sha256 = "sha256-/IUGX5iSRvZzwyRdkGe0IVHp44D+GXZtbkdtswekwSU="; + hash = "sha256-s2GqiFcekXRts8BU5CSmTrkFZ9xLqq4A5MybhB1o1Gg="; }; depsDir = "deps"; @@ -31,7 +31,7 @@ let owner = "exaloop"; repo = "llvm-project"; rev = "55b0b8fa1c9f9082b535628fc9fa6313280c0b9a"; - sha256 = "sha256-03SPQgNdrpR6/JZ5aR/ntoh/FnZvCjT/6bTAcZaFafw="; + hash = "sha256-03SPQgNdrpR6/JZ5aR/ntoh/FnZvCjT/6bTAcZaFafw="; }; nativeBuildInputs = [ @@ -43,8 +43,6 @@ let ]; cmakeFlags = [ - "-DCMAKE_CXX_COMPILER=clang++" - "-DCMAKE_C_COMPILER=clang" "-DLLVM_ENABLE_RTTI=ON" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_ENABLE_ZLIB=OFF" @@ -88,7 +86,12 @@ let _deps/googletest-subbuild/googletest-populate-prefix/src/*.zip ''; - outputHash = "sha256-a1zGSpbMjfQBrcgW/aiIdKX8+uI3p/S9pgZjHe2HtWs="; + outputHash = + if stdenv.hostPlatform.isDarwin then + "sha256-KfemYV42xBAhsPbwTkzdc3GxCVHiWRbyUZORPWxx4vg=" + else + "sha256-a1zGSpbMjfQBrcgW/aiIdKX8+uI3p/S9pgZjHe2HtWs="; + outputHashAlgo = "sha256"; }; in @@ -117,14 +120,15 @@ stdenv.mkDerivation { ''; cmakeFlags = [ - "-DCMAKE_BUILD_TYPE=Release" - "-DCMAKE_CXX_COMPILER=clang++" - "-DCMAKE_C_COMPILER=clang" "-DCPM_SOURCE_CACHE=${depsDir}" "-DLLVM_DIR=${codon-llvm}/lib/cmake/llvm" "-DLLVM_USE_LINKER=lld" ]; + postInstall = lib.optionalString stdenv.isDarwin '' + ln -s $out/lib/codon/*.dylib $out/lib/ + ''; + passthru.updateScript = nix-update-script { }; meta = { From 9907ef83ecb052f0077f74fe122842676d7ed483 Mon Sep 17 00:00:00 2001 From: ners Date: Tue, 13 Jun 2023 16:55:13 +0200 Subject: [PATCH 12/65] jetbrains-toolbox: add missing ICU dependency --- pkgs/applications/misc/jetbrains-toolbox/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/jetbrains-toolbox/default.nix b/pkgs/applications/misc/jetbrains-toolbox/default.nix index 5a107c4aa564..3358b765208f 100644 --- a/pkgs/applications/misc/jetbrains-toolbox/default.nix +++ b/pkgs/applications/misc/jetbrains-toolbox/default.nix @@ -6,7 +6,7 @@ , makeWrapper , runCommand , appimageTools -, patchelf +, icu }: let pname = "jetbrains-toolbox"; @@ -54,7 +54,9 @@ stdenv.mkDerivation { runHook preInstall install -Dm644 ${appimageContents}/.DirIcon $out/share/icons/hicolor/scalable/apps/jetbrains-toolbox.svg - makeWrapper ${appimage}/bin/${pname}-${version} $out/bin/${pname} --append-flags "--update-failed" + makeWrapper ${appimage}/bin/${pname}-${version} $out/bin/${pname} \ + --append-flags "--update-failed" \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [icu]} runHook postInstall ''; From 7b36afffd6bd3ecae777e0b6ef4b64a99e47e126 Mon Sep 17 00:00:00 2001 From: natsukium Date: Wed, 14 Jun 2023 21:05:58 +0900 Subject: [PATCH 13/65] kalign: init at 3.3.5 --- .../science/biology/kalign/default.nix | 46 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 48 insertions(+) create mode 100644 pkgs/applications/science/biology/kalign/default.nix diff --git a/pkgs/applications/science/biology/kalign/default.nix b/pkgs/applications/science/biology/kalign/default.nix new file mode 100644 index 000000000000..b28c640cb7aa --- /dev/null +++ b/pkgs/applications/science/biology/kalign/default.nix @@ -0,0 +1,46 @@ +{ lib +, stdenv +, cmake +, fetchFromGitHub +, llvmPackages +, enableSse4_1 ? stdenv.hostPlatform.sse4_1Support +, enableAvx ? stdenv.hostPlatform.avxSupport +, enableAvx2 ? stdenv.hostPlatform.avx2Support +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "kalign"; + version = "3.3.5"; + + src = fetchFromGitHub { + owner = "TimoLassmann"; + repo = "kalign"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-QufTiaiRcNOnLhOO4cnOE9bNcj9mlCg/ERFIHJB8KOU="; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = lib.optionals stdenv.cc.isClang [ + llvmPackages.openmp + ]; + + cmakeFlags = + # these flags are ON by default + lib.optional (!enableSse4_1) "-DENABLE_SSE=OFF" + ++ lib.optional (!enableAvx) "-DENABLE_AVX=OFF" + ++ lib.optional (!enableAvx2) "-DENABLE_AVX2=OFF"; + + doCheck = true; + + meta = { + description = "A fast multiple sequence alignment program"; + homepage = "https://github.com/TimoLassmann/kalign"; + changelog = "https://github.com/TimoLassmann/kalign/releases/tag/${finalAttrs.src.rev}"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ natsukium ]; + platforms = lib.platforms.unix; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4bbe10cf5a2d..26045be2699e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37852,6 +37852,8 @@ with pkgs; neuron-version = neuron.version; }; + kalign = callPackage ../applications/science/biology/kalign { }; + kallisto = callPackage ../applications/science/biology/kallisto { autoconf = buildPackages.autoconf269; }; From 73e539e956ea6b5e815c475cd92e57b5f0659bdb Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 14 Jun 2023 00:24:43 -0700 Subject: [PATCH 14/65] python310Packages.flet-core: 0.6.2 -> 0.7.4 --- pkgs/development/python-modules/flet-core/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flet-core/default.nix b/pkgs/development/python-modules/flet-core/default.nix index 1ed4f0625a3f..fae29247deab 100644 --- a/pkgs/development/python-modules/flet-core/default.nix +++ b/pkgs/development/python-modules/flet-core/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "flet-core"; - version = "0.6.2"; + version = "0.7.4"; format = "pyproject"; src = fetchPypi { pname = "flet_core"; inherit version; - hash = "sha256-WMkm+47xhuYz1HsiPfF7YbOCg7Xlbj9oHI9nVtwAb/w="; + hash = "sha256-8WG7odYiGrew4GwD+MUuzQPmDn7V/GmocBproqsbCNw="; }; nativeBuildInputs = with python3.pkgs; [ From 2b406e21e378a2cecf4ca1a16e7aed2fc80daf01 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Wed, 14 Jun 2023 00:25:04 -0700 Subject: [PATCH 15/65] python310Packages.flet: 0.6.2 -> 0.7.4 --- pkgs/development/python-modules/flet/default.nix | 12 +++++++----- .../python-modules/flet/pyproject.toml.patch | 11 ----------- 2 files changed, 7 insertions(+), 16 deletions(-) delete mode 100644 pkgs/development/python-modules/flet/pyproject.toml.patch diff --git a/pkgs/development/python-modules/flet/default.nix b/pkgs/development/python-modules/flet/default.nix index af5600e1c98b..95382a88c95c 100644 --- a/pkgs/development/python-modules/flet/default.nix +++ b/pkgs/development/python-modules/flet/default.nix @@ -6,17 +6,19 @@ buildPythonPackage rec { pname = "flet"; - version = "0.6.2"; + version = "0.7.4"; format = "pyproject"; src = fetchPypi { inherit pname version; - hash = "sha256-EDNATwO2N4jXVC5H1VmXqC9XGTnQo8vLvTEozRYZuj4="; + hash = "sha256-vFPjN+5wIygtP035odAOSdF9PQe6eXz6CJ9Q0d8ScFo="; }; - patches = [ - ./pyproject.toml.patch - ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace 'httpx = "^0.23' 'httpx = ">=0.23' \ + --replace 'watchdog = "^2' 'watchdog = ">=2' + ''; nativeBuildInputs = with python3.pkgs; [ poetry-core diff --git a/pkgs/development/python-modules/flet/pyproject.toml.patch b/pkgs/development/python-modules/flet/pyproject.toml.patch deleted file mode 100644 index 7f8a66f88967..000000000000 --- a/pkgs/development/python-modules/flet/pyproject.toml.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -20,7 +20,7 @@ flet-core = "0.6.2" - python = "^3.7" - typing-extensions = { version = "^4.4.0", python = "<3.8" } - websocket-client = "^1.4.2" --watchdog = "^2.2.1" -+watchdog = ">=2.2.1" - oauthlib = "^3.2.2" - websockets = "^10.4" - httpx = "^0.23.3" From 2dfe86a148d2edf3ddaad55f12bd53818817e75c Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 14 Jun 2023 19:09:40 +0300 Subject: [PATCH 16/65] oneDNN_2: init at 2.7.1 --- pkgs/development/libraries/oneDNN/2.nix | 41 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/libraries/oneDNN/2.nix diff --git a/pkgs/development/libraries/oneDNN/2.nix b/pkgs/development/libraries/oneDNN/2.nix new file mode 100644 index 000000000000..fd47a05a1bc9 --- /dev/null +++ b/pkgs/development/libraries/oneDNN/2.nix @@ -0,0 +1,41 @@ +{ stdenv, lib, fetchFromGitHub, cmake }: + +# This was originally called mkl-dnn, then it was renamed to dnnl, and it has +# just recently been renamed again to oneDNN. See here for details: +# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn +stdenv.mkDerivation rec { + pname = "oneDNN"; + version = "2.7.1"; + + src = fetchFromGitHub { + owner = "oneapi-src"; + repo = "oneDNN"; + rev = "v${version}"; + sha256 = "sha256-HBCuSZkApd/6UkAxz/KDFb/gyX2SI1S2GwgXAXSTU/c="; + }; + + outputs = [ "out" "dev" "doc" ]; + + nativeBuildInputs = [ cmake ]; + + # Tests fail on some Hydra builders, because they do not support SSE4.2. + doCheck = false; + + # Fixup bad cmake paths + postInstall = '' + substituteInPlace $out/lib/cmake/dnnl/dnnl-config.cmake \ + --replace "\''${PACKAGE_PREFIX_DIR}/" "" + + substituteInPlace $out/lib/cmake/dnnl/dnnl-targets.cmake \ + --replace "\''${_IMPORT_PREFIX}/" "" + ''; + + meta = with lib; { + description = "oneAPI Deep Neural Network Library (oneDNN)"; + homepage = "https://01.org/oneDNN"; + changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${version}"; + license = licenses.asl20; + platforms = platforms.all; + maintainers = with maintainers; [ alexarice bhipple ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0d243d151e3b..b78a74a9f871 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23416,6 +23416,8 @@ with pkgs; oneDNN = callPackage ../development/libraries/oneDNN { }; + oneDNN_2 = callPackage ../development/libraries/oneDNN/2.nix { }; + onedrive = callPackage ../applications/networking/sync/onedrive { }; oneko = callPackage ../applications/misc/oneko { }; From 4d88909d15fb6e0afcfb1f9b1c8fbcfc13a756fe Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 14 Jun 2023 19:10:20 +0300 Subject: [PATCH 17/65] migraphx: use oneDNN_2 --- pkgs/development/libraries/migraphx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/migraphx/default.nix b/pkgs/development/libraries/migraphx/default.nix index fc4ccec94ad6..0cee9c3e42f6 100644 --- a/pkgs/development/libraries/migraphx/default.nix +++ b/pkgs/development/libraries/migraphx/default.nix @@ -17,7 +17,7 @@ , nlohmann_json , msgpack , sqlite -, oneDNN +, oneDNN_2 , blaze , texlive , doxygen @@ -91,7 +91,7 @@ in stdenv.mkDerivation (finalAttrs: { nlohmann_json msgpack sqlite - oneDNN + oneDNN_2 blaze python3Packages.pybind11 python3Packages.onnx From 57e7a37094a4947eeac6983b53dbe5cd5d012efa Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 14 Jun 2023 19:10:38 +0300 Subject: [PATCH 18/65] onnxruntime: use oneDNN_2 --- pkgs/development/libraries/onnxruntime/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/onnxruntime/default.nix b/pkgs/development/libraries/onnxruntime/default.nix index f01899290035..dc87fc35951c 100644 --- a/pkgs/development/libraries/onnxruntime/default.nix +++ b/pkgs/development/libraries/onnxruntime/default.nix @@ -13,7 +13,7 @@ , howard-hinnant-date , nlohmann_json , boost -, oneDNN +, oneDNN_2 , abseil-cpp_202111 , gtest , pythonSupport ? false @@ -67,7 +67,7 @@ stdenv.mkDerivation rec { howard-hinnant-date nlohmann_json boost - oneDNN + oneDNN_2 protobuf ] ++ lib.optionals pythonSupport [ nsync From 9fbc23d5119421e04064881413e11c755a7d049d Mon Sep 17 00:00:00 2001 From: misuzu Date: Wed, 14 Jun 2023 19:12:06 +0300 Subject: [PATCH 19/65] oneDNN: 2.7.1 -> 3.1.1 --- pkgs/development/libraries/oneDNN/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/oneDNN/default.nix b/pkgs/development/libraries/oneDNN/default.nix index fd47a05a1bc9..0b7a0a3035ff 100644 --- a/pkgs/development/libraries/oneDNN/default.nix +++ b/pkgs/development/libraries/oneDNN/default.nix @@ -5,13 +5,13 @@ # https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn stdenv.mkDerivation rec { pname = "oneDNN"; - version = "2.7.1"; + version = "3.1.1"; src = fetchFromGitHub { owner = "oneapi-src"; repo = "oneDNN"; rev = "v${version}"; - sha256 = "sha256-HBCuSZkApd/6UkAxz/KDFb/gyX2SI1S2GwgXAXSTU/c="; + sha256 = "sha256-02S9eG9eAUS7S59YtyaAany07A2V/Cu7Vto2IruDCtc="; }; outputs = [ "out" "dev" "doc" ]; From bbe26112d429e1a648539b043bc21ee0120da17e Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 2 Jun 2023 00:22:22 +0200 Subject: [PATCH 20/65] vera: init at 1.3.0 --- .../tools/analysis/banana-vera/default.nix | 41 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/tools/analysis/banana-vera/default.nix diff --git a/pkgs/development/tools/analysis/banana-vera/default.nix b/pkgs/development/tools/analysis/banana-vera/default.nix new file mode 100644 index 000000000000..0511f4ccbe70 --- /dev/null +++ b/pkgs/development/tools/analysis/banana-vera/default.nix @@ -0,0 +1,41 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, python310 +, tcl +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "banana-vera"; + version = "1.3.0-python3.10"; + + src = fetchFromGitHub { + owner = "Epitech"; + repo = "banana-vera"; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-1nAKhUltQS1301JNrr0PQQrrf2W9Hj5gk1nbUhN4cXw="; + }; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ + python310 + python310.pkgs.boost + tcl + ]; + + cmakeFlags = [ + "-DVERA_LUA=OFF" + "-DVERA_USE_SYSTEM_BOOST=ON" + "-DPANDOC=OFF" + ]; + + meta = { + mainProgram = "vera++"; + description = "A fork of vera using python3.10"; + homepage = "https://github.com/Epitech/banana-vera"; + license = lib.licenses.boost; + maintainers = with lib.maintainers; [ sigmanificient ]; + platforms = lib.platforms.linux ++ lib.platforms.darwin; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bfc06d3f71d5..cf8e9002a8be 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -433,6 +433,8 @@ with pkgs; checkpwn = callPackage ../tools/misc/checkpwn { }; + banana-vera = callPackage ../development/tools/analysis/banana-vera { }; + chrysalis = callPackage ../applications/misc/chrysalis { }; ciel = callPackage ../tools/package-management/ciel { }; From 6bdabf8a8ba4572b43a68bd1d2c9f2a21af9a95d Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Wed, 14 Jun 2023 18:27:08 +1000 Subject: [PATCH 21/65] lxdvdrip: 1.76 -> 1.77 --- pkgs/applications/video/lxdvdrip/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/video/lxdvdrip/default.nix b/pkgs/applications/video/lxdvdrip/default.nix index a374d7b9b328..6b9c8ef2fd14 100644 --- a/pkgs/applications/video/lxdvdrip/default.nix +++ b/pkgs/applications/video/lxdvdrip/default.nix @@ -2,16 +2,16 @@ stdenv.mkDerivation rec { pname = "lxdvdrip"; - version = "1.76"; + version = "1.77"; src = fetchurl { url = "mirror://sourceforge/lxdvdrip/lxdvdrip-${version}.tgz"; - sha256 = "0vgslc7dapfrbgslnaicc8bggdccyrvcgjv1dwi19qswhh7jkzj6"; + hash = "sha256-OzHrscftsCmJvSw7bb/Z2WDP322VCuQDY58dW2OqxB8="; }; - prePatch = '' + postPatch = '' sed -i -e s,/usr/local,$out, -e s,/etc,$out/etc,g Makefile - sed -i -e s,/usr/local,$out, buffer/Makefile + sed -i -e s,/usr/local,$out, mbuffer/Makefile makeFlags="$makeFlags PREFIX=$out" ''; From eff41f420fea03f5a5ed656eb2973e6be3be1fd8 Mon Sep 17 00:00:00 2001 From: Gustavo Coutinho de Souza Date: Wed, 14 Jun 2023 18:47:47 -0300 Subject: [PATCH 22/65] maintainers: add onemoresuza --- maintainers/maintainer-list.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6b088a78d8a7..ee910a4882f1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12017,6 +12017,15 @@ github = "jackyliu16"; githubId = 50787361; }; + onemoresuza = { + name = "Coutinho de Souza"; + email = "dev@onemoresuza.mailer.me"; + github = "onemoresuza"; + githubId = 106456302; + keys = [{ + fingerprint = "484F D3B8 BAD7 BF5D 8B68 2AEA A2ED 1159 935E 4D7E"; + }]; + }; onixie = { email = "onixie@gmail.com"; github = "onixie"; From 68aeac65f5ad323ebe8d7784cac8960f7ad4dafe Mon Sep 17 00:00:00 2001 From: Gustavo Coutinho de Souza Date: Wed, 14 Jun 2023 18:48:39 -0300 Subject: [PATCH 23/65] wallust: init at 2.4.1 --- pkgs/applications/misc/wallust/default.nix | 26 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/misc/wallust/default.nix diff --git a/pkgs/applications/misc/wallust/default.nix b/pkgs/applications/misc/wallust/default.nix new file mode 100644 index 000000000000..4755ce24b7d2 --- /dev/null +++ b/pkgs/applications/misc/wallust/default.nix @@ -0,0 +1,26 @@ +{lib, fetchgit, rustPlatform}: + +let + repoUrl = "https://codeberg.org/explosion-mental/wallust"; +in rustPlatform.buildRustPackage rec { + pname = "wallust"; + version = "2.4.1"; + + src = fetchgit { + url = "${repoUrl}.git"; + rev = version; + sha256 = "sha256-7zSUyj8Zzk8rsDe7ukPaV02HH7VQ+yjh+wM5TZzJxSA="; + }; + + cargoSha256 = "sha256-toqt5vqEsflhqFargEcCXrb6ab748mn6k6/RH5d/3RA="; + + meta = with lib; { + description = "A better pywall"; + homepage = repoUrl; + license = licenses.mit; + maintainers = with maintainers; [onemoresuza]; + downloadPage = "${repoUrl}/releases/tag/${version}"; + platforms = platforms.unix; + mainProgram = "wallust"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d6e5abe1fcde..fe1dbce04217 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35836,6 +35836,8 @@ with pkgs; yuview = libsForQt5.yuview; + wallust = callPackage ../applications/misc/wallust { }; + zam-plugins = callPackage ../applications/audio/zam-plugins { }; zammad = callPackage ../applications/networking/misc/zammad { }; From d9cecd8689ff7dd15cb033402b5d91b2a91beb91 Mon Sep 17 00:00:00 2001 From: Jaime Breva Date: Thu, 15 Jun 2023 08:06:24 +0200 Subject: [PATCH 24/65] maintainers: add pho --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6b088a78d8a7..363ac21eadd5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12581,6 +12581,12 @@ githubId = 421510; name = "NoΓ© Rubinstein"; }; + pho = { + email = "phofin@gmail.com"; + github = "pho"; + githubId = 88469; + name = "Jaime Breva"; + }; photex = { email = "photex@gmail.com"; github = "photex"; From b3669be4b025d674e592a330484bcfa20fcaaced Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 15 Jun 2023 09:03:10 +0000 Subject: [PATCH 25/65] python310Packages.nitransforms: 22.0.0 -> 23.0.0 --- pkgs/development/python-modules/nitransforms/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nitransforms/default.nix b/pkgs/development/python-modules/nitransforms/default.nix index 972b1a10b0b0..869bed9fcad2 100644 --- a/pkgs/development/python-modules/nitransforms/default.nix +++ b/pkgs/development/python-modules/nitransforms/default.nix @@ -13,12 +13,12 @@ buildPythonPackage rec { pname = "nitransforms"; - version = "22.0.0"; + version = "23.0.0"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-iV9TEIGogIfbj+fmOGftoQqEdtZiewbHEw3hYlMEP4c="; + hash = "sha256-Jzb0W3HHxkNPyPcAT2G9T8zLOfq7xQTwGA6IUO5a6KA="; }; nativeBuildInputs = [ pythonRelaxDepsHook ]; From 9239f21e377e380891a27333d9ef9fadda68e5a9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jun 2023 10:18:44 +0200 Subject: [PATCH 26/65] python311Packages.pyinsteon: 1.4.2 -> 1.4.3 Diff: https://github.com/pyinsteon/pyinsteon/compare/refs/tags/1.4.2...1.4.3 --- pkgs/development/python-modules/pyinsteon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyinsteon/default.nix b/pkgs/development/python-modules/pyinsteon/default.nix index 8bd3389e4633..22c044e68b81 100644 --- a/pkgs/development/python-modules/pyinsteon/default.nix +++ b/pkgs/development/python-modules/pyinsteon/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "pyinsteon"; - version = "1.4.2"; + version = "1.4.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = pname; repo = pname; rev = "refs/tags/${version}"; - hash = "sha256-5c2hcW9XSEyIMlyrn70U7tgBWdxGrtJoQkjkYzlrbKE="; + hash = "sha256-KKF+XYQgdmLbbicyMFyZBG4ol69xAWCF2W/r15gH2Mo="; }; nativeBuildInputs = [ From 35e5b06a44a75d920bce0fc21ea9e9d2fd48de67 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jun 2023 10:23:20 +0200 Subject: [PATCH 27/65] python311Packages.pylitterbot: 2023.4.0 -> 2023.4.2 Diff: https://github.com/natekspencer/pylitterbot/compare/refs/tags/v2023.4.0...v2023.4.2 Changelog: https://github.com/natekspencer/pylitterbot/releases/tag/v2023.4.2 Co-Authored-By: Martin Weinelt --- .../development/python-modules/pylitterbot/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pylitterbot/default.nix b/pkgs/development/python-modules/pylitterbot/default.nix index 912b968538b8..0734c006f552 100644 --- a/pkgs/development/python-modules/pylitterbot/default.nix +++ b/pkgs/development/python-modules/pylitterbot/default.nix @@ -4,6 +4,7 @@ , buildPythonPackage , fetchFromGitHub , poetry-core +, poetry-dynamic-versioning , pyjwt , pytest-aiohttp , pytest-freezegun @@ -14,7 +15,7 @@ buildPythonPackage rec { pname = "pylitterbot"; - version = "2023.4.0"; + version = "2023.4.2"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -22,12 +23,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "natekspencer"; repo = pname; - rev = "refs/tags/${version}"; - hash = "sha256-nF6njY2qNoHW2ZGNDHNeTBTjSBbitJxitPgyayLaqSE="; + rev = "refs/tags/v${version}"; + hash = "sha256-zB/LJGEPJ3uZEoVQiLQUCWqLo9YLXN6vge3RhIwA5D4="; }; nativeBuildInputs = [ poetry-core + poetry-dynamic-versioning ]; propagatedBuildInputs = [ @@ -50,7 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Modulefor controlling a Litter-Robot"; homepage = "https://github.com/natekspencer/pylitterbot"; - changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/${version}"; + changelog = "https://github.com/natekspencer/pylitterbot/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; From f71d4911cc157d7d7c758dd52cb79a353ccb016c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jun 2023 11:37:00 +0200 Subject: [PATCH 28/65] python310Packages.poetry-dynamic-versioning: Add setup-hook to not so dynamically set the package version. --- .../python-modules/poetry-dynamic-versioning/default.nix | 2 ++ .../poetry-dynamic-versioning/setup-hook.sh | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 pkgs/development/python-modules/poetry-dynamic-versioning/setup-hook.sh diff --git a/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix b/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix index 5418d449f44e..625cd6ab9148 100644 --- a/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix +++ b/pkgs/development/python-modules/poetry-dynamic-versioning/default.nix @@ -56,6 +56,8 @@ buildPythonPackage rec { "poetry_dynamic_versioning" ]; + setupHook = ./setup-hook.sh; + meta = with lib; { description = "Plugin for Poetry to enable dynamic versioning based on VCS tags"; homepage = "https://github.com/mtkennerly/poetry-dynamic-versioning"; diff --git a/pkgs/development/python-modules/poetry-dynamic-versioning/setup-hook.sh b/pkgs/development/python-modules/poetry-dynamic-versioning/setup-hook.sh new file mode 100644 index 000000000000..1e1befa8eb16 --- /dev/null +++ b/pkgs/development/python-modules/poetry-dynamic-versioning/setup-hook.sh @@ -0,0 +1,8 @@ +version-pretend-hook() { + echo "Setting POETRY_DYNAMIC_VERSIONING_BYPASS to $version" + export POETRY_DYNAMIC_VERSIONING_BYPASS=$version +} + +if [ -z "${dontBypassPoetryDynamicVersioning-}" ]; then + preBuildHooks+=(version-pretend-hook) +fi From 786f1443173095fc0ed3ac3bbce9cb1f93262261 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jun 2023 11:41:57 +0200 Subject: [PATCH 29/65] python310Packages.pyjwt: 2.6.0 -> 2.7.0 https://github.com/jpadilla/pyjwt/blob/2.7.0/CHANGELOG.rst --- pkgs/development/python-modules/pyjwt/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyjwt/default.nix b/pkgs/development/python-modules/pyjwt/default.nix index ac0a493cd611..55e682e07414 100644 --- a/pkgs/development/python-modules/pyjwt/default.nix +++ b/pkgs/development/python-modules/pyjwt/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pyjwt"; - version = "2.6.0"; + version = "2.7.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "PyJWT"; inherit version; - hash = "sha256-aShcfjH8RPaKH+swnpSODfUyWdV5KV5s/isXkjKfBf0="; + hash = "sha256-vWyko8QoXBotQ0nloDX9+PuU4EzND8vmuiidrpzD4HQ="; }; postPatch = '' @@ -48,6 +48,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "jwt" ]; meta = with lib; { + changelog = "https://github.com/jpadilla/pyjwt/blob/${version}/CHANGELOG.rst"; description = "JSON Web Token implementation in Python"; homepage = "https://github.com/jpadilla/pyjwt"; license = licenses.mit; From e5396c67e0f169ebab99d88659baec33e08cfc71 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jun 2023 11:48:54 +0200 Subject: [PATCH 30/65] home-assistant: 2023.6.1 -> 2023.6.2 https://github.com/home-assistant/core/releases/tag/2023.6.2 --- pkgs/servers/home-assistant/component-packages.nix | 13 ++++++------- pkgs/servers/home-assistant/default.nix | 6 +++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 16eb57b27372..7547228bef26 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2023.6.1"; + version = "2023.6.2"; components = { "3_day_blinds" = ps: with ps; [ ]; @@ -2010,9 +2010,8 @@ "keyboard" = ps: with ps; [ ]; # missing inputs: pyuserinput "keyboard_remote" = ps: with ps; [ - aionotify evdev - ]; + ]; # missing inputs: asyncinotify "keymitt_ble" = ps: with ps; [ pymicrobot aioesphomeapi @@ -2863,7 +2862,8 @@ opensensemap-api ]; "opensky" = ps: with ps; [ - ]; # missing inputs: python-opensky + python-opensky + ]; "opentherm_gw" = ps: with ps; [ pyotgw ]; @@ -2877,8 +2877,7 @@ pyopnsense ]; "opple" = ps: with ps; [ - pyoppleio - ]; + ]; # missing inputs: pyoppleio-legacy "oralb" = ps: with ps; [ aioesphomeapi aiohttp-cors @@ -3352,7 +3351,7 @@ pyruckus ]; "russound_rio" = ps: with ps; [ - ]; # missing inputs: russound_rio + ]; # missing inputs: russound-rio "russound_rnet" = ps: with ps; [ ]; # missing inputs: russound "ruuvi_gateway" = ps: with ps; [ diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 15844cfd01ab..3262dd2af806 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -296,7 +296,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run parse-requirements.py after updating - hassVersion = "2023.6.1"; + hassVersion = "2023.6.2"; in python.pkgs.buildPythonApplication rec { pname = "homeassistant"; @@ -312,7 +312,7 @@ in python.pkgs.buildPythonApplication rec { # Primary source is the pypi sdist, because it contains translations src = fetchPypi { inherit pname version; - hash = "sha256-8F2KiV/lujTbaWQl0IfCwzQ7HxNioHAHcffi7lL2hzs="; + hash = "sha256-WPjqKCktCEk7yPrz8/GDphoFtD4Q3j0cIxUxOEwc/i0="; }; # Secondary source is git for tests @@ -320,7 +320,7 @@ in python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; rev = "refs/tags/${version}"; - hash = "sha256-ojiNHl+sm1mLiM+rjESeR2zPOCGkG3RQ9to6VfetmZQ="; + hash = "sha256-qAwNuCoQN2r++QvKCTdNs7AePszSxwrFaY5FHXf3Vy8="; }; nativeBuildInputs = with python.pkgs; [ From 8b323771bbebb28290ec61794543b83890d29680 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 15 Jun 2023 12:58:25 +0300 Subject: [PATCH 31/65] steam: add ncurses to game specific libraries --- pkgs/games/steam/fhsenv.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index 9c47570b1dd8..dee43cb4b2e0 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -188,6 +188,7 @@ in buildFHSEnv rec { libvorbis # Dead Cells libxcrypt # Alien Isolation, XCOM 2, Company of Heroes 2 mono + ncurses # Crusader Kings III xorg.xkeyboardconfig xorg.libpciaccess xorg.libXScrnSaver # Dead Cells From da83e7667ee529670727d9cf679bb204ecb98618 Mon Sep 17 00:00:00 2001 From: Jaime Breva Date: Thu, 15 Jun 2023 08:07:33 +0200 Subject: [PATCH 32/65] tanidvr: init at 1.4.1 --- pkgs/applications/video/tanidvr/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/applications/video/tanidvr/default.nix diff --git a/pkgs/applications/video/tanidvr/default.nix b/pkgs/applications/video/tanidvr/default.nix new file mode 100644 index 000000000000..74987e004080 --- /dev/null +++ b/pkgs/applications/video/tanidvr/default.nix @@ -0,0 +1,19 @@ +{ lib, stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "tanidvr"; + version = "1.4.1"; + + src = fetchurl { + url = "mirror://sourceforge/tanidvr/TaniDVR/${pname}-${version}/${pname}-${version}.tar.bz2"; + sha256 = "0irwwf6mb72n3y4xcrl3s081nbnldvdlc6ypjqxa4p32c1d0g6ql"; + }; + + meta = { + description = "CLI tool for managing and capturing video from DVRs which use the DVR-IP protocol"; + homepage = "https://tanidvr.sourceforge.net/"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ pho ]; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 25c408635a47..6a4db6f66c02 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24432,6 +24432,8 @@ with pkgs; taglib-sharp = callPackage ../development/libraries/taglib-sharp { }; + tanidvr = callPackage ../applications/video/tanidvr { }; + talloc = callPackage ../development/libraries/talloc { }; tagparser = callPackage ../development/libraries/tagparser { }; From e6f533ee3d07cdeec7f5ba732eaaffc565cd303d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jun 2023 12:26:02 +0200 Subject: [PATCH 33/65] python310Packages.flask-jwt-extended: 4.4.4 -> 4.5.2 https://github.com/vimalloc/flask-jwt-extended/releases/tag/4.5.0 https://github.com/vimalloc/flask-jwt-extended/releases/tag/4.5.1 https://github.com/vimalloc/flask-jwt-extended/releases/tag/4.5.2 --- .../python-modules/flask-jwt-extended/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/flask-jwt-extended/default.nix b/pkgs/development/python-modules/flask-jwt-extended/default.nix index 44c95940d19c..173b029d1533 100644 --- a/pkgs/development/python-modules/flask-jwt-extended/default.nix +++ b/pkgs/development/python-modules/flask-jwt-extended/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "flask-jwt-extended"; - version = "4.4.4"; + version = "4.5.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "Flask-JWT-Extended"; inherit version; - hash = "sha256-YrUh11SUwpCmRq6KzHcSNyHkNkeQ8eZK8AONgjlh+/A="; + hash = "sha256-ulYkW6Q7cciuk2eEuGdiXc6LmVb67t7ClTIi5XlC+ws="; }; propagatedBuildInputs = [ @@ -44,6 +44,7 @@ buildPythonPackage rec { ]; meta = with lib; { + changelog = "https://github.com/vimalloc/flask-jwt-extended/releases/tag/${version}"; description = "JWT extension for Flask"; homepage = "https://flask-jwt-extended.readthedocs.io/"; license = licenses.mit; From 4593488d4dd8d34fd409bba9bda8597758c4ce16 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jun 2023 13:11:31 +0200 Subject: [PATCH 34/65] python310Packages.weconnect: relax requests constraint --- pkgs/development/python-modules/weconnect/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index 12b10e17446f..f5ee7e13b4d5 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -47,6 +47,8 @@ buildPythonPackage rec { substituteInPlace setup.py \ --replace "setup_requires=SETUP_REQUIRED," "setup_requires=[]," \ --replace "tests_require=TEST_REQUIRED," "tests_require=[]," + substituteInPlace requirements.txt \ + --replace "requests~=2.29.0" "requests" substituteInPlace image_extra_requirements.txt \ --replace "pillow~=" "pillow>=" \ --replace "ascii_magic~=" "ascii_magic>=" From e2b89b6b34a1caa369868f03f42499a3a59c7670 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 15 Jun 2023 15:12:04 +0200 Subject: [PATCH 35/65] python311Packages.homeassistant-stubs: 2023.6.1 -> 2023.6.2 https://github.com/KapJI/homeassistant-stubs/releases/tag/2023.6.2 --- pkgs/servers/home-assistant/stubs.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index f3831c89fbd8..5a19437fb23e 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2023.6.1"; + version = "2023.6.2"; format = "pyproject"; disabled = python.version != home-assistant.python.version; @@ -17,7 +17,7 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; rev = "refs/tags/${version}"; - hash = "sha256-LiBn9NpR7sAAZX1yPT0V5LhQeALPvGVRzDam7cCBoi8="; + hash = "sha256-DApFCEpm+Q0UqXZkHsowPs7jFoua4UahfEoejKXEnms="; }; nativeBuildInputs = [ From 7b85087a31a1a8865555a6f414d5a1105f882575 Mon Sep 17 00:00:00 2001 From: StepBroBD Date: Thu, 15 Jun 2023 12:01:31 -0600 Subject: [PATCH 36/65] raycast: 1.53.2 -> 1.53.3 after communicating with the Raycast team (thanks Sorin), they added API for 1. Getting the latest version of Raycast via REST endpoint https://releases.raycast.com/releases/latest 2. Versioned download in the format of https://releases.raycast.com/releases//download This update deprecates download via internet archive and switches to official download API --- pkgs/os-specific/darwin/raycast/default.nix | 14 ++++---------- pkgs/os-specific/darwin/raycast/update.sh | 8 ++++---- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/pkgs/os-specific/darwin/raycast/default.nix b/pkgs/os-specific/darwin/raycast/default.nix index 5c06c8181e3e..4772991e88a5 100644 --- a/pkgs/os-specific/darwin/raycast/default.nix +++ b/pkgs/os-specific/darwin/raycast/default.nix @@ -6,18 +6,12 @@ stdenvNoCC.mkDerivation rec { pname = "raycast"; - version = "1.53.2"; + version = "1.53.3"; src = fetchurl { - # https://github.com/NixOS/nixpkgs/pull/223495 - # official download API: https://api.raycast.app/v2/download - # this returns an AWS CloudFront signed URL with expiration timestamp and signature - # the returned URL will always be the latest Raycast which might result in an impure derivation - # the package maintainer created a repo (https://github.com/stepbrobd/raycast-overlay) - # to host GitHub Actions to periodically check for updates - # and re-release the `.dmg` file to Internet Archive (https://archive.org/details/raycast) - url = "https://archive.org/download/raycast/raycast-${version}.dmg"; - sha256 = "sha256-e2UGS1LSBj0xZu0gWlb8SiXhx1sZzcZDOGPhg6ziI9c="; + name = "Raycast.dmg"; + url = "https://releases.raycast.com/releases/${version}/download?build=universal"; + sha256 = "sha256-FHCNySTtP7Dxa2UAlYoHD4u5ammLuhOQKC3NGpxcyYo="; }; dontPatch = true; diff --git a/pkgs/os-specific/darwin/raycast/update.sh b/pkgs/os-specific/darwin/raycast/update.sh index d8f4e109da21..f338f5f278fc 100755 --- a/pkgs/os-specific/darwin/raycast/update.sh +++ b/pkgs/os-specific/darwin/raycast/update.sh @@ -3,10 +3,10 @@ set -eo pipefail -new_version="$(ia list raycast | grep -Eo '^raycast-.*\.dmg$' | sort -r | head -n1 | sed -E 's/^raycast-([0-9]+\.[0-9]+\.[0-9]+)\.dmg$/\1/')" -old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)" +new_version=$(curl --silent https://releases.raycast.com/releases/latest | jq -r '.version') +old_version=$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix) -if [[ "$new_version" == "$old_version" ]]; then +if [[ $new_version == $old_version ]]; then echo "Already up to date." exit 0 else @@ -15,6 +15,6 @@ else rm ./default.nix.bak fi -hash="$(nix --extra-experimental-features nix-command store prefetch-file --json --hash-type sha256 "https://archive.org/download/raycast/raycast-$new_version.dmg" | jq -r '.hash')" +hash=$(nix --extra-experimental-features nix-command store prefetch-file --json --hash-type sha256 "https://releases.raycast.com/releases/$new_version/download?build=universal" | jq -r '.hash') sed -Ei.bak '/ *sha256 = /{N;N; s@("sha256-)[^;"]+@"'"$hash"'@}' ./default.nix rm ./default.nix.bak From 028155ae12061187eb1c631931c4dc57b4469ea2 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Thu, 15 Jun 2023 12:34:24 -0700 Subject: [PATCH 37/65] gnu-config: add cannot-use-fetchpatch comment gnu-config is used by updateAutotoolsGnuConfigScriptsHook, which is used by stdenv. --- pkgs/development/libraries/gnu-config/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/gnu-config/default.nix b/pkgs/development/libraries/gnu-config/default.nix index be804859deb5..c0a3219808eb 100644 --- a/pkgs/development/libraries/gnu-config/default.nix +++ b/pkgs/development/libraries/gnu-config/default.nix @@ -1,5 +1,10 @@ { lib, stdenv, fetchurl }: +# Note: this package is used for bootstrapping fetchurl, and thus +# cannot use fetchpatch! All mutable patches (generated by GitHub or +# cgit) that are needed here should be included directly in Nixpkgs as +# files. + let rev = "63acb96f92473ceb5e21d873d7c0aee266b3d6d3"; From fcf1a7e0377c44b85ce973e7097018974d82de96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 15 Jun 2023 13:16:14 -0700 Subject: [PATCH 38/65] nextcloudPackages: update --- pkgs/servers/nextcloud/packages/25.json | 6 +++--- pkgs/servers/nextcloud/packages/26.json | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/servers/nextcloud/packages/25.json b/pkgs/servers/nextcloud/packages/25.json index 937754f20ccf..bb93b61cd758 100644 --- a/pkgs/servers/nextcloud/packages/25.json +++ b/pkgs/servers/nextcloud/packages/25.json @@ -20,9 +20,9 @@ ] }, "contacts": { - "sha256": "1xs42qfnw9j5f930798yl9vj2dpmjsg3i1m6phx0x3dbcbjd2da6", - "url": "https://github.com/nextcloud-releases/contacts/releases/download/v5.3.0/contacts-v5.3.0.tar.gz", - "version": "5.3.0", + "sha256": "07bnq5hfw9br2xa1j77vydwdaxnc0jyzpacd9hh4f5hvgxmbg6ag", + "url": "https://github.com/nextcloud-releases/contacts/releases/download/V5.3.1/contacts-V5.3.1.tar.gz", + "version": "5.3.1", "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* πŸŽ‰ **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* πŸ‘₯ **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.", "homepage": "https://github.com/nextcloud/contacts#readme", "licenses": [ diff --git a/pkgs/servers/nextcloud/packages/26.json b/pkgs/servers/nextcloud/packages/26.json index 98e7441d2b35..833f15fdd1b0 100644 --- a/pkgs/servers/nextcloud/packages/26.json +++ b/pkgs/servers/nextcloud/packages/26.json @@ -20,9 +20,9 @@ ] }, "contacts": { - "sha256": "1xs42qfnw9j5f930798yl9vj2dpmjsg3i1m6phx0x3dbcbjd2da6", - "url": "https://github.com/nextcloud-releases/contacts/releases/download/v5.3.0/contacts-v5.3.0.tar.gz", - "version": "5.3.0", + "sha256": "07bnq5hfw9br2xa1j77vydwdaxnc0jyzpacd9hh4f5hvgxmbg6ag", + "url": "https://github.com/nextcloud-releases/contacts/releases/download/V5.3.1/contacts-V5.3.1.tar.gz", + "version": "5.3.1", "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* πŸŽ‰ **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* πŸ‘₯ **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.", "homepage": "https://github.com/nextcloud/contacts#readme", "licenses": [ @@ -100,9 +100,9 @@ ] }, "mail": { - "sha256": "03az3x6mjswh4zj1a5zi9v7syskxkv98agvvv1pkmr76zbbvrzi0", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.2.0/mail-v3.2.0.tar.gz", - "version": "3.2.0", + "sha256": "1i149w2c2nlk3yn0bh872ijkaqxqbnlvsr558fn8gml0z9vwdfav", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v3.2.1/mail-v3.2.1.tar.gz", + "version": "3.2.1", "description": "**πŸ’Œ A mail app for Nextcloud**\n\n- **πŸš€ Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **πŸ“₯ Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **πŸ”’ Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **πŸ™ˆ We’re not reinventing the wheel!** Based on the great [Horde](https://horde.org) libraries.\n- **πŸ“¬ Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!", "homepage": "https://github.com/nextcloud/mail#readme", "licenses": [ From 8ea74861919c17003a269eb14051e64b61814c96 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Thu, 15 Jun 2023 22:15:00 +0200 Subject: [PATCH 39/65] chickenPackages: update --- .../development/compilers/chicken/5/deps.toml | 110 +++++++++++------- .../compilers/chicken/5/overrides.nix | 1 + 2 files changed, 70 insertions(+), 41 deletions(-) diff --git a/pkgs/development/compilers/chicken/5/deps.toml b/pkgs/development/compilers/chicken/5/deps.toml index 6b0cad35b05d..7e351479aa6b 100644 --- a/pkgs/development/compilers/chicken/5/deps.toml +++ b/pkgs/development/compilers/chicken/5/deps.toml @@ -114,9 +114,9 @@ version = "3.7.0" [arcadedb] dependencies = ["uri-common", "medea"] license = "zlib-acknowledgement" -sha256 = "0a6shlwd9zyrlyw8ayc0vxdlj6wbksi5ii8wfvxyi885b55bxk6g" +sha256 = "1s370xms0kf1z6a4pbg5lp931zr8yl0r5szwg3lji99cdm87cjij" synopsis = "An ArcadeDB database driver for CHICKEN Scheme." -version = "0.5" +version = "0.6" [args] dependencies = ["srfi-1", "srfi-13", "srfi-37"] @@ -219,9 +219,9 @@ version = "1.0" [beaker] dependencies = ["begin-syntax", "debugger-protocol", "schematic", "srfi-1", "srfi-13", "srfi-14", "srfi-69", "vector-lib", "with-current-directory", "module-declarations"] license = "bsd" -sha256 = "0clfw7z2j3b6hyj78g61n7nxf07bcksvdcbgs3jiv99rr1vaj9z5" +sha256 = "1nxzqjwh3bi2zyifdpn0wb86352rizjpfl3lfi34f3g6m95avmmg" synopsis = "Lab supplies for CHICKEN development" -version = "0.0.20" +version = "0.0.22" [begin-syntax] dependencies = ["matchable", "module-declarations"] @@ -314,6 +314,13 @@ sha256 = "0m78rb2q0znixpiflcrndlk708g4mbw7yh1ynkvk3zzvln0d3wgi" synopsis = "Bindings to the Blosc multi-threaded meta-compressor library" version = "1.1" +[botan] +dependencies = ["srfi-1", "srfi-13", "srfi-14"] +license = "bsd-2-clause" +sha256 = "1j2h6hhvwdr7d7kgm5b0nc5nmx23a35av7rvwcajlxxv9iafmdh2" +synopsis = "Bindings to the Botan cryptographic library" +version = "2.13.20191214-0" + [box] dependencies = [] license = "bsd" @@ -324,16 +331,16 @@ version = "3.6.0" [breadcrumbs] dependencies = ["srfi-1"] license = "bsd" -sha256 = "1l49ahr6vkx0ihkmmgsy0z72k7livl9gsmdbyj2q1i25lb14kp6s" +sha256 = "1n60k0ryp447fh4f1an7ki8c1kc2ll1v1cbhgrxvmwcx3v03d767" synopsis = "Breadcrumbs for web pages" -version = "1.1" +version = "1.2" [breadline] dependencies = ["apropos", "srfi-18"] license = "gpl-3" -sha256 = "05mmfr38wydifz6i5h12y07p6vj8xn8nvrxpiazbnyh6zwbswfhk" +sha256 = "1rvppf2aci4dxn6a74nzzj1iw7is65ad38fbvrr9harazfx6j4jy" synopsis = "Bindings to readline" -version = "0.10" +version = "0.11" [brev-separate] dependencies = ["matchable", "miscmacros", "srfi-1", "srfi-69"] @@ -408,9 +415,9 @@ version = "0.4" [check-errors] dependencies = [] license = "bsd" -sha256 = "0zbax9k6k4m490vhkpvyj0dsq87i58l39lakldmd0yfqm7da3lfz" +sha256 = "1ra8pvs0qnfqsjbrsn0k94drwx5ydvhapziv6dcqcb118iimnrmd" synopsis = "Argument checks & errors" -version = "3.7.0" +version = "3.7.1" [checks] dependencies = ["simple-exceptions"] @@ -569,9 +576,9 @@ version = "1.0" [condition-utils] dependencies = ["srfi-1", "srfi-69", "check-errors"] license = "bsd" -sha256 = "0v2k0spikmrwjb5j360hgi126k1zahnjswhfa2as4mlz6pwl5aqi" +sha256 = "1srb3lgnfvlpwn31w72jcg5wlghlgpp0khgwlk8cqy9ll5piqwqk" synopsis = "SRFI 12 Condition Utilities" -version = "2.2.1" +version = "2.2.2" [continuations] dependencies = [] @@ -751,9 +758,9 @@ version = "1.3.1" [dust] dependencies = ["http-client", "memory-mapped-files", "openssl", "posix-groups", "begin-syntax", "matchable", "module-declarations"] license = "bsd" -sha256 = "1invlk61z32x3f834qapwbqbjab04153c5rs06gaqa6ip83mraj6" +sha256 = "1r4yfs78az2p7szgsnlcnlfrqkivj9am7vm1sh2b29rjffkqnhp3" synopsis = "Fetch and install CHICKEN versions" -version = "0.0.15" +version = "0.0.16" [dwim-sort] dependencies = ["brev-separate", "sequences", "srfi-1", "match-generics"] @@ -1374,9 +1381,9 @@ version = "0.3" [ipfs] dependencies = ["http-client", "intarweb", "medea", "srfi-1", "srfi-13", "srfi-189", "srfi-197", "uri-common"] license = "unlicense" -sha256 = "01ar16bzy0q56zbnv19f0p1y0ch182jjfr9jihfnbj0fgpz8bvxp" +sha256 = "0kxir3f0f2w03wrsgdfn81hdmyzcrz6yglaqm369xrra2cpd4akb" synopsis = "IPFS HTTP API for Scheme" -version = "0.0.10" +version = "0.0.11" [irc] dependencies = ["matchable", "regex", "srfi-1"] @@ -1430,9 +1437,9 @@ version = "7.0" [json-rpc] dependencies = ["r7rs", "srfi-1", "srfi-18", "srfi-69", "srfi-180"] license = "mit" -sha256 = "04488ykkh8qwzfly3i86m7vpx10s6ixr2s10m390f587ls15qkyd" +sha256 = "0gh9w6mm6d3y2325m8cci743g1mh7q7bx3d4ygp47pj6mwjgihlz" synopsis = "A JSON RPC library for R7RS scheme." -version = "0.2.10" +version = "0.3.0" [json-utils] dependencies = ["utf8", "srfi-1", "srfi-69", "vector-lib", "miscmacros", "moremacros"] @@ -1535,9 +1542,9 @@ version = "1.2.1" [list-utils] dependencies = ["utf8", "srfi-1", "check-errors"] license = "bsd" -sha256 = "0s48ps6ymi9h6xgx190y7bvipasspqm236fg7n1yiayjgyivgcpp" +sha256 = "0wqmsvh3sfgp8ssh98n8y615lxnjlcda1k375jfss7vf8k5xn032" synopsis = "list-utils" -version = "2.4.1" +version = "2.4.3" [live-define] dependencies = ["matchable"] @@ -1605,9 +1612,9 @@ version = "3" [lsp-server] dependencies = ["apropos", "chicken-doc", "json-rpc", "nrepl", "r7rs", "srfi-1", "srfi-130", "srfi-133", "srfi-18", "srfi-69", "uri-generic", "utf8"] license = "mit" -sha256 = "1qxrfjmxr9azzsqamvlqr942835m1d8pr7k9a47zc9fkpgp1smy4" +sha256 = "1jqdmzjdixmza3h3m363bdm1kmwpr2di14ig5a9rh4aw33zaax5v" synopsis = "LSP Server for CHICKEN." -version = "0.2.2" +version = "0.3.0" [macaw] dependencies = [] @@ -1689,9 +1696,9 @@ version = "4.5.1" [matrico] dependencies = [] license = "zlib-acknowledgement" -sha256 = "0m7shfhmzzlqxspc97mbqdcr4zry7im1lrz8smr6wc7m9r8jf2p0" +sha256 = "0ng09xbk8229nhq4s8f8rxgrgigf81qr685mggvk2lm5p7kckpjq" synopsis = "A flonum matrix module for CHICKEN Scheme." -version = "0.3rel" +version = "0.5rel" [md5] dependencies = ["message-digest-primitive"] @@ -1773,9 +1780,9 @@ version = "0.7" [micro-benchmark] dependencies = ["micro-stats", "srfi-1"] license = "gplv3" -sha256 = "1dz9r9jbjq0zgpwmh2vl9wdkj57rprnmwarbk3x2y3ah5hn5m1nn" +sha256 = "0ahvxdm350bc9v80gnb8ccmjqqp60jznfjkx7w5ypf0q61mnj8sj" synopsis = "Easily create micro-benchmarks" -version = "0.0.18" +version = "0.0.19" [micro-stats] dependencies = ["srfi-1", "sequences", "sequences-utils"] @@ -1815,9 +1822,9 @@ version = "1.0.3" [module-declarations] dependencies = ["matchable", "srfi-1"] license = "bsd" -sha256 = "11jvzk59h8mmczh01p3s2dgdnrdd35ig55pw5whs7mw4fjjil6hz" +sha256 = "079zs0cc7bmc1macvsh79q1x4rbjqw25hcvlcis8xxg3952vlqfg" synopsis = "Module declarations" -version = "0.2.1" +version = "0.3.1" [monad] dependencies = ["srfi-1"] @@ -1826,6 +1833,13 @@ sha256 = "1xd24plxnwi9yssmw2in008biv2xf4iwwln6xswx781ankppqpg9" synopsis = "Monads" version = "5.0" +[monocypher] +dependencies = [] +license = "bsd-2-clause" +sha256 = "15lpm5bmqn4b8mh5wws66jay5flwj9y185zdjxj5qc23i5q3cwh0" +synopsis = "Monocypher cryptographic library" +version = "4.0.1-0" + [moremacros] dependencies = ["srfi-69", "miscmacros", "check-errors"] license = "bsd" @@ -2207,9 +2221,9 @@ version = "0.1.1" [r7rs] dependencies = ["matchable", "srfi-1", "srfi-13"] license = "bsd" -sha256 = "0l9smsii64n6rxvxf0bgjnpx16341zv7xh7xr60nk6f88kdkl03q" +sha256 = "1lxby5hj8bwqdwys5324fvrj6q9j4dp10mlvla3qjfc9scppxj79" synopsis = "R7RS compatibility" -version = "1.0.7" +version = "1.0.8" [rabbit] dependencies = ["srfi-1"] @@ -2604,18 +2618,25 @@ synopsis = "An implementation of skiplists" version = "1.0.2" [slib-arraymap] -dependencies = ["srfi-1", "srfi-63"] +dependencies = ["srfi-1", "srfi-63", "slib-compat"] license = "bsd" -sha256 = "157h7qrwqqkrd3xw88if054pi2719hkfm0pysq8v8w7yma65wvln" +sha256 = "08djsc0j6kacf07a59f58clka94wq4lp8ry3p8203sx3lbx1s8qw" synopsis = "The SLIB applicative routines for the arrays library" -version = "1.1.3" +version = "1.1.4" [slib-charplot] -dependencies = ["slib-arraymap", "srfi-63"] +dependencies = ["slib-arraymap", "srfi-63", "slib-compat"] license = "artistic" -sha256 = "0m9vjczx7w9m9kvm9vq1f6qxfdkxxh1f0msdrnyg5h4xn4dsnhww" +sha256 = "1ijcvs9y2vxmxg5834s4mprkinxhky0xdl3yksysmg9h9p82il2z" synopsis = "The SLIB character plotting library" -version = "1.2.1" +version = "1.2.2" + +[slib-compat] +dependencies = ["srfi-1"] +license = "artistic" +sha256 = "0pk00087wbxwyyrn0qa1261ry2c55mxz9jgh95adl6lvgdvajchy" +synopsis = "CHICKEN SLIB compatibility library" +version = "1.0.0" [slib-wt-tree] dependencies = ["typed-records"] @@ -2669,9 +2690,9 @@ version = "0.3.3" [sparse-vectors] dependencies = ["srfi-1", "record-variants"] license = "bsd" -sha256 = "1cqimy2qcjhzfjx1q7ids1wqg43wzpzz56cn193fwm75szqg0xdj" +sha256 = "0nmk6c9mhls38lyp0d8a9f3xh94jbl2dqbmqr9pab23pnx4hha1j" synopsis = "Arbitrarily large vectors" -version = "1.0.1" +version = "1.1.0" [spiffy-cgi-handlers] dependencies = ["spiffy", "intarweb", "uri-common", "socket", "records", "srfi-1", "srfi-18", "srfi-13", "miscmacros"] @@ -3079,6 +3100,13 @@ sha256 = "0ynasgp03kqd6nhqmcnp4cjf87p3pkjaqi2x860hma79xsslyp8n" synopsis = "SRFI 217: Integer Sets" version = "0.2" +[srfi-227] +dependencies = ["srfi-1"] +license = "mit" +sha256 = "0vrpgqdmwdaphy0szskxyl2x6xhwycgvi6flwi5v6m2zi5cd3j1c" +synopsis = "SRFI 227: Optional Arguments" +version = "1.1" + [srfi-232] dependencies = ["srfi-1"] license = "mit" @@ -3591,11 +3619,11 @@ synopsis = "tracing and breakpoints" version = "2.0" [transducers] -dependencies = ["srfi-1", "srfi-133", "srfi-143", "srfi-160", "check-errors"] +dependencies = ["srfi-1", "srfi-128", "srfi-133", "srfi-143", "srfi-146", "srfi-160", "check-errors"] license = "mit" -sha256 = "01xfqh94cn3qid9ydlmsyyh9drp8bzy8mp1q13b2vksm4yqp077w" +sha256 = "0mkrrfvskwgy5w8c9gz21np3p9857sm8fylq0hjz608jaxzybpcz" synopsis = "Transducers for working with foldable data types." -version = "0.3.1" +version = "0.4.0" [transmission] dependencies = ["http-client", "intarweb", "medea", "r7rs", "srfi-1", "srfi-189", "uri-common"] diff --git a/pkgs/development/compilers/chicken/5/overrides.nix b/pkgs/development/compilers/chicken/5/overrides.nix index 36c3f1ad4b05..29bfaec62d2e 100644 --- a/pkgs/development/compilers/chicken/5/overrides.nix +++ b/pkgs/development/compilers/chicken/5/overrides.nix @@ -30,6 +30,7 @@ in breadline = addToBuildInputs pkgs.readline; blas = addToBuildInputsWithPkgConfig pkgs.blas; blosc = addToBuildInputs pkgs.c-blosc; + botan = addToBuildInputsWithPkgConfig pkgs.botan2; cairo = old: (addToBuildInputsWithPkgConfig pkgs.cairo old) // (addToPropagatedBuildInputs (with chickenEggs; [ srfi-1 srfi-13 ]) old); From 1cb9ad903695e5a6ba117fe3840c9cd44aec7cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 15 Jun 2023 14:05:39 -0700 Subject: [PATCH 40/65] nextcloudPackages.apps.qownnotesapi: init at 23.6.0 --- pkgs/servers/nextcloud/packages/25.json | 10 ++++++++++ pkgs/servers/nextcloud/packages/26.json | 10 ++++++++++ pkgs/servers/nextcloud/packages/nextcloud-apps.json | 1 + 3 files changed, 21 insertions(+) diff --git a/pkgs/servers/nextcloud/packages/25.json b/pkgs/servers/nextcloud/packages/25.json index bb93b61cd758..d37b8530de3b 100644 --- a/pkgs/servers/nextcloud/packages/25.json +++ b/pkgs/servers/nextcloud/packages/25.json @@ -169,6 +169,16 @@ "agpl" ] }, + "qownnotesapi": { + "sha256": "1hkcqcc6y7x0zrc88qqmsf7mz0dl1kk06gsl6la3kr33fxr0cp0k", + "url": "https://github.com/pbek/qownnotesapi/releases/download/v23.6.0/qownnotesapi-nc.tar.gz", + "version": "23.6.0", + "description": "QOwnNotesAPI is the Nextcloud/ownCloud API for [QOwnNotes](http://www.qownnotes.org), the open source notepad for Linux, macOS and Windows, that works together with the notes application of Nextcloud/ownCloud.\n\nThe only purpose of this App is to provide API access to your Nextcloud/ownCloud server for your QOwnNotes desktop installation, you cannot use this App for anything else, if you don't have QOwnNotes installed on your desktop computer!", + "homepage": "https://github.com/pbek/qownnotesapi", + "licenses": [ + "agpl" + ] + }, "registration": { "sha256": "07dqc670qmdb3c8jjnj7azxxspjhiv6m9nrj960y3rjabyzy25m9", "url": "https://github.com/nextcloud-releases/registration/releases/download/v2.1.0/registration-v2.1.0.tar.gz", diff --git a/pkgs/servers/nextcloud/packages/26.json b/pkgs/servers/nextcloud/packages/26.json index 833f15fdd1b0..bcff05b3f238 100644 --- a/pkgs/servers/nextcloud/packages/26.json +++ b/pkgs/servers/nextcloud/packages/26.json @@ -169,6 +169,16 @@ "agpl" ] }, + "qownnotesapi": { + "sha256": "1hkcqcc6y7x0zrc88qqmsf7mz0dl1kk06gsl6la3kr33fxr0cp0k", + "url": "https://github.com/pbek/qownnotesapi/releases/download/v23.6.0/qownnotesapi-nc.tar.gz", + "version": "23.6.0", + "description": "QOwnNotesAPI is the Nextcloud/ownCloud API for [QOwnNotes](http://www.qownnotes.org), the open source notepad for Linux, macOS and Windows, that works together with the notes application of Nextcloud/ownCloud.\n\nThe only purpose of this App is to provide API access to your Nextcloud/ownCloud server for your QOwnNotes desktop installation, you cannot use this App for anything else, if you don't have QOwnNotes installed on your desktop computer!", + "homepage": "https://github.com/pbek/qownnotesapi", + "licenses": [ + "agpl" + ] + }, "registration": { "sha256": "07dqc670qmdb3c8jjnj7azxxspjhiv6m9nrj960y3rjabyzy25m9", "url": "https://github.com/nextcloud-releases/registration/releases/download/v2.1.0/registration-v2.1.0.tar.gz", diff --git a/pkgs/servers/nextcloud/packages/nextcloud-apps.json b/pkgs/servers/nextcloud/packages/nextcloud-apps.json index 86e0ac7ef990..8f4ddd98c430 100644 --- a/pkgs/servers/nextcloud/packages/nextcloud-apps.json +++ b/pkgs/servers/nextcloud/packages/nextcloud-apps.json @@ -16,6 +16,7 @@ , "onlyoffice" , "polls" , "previewgenerator" +, "qownnotesapi" , "registration" , "spreed" , "tasks" From d5a730290b3f02d5fd47a5478517e2224a53610e Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 15 Jun 2023 23:06:42 +0200 Subject: [PATCH 41/65] openvscode-server: 1.79.0 -> 1.79.1 --- pkgs/servers/openvscode-server/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/openvscode-server/default.nix b/pkgs/servers/openvscode-server/default.nix index 17c53a2de8ff..c65fd71a0cf3 100644 --- a/pkgs/servers/openvscode-server/default.nix +++ b/pkgs/servers/openvscode-server/default.nix @@ -58,13 +58,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "openvscode-server"; - version = "1.79.0"; + version = "1.79.1"; src = fetchFromGitHub { owner = "gitpod-io"; repo = "openvscode-server"; rev = "openvscode-server-v${finalAttrs.version}"; - hash = "sha256-dVzGyK1ybZywCm602zWJroSCQ2wx5IzV+HqwZUsEgKU="; + hash = "sha256-yMJo66RYcbVyIFKNNxDe0U9CPvaez/kTu9sPGcaESPw="; }; yarnCache = stdenv.mkDerivation { @@ -100,6 +100,7 @@ stdenv.mkDerivation (finalAttrs: { jq moreutils ]; + buildInputs = lib.optionals (!stdenv.isDarwin) [ libsecret ] ++ (with xorg; [ libX11 libxkbfile ]) ++ lib.optionals stdenv.isDarwin [ From 227ae542966495428d8d2179498663113f09740d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Thu, 15 Jun 2023 23:17:20 +0200 Subject: [PATCH 42/65] fastly: 10.1.0 -> 10.2.0 --- pkgs/misc/fastly/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/misc/fastly/default.nix b/pkgs/misc/fastly/default.nix index 2eec7227fc6d..c466e103f70f 100644 --- a/pkgs/misc/fastly/default.nix +++ b/pkgs/misc/fastly/default.nix @@ -10,13 +10,13 @@ buildGoModule rec { pname = "fastly"; - version = "10.1.0"; + version = "10.2.0"; src = fetchFromGitHub { owner = "fastly"; repo = "cli"; rev = "refs/tags/v${version}"; - hash = "sha256-gMSKk5igNy8W7Qb1xtKgfpzftiPVZaAv/oKIdinTMGA="; + hash = "sha256-ZyclYBUQ7X1X9NOPEk1HIoCNYw6zybhno9vq/yqmER8="; # The git commit is part of the `fastly version` original output; # leave that output the same in nixpkgs. Use the `.git` directory # to retrieve the commit SHA, and remove the directory afterwards, @@ -33,7 +33,7 @@ buildGoModule rec { "cmd/fastly" ]; - vendorHash = "sha256-WF66oSkH46mA+WLazJ/qgfNSTXBbeWhbeBYIcP2Q3aQ="; + vendorHash = "sha256-J6I2ZSelebf4dUYn+xrBOg63+jjzapNkDLUFmqBSg2E="; nativeBuildInputs = [ installShellFiles From 5dc6884610123ff652f9b7c77fca19e2e2532800 Mon Sep 17 00:00:00 2001 From: BattleCh1cken Date: Thu, 15 Jun 2023 19:45:16 -0400 Subject: [PATCH 43/65] zrythm: fix failing build in qtPreHook phase --- pkgs/applications/audio/zrythm/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/zrythm/default.nix b/pkgs/applications/audio/zrythm/default.nix index c3b6f37b4de8..4817f63adf73 100644 --- a/pkgs/applications/audio/zrythm/default.nix +++ b/pkgs/applications/audio/zrythm/default.nix @@ -85,7 +85,8 @@ let hash = "sha256-yfVzZV8G4AUDM8+yS9finzobpOb1PUEPgBWFhEY4nFQ="; }; }); -in stdenv.mkDerivation rec { +in +stdenv.mkDerivation rec { pname = "zrythm"; version = "1.0.0-beta.4.9.1"; @@ -172,6 +173,8 @@ in stdenv.mkDerivation rec { # Zrythm uses meson to build, but requires cmake for dependency detection. dontUseCmakeConfigure = true; + dontWrapQtApps = true; + mesonFlags = [ "-Db_lto=false" "-Dcarla=enabled" From 6cbf9635cb5e13f2f5aea17fce3f1b07376362ed Mon Sep 17 00:00:00 2001 From: nixpkgs-upkeep-bot Date: Fri, 16 Jun 2023 00:27:01 +0000 Subject: [PATCH 44/65] vscode: 1.79.1 -> 1.79.2 --- pkgs/applications/editors/vscode/vscode.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix index 744d9ea9186e..381de9e9462c 100644 --- a/pkgs/applications/editors/vscode/vscode.nix +++ b/pkgs/applications/editors/vscode/vscode.nix @@ -24,21 +24,21 @@ let archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; sha256 = { - x86_64-linux = "10nanw9xbns3wkcy1vr0shqk2719cfql0aj0lxbza74mhm290izg"; - x86_64-darwin = "1rffjb8p4vjwgvzrzpwqs3mb2hsf9hdml0r8zhzrzxlvrzzkkfdi"; - aarch64-linux = "1fgvgma8s1y0fm3ynz9diz2plffmxjpgf0w2flnr5zr14yvzi072"; - aarch64-darwin = "071vr52mcc0wrqa90kimmpmyj91nxwhg3jkfwcdssw2cr7qpjw67"; - armv7l-linux = "0b4d70d9qxlafn2mmf7vnmg09gdmv3cr57f32nvsn361z18y7yi2"; + x86_64-linux = "0ykchyksfc7aqar2f691jva36v0syn575rj6hydws0y79pplvinh"; + x86_64-darwin = "1zayc6z4zfkjb238dx51b1f2s9clqzhxhvb91j5w0ayqk735bd5d"; + aarch64-linux = "1nbnprf6sjqqrw7qha0r6f78n7jjvhn8kv1wxh5pi535nlmxza14"; + aarch64-darwin = "0lijfhlbj0vsjd6kdfr0fmks2spjazrzwnlxxw0ka80psxghavs6"; + armv7l-linux = "0dhgb1lxq8r4fk6nkb14h986w3dj19llvjvn8jq4mxdbscnik2j5"; }.${system} or throwSystem; in callPackage ./generic.nix rec { # Please backport all compatible updates to the stable release. # This is important for the extension ecosystem. - version = "1.79.1"; + version = "1.79.2"; pname = "vscode"; # This is used for VS Code - Remote SSH test - rev = "b380da4ef1ee00e224a15c1d4d9793e27c2b6302"; + rev = "695af097c7bd098fbf017ce3ac85e09bbc5dda06"; executableName = "code" + lib.optionalString isInsiders "-insiders"; longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders"; @@ -62,7 +62,7 @@ in src = fetchurl { name = "vscode-server-${rev}.tar.gz"; url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable"; - sha256 = "0732wpl4fjknhn423k23zrcqz9psjj1iy8lqa0fc8970n1m7i58b"; + sha256 = "0xbc20vh6rj2g6wvw73k8wqm1lxwirph3swwilq5f9hmkzha1z7i"; }; }; From af7ceb6cc9e322259d65b45bb79a935be1e5fc60 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 16 Jun 2023 03:03:07 +0200 Subject: [PATCH 45/65] python310Packages.weconnect-mqtt: relax weconnect constraint --- pkgs/development/python-modules/weconnect-mqtt/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/weconnect-mqtt/default.nix b/pkgs/development/python-modules/weconnect-mqtt/default.nix index 5803f20c07a3..0bd4bec4d516 100644 --- a/pkgs/development/python-modules/weconnect-mqtt/default.nix +++ b/pkgs/development/python-modules/weconnect-mqtt/default.nix @@ -23,6 +23,8 @@ buildPythonPackage rec { }; postPatch = '' + substituteInPlace requirements.txt \ + --replace "weconnect[Images]~=" "weconnect>=" substituteInPlace weconnect_mqtt/__version.py \ --replace "develop" "${version}" substituteInPlace pytest.ini \ From f9842d2c4c28dd5643fd0e047d9048bedaeff58c Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 16 Jun 2023 10:12:19 +0900 Subject: [PATCH 46/65] python3Packages.langchainplus-sdk: 0.0.6 -> 0.0.10 --- pkgs/development/python-modules/langchainplus-sdk/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchainplus-sdk/default.nix b/pkgs/development/python-modules/langchainplus-sdk/default.nix index fc1cf5430327..5924872d85cd 100644 --- a/pkgs/development/python-modules/langchainplus-sdk/default.nix +++ b/pkgs/development/python-modules/langchainplus-sdk/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "langchainplus-sdk"; - version = "0.0.6"; + version = "0.0.10"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "langchainplus_sdk"; - hash = "sha256-yRGpj9LQK6pI90K31wD9alXxHJpUXuXWawiCWUDJoy4="; + hash = "sha256-T4ELON90qZ0B5XI+ZT2gLwXfPukilxzMq8Nl0Awz2/Y="; }; nativeBuildInputs = [ From e965f22be85182f73f0cc302f094bc8f746a4093 Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 16 Jun 2023 10:12:35 +0900 Subject: [PATCH 47/65] python3Packages.langchain: 0.0.195 -> 0.0.201 Diff: https://github.com/hwchase17/langchain/compare/refs/tags/v0.0.195...v0.0.201 Changelog: https://github.com/hwchase17/langchain/releases/tag/v0.0.201 --- pkgs/development/python-modules/langchain/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index e30c1a528d08..5b6809023c3a 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -66,6 +66,7 @@ , pytest-mock , pytest-socket , pandas +, syrupy , toml , freezegun , responses @@ -76,7 +77,7 @@ buildPythonPackage rec { pname = "langchain"; - version = "0.0.195"; + version = "0.0.201"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -85,7 +86,7 @@ buildPythonPackage rec { owner = "hwchase17"; repo = "langchain"; rev = "refs/tags/v${version}"; - hash = "sha256-PUBFAAqCAshUkASsGnFNQ5+Xh6416ISkMqJ0bYcx7WI="; + hash = "sha256-+mS6rKypDrlKFg+c0GPAZ0YX7UYN+mlilnbX2hptLt0="; }; postPatch = '' @@ -233,6 +234,7 @@ buildPythonPackage rec { pytest-socket pytest-asyncio pandas + syrupy toml freezegun responses From 51d5e990371bb816719c408297a1466d02bae9b4 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 16 Jun 2023 04:20:00 +0000 Subject: [PATCH 48/65] cloud-nuke: 0.31.1 -> 0.31.2 Diff: https://github.com/gruntwork-io/cloud-nuke/compare/refs/tags/v0.31.1...v0.31.2 Changelog: https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.31.2 --- pkgs/development/tools/cloud-nuke/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/cloud-nuke/default.nix b/pkgs/development/tools/cloud-nuke/default.nix index 1034f4d4b226..26354784aff2 100644 --- a/pkgs/development/tools/cloud-nuke/default.nix +++ b/pkgs/development/tools/cloud-nuke/default.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "cloud-nuke"; - version = "0.31.1"; + version = "0.31.2"; src = fetchFromGitHub { owner = "gruntwork-io"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-TTGC2lvqG+RYsruNzo7GApT5HMJyG4aoT12Rju9hTmY="; + hash = "sha256-t7LFAWdqbJLOmrac6IXgo+9TK53B7FWLFo1YAY4sPqs="; }; - vendorHash = "sha256-DPJ6+akisNtMsbDdHWEWavZ2GJfeWjFIV6K+bV91FEY="; + vendorHash = "sha256-AbHjwHwgFwDOwgbuQI3D+zNY71ikA5CPlJUFQIDjhm0="; nativeBuildInputs = [ makeBinaryWrapper From faab4a33ed43bf93baa664ec1aca011530eb4245 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 16 Jun 2023 04:20:00 +0000 Subject: [PATCH 49/65] esbuild: 0.18.2 -> 0.18.3 Diff: https://github.com/evanw/esbuild/compare/v0.18.2...v0.18.3 Changelog: https://github.com/evanw/esbuild/blob/v0.18.3/CHANGELOG.md --- pkgs/development/tools/esbuild/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/esbuild/default.nix b/pkgs/development/tools/esbuild/default.nix index a6a9722c6f5d..bef7327f5d66 100644 --- a/pkgs/development/tools/esbuild/default.nix +++ b/pkgs/development/tools/esbuild/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "esbuild"; - version = "0.18.2"; + version = "0.18.3"; src = fetchFromGitHub { owner = "evanw"; repo = "esbuild"; rev = "v${version}"; - hash = "sha256-uzEnHe6M5xQV2jj+10KeTOCY5dP/78P08h4hgn2yUDc="; + hash = "sha256-rWziaR3c4rRcXp2CLNWWC4Kc2woCXP/nrMOCsp/nc9Y="; }; vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ="; From e25bb93f86003b256accde4b106d11241e8effbb Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Jun 2023 06:57:45 +0200 Subject: [PATCH 50/65] python311Packages.azure-servicebus: 7.10.0 -> 7.11.0 --- pkgs/development/python-modules/azure-servicebus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-servicebus/default.nix b/pkgs/development/python-modules/azure-servicebus/default.nix index e7d67da692b5..ab62978e2bd7 100644 --- a/pkgs/development/python-modules/azure-servicebus/default.nix +++ b/pkgs/development/python-modules/azure-servicebus/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "azure-servicebus"; - version = "7.10.0"; + version = "7.11.0"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-ANEJ5aLqfHX/OGO41FNjCqr9S6UygQMrGMQvMtR3z/Q="; + hash = "sha256-JMmfs1d1EFilHJ1Dud4mGJynRHLx+Uq95nZM2D+NecE="; }; propagatedBuildInputs = [ From 6adb9e6cf1e407674523817e1aab86b12ee344ca Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Jun 2023 06:58:18 +0200 Subject: [PATCH 51/65] python311Packages.azure-mgmt-dns: 8.0.0 -> 8.1.0 --- pkgs/development/python-modules/azure-mgmt-dns/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-mgmt-dns/default.nix b/pkgs/development/python-modules/azure-mgmt-dns/default.nix index 515a8ab6026a..85f84b34a79c 100644 --- a/pkgs/development/python-modules/azure-mgmt-dns/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-dns/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "azure-mgmt-dns"; - version = "8.0.0"; + version = "8.1.0"; src = fetchPypi { inherit pname version; extension = "zip"; - sha256 = "407c2dacb33513ffbe9ca4be5addb5e9d4bae0cb7efa613c3f7d531ef7bf8de8"; + sha256 = "sha256-2DedS7kZS4G3nlKE2HX6bfgHBzRvLLtcVJGiDzUmb9A="; }; propagatedBuildInputs = [ From d080989a58c6dbcdecb589a7a489f92d2cb3e545 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 16 Jun 2023 06:58:50 +0200 Subject: [PATCH 52/65] python311Packages.azure-data-tables: 12.4.2 -> 12.4.3 --- pkgs/development/python-modules/azure-data-tables/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/azure-data-tables/default.nix b/pkgs/development/python-modules/azure-data-tables/default.nix index 6c7fb17c636c..b09102eaf0f0 100644 --- a/pkgs/development/python-modules/azure-data-tables/default.nix +++ b/pkgs/development/python-modules/azure-data-tables/default.nix @@ -7,12 +7,12 @@ buildPythonPackage rec { pname = "azure-data-tables"; - version = "12.4.2"; + version = "12.4.3"; src = fetchPypi { inherit pname version; extension = "zip"; - hash = "sha256-Oz1dFbKpY+CbSTSx/iuiF/Kd2axRghwXVJ/K+HRwJDQ="; + hash = "sha256-qLA0vNRyIu36xKwB55BD/TCTOv+nmyOtk3+Y4P+SalI="; }; propagatedBuildInputs = [ From a0f30da0088b3a32ac4fdbde6ef3c9a1632e64d6 Mon Sep 17 00:00:00 2001 From: misuzu Date: Thu, 15 Jun 2023 16:16:06 +0300 Subject: [PATCH 53/65] ctranslate2: add withOneDNN, withOpenblas, withRuy Disable withOneDNN by default --- .../libraries/ctranslate2/default.nix | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/ctranslate2/default.nix b/pkgs/development/libraries/ctranslate2/default.nix index cdfbcc3ebcc7..2491fee0b2b4 100644 --- a/pkgs/development/libraries/ctranslate2/default.nix +++ b/pkgs/development/libraries/ctranslate2/default.nix @@ -4,9 +4,12 @@ , cmake , darwin # Accelerate , llvmPackages # openmp -, oneDNN -, openblas , withMkl ? false, mkl +# Enabling both withOneDNN and withOpenblas is broken +# https://github.com/OpenNMT/CTranslate2/issues/1294 +, withOneDNN ? false, oneDNN +, withOpenblas ? true, openblas +, withRuy ? true }: let @@ -30,19 +33,24 @@ stdenv.mkDerivation rec { cmakeFlags = [ # https://opennmt.net/CTranslate2/installation.html#build-options - "-DWITH_DNNL=OFF" # requires oneDNN>=3.0 - "-DWITH_OPENBLAS=ON" + # https://github.com/OpenNMT/CTranslate2/blob/54810350e662ebdb01ecbf8e4a746f02aeff1dd7/python/tools/prepare_build_environment_linux.sh#L53 + # https://github.com/OpenNMT/CTranslate2/blob/59d223abcc7e636c1c2956e62482bc3299cc7766/python/tools/prepare_build_environment_macos.sh#L12 + "-DOPENMP_RUNTIME=COMP" + "-DWITH_DNNL=${cmakeBool withOneDNN}" + "-DWITH_OPENBLAS=${cmakeBool withOpenblas}" + "-DWITH_RUY=${cmakeBool withRuy}" "-DWITH_MKL=${cmakeBool withMkl}" ] ++ lib.optional stdenv.isDarwin "-DWITH_ACCELERATE=ON"; - buildInputs = [ - llvmPackages.openmp - openblas - oneDNN - ] ++ lib.optional withMkl [ + buildInputs = lib.optionals withMkl [ mkl + ] ++ lib.optionals withOneDNN [ + oneDNN + ] ++ lib.optionals withOpenblas [ + openblas ] ++ lib.optionals stdenv.isDarwin [ + llvmPackages.openmp darwin.apple_sdk.frameworks.Accelerate ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ darwin.apple_sdk.frameworks.CoreGraphics From c17a04710364d124142b76a7df809759441c4cbb Mon Sep 17 00:00:00 2001 From: misuzu Date: Thu, 15 Jun 2023 16:16:15 +0300 Subject: [PATCH 54/65] ctranslate2: add misuzu as maintainer --- pkgs/development/libraries/ctranslate2/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/ctranslate2/default.nix b/pkgs/development/libraries/ctranslate2/default.nix index 2491fee0b2b4..3d56fd9b198b 100644 --- a/pkgs/development/libraries/ctranslate2/default.nix +++ b/pkgs/development/libraries/ctranslate2/default.nix @@ -62,6 +62,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/OpenNMT/CTranslate2"; changelog = "https://github.com/OpenNMT/CTranslate2/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; - maintainers = with maintainers; [ hexa ]; + maintainers = with maintainers; [ hexa misuzu ]; }; } From a5f81ddc2feced17319db073399af0a6d11084c8 Mon Sep 17 00:00:00 2001 From: netali Date: Fri, 16 Jun 2023 08:36:06 +0200 Subject: [PATCH 55/65] vbam: fix build with openal 1.23.1 This commit fixes the build of vbam with openal 1.23.1 by applying a patch from the master branch of the vbam repo which isn't released in a new version yet. Fixes #237969 --- pkgs/applications/emulators/vbam/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/emulators/vbam/default.nix b/pkgs/applications/emulators/vbam/default.nix index 932f8a59e7d9..acf7b26d9478 100644 --- a/pkgs/applications/emulators/vbam/default.nix +++ b/pkgs/applications/emulators/vbam/default.nix @@ -43,6 +43,13 @@ stdenv.mkDerivation rec { gtk3 ]; + patches = [ + (fetchpatch { + url = "https://github.com/visualboyadvance-m/visualboyadvance-m/commit/1d7e8ae4edc53a3380dfea88329b8b8337db1c52.patch"; + sha256 = "sha256-SV1waz2JSKiM6itwkqwlE3aOZCcOl8iyBr06tyYlefo="; + }) + ]; + cmakeFlags = [ "-DCMAKE_BUILD_TYPE='Release'" "-DENABLE_FFMPEG='true'" From 3a74d25f11337243d124191b99fe86895436cfec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20W=C3=B6gi?= <789@c-w.li> Date: Fri, 16 Jun 2023 08:52:06 +0200 Subject: [PATCH 56/65] erlang_26: fix missing package --- pkgs/top-level/all-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b367984fe4b8..af10a93a7403 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17082,7 +17082,7 @@ with pkgs; }; inherit (beam.interpreters) - erlang erlang_25 erlang_24 erlang_23 + erlang erlang_26 erlang_25 erlang_24 erlang_23 erlang_odbc erlang_javac erlang_odbc_javac elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls; From c269fa075a00a45d1298ff32cfb62afb880333ee Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 16 Jun 2023 11:30:12 +0300 Subject: [PATCH 57/65] wownero: 0.8.0.1 -> 0.11.0.1 --- .../blockchains/wownero/default.nix | 83 ++++++++++++++----- pkgs/top-level/all-packages.nix | 4 +- 2 files changed, 61 insertions(+), 26 deletions(-) diff --git a/pkgs/applications/blockchains/wownero/default.nix b/pkgs/applications/blockchains/wownero/default.nix index 9c68a094b878..665607e2ee7d 100644 --- a/pkgs/applications/blockchains/wownero/default.nix +++ b/pkgs/applications/blockchains/wownero/default.nix @@ -1,38 +1,75 @@ -{ lib, stdenv, fetchFromGitea, cmake, boost, miniupnpc, openssl, unbound -, readline, libsodium, rapidjson +{ lib +, stdenv +, fetchFromGitHub +, cmake +, boost +, libsodium +, openssl +, rapidjson +, readline +, unbound +, zeromq +, darwin }: +let + # submodules + miniupnp = fetchFromGitHub { + owner = "miniupnp"; + repo = "miniupnp"; + rev = "miniupnpc_2_2_1"; + hash = "sha256-opd0hcZV+pjC3Mae3Yf6AR5fj6xVwGm9LuU5zEPxBKc="; + }; + supercop = fetchFromGitHub { + owner = "monero-project"; + repo = "supercop"; + rev = "633500ad8c8759995049ccd022107d1fa8a1bbc9"; + hash = "sha256-26UmESotSWnQ21VbAYEappLpkEMyl0jiuCaezRYd/sE="; + }; + randomwow = fetchFromGitHub { + owner = "wownero-project"; + repo = "RandomWOW"; + rev = "607bad48f3687c2490d90f8c55efa2dcd7cbc195"; + hash = "sha256-CJv96TbPv1k/C7MQWEntE6khIRX1iIEiF9wEdsQGiFQ="; + }; +in stdenv.mkDerivation rec { pname = "wownero"; - version = "0.8.0.1"; - randomwowVersion = "1.1.7"; + version = "0.11.0.1"; - src = fetchFromGitea { - domain = "git.wownero.com"; - owner = "wownero"; + src = fetchFromGitHub { + owner = "wownero-project"; repo = "wownero"; rev = "v${version}"; - sha256 = "sha256-+cUdousEiZMNwqhTvjoqw/k21x3dg7Lhb/5KyNUGrjQ="; fetchSubmodules = false; + hash = "sha256-zmGsSbPpVwL0AhCQkdMKORruM5kYrrLe/BYfMphph8c="; }; - randomwow = fetchFromGitea { - domain = "git.wownero.com"; - owner = "wownero"; - repo = "RandomWOW"; - rev = randomwowVersion; - sha256 = "sha256-JzyRlHwM8rmJ5OaKHz+6vHGfpSz+X4zkFAKn4Jmo+EE="; - }; - - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ + cmake + ]; buildInputs = [ - boost miniupnpc openssl unbound rapidjson readline libsodium + boost + libsodium + openssl + rapidjson + readline + unbound + zeromq + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.IOKit ]; postUnpack = '' - rm -r $sourceRoot/external/RandomWOW - ln -s ${randomwow} $sourceRoot/external/RandomWOW + rm -r $sourceRoot/external/miniupnp + ln -s ${miniupnp} $sourceRoot/external/miniupnp + + rm -r $sourceRoot/external/randomwow + ln -s ${randomwow} $sourceRoot/external/randomwow + + rm -r $sourceRoot/external/supercop + ln -s ${supercop} $sourceRoot/external/supercop ''; cmakeFlags = [ @@ -52,9 +89,9 @@ stdenv.mkDerivation rec { signatures using different participants for the same tx outputs on opposing forks. ''; - homepage = "https://wownero.org/"; - license = licenses.bsd3; - platforms = platforms.linux; + homepage = "https://wownero.org/"; + license = licenses.bsd3; maintainers = with maintainers; [ ]; + platforms = platforms.unix; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b367984fe4b8..12a642f343d8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -36192,9 +36192,7 @@ with pkgs; wasabibackend = callPackage ../applications/blockchains/wasabibackend { }; - wownero = callPackage ../applications/blockchains/wownero { - boost = boost175; - }; + wownero = callPackage ../applications/blockchains/wownero { }; zcash = callPackage ../applications/blockchains/zcash { inherit (darwin.apple_sdk.frameworks) Security; From 68f4a04143a7f08ec1f5a792624e5298b62b1f30 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 15 Jun 2023 11:54:21 +0200 Subject: [PATCH 58/65] extra-container: 0.11 -> 0.12 --- pkgs/tools/virtualization/extra-container/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/virtualization/extra-container/default.nix b/pkgs/tools/virtualization/extra-container/default.nix index bb06d3f33fa7..894622d74eb0 100644 --- a/pkgs/tools/virtualization/extra-container/default.nix +++ b/pkgs/tools/virtualization/extra-container/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "extra-container"; - version = "0.11"; + version = "0.12"; src = fetchFromGitHub { owner = "erikarvstedt"; repo = pname; rev = version; - hash = "sha256-ORe1tSWhmgIaDj3CTEovsFCq+60LQmYy8RUx9v7De30="; + hash = "sha256-/5wPv962ZHvZoZMOr4nMz7qcvbzlExRYS2nrnay/PU8="; }; buildCommand = '' @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Run declarative containers without full system rebuilds"; homepage = "https://github.com/erikarvstedt/extra-container"; + changelog = "https://github.com/erikarvstedt/extra-container/blob/${version}/CHANGELOG.md"; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.erikarvstedt ]; From 88ecfcb8a191d4313f563b685214904996c95435 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Fri, 16 Jun 2023 18:45:14 +1000 Subject: [PATCH 59/65] python3Packages.clustershell: unmark as broken on aarch64-linux --- pkgs/development/python-modules/clustershell/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/clustershell/default.nix b/pkgs/development/python-modules/clustershell/default.nix index da99e446600d..f95b9f02aa10 100644 --- a/pkgs/development/python-modules/clustershell/default.nix +++ b/pkgs/development/python-modules/clustershell/default.nix @@ -98,7 +98,7 @@ buildPythonPackage rec { ''; meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin; + broken = stdenv.isDarwin; description = "Scalable Python framework for cluster administration"; homepage = "https://cea-hpc.github.io/clustershell"; license = licenses.lgpl21; From b1f11a494558a26085b18f167982f9966bd6ce29 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 16 Jun 2023 12:04:44 +0300 Subject: [PATCH 60/65] povray: unpin boost175 --- pkgs/top-level/all-packages.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b367984fe4b8..bf2ccaebb774 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11530,9 +11530,7 @@ with pkgs; postscript-lexmark = callPackage ../misc/drivers/postscript-lexmark { }; - povray = callPackage ../tools/graphics/povray { - boost = boost175; - }; + povray = callPackage ../tools/graphics/povray { }; power-profiles-daemon = callPackage ../os-specific/linux/power-profiles-daemon { }; From 6d4cafca680687c239fadf9bfef2905a2edecd24 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 16 Jun 2023 11:11:10 +0300 Subject: [PATCH 61/65] pwnat: 2014-09-08 -> 2023-03-31 --- pkgs/tools/networking/pwnat/default.nix | 28 ++++++++++++++++++------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/networking/pwnat/default.nix b/pkgs/tools/networking/pwnat/default.nix index 780477af2fcb..ab123973c0a1 100644 --- a/pkgs/tools/networking/pwnat/default.nix +++ b/pkgs/tools/networking/pwnat/default.nix @@ -1,21 +1,33 @@ -{ lib, stdenv, fetchFromGitHub }: +{ lib +, stdenv +, fetchFromGitHub +}: stdenv.mkDerivation rec { - name = "${pname}-${date}"; pname = "pwnat"; - date = "2014-09-08"; + # Latest release has an annoying segmentation fault bug, see: + # https://github.com/samyk/pwnat/pull/25 . Merging only #25 is impossible due + # to major code refactoring. + version = "2023-03-31"; src = fetchFromGitHub { owner = "samyk"; repo = pname; - rev = "1d07c2eb53171733831c0cd01e4e96a3204ec446"; - sha256 = "056xhlnf1axa6k90i018xwijkwc9zc7fms35hrkzwgs40g9ybrx5"; + rev = "8ec62cdae53a2d573c9f9c906133ca45bbd3360a"; + sha256 = "sha256-QodNw3ab8/TurKamg6AgMfQ08aalp4j6q663B+sWmRM="; }; + # See https://github.com/samyk/pwnat/issues/28 + preBuild = '' + mkdir obj + ''; + installPhase = '' - mkdir -p $out/bin $out/share/pwnat - cp pwnat $out/bin - cp README* COPYING* $out/share/pwnat + runHook preInstall + + install -D pwnat $out/bin/pwnat + + runHook postInstall ''; meta = with lib; { From fa8117a0a6dddd487817b40dc8c4bcd12fea2b69 Mon Sep 17 00:00:00 2001 From: TuxCoder Date: Fri, 16 Jun 2023 11:47:10 +0200 Subject: [PATCH 62/65] byobu: add `gettext` to nativeBuildInputs also remove not needed buildInputs, add strictdeps --- pkgs/tools/misc/byobu/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/byobu/default.nix b/pkgs/tools/misc/byobu/default.nix index 23df93172e99..51654320e0cd 100644 --- a/pkgs/tools/misc/byobu/default.nix +++ b/pkgs/tools/misc/byobu/default.nix @@ -16,8 +16,9 @@ stdenv.mkDerivation rec { doCheck = true; - nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ perl gettext ]; + strictdeps = true; + nativeBuildInputs = [ makeWrapper gettext ]; + buildInputs = [ perl ]; # perl is needed for `lib/byobu/include/*` scripts propagatedBuildInputs = [ textual-window-manager screen ]; postPatch = '' From 370f3e488352e02ffd797218c74c65ea529c3ca5 Mon Sep 17 00:00:00 2001 From: Charles Hall Date: Thu, 15 Jun 2023 08:26:40 -0700 Subject: [PATCH 63/65] nixos/lemmy: remove option removed upstream --- .../manual/release-notes/rl-2311.section.md | 2 ++ nixos/modules/services/web-apps/lemmy.nix | 22 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2311.section.md b/nixos/doc/manual/release-notes/rl-2311.section.md index b1152b0bad23..7a4bdd7de600 100644 --- a/nixos/doc/manual/release-notes/rl-2311.section.md +++ b/nixos/doc/manual/release-notes/rl-2311.section.md @@ -40,6 +40,8 @@ - `fileSystems..autoResize` now uses `systemd-growfs` to resize the file system online in stage 2. This means that `f2fs` and `ext2` can no longer be auto resized, while `xfs` and `btrfs` now can be. +- `services.lemmy.settings.federation` was removed in 0.17.0 and no longer has any effect. To enable federation, the hostname must be set in the configuration file and then federation must be enabled in the admin web UI. See the [release notes](https://github.com/LemmyNet/lemmy/blob/c32585b03429f0f76d1e4ff738786321a0a9df98/RELEASES.md#upgrade-instructions) for more details. + ## Other Notable Changes {#sec-release-23.11-notable-changes} - The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration. diff --git a/nixos/modules/services/web-apps/lemmy.nix b/nixos/modules/services/web-apps/lemmy.nix index 844855d8286c..1580716b1c4e 100644 --- a/nixos/modules/services/web-apps/lemmy.nix +++ b/nixos/modules/services/web-apps/lemmy.nix @@ -62,10 +62,6 @@ in description = lib.mdDoc "Port where lemmy should listen for incoming requests."; }; - options.federation = { - enabled = (mkEnableOption (lib.mdDoc "activitypub federation")) // { visible = false; }; - }; - options.captcha = { enabled = mkOption { type = types.bool; @@ -85,10 +81,6 @@ in config = lib.mkIf cfg.enable { - warnings = lib.optional (cfg.settings.federation.enabled) '' - This option was removed in 0.17.0 and no longer has any effect. - ''; - services.lemmy.settings = (mapAttrs (name: mkDefault) { bind = "127.0.0.1"; @@ -194,10 +186,16 @@ in }; }; - assertions = [{ - assertion = cfg.database.createLocally -> cfg.settings.database.host == "localhost" || cfg.settings.database.host == "/run/postgresql"; - message = "if you want to create the database locally, you need to use a local database"; - }]; + assertions = [ + { + assertion = cfg.database.createLocally -> cfg.settings.database.host == "localhost" || cfg.settings.database.host == "/run/postgresql"; + message = "if you want to create the database locally, you need to use a local database"; + } + { + assertion = (!(hasAttrByPath ["federation"] cfg.settings)) && (!(hasAttrByPath ["federation" "enabled"] cfg.settings)); + message = "`services.lemmy.settings.federation` was removed in 0.17.0 and no longer has any effect"; + } + ]; systemd.services.lemmy = { description = "Lemmy server"; From 1616b478aff0e3c36c08145535c7af5ec4423153 Mon Sep 17 00:00:00 2001 From: DarkOnion0 Date: Fri, 16 Jun 2023 10:13:12 +0200 Subject: [PATCH 64/65] drawio: 21.3.7 -> 21.4.0 --- pkgs/applications/graphics/drawio/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index 4379fc1cf8ea..34936b799ca6 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -14,19 +14,19 @@ stdenv.mkDerivation rec { pname = "drawio"; - version = "21.3.7"; + version = "21.4.0"; src = fetchFromGitHub { owner = "jgraph"; repo = "drawio-desktop"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-f8QQA8qehB7wYJRoKizPxewBTVV64kxaBg2oTTNelBU="; + hash = "sha256-wiLeRku8/v7bB/Ml6rKPdZRtxJYFMAt3Xz9MixXhHnw="; }; offlineCache = fetchYarnDeps { yarnLock = src + "/yarn.lock"; - hash = "sha256-gLt6a2Kq1LIzFiSnqLKKFTg8sd3Wrqsdys23SCFcrQ0="; + hash = "sha256-phB/KPIkgCJT4wEDmUWvaXj0ZPih0EQY40LbRfA58Ro="; }; nativeBuildInputs = [ From 9c16766ee06adc944b9d6b67ffb6d3a4893b54f1 Mon Sep 17 00:00:00 2001 From: Changsheng Wu Date: Fri, 16 Jun 2023 07:42:36 -0400 Subject: [PATCH 65/65] vscode-extensions.vadimcn.vscode-lldb: 1.9.1 -> 1.9.2 (#236915) Co-authored-by: Sandro --- .../adapter-output-shared_object.patch | 22 +++++++++++++++++++ .../cmake-build-extension-only.patch | 18 +++++++-------- .../vadimcn.vscode-lldb/default.nix | 16 +++++--------- .../extensions/vadimcn.vscode-lldb/update.sh | 9 ++++---- 4 files changed, 40 insertions(+), 25 deletions(-) create mode 100644 pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/adapter-output-shared_object.patch diff --git a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/adapter-output-shared_object.patch b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/adapter-output-shared_object.patch new file mode 100644 index 000000000000..aedbe59c3677 --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/adapter-output-shared_object.patch @@ -0,0 +1,22 @@ +From 4f64ad191ec79b9f40843f88e3ac5910720636da Mon Sep 17 00:00:00 2001 +From: Changsheng Wu +Date: Fri, 9 Jun 2023 15:41:53 -0400 +Subject: [PATCH] Update Cargo.toml + +--- + adapter/Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/adapter/Cargo.toml b/adapter/Cargo.toml +index bc86723..f5f26ce 100644 +--- a/adapter/Cargo.toml ++++ b/adapter/Cargo.toml +@@ -39,7 +39,7 @@ winapi = { version = "0.3.8", features = ["std", "wincon", "namedpipeapi"] } + winreg = "0.6.2" + + [lib] +-crate-type = ["staticlib"] ++crate-type = ["dylib", "rlib"] + + [[bin]] + name = "codelldb" diff --git a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/cmake-build-extension-only.patch b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/cmake-build-extension-only.patch index dab75e463e58..4fc612642a0c 100644 --- a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/cmake-build-extension-only.patch +++ b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/cmake-build-extension-only.patch @@ -1,8 +1,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6ae4dfb..519f544 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -16,13 +16,6 @@ endif() +@@ -16,13 +16,6 @@ set(VERSION "${VERSION}${VERSION_SUFFIX}") message("Version ${VERSION}") @@ -16,11 +15,11 @@ index 6ae4dfb..519f544 100644 if (CMAKE_SYSROOT) set(CMAKE_C_FLAGS "--sysroot=${CMAKE_SYSROOT} ${CMAKE_C_FLAGS}") set(CMAKE_CXX_FLAGS "--sysroot=${CMAKE_SYSROOT} ${CMAKE_CXX_FLAGS}") -@@ -93,16 +86,6 @@ configure_file(package.json ${CMAKE_CURRENT_BINARY_DIR}/package.json @ONLY) +@@ -102,16 +95,6 @@ configure_file(webpack.config.js ${CMAKE_CURRENT_BINARY_DIR}/webpack.config.js @ONLY) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/package-lock.json DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) --# Run 'npm install' +-# Install node_modules -execute_process( - COMMAND ${NPM} ci # like install, but actually respects package-lock file. - WORKING_DIRECTORY ${CMAKE_BINARY_DIR} @@ -30,10 +29,10 @@ index 6ae4dfb..519f544 100644 - message(FATAL_ERROR "npm intall failed: ${Result}") -endif() - - # Copy it back, so we can commit the lock file. - file(COPY ${CMAKE_CURRENT_BINARY_DIR}/package-lock.json DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}) - -@@ -154,6 +137,7 @@ add_custom_target(tests + # Resolve $refs + execute_process( + COMMAND ${WithEnv} NODE_PATH=${CMAKE_CURRENT_BINARY_DIR}/node_modules node ${CMAKE_CURRENT_SOURCE_DIR}/tools/prep-package.js ${CMAKE_CURRENT_BINARY_DIR}/package.json ${CMAKE_CURRENT_BINARY_DIR}/package.json +@@ -169,6 +152,7 @@ add_copy_file(PackageFiles ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_BINARY_DIR}/README.md) add_copy_file(PackageFiles ${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md ${CMAKE_CURRENT_BINARY_DIR}/CHANGELOG.md) @@ -41,7 +40,7 @@ index 6ae4dfb..519f544 100644 add_copy_file(PackageFiles ${CMAKE_CURRENT_SOURCE_DIR}/images/lldb.png ${CMAKE_CURRENT_BINARY_DIR}/images/lldb.png) add_copy_file(PackageFiles ${CMAKE_CURRENT_SOURCE_DIR}/images/user.svg ${CMAKE_CURRENT_BINARY_DIR}/images/user.svg) add_copy_file(PackageFiles ${CMAKE_CURRENT_SOURCE_DIR}/images/users.svg ${CMAKE_CURRENT_BINARY_DIR}/images/users.svg) -@@ -170,6 +154,7 @@ add_custom_target(dev_debugging +@@ -185,6 +169,7 @@ set(PackagedFilesBootstrap README.md CHANGELOG.md @@ -49,4 +48,3 @@ index 6ae4dfb..519f544 100644 extension.js images/* syntaxes/* - diff --git a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix index 4da501960459..34da970f745d 100644 --- a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix +++ b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix @@ -5,7 +5,7 @@ assert lib.versionAtLeast python3.version "3.5"; let publisher = "vadimcn"; pname = "vscode-lldb"; - version = "1.9.1"; + version = "1.9.2"; vscodeExtUniqueId = "${publisher}.${pname}"; vscodeExtPublisher = publisher; @@ -15,7 +15,7 @@ let owner = "vadimcn"; repo = "vscode-lldb"; rev = "v${version}"; - sha256 = "sha256-DqxdZtSW8TZaOFGXOZQ7a4tmgRj6iAWDppCNomdfVxY="; + hash = "sha256-6QmYRlSv8jY3OE3RcYuZt+c3z6GhFc8ESETVfCfF5RI="; }; # need to build a custom version of lldb and llvm for enhanced rust support @@ -25,7 +25,7 @@ let pname = "${pname}-adapter"; inherit version src; - cargoSha256 = "sha256-+hfNkr9cZbOcWdWKUWUqDj9a0PKjKeApFXYZzS1XokE="; + cargoHash = "sha256-Qq2igtH1XIB+NAEES6hdNZcMbEmaFN69qIJ+gTYupvQ="; nativeBuildInputs = [ makeWrapper ]; @@ -38,6 +38,8 @@ let "--bin=codelldb" ]; + patches = [ ./adapter-output-shared_object.patch ]; + # Tests are linked to liblldb but it is not available here. doCheck = false; }; @@ -46,7 +48,7 @@ let pname = "${pname}-node-deps"; inherit version src; - npmDepsHash = "sha256-Cdlq1jxHSCfPjXhasClc6XzEUp3vlLgkStbhYtCyc7E="; + npmDepsHash = "sha256-fMKGi+AJTMlWl7SQtZ21hUwOLgqlFYDhwLvEergQLfI="; nativeBuildInputs = [ python3 @@ -82,12 +84,6 @@ in stdenv.mkDerivation { patches = [ ./cmake-build-extension-only.patch ]; - postPatch = '' - # temporary patch for forgotten version updates - substituteInPlace CMakeLists.txt \ - --replace "1.9.0" ${version} - ''; - postConfigure = '' cp -r ${nodeDeps}/lib/node_modules . ''; diff --git a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/update.sh b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/update.sh index d635a6f778df..03a71b557dad 100755 --- a/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/update.sh +++ b/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/update.sh @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell ../../update-shell.nix -i bash -p wget prefetch-npm-deps +#! nix-shell ../../update-shell.nix -i bash -p nix-prefetch-github prefetch-npm-deps set -eo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" @@ -18,7 +18,7 @@ version="$1" if [[ $# -ne 1 ]]; then # no version specified, find the newest one version=$( - curl -s "https://api.github.com/repos/$owner/$repo/releases" | + curl -sL "https://api.github.com/repos/$owner/$repo/releases" | jq 'map(select(.prerelease | not)) | .[0].tag_name' --raw-output | sed 's/[\"v]//' ) @@ -29,19 +29,18 @@ if grep -q 'cargoSha256 = ""' ./default.nix; then fi if [[ "$version" == "$old_version" ]]; then echo "Up to date: $version" - exit fi echo "$old_version -> $version" # update hashes sed -E 's/\bversion = ".*?"/version = "'$version'"/' --in-place "$nixFile" -srcHash=$(nix-prefetch fetchFromGitHub --owner vadimcn --repo vscode-lldb --rev "v$version") +srcHash=$(nix-prefetch-github vadimcn vscode-lldb --rev "v$version" | jq --raw-output .sha256) sed -E 's#\bsha256 = ".*?"#sha256 = "'$srcHash'"#' --in-place "$nixFile" cargoHash=$(nix-prefetch "{ sha256 }: (import $nixpkgs {}).vscode-extensions.vadimcn.vscode-lldb.adapter.cargoDeps.overrideAttrs (_: { outputHash = sha256; })") sed -E 's#\bcargoSha256 = ".*?"#cargoSha256 = "'$cargoHash'"#' --in-place "$nixFile" pushd $TMPDIR -wget https://raw.githubusercontent.com/$owner/$repo/v${version}/package-lock.json +curl -LO https://raw.githubusercontent.com/$owner/$repo/v${version}/package-lock.json npmDepsHash=$(prefetch-npm-deps ./package-lock.json) popd sed -E 's#\bnpmDepsHash = ".*?"#npmDepsHash = "'$npmDepsHash'"#' --in-place "$nixFile"