From e074b1c7d7400aa536520a91d60edf2d16ea9fba Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Fri, 18 Nov 2022 20:35:20 -0500 Subject: [PATCH 01/44] kodi.packages.jellyfin: 0.7.7 -> 0.7.10 --- pkgs/applications/video/kodi/addons/jellyfin/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/jellyfin/default.nix b/pkgs/applications/video/kodi/addons/jellyfin/default.nix index 59aaa2e8b261..36e8aa4a0225 100644 --- a/pkgs/applications/video/kodi/addons/jellyfin/default.nix +++ b/pkgs/applications/video/kodi/addons/jellyfin/default.nix @@ -5,13 +5,13 @@ in buildKodiAddon rec { pname = "jellyfin"; namespace = "plugin.video.jellyfin"; - version = "0.7.7"; + version = "0.7.10"; src = fetchFromGitHub { owner = "jellyfin"; repo = "jellyfin-kodi"; rev = "v${version}"; - sha256 = "06glhnpayldficvvhlkbxg7zizl2wqms66fnc3p63nm3y7mqa9dd"; + sha256 = "sha256-hR4cJEpP/RZH24M4Ma33ZUe9oydRg7CyP1hHncvDW8Y="; }; nativeBuildInputs = [ From c02617ba9e724f681978ff5315d279a66ec16049 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Fri, 18 Nov 2022 20:35:41 -0500 Subject: [PATCH 02/44] kodi.packages.netflix: 1.18.2 -> 1.20.2 --- pkgs/applications/video/kodi/addons/netflix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/netflix/default.nix b/pkgs/applications/video/kodi/addons/netflix/default.nix index 86f5dfb7545c..ab034c13755e 100644 --- a/pkgs/applications/video/kodi/addons/netflix/default.nix +++ b/pkgs/applications/video/kodi/addons/netflix/default.nix @@ -3,13 +3,13 @@ buildKodiAddon rec { pname = "netflix"; namespace = "plugin.video.netflix"; - version = "1.18.2"; + version = "1.20.2"; src = fetchFromGitHub { owner = "CastagnaIT"; repo = namespace; rev = "v${version}"; - sha256 = "sha256-nunjcVapWWTxYtILEcrkfJiWvSz71zyxSCbWQ4aCfLM="; + sha256 = "sha256-k2O8a0P+TzQVoFQJkzmdqmkKh3Aj7OlsnuhJfUwxOmI="; }; propagatedBuildInputs = [ From 28f6d03a43a1f5a050384e33138fc59a5b394f8b Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:26:22 -0500 Subject: [PATCH 03/44] kodi.packages.a4ksubtitles: 2.8.0 -> 3.3.0 --- pkgs/applications/video/kodi/addons/a4ksubtitles/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/a4ksubtitles/default.nix b/pkgs/applications/video/kodi/addons/a4ksubtitles/default.nix index 9c62198cb0f3..ae32fb7c5a77 100644 --- a/pkgs/applications/video/kodi/addons/a4ksubtitles/default.nix +++ b/pkgs/applications/video/kodi/addons/a4ksubtitles/default.nix @@ -3,13 +3,13 @@ buildKodiAddon rec { pname = "a4ksubtitles"; namespace = "service.subtitles.a4ksubtitles"; - version = "2.8.0"; + version = "3.3.0"; src = fetchFromGitHub { owner = "a4k-openproject"; repo = "a4kSubtitles"; rev = "${namespace}/${namespace}-${version}"; - sha256 = "0fg5mcvxdc3hqybp1spy7d1nnqirwhcvrblbwksikym9m3qgw2m5"; + sha256 = "sha256-t6oclFAOsUC+hFtw6wjRh1zl2vQfc7RKblVJpBPfE9w="; }; propagatedBuildInputs = [ From e0af32d2a0719e7e036efa19a2e7e49603d566f3 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:26:59 -0500 Subject: [PATCH 04/44] kodi.packages.controller-topology-project: unstable-2022-01-22 -> unstable-2022-11-19 --- .../kodi/addons/controller-topology-project/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/controller-topology-project/default.nix b/pkgs/applications/video/kodi/addons/controller-topology-project/default.nix index 2607ee64f70a..30b54c2adae2 100644 --- a/pkgs/applications/video/kodi/addons/controller-topology-project/default.nix +++ b/pkgs/applications/video/kodi/addons/controller-topology-project/default.nix @@ -2,13 +2,13 @@ let drv = stdenv.mkDerivation { pname = "controller-topology-project"; - version = "unstable-2022-01-22"; + version = "unstable-2022-11-19"; src = fetchFromGitHub { owner = "kodi-game"; repo = "controller-topology-project"; - rev = "e2a9bac903f21b2acfeee374070cfc97d03aba2d"; - sha256 = "sha256-o6uKxOjEYNAK27drvNOokOFPdjkOEnr49mBre9ycM0w="; + rev = "d96894ca68678000f26f56d14aa3ceea47b1a3a8"; + sha256 = "sha256-KfDr2bSJFey/aNO5WzoOQ8Mz0v4uitKkOesymIMZH1o="; }; postPatch = '' From 052ec011cd6eb46a4b9cfd0ea6443a12790fb94a Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:27:19 -0500 Subject: [PATCH 05/44] kodi.packages.iagl: 3.0.5 -> 3.0.6 --- pkgs/applications/video/kodi/addons/iagl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/iagl/default.nix b/pkgs/applications/video/kodi/addons/iagl/default.nix index a7dc758696c1..92a877fe8400 100644 --- a/pkgs/applications/video/kodi/addons/iagl/default.nix +++ b/pkgs/applications/video/kodi/addons/iagl/default.nix @@ -3,13 +3,13 @@ buildKodiAddon rec { pname = "iagl"; namespace = "plugin.program.iagl"; - version = "3.0.5"; + version = "3.0.6"; src = fetchFromGitHub { owner = "zach-morris"; repo = "plugin.program.iagl"; rev = version; - sha256 = "sha256-Ha9wUHURPql6xew5bUd33DpgRt+8vwIHocxPopmXj4c="; + sha256 = "sha256-fwPrNDsEGoysHbl9k9cRYKlr3MxDRiUmJhSsWVT2HHQ="; }; propagatedBuildInputs = [ From 557c527b43b2e466c339ea8cff68d7742c89c227 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:27:38 -0500 Subject: [PATCH 06/44] kodi.packages.joystick: 1.7.1 -> 19.0.1 --- pkgs/applications/video/kodi/addons/joystick/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/joystick/default.nix b/pkgs/applications/video/kodi/addons/joystick/default.nix index a1b9c3eeeefd..310cd4d08345 100644 --- a/pkgs/applications/video/kodi/addons/joystick/default.nix +++ b/pkgs/applications/video/kodi/addons/joystick/default.nix @@ -2,13 +2,13 @@ buildKodiBinaryAddon rec { pname = namespace; namespace = "peripheral.joystick"; - version = "1.7.1"; + version = "19.0.1"; src = fetchFromGitHub { owner = "xbmc"; repo = namespace; rev = "${version}-${rel}"; - sha256 = "1dhj4afr9kj938xx70fq5r409mz6lbw4n581ljvdjj9lq7akc914"; + sha256 = "sha256-jSz0AgxhbCIbbZJxm4oq22y/hqew949UsqEAPoqEnHA="; }; extraBuildInputs = [ tinyxml udev ]; From 413c4d4d8e1d4a498481977ca7fb732922aa7d57 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:28:01 -0500 Subject: [PATCH 07/44] kodi.packages.keymap: 1.1.3 -> 1.1.4 --- .../video/kodi/addons/keymap/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/keymap/default.nix b/pkgs/applications/video/kodi/addons/keymap/default.nix index aaaed78d4147..6c42bd78f45c 100644 --- a/pkgs/applications/video/kodi/addons/keymap/default.nix +++ b/pkgs/applications/video/kodi/addons/keymap/default.nix @@ -1,13 +1,13 @@ -{ lib, buildKodiAddon, fetchzip, defusedxml, kodi-six }: +{ lib, buildKodiAddon, fetchzip, addonUpdateScript, defusedxml, kodi-six }: buildKodiAddon rec { pname = "keymap"; namespace = "script.keymap"; - version = "1.1.3+matrix.1"; + version = "1.1.4"; src = fetchzip { url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; - sha256 = "1icrailzpf60nw62xd0khqdp66dnr473m2aa9wzpmkk3qj1ay6jv"; + sha256 = "eWzMqsE8H0wUvPyd3wvjiaXEg4+sgkQ3CQYjE0VS+9g="; }; propagatedBuildInputs = [ @@ -15,6 +15,12 @@ buildKodiAddon rec { kodi-six ]; + passthru = { + updateScript = addonUpdateScript { + attrPath = "kodi.packages.keymap"; + }; + }; + meta = with lib; { homepage = "https://github.com/tamland/xbmc-keymap-editor"; description = "A GUI for configuring mappings for remotes, keyboard and other inputs supported by Kodi"; From 09fe7a42d91428b26a0e97ac49dd9dcc6a86028a Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:28:37 -0500 Subject: [PATCH 08/44] kodi.packages.libretro-genplus: 1.7.4.31 -> 1.7.4.35 --- .../video/kodi/addons/libretro-genplus/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/libretro-genplus/default.nix b/pkgs/applications/video/kodi/addons/libretro-genplus/default.nix index 064375107e26..4e2a70010106 100644 --- a/pkgs/applications/video/kodi/addons/libretro-genplus/default.nix +++ b/pkgs/applications/video/kodi/addons/libretro-genplus/default.nix @@ -3,13 +3,13 @@ buildKodiBinaryAddon rec { pname = "kodi-libretro-genplus"; namespace = "game.libretro.genplus"; - version = "1.7.4.31"; + version = "1.7.4.35"; src = fetchFromGitHub { owner = "kodi-game"; repo = "game.libretro.genplus"; rev = "${version}-${rel}"; - sha256 = "0lcii32wzpswjjkwhv250l238g31akr66dhkbv8gj4v1i4z7hry8"; + sha256 = "sha256-F3bt129lBZKlDtp7X0S0q10T9k9C2zNeHG+yIP3818Q="; }; extraCMakeFlags = [ From 3932ca569ffe2b40e22c26a1ac922d553b41c703 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:29:04 -0500 Subject: [PATCH 09/44] kodi.packages.libretro-mgba: 0.9.2.31 -> 0.10.0.35 --- pkgs/applications/video/kodi/addons/libretro-mgba/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/libretro-mgba/default.nix b/pkgs/applications/video/kodi/addons/libretro-mgba/default.nix index a58f1c51b295..f669e24f8bd4 100644 --- a/pkgs/applications/video/kodi/addons/libretro-mgba/default.nix +++ b/pkgs/applications/video/kodi/addons/libretro-mgba/default.nix @@ -3,13 +3,13 @@ buildKodiBinaryAddon rec { pname = "kodi-libretro-mgba"; namespace = "game.libretro.mgba"; - version = "0.9.2.31"; + version = "0.10.0.35"; src = fetchFromGitHub { owner = "kodi-game"; repo = "game.libretro.mgba"; rev = "${version}-${rel}"; - sha256 = "sha256-eZLuNhLwMTtzpLGkymc9cLC83FQJWZ2ZT0iyz4sY4EA="; + sha256 = "sha256-lxpj6Y34apYcE22q4W3Anhigp79r4RgiJ36DbES1kzU="; }; extraCMakeFlags = [ From 7e5f67d413f71a9985cddfdfcfa23bb5222d1067 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:29:29 -0500 Subject: [PATCH 10/44] kodi.packages.libretro-snes9x: 1.60.0.29 -> 1.61.0.34 --- .../video/kodi/addons/libretro-snes9x/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/libretro-snes9x/default.nix b/pkgs/applications/video/kodi/addons/libretro-snes9x/default.nix index 640aec3d4971..7994016b6cd5 100644 --- a/pkgs/applications/video/kodi/addons/libretro-snes9x/default.nix +++ b/pkgs/applications/video/kodi/addons/libretro-snes9x/default.nix @@ -3,13 +3,13 @@ buildKodiBinaryAddon rec { pname = "kodi-libretro-snes9x"; namespace = "game.libretro.snes9x"; - version = "1.60.0.29"; + version = "1.61.0.34"; src = fetchFromGitHub { owner = "kodi-game"; repo = "game.libretro.snes9x"; rev = "${version}-${rel}"; - sha256 = "1wyfkg4fncc604alnbaqk92fi1h80n7bwiqfkb8479x5517byab1"; + sha256 = "sha256-LniZf8Gae4+4Rgc9OGhMCkOI3IA7CPjVrN/gbz9te38="; }; extraCMakeFlags = [ From 72edf9a33c1848bd87903f0f16a81e5161e3e133 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:29:54 -0500 Subject: [PATCH 11/44] kodi.packages.orftvthek: 0.12.3 -> 0.12.6 --- pkgs/applications/video/kodi/addons/orftvthek/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/orftvthek/default.nix b/pkgs/applications/video/kodi/addons/orftvthek/default.nix index c1abb00d0a30..634347be4826 100644 --- a/pkgs/applications/video/kodi/addons/orftvthek/default.nix +++ b/pkgs/applications/video/kodi/addons/orftvthek/default.nix @@ -3,13 +3,13 @@ buildKodiAddon rec { pname = "orftvthek"; namespace = "plugin.video.orftvthek"; - version = "0.12.3+matrix.1"; + version = "0.12.6"; src = fetchFromGitHub { owner = "s0faking"; repo = namespace; rev = version; - sha256 = "sha256-GB9VkC9Vbi7TJXl/vF3ViF/tAcHGH0KxYQ0zkfMLZCY="; + sha256 = "sha256-r18vQ+2TSeflwByEAX33vIZG5qIGneraf5rLBugl5BU="; }; propagatedBuildInputs = [ From edcb4fc5affc59c8c6c2fca8a6b1eec17b618fa6 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:30:19 -0500 Subject: [PATCH 12/44] kodi.packages.pvr-iptvsimple: 19.1.1 -> 19.2.2 --- .../applications/video/kodi/addons/pvr-iptvsimple/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/pvr-iptvsimple/default.nix b/pkgs/applications/video/kodi/addons/pvr-iptvsimple/default.nix index 2e20043c162d..736ea03843bb 100644 --- a/pkgs/applications/video/kodi/addons/pvr-iptvsimple/default.nix +++ b/pkgs/applications/video/kodi/addons/pvr-iptvsimple/default.nix @@ -6,13 +6,13 @@ buildKodiBinaryAddon rec { pname = "pvr-iptvsimple"; namespace = "pvr.iptvsimple"; - version = "19.1.1"; + version = "19.2.2"; src = fetchFromGitHub { owner = "kodi-pvr"; repo = "pvr.iptvsimple"; rev = "${version}-${rel}"; - sha256 = "sha256-ZkB+Va9w/AHLZ+LSOJpJ93nVOw33tcNqjScbLt77zJw="; + sha256 = "sha256-snW6sgbdyGqdZtd7HU5FTf4Kx5/Zjk2fLLi0MS+9tTU="; }; extraBuildInputs = [ From 6182f17d4c7a81311de36283e82a98b7f00fccc4 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:31:07 -0500 Subject: [PATCH 13/44] kodi.packages.vfs-libarchive: 2.0.0 -> 19.0.1 --- .../applications/video/kodi/addons/vfs-libarchive/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/vfs-libarchive/default.nix b/pkgs/applications/video/kodi/addons/vfs-libarchive/default.nix index 2db17f17abad..4288d4e039a3 100644 --- a/pkgs/applications/video/kodi/addons/vfs-libarchive/default.nix +++ b/pkgs/applications/video/kodi/addons/vfs-libarchive/default.nix @@ -2,13 +2,13 @@ buildKodiBinaryAddon rec { pname = namespace; namespace = "vfs.libarchive"; - version = "2.0.0"; + version = "19.0.1"; src = fetchFromGitHub { owner = "xbmc"; repo = namespace; rev = "${version}-${rel}"; - sha256 = "1q62p1i6rvqk2zv6f1cpffkh95lgclys2xl4dwyhj3acmqdxd9i5"; + sha256 = "sha256-4sERFC/XBEE46n+iq6YJg/5Wz0+223tq4+O5cIf6X6E="; }; extraBuildInputs = [ libarchive xz bzip2 zlib lz4 lzo openssl ]; From 1ae9de7dac02c386b434d562058d8a9ed1b63c36 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:31:27 -0500 Subject: [PATCH 14/44] kodi.packages.vfs-sftp: 2.0.0 -> 19.0.1 --- pkgs/applications/video/kodi/addons/vfs-sftp/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/vfs-sftp/default.nix b/pkgs/applications/video/kodi/addons/vfs-sftp/default.nix index e41f008281ad..a9c37cc30a5c 100644 --- a/pkgs/applications/video/kodi/addons/vfs-sftp/default.nix +++ b/pkgs/applications/video/kodi/addons/vfs-sftp/default.nix @@ -2,13 +2,13 @@ buildKodiBinaryAddon rec { pname = namespace; namespace = "vfs.sftp"; - version = "2.0.0"; + version = "19.0.1"; src = fetchFromGitHub { owner = "xbmc"; repo = namespace; rev = "${version}-${rel}"; - sha256 = "06w74sh8yagrrp7a7rjaz3xrh1j3wdqald9c4b72c33gpk5997dk"; + sha256 = "sha256-UXycPqPEn3W5X3SQs1fxgkdV5PSkzs3pjYyuhAVngt8="; }; extraBuildInputs = [ openssl libssh zlib ]; From b749e6811954680cad7365bde3d4f8d540cf67f5 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Sun, 20 Nov 2022 20:31:53 -0500 Subject: [PATCH 15/44] kodi.packages.visualization-waveform: 19.0.2 -> 19.0.3 --- .../video/kodi/addons/visualization-waveform/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/kodi/addons/visualization-waveform/default.nix b/pkgs/applications/video/kodi/addons/visualization-waveform/default.nix index 851289bc06d4..a4036be735d0 100644 --- a/pkgs/applications/video/kodi/addons/visualization-waveform/default.nix +++ b/pkgs/applications/video/kodi/addons/visualization-waveform/default.nix @@ -3,13 +3,13 @@ buildKodiBinaryAddon rec { pname = "visualization-waveform"; namespace = "visualization.waveform"; - version = "19.0.2"; + version = "19.0.3"; src = fetchFromGitHub { owner = "xbmc"; repo = namespace; rev = "${version}-${rel}"; - hash = "sha256-IQLW4CDNtt/ptE679hnoXbharq61Ru9S2m7QbJLtNSI="; + hash = "sha256-3mTfL1UjPLDKardJy4IDNyzvHnkF//4nmWInOxP/XhQ="; }; extraBuildInputs = [ pkg-config libGL ]; From 4b228435a2e6db87f85799321bc81bed1a80c615 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Jan 2023 02:53:47 +0000 Subject: [PATCH 16/44] okteto: 2.11.0 -> 2.11.1 --- pkgs/development/tools/okteto/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/okteto/default.nix b/pkgs/development/tools/okteto/default.nix index b7337e119984..469c68e2044b 100644 --- a/pkgs/development/tools/okteto/default.nix +++ b/pkgs/development/tools/okteto/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "okteto"; - version = "2.11.0"; + version = "2.11.1"; src = fetchFromGitHub { owner = "okteto"; repo = "okteto"; rev = version; - hash = "sha256-BKDjtC3NDazFsvX/FM0qXpHd1muXUQDgzBMSLipA4/U="; + hash = "sha256-Eprsy/wd5lMBXk3yVGhofYD9ZBfdmjGMwXZ61RMgd4k="; }; vendorHash = "sha256-Yi+4fGCHLH/kA4DuPI2uQ/27xhMd4cPFkTWlI6Bc13A="; From ebee5a238b907be42d7f8a84952e1dd297463c0a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Jan 2023 09:38:09 +0000 Subject: [PATCH 17/44] trilium-desktop: 0.58.5 -> 0.58.7 --- pkgs/applications/office/trilium/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/office/trilium/default.nix b/pkgs/applications/office/trilium/default.nix index e60e53701e8b..08084bfbf7ac 100644 --- a/pkgs/applications/office/trilium/default.nix +++ b/pkgs/applications/office/trilium/default.nix @@ -10,13 +10,13 @@ let maintainers = with maintainers; [ fliegendewurst ]; }; - version = "0.58.5"; + version = "0.58.7"; desktopSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz"; - desktopSource.sha256 = "1mkn9wflmgazgyg26wkmfskmawgcf9sfk7y46msivwrj2gjwaban"; + desktopSource.sha256 = "1xr8fx5m6p9z18al1iigf45acn7b69vhbc6z6q1v933bvkwry16c"; serverSource.url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-server-${version}.tar.xz"; - serverSource.sha256 = "1h3qkpcl0vdz8vvn4h01b1w84v1ckinkdmyvm8312313fcvmyjzs"; + serverSource.sha256 = "0xr474z7wz0z4rqvk5rhv6xh51mdysr8zw86fs8fk7av0fdqxyka"; in { From 6674c5281bec989f2adf46056500c66a4985632b Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Wed, 18 Jan 2023 17:46:52 +0800 Subject: [PATCH 18/44] blackbox: 0.12.2 -> 0.13.1 --- .../terminal-emulators/blackbox-terminal/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/terminal-emulators/blackbox-terminal/default.nix b/pkgs/applications/terminal-emulators/blackbox-terminal/default.nix index 65b0274ca20d..72ecca4ea488 100644 --- a/pkgs/applications/terminal-emulators/blackbox-terminal/default.nix +++ b/pkgs/applications/terminal-emulators/blackbox-terminal/default.nix @@ -14,6 +14,7 @@ , pcre2 , libxml2 , librsvg +, libgee , callPackage , python3 , gtk3 @@ -26,14 +27,14 @@ let in stdenv.mkDerivation rec { pname = "blackbox"; - version = "0.12.2"; + version = "0.13.1"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "raggesilver"; repo = "blackbox"; rev = "v${version}"; - sha256 = "sha256-4/rtviBv5KXheLLExxOvaF0wU87eRKMNxlYCVxuIQgU="; + hash = "sha256-WeR7zdYdRWBR+kmxLjRFE6QII9RdBig7wrbVoCPA5go="; }; postPatch = '' @@ -60,6 +61,7 @@ stdenv.mkDerivation rec { pcre2 libxml2 librsvg + libgee ]; meta = with lib; { From 57008f68178bd31808b558072db5617544394ff0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 18 Jan 2023 10:37:00 +0000 Subject: [PATCH 19/44] tz: 0.6.2 -> 0.6.3 --- pkgs/tools/misc/tz/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/tz/default.nix b/pkgs/tools/misc/tz/default.nix index 9027ef20bc7f..c86d8a48c4ee 100644 --- a/pkgs/tools/misc/tz/default.nix +++ b/pkgs/tools/misc/tz/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tz"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromGitHub { owner = "oz"; repo = "tz"; rev = "v${version}"; - sha256 = "sha256-fl+Q6HNMSIo6E5SMBkTr6/hJN9akfJRBwSPaq7FcYDY="; + sha256 = "sha256-yeCoBDorwwj3+tqKzoAjtMdYmjqscks/qU8EkmO/D5k="; }; - vendorSha256 = "sha256-lcCra4LyebkmelvBs0Dd2mn6R64Q5MaUWc5AP8V9pec="; + vendorHash = "sha256-lcCra4LyebkmelvBs0Dd2mn6R64Q5MaUWc5AP8V9pec="; meta = with lib; { description = "A time zone helper"; From d25a152de81e414914b74337723d6a56743aa786 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 18 Jan 2023 18:15:47 -0500 Subject: [PATCH 20/44] texture-synthesis: fix build on aarch64-darwin --- pkgs/tools/graphics/texture-synthesis/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/graphics/texture-synthesis/default.nix b/pkgs/tools/graphics/texture-synthesis/default.nix index c541f874adc0..73f26b35e8a7 100644 --- a/pkgs/tools/graphics/texture-synthesis/default.nix +++ b/pkgs/tools/graphics/texture-synthesis/default.nix @@ -1,4 +1,4 @@ -{ fetchFromGitHub, lib, rustPlatform }: +{ lib, rustPlatform, fetchFromGitHub, stdenv }: rustPlatform.buildRustPackage rec { pname = "texture-synthesis"; @@ -13,6 +13,9 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1xszis3ip1hymzbhdili2hvdwd862cycwvsxxyjqmz3g2rlg5b64"; + # tests fail for unknown reasons on aarch64-darwin + doCheck = !(stdenv.isDarwin && stdenv.isAarch64); + meta = with lib; { description = "Example-based texture synthesis written in Rust"; homepage = "https://github.com/embarkstudios/texture-synthesis"; From a27f1c1ce3de4a8210a467e57d0821cfffc742dd Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 18 Jan 2023 18:39:30 -0500 Subject: [PATCH 21/44] pw-viz: fix build --- pkgs/applications/misc/pw-viz/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/misc/pw-viz/default.nix b/pkgs/applications/misc/pw-viz/default.nix index a52fc08d9983..f32f60bac1ac 100644 --- a/pkgs/applications/misc/pw-viz/default.nix +++ b/pkgs/applications/misc/pw-viz/default.nix @@ -47,6 +47,10 @@ rustPlatform.buildRustPackage rec { --add-rpath ${lib.makeLibraryPath [ libGL libxkbcommon wayland ]} ''; + # enables pipewire API deprecated in 0.3.64 + # fixes error caused by https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/55 + NIX_CFLAGS_COMPILE = [ "-DPW_ENABLE_DEPRECATED" ]; + meta = with lib; { description = "A simple and elegant pipewire graph editor "; homepage = "https://github.com/ax9d/pw-viz"; From 163c469b24d89ceafed5d49755133f5205fe16fc Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 18 Jan 2023 19:10:57 -0500 Subject: [PATCH 22/44] cargo-release: fix build, add figsoda as a maintainer --- .../tools/rust/cargo-release/default.nix | 19 ++++++++++++------- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/pkgs/development/tools/rust/cargo-release/default.nix b/pkgs/development/tools/rust/cargo-release/default.nix index ae7d19ddccad..dc4879535688 100644 --- a/pkgs/development/tools/rust/cargo-release/default.nix +++ b/pkgs/development/tools/rust/cargo-release/default.nix @@ -1,11 +1,12 @@ { lib -, stdenv , rustPlatform , fetchFromGitHub -, Security -, curl -, openssl , pkg-config +, openssl +, stdenv +, curl +, darwin +, git }: rustPlatform.buildRustPackage rec { @@ -28,15 +29,19 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ - Security curl + darwin.apple_sdk.frameworks.Security + ]; + + checkInputs = [ + git ]; meta = with lib; { description = ''Cargo subcommand "release": everything about releasing a rust crate''; - homepage = "https://github.com/sunng87/cargo-release"; + homepage = "https://github.com/crate-ci/cargo-release"; changelog = "https://github.com/crate-ci/cargo-release/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ gerschtli ]; + maintainers = with maintainers; [ figsoda gerschtli ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 354fa60ea1e9..dc0fa64046a1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15509,9 +15509,7 @@ with pkgs; cargo-pgx = callPackage ../development/tools/rust/cargo-pgx { inherit (darwin.apple_sdk.frameworks) Security; }; - cargo-release = callPackage ../development/tools/rust/cargo-release { - inherit (darwin.apple_sdk.frameworks) Security; - }; + cargo-release = callPackage ../development/tools/rust/cargo-release { }; cargo-rr = callPackage ../development/tools/rust/cargo-rr { }; cargo-tarpaulin = callPackage ../development/tools/analysis/cargo-tarpaulin { inherit (darwin.apple_sdk.frameworks) Security; From 153f1f1e45325a5f5cc170fe1c02e5cd1031543a Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 18 Jan 2023 19:39:56 -0500 Subject: [PATCH 23/44] macchina: fix darwin build, add figsoda as a maintainer --- pkgs/tools/misc/macchina/default.nix | 13 ++++++------- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/misc/macchina/default.nix b/pkgs/tools/misc/macchina/default.nix index 76d17ea02ef9..0bde6b5baf54 100644 --- a/pkgs/tools/misc/macchina/default.nix +++ b/pkgs/tools/misc/macchina/default.nix @@ -1,10 +1,9 @@ { lib -, stdenv , rustPlatform , fetchFromGitHub , installShellFiles -, libiconv -, Foundation +, stdenv +, darwin }: rustPlatform.buildRustPackage rec { @@ -25,12 +24,12 @@ rustPlatform.buildRustPackage rec { ]; buildInputs = lib.optionals stdenv.isDarwin [ - libiconv - Foundation + darwin.apple_sdk.frameworks.AppKit + darwin.apple_sdk.frameworks.DisplayServices ]; postInstall = '' - installShellCompletion target/completions/*.{bash,fish} + installManPage doc/macchina.{1,7} ''; meta = with lib; { @@ -38,6 +37,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/Macchina-CLI/macchina"; changelog = "https://github.com/Macchina-CLI/macchina/releases/tag/v${version}"; license = with licenses; [ mit ]; - maintainers = with maintainers; [ _414owen ]; + maintainers = with maintainers; [ _414owen figsoda ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 354fa60ea1e9..ca402e57ccc2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9467,9 +9467,7 @@ with pkgs; macchanger = callPackage ../os-specific/linux/macchanger { }; - macchina = callPackage ../tools/misc/macchina { - inherit (darwin.apple_sdk.frameworks) Foundation; - }; + macchina = callPackage ../tools/misc/macchina { }; madlang = haskell.lib.compose.justStaticExecutables haskellPackages.madlang; From c892f72f1ae36ac261b382f5bbce2a4fd3118613 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 18 Jan 2023 19:48:15 -0500 Subject: [PATCH 24/44] ion: unstable-2021-05-10 -> unstable-2022-11-27 Diff: https://github.com/redox-os/ion/compare/1170b84587bbad260a3ecac8e249a216cb1fd5e9...3bb8966fc99ba223033e1e02b0a6d50fc25cbef4 --- pkgs/shells/ion/build-script.patch | 17 ++++++++++++ pkgs/shells/ion/default.nix | 44 +++++++++++++++++++----------- pkgs/top-level/all-packages.nix | 4 +-- 3 files changed, 46 insertions(+), 19 deletions(-) create mode 100644 pkgs/shells/ion/build-script.patch diff --git a/pkgs/shells/ion/build-script.patch b/pkgs/shells/ion/build-script.patch new file mode 100644 index 000000000000..869289289592 --- /dev/null +++ b/pkgs/shells/ion/build-script.patch @@ -0,0 +1,17 @@ +--- a/build.rs ++++ b/build.rs +@@ -23,13 +23,7 @@ fn write_version_file() -> io::Result<()> { + let target = env::var("TARGET").unwrap(); + let version_fname = Path::new(&env::var("OUT_DIR").unwrap()).join("version_string"); + let mut version_file = File::create(&version_fname)?; +- write!( +- &mut version_file, +- "r#\"ion {} ({})\nrev {}\"#", +- version, +- target, +- get_git_rev()?.trim() +- )?; ++ write!(&mut version_file, "r#\"ion {version} ({target})\n\"#")?; + Ok(()) + } + diff --git a/pkgs/shells/ion/default.nix b/pkgs/shells/ion/default.nix index ce15dbf2d255..d99b4baa427a 100644 --- a/pkgs/shells/ion/default.nix +++ b/pkgs/shells/ion/default.nix @@ -1,17 +1,40 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, Security, libiconv }: +{ lib +, rustPlatform +, fetchFromGitHub +, stdenv +, darwin +}: rustPlatform.buildRustPackage rec { pname = "ion"; - version = "unstable-2021-05-10"; + version = "unstable-2022-11-27"; src = fetchFromGitHub { owner = "redox-os"; repo = "ion"; - rev = "1170b84587bbad260a3ecac8e249a216cb1fd5e9"; - sha256 = "sha256-lI1GwA3XerRJaC/Z8vTZc6GzRDLjv3w768C+Ui6Q+3Q="; + rev = "3bb8966fc99ba223033e1e02b0a6d50fc25cbef4"; + sha256 = "sha256-6KW/YkMQFeGb1i+1YdADZRW89UruHsfPhMq9Cvxjl/4="; }; - cargoSha256 = "sha256-hURpgxc99iIMtzIlR6Kbfqcbu1uYLDHnfVLqgmMbvFA="; + cargoSha256 = "sha256-KLKPnj4SmAuspjMPAGLJ8Yy9SxAi6FvGE/FIF58lAH8="; + + patches = [ + # remove git revision from the build script to fix build + ./build-script.patch + ]; + + buildInputs = lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + ]; + + checkFlags = lib.optionals stdenv.isDarwin [ + # test assumes linux + "--skip=binary::completer::tests::filename_completion" + ]; + + passthru = { + shellPath = "/bin/ion"; + }; meta = with lib; { description = "Modern system shell with simple (and powerful) syntax"; @@ -19,15 +42,4 @@ rustPlatform.buildRustPackage rec { license = licenses.mit; maintainers = with maintainers; [ dywedir ]; }; - - buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ - Security - libiconv - ]; - - doCheck = !stdenv.hostPlatform.isDarwin; - - passthru = { - shellPath = "/bin/ion"; - }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 354fa60ea1e9..90ba78c37a7a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13709,9 +13709,7 @@ with pkgs; fzf-git-sh = callPackage ../shells/fzf-git-sh {}; - ion = callPackage ../shells/ion { - inherit (darwin) Security; - }; + ion = callPackage ../shells/ion { }; jush = callPackage ../shells/jush { }; From 90a7729670064efc8c2c062b4296d37153cfbf0d Mon Sep 17 00:00:00 2001 From: Chuang Zhu Date: Thu, 19 Jan 2023 15:03:34 +0800 Subject: [PATCH 25/44] tangram: 1.3.2 -> 2.0 --- .../instant-messengers/tangram/default.nix | 70 ++++++++++++++----- 1 file changed, 52 insertions(+), 18 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/tangram/default.nix b/pkgs/applications/networking/instant-messengers/tangram/default.nix index 7cb9798517db..6f9b7269bf9b 100644 --- a/pkgs/applications/networking/instant-messengers/tangram/default.nix +++ b/pkgs/applications/networking/instant-messengers/tangram/default.nix @@ -1,22 +1,40 @@ -{ stdenv, lib, fetchFromGitHub, appstream-glib, desktop-file-utils, gdk-pixbuf -, gettext, gjs, glib, gobject-introspection, gsettings-desktop-schemas, gtk3 -, hicolor-icon-theme, meson, ninja, pkg-config, python3, webkitgtk, wrapGAppsHook +{ stdenv +, lib +, fetchFromGitHub +, appstream-glib +, desktop-file-utils +, gdk-pixbuf +, gettext +, gjs +, glib +, glib-networking +, gobject-introspection +, gsettings-desktop-schemas +, gtk4 +, libadwaita +, gst_all_1 +, hicolor-icon-theme +, meson +, ninja +, pkg-config +, python3 +, webkitgtk_5_0 +, blueprint-compiler +, wrapGAppsHook }: stdenv.mkDerivation rec { pname = "tangram"; - version = "1.3.2"; + version = "2.0"; src = fetchFromGitHub { owner = "sonnyp"; repo = "Tangram"; rev = "v${version}"; - sha256 = "sha256-WI0H3bforQ6Jc/+TWFT1zUs4KRtWwvXY2/va+Fnd+iU="; + hash = "sha256-ocHE8IztiNm9A1hbzzHXstWpPaOau/IrQ44ccxbsGb0="; fetchSubmodules = true; }; - buildInputs = [ gdk-pixbuf gjs glib gsettings-desktop-schemas gtk3 webkitgtk ]; - nativeBuildInputs = [ appstream-glib desktop-file-utils @@ -27,23 +45,39 @@ stdenv.mkDerivation rec { ninja pkg-config python3 + blueprint-compiler wrapGAppsHook ]; - dontWrapGApps = true; + buildInputs = [ + gdk-pixbuf + gjs + glib + glib-networking + gsettings-desktop-schemas + gtk4 + libadwaita + webkitgtk_5_0 + ] ++ (with gst_all_1; [ + gstreamer + gst-libav + gst-plugins-base + (gst-plugins-good.override { gtkSupport = true; }) + gst-plugins-bad + ]); + + dontPatchShebangs = true; - # Fixes https://github.com/NixOS/nixpkgs/issues/31168 postPatch = '' - chmod +x build-aux/meson/postinstall.py - patchShebangs build-aux/meson/postinstall.py + substituteInPlace src/meson.build --replace "/app/bin/blueprint-compiler" "blueprint-compiler" + substituteInPlace {src/,}re.sonny.Tangram troll/gjspack/bin/gjspack \ + --replace "#!/usr/bin/env -S gjs -m" "#!${gjs}/bin/gjs -m" ''; - postFixup = '' - for file in $out/bin/re.sonny.Tangram; do - sed -e $"2iimports.package._findEffectiveEntryPointName = () => \'$(basename $file)\' " \ - -i $file - wrapGApp "$file" - done + # https://github.com/NixOS/nixpkgs/issues/31168#issuecomment-341793501 + preFixup = '' + sed -e '2iimports.package._findEffectiveEntryPointName = () => "re.sonny.Tangram"' \ + -i $out/bin/re.sonny.Tangram ''; meta = with lib; { @@ -51,6 +85,6 @@ stdenv.mkDerivation rec { homepage = "https://github.com/sonnyp/Tangram"; license = licenses.gpl3Only; platforms = platforms.linux; - maintainers = with maintainers; [ austinbutler ]; + maintainers = with maintainers; [ austinbutler chuangzhu ]; }; } From e369dceace0a70a855f32b98e3d626ff03251763 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 19 Jan 2023 09:35:12 +0000 Subject: [PATCH 26/44] frr: 8.4.1 -> 8.4.2 --- pkgs/servers/frr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/frr/default.nix b/pkgs/servers/frr/default.nix index 88648fa1e131..06f8c914ca21 100644 --- a/pkgs/servers/frr/default.nix +++ b/pkgs/servers/frr/default.nix @@ -32,13 +32,13 @@ stdenv.mkDerivation rec { pname = "frr"; - version = "8.4.1"; + version = "8.4.2"; src = fetchFromGitHub { owner = "FRRouting"; repo = pname; rev = "${pname}-${version}"; - hash = "sha256-SJKDIs6bL8NroSieNeSYBv+8JTGgFdhP4WYKUWYhpbk="; + hash = "sha256-pfsBf5UDAfI+tBmK/xRAR2xBANwVcBDabw7tPBB0yPE="; }; nativeBuildInputs = [ From e59b23d062fa282d6aec29572b709af48113b881 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 19 Jan 2023 15:07:45 +0200 Subject: [PATCH 27/44] treewide: remove accidentally introduced -l they were all removed in c2b898da7623a39e3c9b6265d311fe182aa526f0 but these changes were made before that and merged after it --- nixos/tests/tracee.nix | 2 +- pkgs/development/python-modules/pyqt/6.x.nix | 2 +- pkgs/development/python-modules/pyqt6-webengine.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/tracee.nix b/nixos/tests/tracee.nix index 72e82ec0b7ed..6ef7e5342bee 100644 --- a/nixos/tests/tracee.nix +++ b/nixos/tests/tracee.nix @@ -18,7 +18,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { buildPhase = '' runHook preBuild # just build the static lib we need for the go test binary - make $makeFlags ''${enableParallelBuilding:+-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES} bpf-core ./dist/btfhub + make $makeFlags ''${enableParallelBuilding:+-j$NIX_BUILD_CORES} bpf-core ./dist/btfhub # remove the /usr/bin prefix to work with the patch above substituteInPlace tests/integration/integration_test.go \ diff --git a/pkgs/development/python-modules/pyqt/6.x.nix b/pkgs/development/python-modules/pyqt/6.x.nix index 00933da8471a..b28a99cc662d 100644 --- a/pkgs/development/python-modules/pyqt/6.x.nix +++ b/pkgs/development/python-modules/pyqt/6.x.nix @@ -59,7 +59,7 @@ buildPythonPackage rec { # pkgs/development/interpreters/python/hooks/pip-build-hook.sh # does not use the enableParallelBuilding flag postUnpack = '' - export MAKEFLAGS+=" -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES" + export MAKEFLAGS+=" -j$NIX_BUILD_CORES" ''; outputs = [ "out" "dev" ]; diff --git a/pkgs/development/python-modules/pyqt6-webengine.nix b/pkgs/development/python-modules/pyqt6-webengine.nix index 96fa057a47ca..564d1a143251 100644 --- a/pkgs/development/python-modules/pyqt6-webengine.nix +++ b/pkgs/development/python-modules/pyqt6-webengine.nix @@ -40,7 +40,7 @@ buildPythonPackage rec { # pkgs/development/interpreters/python/hooks/pip-build-hook.sh # does not use the enableParallelBuilding flag postUnpack = '' - export MAKEFLAGS+=" -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES" + export MAKEFLAGS+=" -j$NIX_BUILD_CORES" ''; outputs = [ "out" "dev" ]; From 888cd6534604d7c43bf1f29c37f5687e20935a04 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Thu, 19 Jan 2023 09:00:47 -0800 Subject: [PATCH 28/44] github-runner: 2.300.2 -> 2.301.1 --- .../tools/continuous-integration/github-runner/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix index 6527f2311de3..30e3043ba8a8 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -45,13 +45,13 @@ let in stdenv.mkDerivation rec { pname = "github-runner"; - version = "2.300.2"; + version = "2.301.1"; src = fetchFromGitHub { owner = "actions"; repo = "runner"; rev = "v${version}"; - hash = "sha256-4TCClrCCHMVtbGAlxmAhZt63nQlMxkaLLZ9EOgurSMA="; + hash = "sha256-GIWuN3/CnA0uZfpo1Gty+5tL2eDXmFyzYFHrRozHwk0="; }; nativeBuildInputs = [ From 8f0bc3884df7b37c63894ea112041ae374fca125 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Thu, 19 Jan 2023 18:36:03 +0100 Subject: [PATCH 29/44] lgogdownloader: enable GUI --- pkgs/games/lgogdownloader/default.nix | 12 +++++++++++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pkgs/games/lgogdownloader/default.nix b/pkgs/games/lgogdownloader/default.nix index ab029e055aa9..b49df81643b7 100644 --- a/pkgs/games/lgogdownloader/default.nix +++ b/pkgs/games/lgogdownloader/default.nix @@ -11,8 +11,13 @@ , rhash , tinyxml-2 , help2man +, wrapQtAppsHook +, qtbase +, qtwebengine , testers , lgogdownloader + +, enableGui ? true }: stdenv.mkDerivation rec { @@ -30,7 +35,7 @@ stdenv.mkDerivation rec { cmake pkg-config help2man - ]; + ] ++ lib.optional enableGui wrapQtAppsHook; buildInputs = [ boost @@ -40,8 +45,13 @@ stdenv.mkDerivation rec { liboauth rhash tinyxml-2 + ] ++ lib.optionals enableGui [ + qtbase + qtwebengine ]; + cmakeFlags = lib.optional enableGui "-DUSE_QT_GUI=ON"; + passthru.tests = { version = testers.testVersion { package = lgogdownloader; }; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 61a8fa4bc024..7a8eb6921b88 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -34866,7 +34866,7 @@ with pkgs; left4gore-bin = callPackage ../games/left4gore { }; - lgogdownloader = callPackage ../games/lgogdownloader { }; + lgogdownloader = libsForQt5.callPackage ../games/lgogdownloader { }; liberal-crime-squad = callPackage ../games/liberal-crime-squad { }; From 48f3fd2d49c59c1bc46d5a83ff353e25aecbf4be Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 19 Jan 2023 16:39:30 +0000 Subject: [PATCH 30/44] lib.platforms.armv7: init --- lib/systems/doubles.nix | 1 + lib/systems/inspect.nix | 3 +++ lib/tests/systems.nix | 1 + 3 files changed, 5 insertions(+) diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index 23a44d02e85e..7ec371d0e871 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -68,6 +68,7 @@ in { none = []; arm = filterDoubles predicates.isAarch32; + armv7 = filterDoubles predicates.isArmv7; aarch64 = filterDoubles predicates.isAarch64; x86 = filterDoubles predicates.isx86; i686 = filterDoubles predicates.isi686; diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 270be3a43cd3..7233565a0136 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -22,6 +22,9 @@ rec { ]; isx86 = { cpu = { family = "x86"; }; }; isAarch32 = { cpu = { family = "arm"; bits = 32; }; }; + isArmv7 = map ({ arch, ... }: { cpu = { inherit arch; }; }) + (lib.filter (cpu: lib.hasPrefix "armv7" cpu.arch or "") + (lib.attrValues cpuTypes)); isAarch64 = { cpu = { family = "arm"; bits = 64; }; }; isAarch = { cpu = { family = "arm"; }; }; isMicroBlaze = { cpu = { family = "microblaze"; }; }; diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 27c5ff565ca0..e793cdd3ffd0 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -16,6 +16,7 @@ with lib.systems.doubles; lib.runTests { testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ mmix ++ js ++ genode ++ redox); testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv6l-netbsd" "armv6l-none" "armv7a-linux" "armv7a-netbsd" "armv7l-linux" "armv7l-netbsd" "arm-none" "armv7a-darwin" ]; + testarmv7 = mseteq armv7 [ "armv7a-darwin" "armv7a-linux" "armv7l-linux" "armv7a-netbsd" "armv7l-netbsd" ]; testi686 = mseteq i686 [ "i686-linux" "i686-freebsd13" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; testmips = mseteq mips [ "mips64el-linux" "mipsel-linux" "mipsel-netbsd" ]; testmmix = mseteq mmix [ "mmix-mmixware" ]; From 541a2a5e9170a6f633e24513359cfe92d8ba50af Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 19 Jan 2023 16:39:50 +0000 Subject: [PATCH 31/44] lib.platforms.power: init --- lib/systems/doubles.nix | 1 + lib/tests/systems.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index 7ec371d0e871..91b0a55fedd3 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -76,6 +76,7 @@ in { microblaze = filterDoubles predicates.isMicroBlaze; mips = filterDoubles predicates.isMips; mmix = filterDoubles predicates.isMmix; + power = filterDoubles predicates.isPower; riscv = filterDoubles predicates.isRiscV; riscv32 = filterDoubles predicates.isRiscV32; riscv64 = filterDoubles predicates.isRiscV64; diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index e793cdd3ffd0..5808154ba805 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -20,6 +20,7 @@ with lib.systems.doubles; lib.runTests { testi686 = mseteq i686 [ "i686-linux" "i686-freebsd13" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ]; testmips = mseteq mips [ "mips64el-linux" "mipsel-linux" "mipsel-netbsd" ]; testmmix = mseteq mmix [ "mmix-mmixware" ]; + testpower = mseteq power [ "powerpc-netbsd" "powerpc-none" "powerpc64-linux" "powerpc64le-linux" "powerpcle-none" ]; testriscv = mseteq riscv [ "riscv32-linux" "riscv64-linux" "riscv32-netbsd" "riscv64-netbsd" "riscv32-none" "riscv64-none" ]; testriscv32 = mseteq riscv32 [ "riscv32-linux" "riscv32-netbsd" "riscv32-none" ]; testriscv64 = mseteq riscv64 [ "riscv64-linux" "riscv64-netbsd" "riscv64-none" ]; From 6d165a94740e6c1bd1e7a701cf0c2bc66d007fc5 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 19 Jan 2023 16:40:01 +0000 Subject: [PATCH 32/44] lib.platforms.s390x: init --- lib/systems/doubles.nix | 1 + lib/systems/inspect.nix | 1 + lib/tests/systems.nix | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix index 91b0a55fedd3..383dd30bfdb2 100644 --- a/lib/systems/doubles.nix +++ b/lib/systems/doubles.nix @@ -85,6 +85,7 @@ in { or1k = filterDoubles predicates.isOr1k; m68k = filterDoubles predicates.isM68k; s390 = filterDoubles predicates.isS390; + s390x = filterDoubles predicates.isS390x; js = filterDoubles predicates.isJavaScript; bigEndian = filterDoubles predicates.isBigEndian; diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index 7233565a0136..a5fed5acf2c5 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -47,6 +47,7 @@ rec { isOr1k = { cpu = { family = "or1k"; }; }; isM68k = { cpu = { family = "m68k"; }; }; isS390 = { cpu = { family = "s390"; }; }; + isS390x = { cpu = { family = "s390"; bits = 64; }; }; isJavaScript = { cpu = cpuTypes.js; }; is32bit = { cpu = { bits = 32; }; }; diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix index 5808154ba805..88e2e4206d56 100644 --- a/lib/tests/systems.nix +++ b/lib/tests/systems.nix @@ -24,6 +24,7 @@ with lib.systems.doubles; lib.runTests { testriscv = mseteq riscv [ "riscv32-linux" "riscv64-linux" "riscv32-netbsd" "riscv64-netbsd" "riscv32-none" "riscv64-none" ]; testriscv32 = mseteq riscv32 [ "riscv32-linux" "riscv32-netbsd" "riscv32-none" ]; testriscv64 = mseteq riscv64 [ "riscv64-linux" "riscv64-netbsd" "riscv64-none" ]; + tests390x = mseteq s390x [ "s390x-linux" "s390x-none" ]; testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd13" "x86_64-genode" "x86_64-redox" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ]; testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ]; From 9c04fcb25f633980b7cb4484d5138fe6fb11583f Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 19 Jan 2023 16:40:53 +0000 Subject: [PATCH 33/44] valgrind: make meta.platforms more accurate Valgrind has to do lots of architecture- and OS-specific stuff, so it only works on a defined set of platforms. So rather than marking platforms as bad one by one, let's set meta.platforms to the actual set of platforms supported by Valgrind, as listed in its configure script. --- pkgs/development/tools/analysis/valgrind/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index 25a7211ef49d..ea45813303a6 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -119,13 +119,9 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.eelco ]; - platforms = lib.platforms.unix; - badPlatforms = [ - "armv5tel-linux" "armv6l-linux" "armv6m-linux" - "sparc-linux" "sparc64-linux" - "riscv32-linux" "riscv64-linux" - "alpha-linux" - ]; + platforms = with lib.platforms; lib.intersectLists + (x86 ++ power ++ s390x ++ armv7 ++ aarch64 ++ mips) + (darwin ++ freebsd ++ illumos ++ linux); broken = stdenv.isDarwin || stdenv.hostPlatform.isStatic; # https://hydra.nixos.org/build/128521440/nixlog/2 }; } From 4f50411cfc6cb793479818dec6b88732474a4afe Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 19 Jan 2023 08:57:54 +0100 Subject: [PATCH 34/44] bmon: unbreak on aarch64-darwin --- pkgs/tools/misc/bmon/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/bmon/default.nix b/pkgs/tools/misc/bmon/default.nix index 52c066132965..e85c2b96bd34 100644 --- a/pkgs/tools/misc/bmon/default.nix +++ b/pkgs/tools/misc/bmon/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, ncurses, libconfuse +{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, ncurses, libconfuse , libnl }: stdenv.mkDerivation rec { @@ -12,6 +12,16 @@ stdenv.mkDerivation rec { sha256 = "1ilba872c09mnlvylslv4hqv6c9cz36l76q74rr99jvis1dg69gf"; }; + # The source code defines `__unused__`, which is a reserved name + # https://github.com/tgraf/bmon/issues/89 + patches = [ + (fetchpatch { + url = "https://github.com/macports/macports-ports/raw/6d1dd5e9c8fae608bd22f3ede21e576f29c6358c/net/bmon/files/patch-fix__unused.diff"; + extraPrefix = ""; + sha256 = "sha256-UYIiJZzipsx9a0xabrKfyj8TWNW7IM77oXnVnSPkQkc="; + }) + ]; + nativeBuildInputs = [ autoreconfHook pkg-config ]; buildInputs = [ ncurses libconfuse ] ++ lib.optional stdenv.isLinux libnl; @@ -30,7 +40,5 @@ stdenv.mkDerivation rec { license = licenses.bsd2; platforms = platforms.unix; maintainers = with maintainers; [ bjornfor pSub ]; - # never built on aarch64-darwin since first introduction in nixpkgs - broken = stdenv.isDarwin && stdenv.isAarch64; }; } From 6c35899785ffb5dd1e05dfdfac89a42ce74c0f76 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 19 Jan 2023 18:56:18 +0000 Subject: [PATCH 35/44] torq: 0.16.9 -> 0.16.15 --- pkgs/applications/blockchains/torq/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/blockchains/torq/default.nix b/pkgs/applications/blockchains/torq/default.nix index b00e39c23100..85041accbc4b 100644 --- a/pkgs/applications/blockchains/torq/default.nix +++ b/pkgs/applications/blockchains/torq/default.nix @@ -1,16 +1,17 @@ { lib , buildGoModule -, fetchFromGitHub }: +, fetchFromGitHub +}: buildGoModule rec { pname = "torq"; - version = "0.16.9"; + version = "0.16.15"; src = fetchFromGitHub { owner = "lncapital"; repo = pname; rev = "v${version}"; - hash = "sha256-jr4DNjHP8xVtl0Y1egVUmvzLRR6YjyUqvvhOAZNKFu0="; + hash = "sha256-ibrPq/EC61ssn4072gTNvJg9QO41+aTsU1Hhc6X6NPk="; }; vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs="; @@ -20,8 +21,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" - "-X github.com/lncapital/torq/build.Repository=github.com/${src.owner}/${src.repo}" - "-X github.com/lncapital/torq/build.overrideBuildVer=${version}" + "-X github.com/lncapital/torq/build.version=v${version}" ]; meta = with lib; { From e3fb7c3314dacd9927b889daed5deed31e61ca98 Mon Sep 17 00:00:00 2001 From: Producer Matt <58014742+ProducerMatt@users.noreply.github.com> Date: Wed, 18 Jan 2023 18:24:40 -0600 Subject: [PATCH 36/44] rsbkb: init at 1.1 Plus Anderson's suggestions Co-authored-by: Anderson Torres --- pkgs/tools/text/rsbkb/default.nix | 35 +++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/tools/text/rsbkb/default.nix diff --git a/pkgs/tools/text/rsbkb/default.nix b/pkgs/tools/text/rsbkb/default.nix new file mode 100644 index 000000000000..19ec2bcf7b14 --- /dev/null +++ b/pkgs/tools/text/rsbkb/default.nix @@ -0,0 +1,35 @@ +{ lib, + fetchFromGitHub, + rustPlatform, + enableAppletSymlinks ? true, +}: + +rustPlatform.buildRustPackage rec { + pname = "rsbkb"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "trou"; + repo = "rsbkb"; + rev = "release-${version}"; + hash = "sha256-SqjeH0eOo+upSfPWh2IW75p1VHMqmzAbCchDrXhvMxs="; + }; + cargoSha256 = "N3Xlw2JzTjqWLiVNCZaomsWQl330kGVlwdz4Gf05TGU="; + + # Setup symlinks for all the utilities, + # busybox style + postInstall = lib.optionalString enableAppletSymlinks + '' + cd $out/bin || exit 1 + path="$(realpath --canonicalize-missing ./rsbkb)" + for i in $(./rsbkb list) ; do ln -s $path $i ; done + ''; + + meta = with lib; { + description = "Command line tools to encode/decode things"; + homepage = "https://github.com/trou/rsbkb"; + changelog = "https://github.com/trou/rsbkb/releases/tag/release-${version}"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ ProducerMatt ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index cc604ffd5989..1c0d8541029d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5475,6 +5475,8 @@ with pkgs; rsbep = callPackage ../tools/backup/rsbep { }; + rsbkb = callPackage ../tools/text/rsbkb { }; + rsyslog = callPackage ../tools/system/rsyslog { withHadoop = false; # Currently Broken withKsi = false; # Currently Broken From afdcfa28cccc84f35007379917dde518b8916a27 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Thu, 19 Jan 2023 13:06:52 -0800 Subject: [PATCH 37/44] pureref: init at 1.11.1 --- .../applications/graphics/pureref/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/graphics/pureref/default.nix diff --git a/pkgs/applications/graphics/pureref/default.nix b/pkgs/applications/graphics/pureref/default.nix new file mode 100644 index 000000000000..5a0774a09f43 --- /dev/null +++ b/pkgs/applications/graphics/pureref/default.nix @@ -0,0 +1,25 @@ +{ lib, appimageTools, requireFile }: + +appimageTools.wrapType1 rec { + pname = "pureref"; + version = "1.11.1"; + + src = requireFile { + name = "PureRef-${version}_x64.Appimage"; + sha256 = "05naywdgykqrsgc3xybskr418cyvbx7vqs994yv9w8zf98gxvbvm"; + url = "https://www.pureref.com/download.php"; + }; + + extraInstallCommands = '' + mv $out/bin/${pname}-${version} $out/bin/${pname} + ''; + + meta = with lib; { + description = "Reference Image Viewer"; + homepage = "https://www.pureref.com"; + license = licenses.unfree; + maintainers = with maintainers; [ elnudev ]; + platforms = [ "x86_64-linux" ]; + sourceProvenance = [ lib.sourceTypes.binaryNativeCode ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85283beb7067..d3e63feba72f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29838,6 +29838,8 @@ with pkgs; popura = callPackage ../tools/networking/popura {}; + pureref = callPackage ../applications/graphics/pureref { }; + shepherd = nodePackages."@nerdwallet/shepherd"; skate = callPackage ../applications/misc/skate { }; From 550a2f72a2b3f6a83549e485fb66b771e03a10d6 Mon Sep 17 00:00:00 2001 From: nat-418 <93013864+nat-418@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:39:01 +0100 Subject: [PATCH 38/44] vimPlugins: update --- .../editors/vim/plugins/generated.nix | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index fd5f58eb1412..e84bbcdadbb8 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -2709,12 +2709,12 @@ final: prev: dracula-nvim = buildVimPluginFrom2Nix { pname = "dracula.nvim"; - version = "2022-12-22"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "Mofiqul"; repo = "dracula.nvim"; - rev = "9195c478cf05c3369131a7a9c606cbbc5247b0c6"; - sha256 = "12288w7071d9s4sfv0bd7bzahrmwds9yabqzfpapassr8958w84j"; + rev = "a0b129d7dea51b317fa8064f13b29f68004839c4"; + sha256 = "0q7ly95hp123z9z8qh4sih5a53dnbxv0jxa80b1s7d6h1wpr2w5j"; }; meta.homepage = "https://github.com/Mofiqul/dracula.nvim/"; }; @@ -4131,8 +4131,8 @@ final: prev: src = fetchFromGitHub { owner = "folke"; repo = "lazy.nvim"; - rev = "4739c2d95af17acb786ed33445f59b7b13671417"; - sha256 = "0mvgvx6xhbcyrryazaj664i2b9i1p7zf10sr0wip3rmclp5mdfzj"; + rev = "75dcd5741d76e09b1a41c771fbc8b010a109b5cb"; + sha256 = "0p0idwnzx0x3v7vsjsk2ld4i61xgpa036cs7h3jdgynssgwdp8yg"; }; meta.homepage = "https://github.com/folke/lazy.nvim/"; }; @@ -4187,12 +4187,12 @@ final: prev: leap-nvim = buildVimPluginFrom2Nix { pname = "leap.nvim"; - version = "2023-01-03"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "ggandor"; repo = "leap.nvim"; - rev = "a968ab4250840dc879e805f918b4f3b892310a12"; - sha256 = "1yirhsyybynpjmjp02jfcd5i9anklnj3wklcxb9i522ia6w67hsd"; + rev = "ff4c3663e5a0a0ecbb3fffbc8318825def35d2aa"; + sha256 = "1pxm1b3crqmvbmds5cjfnqirvqbjqzc6vc59i6jsr8i79vymf16z"; }; meta.homepage = "https://github.com/ggandor/leap.nvim/"; }; @@ -4811,12 +4811,12 @@ final: prev: mini-nvim = buildVimPluginFrom2Nix { pname = "mini.nvim"; - version = "2023-01-16"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "echasnovski"; repo = "mini.nvim"; - rev = "305debd01d486f94a9f6ecfec90321ea98dc5dd9"; - sha256 = "0m5vva498cpji3i111v57nl5d02asamla8acpw3gj15gixdi7ivc"; + rev = "91017a96693408ef96efe9a2513c6ace0a87dc8d"; + sha256 = "0xhc2npbpz7rhlis9cchda5pg7j5qkfxqb9qjsk86cxga1ma0c8r"; }; meta.homepage = "https://github.com/echasnovski/mini.nvim/"; }; @@ -5519,12 +5519,12 @@ final: prev: nlsp-settings-nvim = buildVimPluginFrom2Nix { pname = "nlsp-settings.nvim"; - version = "2023-01-18"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "tamago324"; repo = "nlsp-settings.nvim"; - rev = "ac1e6f363c24814a047b1142038c802a145d6768"; - sha256 = "04kfkzxf33rp2gxd0jlnb9ijaq28p6a61qv88718ql18fbjgg5zq"; + rev = "421c066ce09faefe5ed066aa22c1659b76e15239"; + sha256 = "0ih9n5lhn8r06b9m9jsg16avqa6jrvc56zhwhiqr267r9ylwyn3w"; }; meta.homepage = "https://github.com/tamago324/nlsp-settings.nvim/"; }; @@ -5627,12 +5627,12 @@ final: prev: null-ls-nvim = buildVimPluginFrom2Nix { pname = "null-ls.nvim"; - version = "2023-01-17"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "jose-elias-alvarez"; repo = "null-ls.nvim"; - rev = "7bd74a821d991057ca1c0ca569d8252c4f89f860"; - sha256 = "0frzqsgca6lsracz1ybz1zj9150clgs2y7xj6nkgmzn2f8h20kr2"; + rev = "ef3d4a438f96865e3ae018e33ed30156a955ed00"; + sha256 = "0aq4w4dsnzi31h2qqm2fdqnn9h021l5j1h9qm4xzk7ywa10ikq73"; }; meta.homepage = "https://github.com/jose-elias-alvarez/null-ls.nvim/"; }; @@ -9066,12 +9066,12 @@ final: prev: vim-airline = buildVimPluginFrom2Nix { pname = "vim-airline"; - version = "2023-01-18"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "vim-airline"; repo = "vim-airline"; - rev = "1d9ae3f972e76a1d36384da7a2890f6402d07d6c"; - sha256 = "0xgin7kjy3lslkil9wmzp36v9qhp770106lamyipa9m1hpimz4bi"; + rev = "31e01612f3b9eef79e6a71d4708b85505f50e255"; + sha256 = "0bvxqjhfizckshw59gkd1g3zx9qvswp0mgjdp80w7y0vsxl0m9rf"; }; meta.homepage = "https://github.com/vim-airline/vim-airline/"; }; @@ -13824,12 +13824,12 @@ final: prev: catppuccin-nvim = buildVimPluginFrom2Nix { pname = "catppuccin-nvim"; - version = "2023-01-18"; + version = "2023-01-19"; src = fetchFromGitHub { owner = "catppuccin"; repo = "nvim"; - rev = "b17cfa01cf0517cc3614602df39e8433dc116fab"; - sha256 = "1s5nqz8xr4pi2dwbaagjk27b0f5imgs55pw1raharniziad40mnx"; + rev = "e1fc2c3ade0d8872665d7570c493bbd5e11919c7"; + sha256 = "0svhbb1860wsgms9qp03y28p5v2iz9kw5n7sxz5zz7a33dwcrjdk"; }; meta.homepage = "https://github.com/catppuccin/nvim/"; }; @@ -13900,8 +13900,8 @@ final: prev: src = fetchFromGitHub { owner = "glepnir"; repo = "lspsaga.nvim"; - rev = "79e1f5b81e9356b27e52b162dbfd1d5e242b8c7d"; - sha256 = "1wjrx6c9nahygrs4wplrn6brxl12qq232bkf5d9rksbyjkril12v"; + rev = "ca5bc84ef68f18c6dc99962791f08dbc0163dce8"; + sha256 = "17kl1cwbr92c279jbvl230q98dc7i006hnz2d8lc23xki6ym8zix"; }; meta.homepage = "https://github.com/glepnir/lspsaga.nvim/"; }; From a08c3c9961048e8894ae22daeaecaee418748352 Mon Sep 17 00:00:00 2001 From: nat-418 <93013864+nat-418@users.noreply.github.com> Date: Thu, 19 Jan 2023 22:46:14 +0100 Subject: [PATCH 39/44] vimPlugins.oil-nvim: init at 2023-01-19 --- pkgs/applications/editors/vim/plugins/generated.nix | 13 +++++++++++++ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 14 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index e84bbcdadbb8..8371092e46b4 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -6560,6 +6560,19 @@ final: prev: meta.homepage = "https://github.com/pwntester/octo.nvim/"; }; + oil-nvim = buildVimPluginFrom2Nix { + pname = "oil.nvim"; + version = "2023-01-19"; + src = fetchFromGitHub { + owner = "stevearc"; + repo = "oil.nvim"; + rev = "f5961e731f641206727eaded197e5879694c35f7"; + sha256 = "1q4wcmdbpx2si4ynq4hldbq2asq16qqwrf0lmcpqrldpziffgdv2"; + fetchSubmodules = true; + }; + meta.homepage = "https://github.com/stevearc/oil.nvim/"; + }; + omnisharp-extended-lsp-nvim = buildVimPluginFrom2Nix { pname = "omnisharp-extended-lsp.nvim"; version = "2022-10-29"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 3098d5a2c97e..9537ee42493e 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -552,6 +552,7 @@ https://github.com/neovim/nvimdev.nvim/,, https://github.com/glepnir/oceanic-material/,, https://github.com/mhartington/oceanic-next/,, https://github.com/pwntester/octo.nvim/,, +https://github.com/stevearc/oil.nvim/,HEAD, https://github.com/Hoffs/omnisharp-extended-lsp.nvim/,HEAD, https://github.com/Th3Whit3Wolf/one-nvim/,, https://github.com/navarasu/onedark.nvim/,, From 36c6a9899bcc43467734506e508d6fb8da9702eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 19 Jan 2023 13:17:59 -0800 Subject: [PATCH 40/44] python310Packages.johnnycanencrypt: 0.11.0 -> 0.12.0 https://github.com/kushaldas/johnnycanencrypt/releases/tag/v0.12.0 --- .../johnnycanencrypt/default.nix | 43 +++++++------------ 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/pkgs/development/python-modules/johnnycanencrypt/default.nix b/pkgs/development/python-modules/johnnycanencrypt/default.nix index 7432cf20622e..dee38f2e143f 100644 --- a/pkgs/development/python-modules/johnnycanencrypt/default.nix +++ b/pkgs/development/python-modules/johnnycanencrypt/default.nix @@ -1,6 +1,6 @@ { lib , stdenv -, fetchFromGitHub +, fetchPypi , buildPythonPackage , rustPlatform , llvmPackages @@ -8,36 +8,31 @@ , pcsclite , nettle , httpx -, numpy , pytestCheckHook , pythonOlder +, vcrpy , PCSC , libiconv }: buildPythonPackage rec { pname = "johnnycanencrypt"; - version = "0.11.0"; - disabled = pythonOlder "3.7"; + version = "0.12.0"; + disabled = pythonOlder "3.8"; - src = fetchFromGitHub { - owner = "kushaldas"; - repo = "johnnycanencrypt"; - rev = "v${version}"; - hash = "sha256-YhuYejxuKZEv1xQ1fQcXSkt9I80iJOJ6MecG622JJJo="; + src = fetchPypi { + inherit pname version; + hash = "sha256-aGhM/uyYE7l0h6L00qp+HRUVaj7s/tnHWIHJpLAkmR4="; }; cargoDeps = rustPlatform.fetchCargoTarball { - inherit patches src; + inherit src; name = "${pname}-${version}"; - hash = "sha256-r2NU1e3yeZDLOBy9pndGYM3JoH6BBKQkXMLsJR6PTRs="; + hash = "sha256-fcwDxkUFtA6LS77xdLktNnZJXmyl/ZzArvIW69SPpmI="; }; format = "pyproject"; - # https://github.com/kushaldas/johnnycanencrypt/issues/125 - patches = [ ./Cargo.lock.patch ]; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; propagatedBuildInputs = [ @@ -61,31 +56,23 @@ buildPythonPackage rec { libiconv ]; - # Needed b/c need to check AFTER python wheel is installed (using Rust Build, not buildPythonPackage) - doCheck = false; - doInstallCheck = true; - - installCheckInputs = [ + checkInputs = [ pytestCheckHook - numpy + vcrpy ]; preCheck = '' - export TESTDIR=$(mktemp -d) - cp -r tests/ $TESTDIR - pushd $TESTDIR - ''; - - postCheck = '' - popd + # import from $out + rm -r johnnycanencrypt ''; pythonImportsCheck = [ "johnnycanencrypt" ]; meta = with lib; { homepage = "https://github.com/kushaldas/johnnycanencrypt"; + changelog = "https://github.com/kushaldas/johnnycanencrypt/blob/v${version}/changelog.md"; description = "Python module for OpenPGP written in Rust"; - license = licenses.gpl3Plus; + license = licenses.lgpl3Plus; maintainers = with maintainers; [ _0x4A6F ]; }; } From 90fb934fec1bde7c9ce998f12f89bd83f8e825ff Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 19 Jan 2023 19:49:20 +0000 Subject: [PATCH 41/44] erlangR25: 25.2 -> 25.2.1 --- pkgs/development/interpreters/erlang/R25.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/erlang/R25.nix b/pkgs/development/interpreters/erlang/R25.nix index 0f2dff14fcef..d6dc77c3da69 100644 --- a/pkgs/development/interpreters/erlang/R25.nix +++ b/pkgs/development/interpreters/erlang/R25.nix @@ -1,6 +1,6 @@ { mkDerivation }: mkDerivation { - version = "25.2"; - sha256 = "zZ6i0NIftTcjzB5J51Q16GmVPlc5gPnGfo6EoBT2HY0="; + version = "25.2.1"; + sha256 = "xJ3fadveOFZ0TeHhjl3VnAtWyFTOVUIoFubXofvrsT0="; } From 4141729d9c97e3beab8ef95d9ad0420226e27401 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Thu, 19 Jan 2023 19:21:13 -0300 Subject: [PATCH 42/44] souffle: add darwin support (#208373) Co-authored-by: Sandro --- .../development/compilers/souffle/default.nix | 14 +++++++-- .../compilers/souffle/threads.patch | 31 +++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 pkgs/development/compilers/souffle/threads.patch diff --git a/pkgs/development/compilers/souffle/default.nix b/pkgs/development/compilers/souffle/default.nix index 30c87ed99735..96d3b5f6fc42 100644 --- a/pkgs/development/compilers/souffle/default.nix +++ b/pkgs/development/compilers/souffle/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub +{ lib, stdenv, fetchFromGitHub, fetchpatch , bash-completion, perl, ncurses, zlib, sqlite, libffi , mcpp, cmake, bison, flex, doxygen, graphviz , makeWrapper @@ -19,6 +19,17 @@ stdenv.mkDerivation rec { sha256 = "sha256-wdTBSmyA2I+gaSV577NNKA2oY2fdVTGmvV7h15NY1tU="; }; + patches = [ + ./threads.patch + (fetchpatch { + name = "missing-override.patch"; + url = "https://github.com/souffle-lang/souffle/commit/da2d778f0cca94f206686546fa56b9ffc738ad75.patch"; + sha256 = "Oefm3vRRwOyom94oGSOK2w9m23gkbJ++9gcWrdLlkyk="; + }) + ]; + + hardeningDisable = lib.optionals stdenv.isDarwin [ "strictoverflow" ]; + nativeBuildInputs = [ bison cmake flex mcpp doxygen graphviz makeWrapper perl ]; buildInputs = [ bash-completion ncurses zlib sqlite libffi ]; # these propagated inputs are needed for the compiled Souffle mode to work, @@ -35,7 +46,6 @@ stdenv.mkDerivation rec { outputs = [ "out" ]; meta = with lib; { - broken = stdenv.isDarwin; description = "A translator of declarative Datalog programs into the C++ language"; homepage = "https://souffle-lang.github.io/"; platforms = platforms.unix; diff --git a/pkgs/development/compilers/souffle/threads.patch b/pkgs/development/compilers/souffle/threads.patch new file mode 100644 index 000000000000..cf23baa1550d --- /dev/null +++ b/pkgs/development/compilers/souffle/threads.patch @@ -0,0 +1,31 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 73d5c3c84..e4b0dbfd1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -104,13 +104,6 @@ option(SOUFFLE_CUSTOM_GETOPTLONG "Enable/Disable custom getopt_long implementati + cmake_dependent_option(SOUFFLE_USE_LIBCPP "Link to libc++ instead of libstdc++" ON + "CMAKE_CXX_COMPILER_ID STREQUAL Clang" OFF) + +-# Using Clang? Likely want to use `lld` too. +-if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") +- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=lld") +- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -fuse-ld=lld") +- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fuse-ld=lld") +-endif() +- + # Add aditional modules to CMake + set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) + +@@ -247,7 +240,11 @@ endif() + # pthreads + # -------------------------------------------------- + set(THREADS_PREFER_PTHREAD_FLAG ON) +-find_package(Threads REQUIRED) ++set(CMAKE_THREAD_LIBS_INIT "-lpthread") ++set(CMAKE_HAVE_THREADS_LIBRARY 1) ++set(CMAKE_USE_WIN32_THREADS_INIT 0) ++set(CMAKE_USE_PTHREADS_INIT 1) ++set(THREADS_PREFER_PTHREAD_FLAG ON) + + # -------------------------------------------------- + # OpenMP From 0e2f756d95807c5f5df5fb0a2e542f5652717695 Mon Sep 17 00:00:00 2001 From: happysalada Date: Thu, 19 Jan 2023 17:33:06 -0500 Subject: [PATCH 43/44] lighthouse: fix darwin --- pkgs/applications/blockchains/lighthouse/default.nix | 3 ++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/lighthouse/default.nix b/pkgs/applications/blockchains/lighthouse/default.nix index 7e3da7cbc92a..afc9c44f01d5 100644 --- a/pkgs/applications/blockchains/lighthouse/default.nix +++ b/pkgs/applications/blockchains/lighthouse/default.nix @@ -15,6 +15,7 @@ , testers , unzip , nix-update-script +, SystemConfiguration }: rustPlatform.buildRustPackage rec { @@ -41,7 +42,7 @@ rustPlatform.buildRustPackage rec { buildInputs = lib.optionals stdenv.isDarwin [ Security ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ - CoreFoundation + CoreFoundation SystemConfiguration ]; depositContractSpec = fetchurl { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c618533d598e..abeeb358e065 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -37307,7 +37307,7 @@ with pkgs; lguf-brightness = callPackage ../misc/lguf-brightness { }; lighthouse = darwin.apple_sdk_11_0.callPackage ../applications/blockchains/lighthouse { - inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security; + inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation Security SystemConfiguration; }; lilypond = callPackage ../misc/lilypond { guile = guile_1_8; }; From 0e69342bad98c23bbd136bc9331f69fc85cd8169 Mon Sep 17 00:00:00 2001 From: happysalada Date: Thu, 19 Jan 2023 17:41:40 -0500 Subject: [PATCH 44/44] vector: 0.26.0 -> 0.27.0 --- pkgs/tools/misc/vector/default.nix | 15 +++------ pkgs/tools/misc/vector/fix-for-rust-1.66.diff | 13 -------- pkgs/tools/misc/vector/pin.json | 5 --- pkgs/tools/misc/vector/update.sh | 33 ------------------- 4 files changed, 5 insertions(+), 61 deletions(-) delete mode 100644 pkgs/tools/misc/vector/fix-for-rust-1.66.diff delete mode 100644 pkgs/tools/misc/vector/pin.json delete mode 100755 pkgs/tools/misc/vector/update.sh diff --git a/pkgs/tools/misc/vector/default.nix b/pkgs/tools/misc/vector/default.nix index e3f82253e279..359b6b434b39 100644 --- a/pkgs/tools/misc/vector/default.nix +++ b/pkgs/tools/misc/vector/default.nix @@ -28,12 +28,12 @@ # building on linux fails without this feature flag (both x86_64 and AArch64) ++ lib.optionals enableKafka [ "rdkafka?/gssapi-vendored" ] ++ lib.optional stdenv.targetPlatform.isUnix "unix") +, nix-update-script }: let pname = "vector"; - pinData = lib.importJSON ./pin.json; - version = pinData.version; + version = "0.27.0"; in rustPlatform.buildRustPackage { inherit pname version; @@ -42,15 +42,10 @@ rustPlatform.buildRustPackage { owner = "vectordotdev"; repo = pname; rev = "v${version}"; - sha256 = pinData.sha256; + sha256 = "sha256-+jap7cexevEky3H+Ct9LXXUwHR5tnbzdN+b13pv3f70="; }; - patches = [ - # replace with https://github.com/vectordotdev/vector/pull/15093 when ready - ./fix-for-rust-1.66.diff - ]; - - cargoSha256 = pinData.cargoSha256; + cargoSha256 = "sha256-KehBEwoz5N0zQLDk+9vwFSrn1TrVwljFj+asr7q7hmw="; nativeBuildInputs = [ pkg-config cmake perl ]; buildInputs = [ oniguruma openssl protobuf rdkafka zstd ] ++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ]; @@ -110,7 +105,7 @@ rustPlatform.buildRustPackage { passthru = { inherit features; - updateScript = ./update.sh; + updateScript = nix-update-script { }; }; meta = with lib; { diff --git a/pkgs/tools/misc/vector/fix-for-rust-1.66.diff b/pkgs/tools/misc/vector/fix-for-rust-1.66.diff deleted file mode 100644 index 1ad2c6854edf..000000000000 --- a/pkgs/tools/misc/vector/fix-for-rust-1.66.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/sources/aws_kinesis_firehose/filters.rs b/src/sources/aws_kinesis_firehose/filters.rs -index ac33682..fe65ed4 100644 ---- a/src/sources/aws_kinesis_firehose/filters.rs -+++ b/src/sources/aws_kinesis_firehose/filters.rs -@@ -28,7 +28,7 @@ pub fn firehose( - acknowledgements: bool, - out: SourceSender, - log_namespace: LogNamespace, --) -> impl Filter + Clone { -+) -> impl Filter + Clone { - let bytes_received = register!(BytesReceived::from(Protocol::HTTP)); - let context = handlers::Context { - compression: record_compression, diff --git a/pkgs/tools/misc/vector/pin.json b/pkgs/tools/misc/vector/pin.json deleted file mode 100644 index 705ddaf8e537..000000000000 --- a/pkgs/tools/misc/vector/pin.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "0.26.0", - "sha256": "sha256-0h9hcNgaVBDBeSKo39TvrMlloTS5ZoXrbVhm7Y43U+o=", - "cargoSha256": "sha256-UHc8ZyLJ1pxaBuP6bOXdbAI1oVZD4CVHAIa8URnNdaI=" -} diff --git a/pkgs/tools/misc/vector/update.sh b/pkgs/tools/misc/vector/update.sh deleted file mode 100755 index 789437a21a0a..000000000000 --- a/pkgs/tools/misc/vector/update.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/usr/bin/env nix-shell -#! nix-shell -i oil -p jq sd nix-prefetch-github ripgrep - -# TODO set to `verbose` or `extdebug` once implemented in oil -shopt --set xtrace -# we need failures inside of command subs to get the correct cargoSha256 -shopt --unset inherit_errexit - -const directory = $(dirname $0 | xargs realpath) -const owner = "vectordotdev" -const repo = "vector" -const latest_rev = $(curl -q https://api.github.com/repos/${owner}/${repo}/releases/latest | \ - jq -r '.tag_name') -const latest_version = $(echo $latest_rev | sd 'v' '') -const current_version = $(jq -r '.version' $directory/pin.json) -if ("$latest_version" === "$current_version") { - echo "$repo is already up-to-date" - return 0 -} else { - const tarball_meta = $(nix-prefetch-github $owner $repo --rev "$latest_rev") - const tarball_hash = "sha256-$(echo $tarball_meta | jq -r '.sha256')" - - jq ".version = \"$latest_version\" | \ - .\"sha256\" = \"$tarball_hash\" | \ - .\"cargoSha256\" = \"\"" $directory/pin.json | sponge $directory/pin.json - - const new_cargo_sha256 = $(nix-build -A vector 2>&1 | \ - tail -n 2 | \ - head -n 1 | \ - sd '\s+got:\s+' '') - - jq ".cargoSha256 = \"$new_cargo_sha256\"" $directory/pin.json | sponge $directory/pin.json -}