lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
19cb4d51 7a7eb850

+466 -865
-6
maintainers/maintainer-list.nix
··· 710 710 githubId = 8316672; 711 711 name = "Alex Chapman"; 712 712 }; 713 - alexeyre = { 714 - email = "A.Eyre@sms.ed.ac.uk"; 715 - github = "alexeyre"; 716 - githubId = 38869148; 717 - name = "Alex Eyre"; 718 - }; 719 713 alexfmpe = { 720 714 email = "alexandre.fmp.esteves@gmail.com"; 721 715 github = "alexfmpe";
+73
pkgs/applications/file-managers/yazi/default.nix
··· 1 + { rustPlatform 2 + , fetchFromGitHub 3 + , lib 4 + 5 + , makeWrapper 6 + , stdenv 7 + , Foundation 8 + 9 + , withFile ? true 10 + , file 11 + , withJq ? true 12 + , jq 13 + , withPoppler ? true 14 + , poppler_utils 15 + , withUnar ? true 16 + , unar 17 + , withFfmpegthumbnailer ? true 18 + , ffmpegthumbnailer 19 + , withFd ? true 20 + , fd 21 + , withRipgrep ? true 22 + , ripgrep 23 + , withFzf ? true 24 + , fzf 25 + , withZoxide ? true 26 + , zoxide 27 + 28 + , nix-update-script 29 + }: 30 + 31 + rustPlatform.buildRustPackage rec { 32 + pname = "yazi"; 33 + version = "0.1.3"; 34 + 35 + src = fetchFromGitHub { 36 + owner = "sxyazi"; 37 + repo = pname; 38 + rev = "v${version}"; 39 + hash = "sha256-IUE2846AltYyEefkavCJOEak9mW0wygojWsucwUEgh4="; 40 + }; 41 + 42 + cargoHash = "sha256-wwtdaReb+teXf+VDwqAqCbSy2qWI11IRlcygmWdaqF4="; 43 + 44 + nativeBuildInputs = [ makeWrapper ]; 45 + buildInputs = lib.optionals stdenv.isDarwin [ Foundation ]; 46 + 47 + postInstall = with lib; 48 + let 49 + runtimePaths = [ ] 50 + ++ optional withFile file 51 + ++ optional withJq jq 52 + ++ optional withPoppler poppler_utils 53 + ++ optional withUnar unar 54 + ++ optional withFfmpegthumbnailer ffmpegthumbnailer 55 + ++ optional withFd fd 56 + ++ optional withRipgrep ripgrep 57 + ++ optional withFzf fzf 58 + ++ optional withZoxide zoxide; 59 + in 60 + '' 61 + wrapProgram $out/bin/yazi \ 62 + --prefix PATH : "${makeBinPath runtimePaths}" 63 + ''; 64 + 65 + passthru.updateScript = nix-update-script { }; 66 + 67 + meta = with lib; { 68 + description = "Blazing fast terminal file manager written in Rust, based on async I/O"; 69 + homepage = "https://github.com/sxyazi/yazi"; 70 + license = licenses.mit; 71 + maintainers = with maintainers; [ xyenon matthiasbeyer ]; 72 + }; 73 + }
+1 -1
pkgs/applications/misc/nimbo/default.nix
··· 52 52 description = "Run machine learning jobs on AWS with a single command"; 53 53 homepage = "https://github.com/nimbo-sh/nimbo"; 54 54 license = licenses.bsl11; 55 - maintainers = with maintainers; [ alexeyre noreferences ]; 55 + maintainers = with maintainers; [ noreferences ]; 56 56 }; 57 57 }
+1 -1
pkgs/applications/misc/scli/default.nix
··· 53 53 description = "Simple terminal user interface for Signal"; 54 54 homepage = "https://github.com/isamert/scli"; 55 55 license = licenses.gpl3Only; 56 - maintainers = with maintainers; [ alexeyre ]; 56 + maintainers = with maintainers; [ ]; 57 57 }; 58 58 }
+2 -2
pkgs/applications/networking/cluster/bosh-cli/default.nix
··· 8 8 buildGoModule rec { 9 9 pname = "bosh-cli"; 10 10 11 - version = "7.3.1"; 11 + version = "7.4.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "cloudfoundry"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-bCZuX4c/ltnq1se/tbqQmWBc7/6IRUWqSNg7T3pFl3k="; 17 + sha256 = "sha256-Hxak76S3+i5G81Xv4wdFvR/+vg5Eh86YjeqRzNUmfh4="; 18 18 }; 19 19 vendorHash = null; 20 20
+3 -10
pkgs/applications/networking/irc/weechat/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, lib 1 + { stdenv, fetchurl, lib 2 2 , ncurses, openssl, aspell, gnutls, gettext 3 3 , zlib, curl, pkg-config, libgcrypt 4 4 , cmake, libobjc, libresolv, libiconv ··· 36 36 in 37 37 assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins; 38 38 stdenv.mkDerivation rec { 39 - version = "4.0.3"; 39 + version = "4.0.4"; 40 40 pname = "weechat"; 41 41 42 42 hardeningEnable = [ "pie" ]; 43 43 44 44 src = fetchurl { 45 45 url = "https://weechat.org/files/src/weechat-${version}.tar.xz"; 46 - hash = "sha256-iA29zo5zs/SAKggsShp8YZQ9vFhn16lWleTkY8ZTWpI="; 46 + hash = "sha256-rl9JebWtoDObhOdB1ffkge6R4/7NQKCZB7ZHUYKetvY="; 47 47 }; 48 - 49 - patches = lib.optional (perlSupport && lib.versionAtLeast perl.version "5.38") (fetchpatch { 50 - name = "perl538-locale.patch"; 51 - url = "https://github.com/weechat/weechat/commit/c5eb982424150894959b978d98dcf6a005eb6c9f.patch"; 52 - excludes = [ "ChangeLog.adoc" ]; 53 - sha256 = "sha256-SSDZy4/c12LOxjvFMuJSv6gJEX298wF62/gQLQ/geiU="; 54 - }); 55 48 56 49 outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins; 57 50
+2 -2
pkgs/applications/networking/newsreaders/liferea/default.nix
··· 24 24 25 25 stdenv.mkDerivation rec { 26 26 pname = "liferea"; 27 - version = "1.15.0"; 27 + version = "1.15.1"; 28 28 29 29 src = fetchurl { 30 30 url = "https://github.com/lwindolf/${pname}/releases/download/v${version}/${pname}-${version}.tar.bz2"; 31 - sha256 = "1a7dlwuUOHeCsB+ofAOPlbyuh/QAB8kf50MsocMNz70="; 31 + sha256 = "QOdGltz4wns1vq0Nv/O65koMYkLmPAAP4hKp301dAKI="; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 20 20 21 21 buildGoModule rec { 22 22 pname = "gitea"; 23 - version = "1.20.2"; 23 + version = "1.20.3"; 24 24 25 25 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 26 26 src = fetchurl { 27 27 url = "https://dl.gitea.com/gitea/${version}/gitea-src-${version}.tar.gz"; 28 - hash = "sha256-a88ltflOcZQVWcEjC3r6rbPSk6LRtATcEQecYt/wg04="; 28 + hash = "sha256-cn61Z5nYMmzSoHcDoXwuhm+IMn6+iIYPi7KxzO/b5Nw="; 29 29 }; 30 30 31 31 vendorHash = null;
+10 -17
pkgs/desktops/pantheon/apps/elementary-feedback/default.nix
··· 6 6 , meson 7 7 , ninja 8 8 , vala 9 - , python3 10 - , gtk3 9 + , gtk4 11 10 , glib 12 - , granite 11 + , granite7 12 + , libadwaita 13 13 , libgee 14 - , libhandy 15 - , wrapGAppsHook 14 + , wrapGAppsHook4 16 15 , appstream 17 16 }: 18 17 19 18 stdenv.mkDerivation rec { 20 19 pname = "elementary-feedback"; 21 - version = "7.0.0"; 20 + version = "7.1.0"; 22 21 23 22 src = fetchFromGitHub { 24 23 owner = "elementary"; 25 24 repo = "feedback"; 26 25 rev = version; 27 - sha256 = "sha256-QvqyaI9szZuYuE3D6o4zjr5J6mvEzNHqTBWii+gjyMc="; 26 + sha256 = "sha256-hAObgD2Njg1We0rGEu508khoBo+hj0DQAB7N33CVDiM="; 28 27 }; 29 28 30 29 patches = [ ··· 39 38 meson 40 39 ninja 41 40 pkg-config 42 - python3 43 41 vala 44 - wrapGAppsHook 42 + wrapGAppsHook4 45 43 ]; 46 44 47 45 buildInputs = [ 48 46 appstream 49 - granite 50 - gtk3 47 + granite7 48 + gtk4 49 + libadwaita 51 50 libgee 52 - libhandy 53 51 glib 54 52 ]; 55 - 56 - postPatch = '' 57 - chmod +x meson/post_install.py 58 - patchShebangs meson/post_install.py 59 - ''; 60 53 61 54 passthru = { 62 55 updateScript = nix-update-script { };
-700
pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/0001-Remove-Install-Unlisted-Engines-function.patch
··· 1 - From f23363ad2fa402d59b41ffe2c13a46462c6d2194 Mon Sep 17 00:00:00 2001 2 - From: Bobby Rong <rjl931189261@126.com> 3 - Date: Fri, 16 Jul 2021 23:28:56 +0800 4 - Subject: [PATCH] Remove Install Unlisted Engines function 5 - 6 - https://github.com/elementary/switchboard-plug-keyboard/issues/324 7 - 8 - Co-Authored-By: WORLDofPEACE <worldofpeace@protonmail.ch> 9 - 10 - --- 11 - src/Dialogs/InstallEngineDialog.vala | 140 ----------------- 12 - src/Dialogs/ProgressDialog.vala | 82 ---------- 13 - src/InputMethod/Installer/InstallList.vala | 73 --------- 14 - .../Installer/UbuntuInstaller.vala | 142 ------------------ 15 - src/InputMethod/Installer/aptd-client.vala | 93 ------------ 16 - .../InputMethod/AddEnginesPopover.vala | 12 -- 17 - src/Widgets/InputMethod/LanguagesRow.vala | 43 ------ 18 - src/meson.build | 6 - 19 - 8 files changed, 591 deletions(-) 20 - delete mode 100644 src/Dialogs/InstallEngineDialog.vala 21 - delete mode 100644 src/Dialogs/ProgressDialog.vala 22 - delete mode 100644 src/InputMethod/Installer/InstallList.vala 23 - delete mode 100644 src/InputMethod/Installer/UbuntuInstaller.vala 24 - delete mode 100644 src/InputMethod/Installer/aptd-client.vala 25 - delete mode 100644 src/Widgets/InputMethod/LanguagesRow.vala 26 - 27 - diff --git a/src/Dialogs/InstallEngineDialog.vala b/src/Dialogs/InstallEngineDialog.vala 28 - deleted file mode 100644 29 - index ffba3a8..0000000 30 - --- a/src/Dialogs/InstallEngineDialog.vala 31 - +++ /dev/null 32 - @@ -1,140 +0,0 @@ 33 - -/* 34 - -* Copyright 2019-2020 elementary, Inc. (https://elementary.io) 35 - -* 36 - -* This program is free software: you can redistribute it and/or modify 37 - -* it under the terms of the GNU General Public License as published by 38 - -* the Free Software Foundation, either version 3 of the License, or 39 - -* (at your option) any later version. 40 - -* 41 - -* This program is distributed in the hope that it will be useful, 42 - -* but WITHOUT ANY WARRANTY; without even the implied warranty of 43 - -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 44 - -* GNU General Public License for more details. 45 - -* 46 - -* You should have received a copy of the GNU General Public License 47 - -* along with this program. If not, see <https://www.gnu.org/licenses/>. 48 - -*/ 49 - - 50 - -public class Pantheon.Keyboard.InputMethodPage.InstallEngineDialog : Granite.MessageDialog { 51 - - private InstallList? engines_filter; 52 - - 53 - - public InstallEngineDialog (Gtk.Window parent) { 54 - - Object ( 55 - - primary_text: _("Choose an engine to install"), 56 - - secondary_text: _("Select an engine from the list to install and use."), 57 - - image_icon: new ThemedIcon ("extension"), 58 - - transient_for: parent, 59 - - buttons: Gtk.ButtonsType.CANCEL 60 - - ); 61 - - } 62 - - 63 - - construct { 64 - - var languages_list = new Gtk.ListBox () { 65 - - activate_on_single_click = true, 66 - - expand = true, 67 - - selection_mode = Gtk.SelectionMode.NONE 68 - - }; 69 - - 70 - - foreach (var language in InstallList.get_all ()) { 71 - - var lang = new LanguagesRow (language); 72 - - languages_list.add (lang); 73 - - } 74 - - 75 - - var back_button = new Gtk.Button.with_label (_("Languages")) { 76 - - halign = Gtk.Align.START, 77 - - margin = 6 78 - - }; 79 - - back_button.get_style_context ().add_class (Granite.STYLE_CLASS_BACK_BUTTON); 80 - - 81 - - var language_title = new Gtk.Label (""); 82 - - 83 - - var language_header = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6); 84 - - language_header.pack_start (back_button); 85 - - language_header.set_center_widget (language_title); 86 - - 87 - - var listbox = new Gtk.ListBox () { 88 - - expand = true 89 - - }; 90 - - listbox.set_filter_func (filter_function); 91 - - listbox.set_sort_func (sort_function); 92 - - 93 - - foreach (var language in InstallList.get_all ()) { 94 - - foreach (var engine in language.get_components ()) { 95 - - listbox.add (new EnginesRow (engine)); 96 - - } 97 - - } 98 - - 99 - - var scrolled = new Gtk.ScrolledWindow (null, null); 100 - - scrolled.add (listbox); 101 - - 102 - - var engine_list_grid = new Gtk.Grid () { 103 - - orientation = Gtk.Orientation.VERTICAL 104 - - }; 105 - - engine_list_grid.get_style_context ().add_class (Gtk.STYLE_CLASS_VIEW); 106 - - engine_list_grid.add (language_header); 107 - - engine_list_grid.add (new Gtk.Separator (Gtk.Orientation.HORIZONTAL)); 108 - - engine_list_grid.add (scrolled); 109 - - 110 - - var stack = new Gtk.Stack () { 111 - - height_request = 200, 112 - - width_request = 300, 113 - - transition_type = Gtk.StackTransitionType.SLIDE_LEFT_RIGHT 114 - - }; 115 - - stack.add (languages_list); 116 - - stack.add (engine_list_grid); 117 - - 118 - - var frame = new Gtk.Frame (null); 119 - - frame.add (stack); 120 - - 121 - - custom_bin.add (frame); 122 - - custom_bin.show_all (); 123 - - 124 - - var install_button = add_button (_("Install"), Gtk.ResponseType.OK); 125 - - install_button.sensitive = false; 126 - - install_button.get_style_context ().add_class (Gtk.STYLE_CLASS_SUGGESTED_ACTION); 127 - - 128 - - languages_list.row_activated.connect ((row) => { 129 - - stack.visible_child = engine_list_grid; 130 - - language_title.label = ((LanguagesRow) row).language.get_name (); 131 - - engines_filter = ((LanguagesRow) row).language; 132 - - listbox.invalidate_filter (); 133 - - var adjustment = scrolled.get_vadjustment (); 134 - - adjustment.set_value (adjustment.lower); 135 - - }); 136 - - 137 - - back_button.clicked.connect (() => { 138 - - stack.visible_child = languages_list; 139 - - install_button.sensitive = false; 140 - - }); 141 - - 142 - - listbox.selected_rows_changed.connect (() => { 143 - - foreach (var engines_row in listbox.get_children ()) { 144 - - ((EnginesRow) engines_row).selected = false; 145 - - } 146 - - 147 - - ((EnginesRow) listbox.get_selected_row ()).selected = true; 148 - - install_button.sensitive = true; 149 - - }); 150 - - 151 - - response.connect ((response_id) => { 152 - - if (response_id == Gtk.ResponseType.OK) { 153 - - string engine_to_install = ((EnginesRow) listbox.get_selected_row ()).engine_name; 154 - - UbuntuInstaller.get_default ().install (engine_to_install); 155 - - } 156 - - }); 157 - - } 158 - - 159 - - [CCode (instance_pos = -1)] 160 - - private bool filter_function (Gtk.ListBoxRow row) { 161 - - if (InstallList.get_language_from_engine_name (((EnginesRow) row).engine_name) == engines_filter) { 162 - - return true; 163 - - } 164 - - 165 - - return false; 166 - - } 167 - - 168 - - [CCode (instance_pos = -1)] 169 - - private int sort_function (Gtk.ListBoxRow row1, Gtk.ListBoxRow row2) { 170 - - return ((EnginesRow) row1).engine_name.collate (((EnginesRow) row1).engine_name); 171 - - } 172 - -} 173 - diff --git a/src/Dialogs/ProgressDialog.vala b/src/Dialogs/ProgressDialog.vala 174 - deleted file mode 100644 175 - index 868f167..0000000 176 - --- a/src/Dialogs/ProgressDialog.vala 177 - +++ /dev/null 178 - @@ -1,82 +0,0 @@ 179 - -/* 180 - -* Copyright 2011-2020 elementary, Inc. (https://elementary.io) 181 - -* 182 - -* This program is free software: you can redistribute it 183 - -* and/or modify it under the terms of the GNU Lesser General Public License as 184 - -* published by the Free Software Foundation, either version 3 of the 185 - -* License, or (at your option) any later version. 186 - -* 187 - -* This program is distributed in the hope that it will be 188 - -* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 189 - -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 190 - -* Public License for more details. 191 - -* 192 - -* You should have received a copy of the GNU General Public License along 193 - -* with this program. If not, see http://www.gnu.org/licenses/. 194 - -*/ 195 - - 196 - -public class Pantheon.Keyboard.InputMethodPage.ProgressDialog : Granite.Dialog { 197 - - public int progress { 198 - - set { 199 - - if (value >= 100) { 200 - - destroy (); 201 - - } 202 - - 203 - - progress_bar.fraction = value / 100.0; 204 - - } 205 - - } 206 - - 207 - - private Gtk.ProgressBar progress_bar; 208 - - 209 - - construct { 210 - - var image = new Gtk.Image.from_icon_name ("preferences-desktop-locale", Gtk.IconSize.DIALOG) { 211 - - valign = Gtk.Align.START 212 - - }; 213 - - 214 - - var primary_label = new Gtk.Label (null) { 215 - - max_width_chars = 50, 216 - - wrap = true, 217 - - xalign = 0 218 - - }; 219 - - primary_label.get_style_context ().add_class (Granite.STYLE_CLASS_PRIMARY_LABEL); 220 - - 221 - - unowned UbuntuInstaller installer = UbuntuInstaller.get_default (); 222 - - switch (installer.transaction_mode) { 223 - - case UbuntuInstaller.TransactionMode.INSTALL: 224 - - primary_label.label = _("Installing %s").printf (installer.engine_to_address); 225 - - break; 226 - - case UbuntuInstaller.TransactionMode.REMOVE: 227 - - primary_label.label = _("Removing %s").printf (installer.engine_to_address); 228 - - break; 229 - - } 230 - - 231 - - progress_bar = new Gtk.ProgressBar () { 232 - - hexpand = true, 233 - - valign = Gtk.Align.START, 234 - - width_request = 300 235 - - }; 236 - - 237 - - var cancel_button = (Gtk.Button) add_button (_("Cancel"), 0); 238 - - 239 - - installer.bind_property ("install-cancellable", cancel_button, "sensitive"); 240 - - 241 - - var grid = new Gtk.Grid () { 242 - - column_spacing = 12, 243 - - margin = 6, 244 - - row_spacing = 6 245 - - }; 246 - - grid.attach (image, 0, 0, 1, 2); 247 - - grid.attach (primary_label, 1, 0); 248 - - grid.attach (progress_bar, 1, 1); 249 - - grid.show_all (); 250 - - 251 - - border_width = 6; 252 - - deletable = false; 253 - - get_content_area ().add (grid); 254 - - 255 - - cancel_button.clicked.connect (() => { 256 - - installer.cancel_install (); 257 - - destroy (); 258 - - }); 259 - - } 260 - -} 261 - diff --git a/src/InputMethod/Installer/InstallList.vala b/src/InputMethod/Installer/InstallList.vala 262 - deleted file mode 100644 263 - index 275c302..0000000 264 - --- a/src/InputMethod/Installer/InstallList.vala 265 - +++ /dev/null 266 - @@ -1,75 +0,0 @@ 267 - -/* 268 - -* 2019-2020 elementary, Inc. (https://elementary.io) 269 - -* 270 - -* This program is free software: you can redistribute it and/or modify 271 - -* it under the terms of the GNU General Public License as published by 272 - -* the Free Software Foundation, either version 3 of the License, or 273 - -* (at your option) any later version. 274 - -* 275 - -* This program is distributed in the hope that it will be useful, 276 - -* but WITHOUT ANY WARRANTY; without even the implied warranty of 277 - -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 278 - -* GNU General Public License for more details. 279 - -* 280 - -* You should have received a copy of the GNU General Public License 281 - -* along with this program. If not, see <https://www.gnu.org/licenses/>. 282 - -*/ 283 - - 284 - -public enum Pantheon.Keyboard.InputMethodPage.InstallList { 285 - - JA, 286 - - KO, 287 - - ZH; 288 - - 289 - - public string get_name () { 290 - - switch (this) { 291 - - case JA: 292 - - return _("Japanese"); 293 - - case KO: 294 - - return _("Korean"); 295 - - case ZH: 296 - - return _("Chinese"); 297 - - default: 298 - - assert_not_reached (); 299 - - } 300 - - } 301 - - 302 - - public string[] get_components () { 303 - - switch (this) { 304 - - case JA: 305 - - return { "ibus-anthy", "ibus-mozc", "ibus-skk" }; 306 - - case KO: 307 - - return { "ibus-hangul" }; 308 - - case ZH: 309 - - return { "ibus-cangjie", "ibus-chewing", "ibus-pinyin", "ibus-rime" }; 310 - - default: 311 - - assert_not_reached (); 312 - - } 313 - - } 314 - - 315 - - public static InstallList get_language_from_engine_name (string engine_name) { 316 - - switch (engine_name) { 317 - - case "ibus-anthy": 318 - - return JA; 319 - - case "ibus-mozc": 320 - - return JA; 321 - - case "ibus-skk": 322 - - return JA; 323 - - case "ibus-hangul": 324 - - return KO; 325 - - case "ibus-cangjie": 326 - - return ZH; 327 - - case "ibus-chewing": 328 - - return ZH; 329 - - case "ibus-pinyin": 330 - - return ZH; 331 - - case "ibus-rime": 332 - - return ZH; 333 - - default: 334 - - assert_not_reached (); 335 - - } 336 - - } 337 - - 338 - - public static InstallList[] get_all () { 339 - - return { JA, KO, ZH }; 340 - - } 341 - -} 342 - diff --git a/src/InputMethod/Installer/UbuntuInstaller.vala b/src/InputMethod/Installer/UbuntuInstaller.vala 343 - deleted file mode 100644 344 - index b65aa1f..0000000 345 - --- a/src/InputMethod/Installer/UbuntuInstaller.vala 346 - +++ /dev/null 347 - @@ -1,142 +0,0 @@ 348 - -/* 349 - -* Copyright 2011-2020 elementary, Inc. (https://elementary.io) 350 - -* 351 - -* This program is free software: you can redistribute it 352 - -* and/or modify it under the terms of the GNU Lesser General Public License as 353 - -* published by the Free Software Foundation, either version 3 of the 354 - -* License, or (at your option) any later version. 355 - -* 356 - -* This program is distributed in the hope that it will be 357 - -* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 358 - -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 359 - -* Public License for more details. 360 - -* 361 - -* You should have received a copy of the GNU General Public License along 362 - -* with this program. If not, see http://www.gnu.org/licenses/. 363 - -*/ 364 - - 365 - -public class Pantheon.Keyboard.InputMethodPage.UbuntuInstaller : Object { 366 - - private AptdProxy aptd; 367 - - private AptdTransactionProxy proxy; 368 - - 369 - - public bool install_cancellable { get; private set; } 370 - - public TransactionMode transaction_mode { get; private set; } 371 - - public string engine_to_address { get; private set; } 372 - - 373 - - public signal void install_finished (string langcode); 374 - - public signal void install_failed (); 375 - - public signal void remove_finished (string langcode); 376 - - public signal void progress_changed (int progress); 377 - - 378 - - public enum TransactionMode { 379 - - INSTALL, 380 - - REMOVE, 381 - - INSTALL_MISSING, 382 - - } 383 - - 384 - - Gee.HashMap<string, string> transactions; 385 - - 386 - - private static GLib.Once<UbuntuInstaller> instance; 387 - - public static unowned UbuntuInstaller get_default () { 388 - - return instance.once (() => { 389 - - return new UbuntuInstaller (); 390 - - }); 391 - - } 392 - - 393 - - private UbuntuInstaller () {} 394 - - 395 - - construct { 396 - - transactions = new Gee.HashMap<string, string> (); 397 - - aptd = new AptdProxy (); 398 - - 399 - - try { 400 - - aptd.connect_to_aptd (); 401 - - } catch (Error e) { 402 - - warning ("Could not connect to APT daemon"); 403 - - } 404 - - } 405 - - 406 - - public void install (string engine_name) { 407 - - transaction_mode = TransactionMode.INSTALL; 408 - - engine_to_address = engine_name; 409 - - string[] packages = {}; 410 - - packages += engine_to_address; 411 - - 412 - - foreach (var packet in packages) { 413 - - message ("Packet: %s", packet); 414 - - } 415 - - 416 - - aptd.install_packages.begin (packages, (obj, res) => { 417 - - try { 418 - - var transaction_id = aptd.install_packages.end (res); 419 - - transactions.@set (transaction_id, "i-" + engine_name); 420 - - run_transaction (transaction_id); 421 - - } catch (Error e) { 422 - - warning ("Could not queue downloads: %s", e.message); 423 - - } 424 - - }); 425 - - } 426 - - 427 - - public void cancel_install () { 428 - - if (install_cancellable) { 429 - - warning ("cancel_install"); 430 - - try { 431 - - proxy.cancel (); 432 - - } catch (Error e) { 433 - - warning ("cannot cancel installation:%s", e.message); 434 - - } 435 - - } 436 - - } 437 - - 438 - - private void run_transaction (string transaction_id) { 439 - - proxy = new AptdTransactionProxy (); 440 - - proxy.finished.connect (() => { 441 - - on_apt_finshed (transaction_id, true); 442 - - }); 443 - - 444 - - proxy.property_changed.connect ((prop, val) => { 445 - - if (prop == "Progress") { 446 - - progress_changed ((int) val.get_int32 ()); 447 - - } 448 - - 449 - - if (prop == "Cancellable") { 450 - - install_cancellable = val.get_boolean (); 451 - - } 452 - - }); 453 - - 454 - - try { 455 - - proxy.connect_to_aptd (transaction_id); 456 - - proxy.simulate (); 457 - - 458 - - proxy.run (); 459 - - } catch (Error e) { 460 - - on_apt_finshed (transaction_id, false); 461 - - warning ("Could no run transaction: %s", e.message); 462 - - } 463 - - } 464 - - 465 - - private void on_apt_finshed (string id, bool success) { 466 - - if (!success) { 467 - - install_failed (); 468 - - transactions.unset (id); 469 - - return; 470 - - } 471 - - 472 - - if (!transactions.has_key (id)) { //transaction already removed 473 - - return; 474 - - } 475 - - 476 - - var action = transactions.get (id); 477 - - var lang = action[2:action.length]; 478 - - 479 - - message ("ID %s -> %s", id, success ? "success" : "failed"); 480 - - 481 - - if (action[0:1] == "i") { // install 482 - - install_finished (lang); 483 - - } else { 484 - - remove_finished (lang); 485 - - } 486 - - 487 - - transactions.unset (id); 488 - - } 489 - -} 490 - diff --git a/src/InputMethod/Installer/aptd-client.vala b/src/InputMethod/Installer/aptd-client.vala 491 - deleted file mode 100644 492 - index ee5c3f5..0000000 493 - --- a/src/InputMethod/Installer/aptd-client.vala 494 - +++ /dev/null 495 - @@ -1,93 +0,0 @@ 496 - -/* 497 - - * Copyright (C) 2012 Canonical Ltd 498 - - * 499 - - * This program is free software: you can redistribute it and/or modify 500 - - * it under the terms of the GNU General Public License version 3 as 501 - - * published by the Free Software Foundation. 502 - - * 503 - - * This program is distributed in the hope that it will be useful, 504 - - * but WITHOUT ANY WARRANTY; without even the implied warranty of 505 - - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 506 - - * GNU General Public License for more details. 507 - - * 508 - - * You should have received a copy of the GNU General Public License 509 - - * along with this program. If not, see <http://www.gnu.org/licenses/>. 510 - - * 511 - - * Authored by Pawel Stolowski <pawel.stolowski@canonical.com> 512 - - */ 513 - - 514 - -namespace Pantheon.Keyboard.InputMethodPage { 515 - - private const string APTD_DBUS_NAME = "org.debian.apt"; 516 - - private const string APTD_DBUS_PATH = "/org/debian/apt"; 517 - - 518 - - /** 519 - - * Expose a subset of org.debian.apt interfaces -- only what's needed by applications lens. 520 - - */ 521 - - [DBus (name = "org.debian.apt")] 522 - - public interface AptdService : GLib.Object { 523 - - public abstract async string install_packages (string[] packages) throws GLib.Error; 524 - - public abstract async string remove_packages (string[] packages) throws GLib.Error; 525 - - public abstract async void quit () throws GLib.Error; 526 - - } 527 - - 528 - - [DBus (name = "org.debian.apt.transaction")] 529 - - public interface AptdTransactionService : GLib.Object { 530 - - public abstract void run () throws GLib.Error; 531 - - public abstract void simulate () throws GLib.Error; 532 - - public abstract void cancel () throws GLib.Error; 533 - - public signal void finished (string exit_state); 534 - - public signal void property_changed (string property, Variant val); 535 - - } 536 - - 537 - - public class AptdProxy : GLib.Object { 538 - - private AptdService _aptd_service; 539 - - 540 - - public void connect_to_aptd () throws GLib.Error { 541 - - _aptd_service = Bus.get_proxy_sync (BusType.SYSTEM, APTD_DBUS_NAME, APTD_DBUS_PATH); 542 - - } 543 - - 544 - - public async string install_packages (string[] packages) throws GLib.Error { 545 - - string res = yield _aptd_service.install_packages (packages); 546 - - return res; 547 - - } 548 - - 549 - - public async string remove_packages (string[] packages) throws GLib.Error { 550 - - string res = yield _aptd_service.remove_packages (packages); 551 - - return res; 552 - - } 553 - - 554 - - public async void quit () throws GLib.Error { 555 - - yield _aptd_service.quit (); 556 - - } 557 - - } 558 - - 559 - - public class AptdTransactionProxy : GLib.Object { 560 - - public signal void finished (string transaction_id); 561 - - public signal void property_changed (string property, Variant variant); 562 - - 563 - - private AptdTransactionService _aptd_service; 564 - - 565 - - public void connect_to_aptd (string transaction_id) throws GLib.Error { 566 - - _aptd_service = Bus.get_proxy_sync (BusType.SYSTEM, APTD_DBUS_NAME, transaction_id); 567 - - _aptd_service.finished.connect ((exit_state) => { 568 - - debug ("aptd transaction finished: %s\n", exit_state); 569 - - finished (transaction_id); 570 - - }); 571 - - _aptd_service.property_changed.connect ((prop, variant) => { 572 - - property_changed (prop, variant); 573 - - }); 574 - - } 575 - - 576 - - public void simulate () throws GLib.Error { 577 - - _aptd_service.simulate (); 578 - - } 579 - - 580 - - public void run () throws GLib.Error { 581 - - _aptd_service.run (); 582 - - } 583 - - 584 - - public void cancel () throws GLib.Error { 585 - - _aptd_service.cancel (); 586 - - } 587 - - } 588 - -} 589 - diff --git a/src/Widgets/InputMethod/AddEnginesPopover.vala b/src/Widgets/InputMethod/AddEnginesPopover.vala 590 - index 110bc1d..8a03ca8 100644 591 - --- a/src/Widgets/InputMethod/AddEnginesPopover.vala 592 - +++ b/src/Widgets/InputMethod/AddEnginesPopover.vala 593 - @@ -43,8 +43,6 @@ public class Pantheon.Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { 594 - }; 595 - scrolled.add (listbox); 596 - 597 - - var install_button = new Gtk.Button.with_label (_("Install Unlisted Engines…")); 598 - - 599 - var cancel_button = new Gtk.Button.with_label (_("Cancel")); 600 - 601 - var add_button = new Gtk.Button.with_label (_("Add Engine")); 602 - @@ -55,10 +53,8 @@ public class Pantheon.Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { 603 - margin = 12, 604 - spacing = 6 605 - }; 606 - - button_box.add (install_button); 607 - button_box.add (cancel_button); 608 - button_box.add (add_button); 609 - - button_box.set_child_secondary (install_button, true); 610 - 611 - var grid = new Gtk.Grid (); 612 - grid.attach (search_entry, 0, 0); 613 - @@ -88,14 +84,6 @@ public class Pantheon.Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { 614 - listbox.invalidate_filter (); 615 - }); 616 - 617 - - install_button.clicked.connect (() => { 618 - - popdown (); 619 - - 620 - - var install_dialog = new InstallEngineDialog ((Gtk.Window) get_toplevel ()); 621 - - install_dialog.run (); 622 - - install_dialog.destroy (); 623 - - }); 624 - - 625 - cancel_button.clicked.connect (() => { 626 - popdown (); 627 - }); 628 - diff --git a/src/Widgets/InputMethod/LanguagesRow.vala b/src/Widgets/InputMethod/LanguagesRow.vala 629 - deleted file mode 100644 630 - index dc064ae..0000000 631 - --- a/src/Widgets/InputMethod/LanguagesRow.vala 632 - +++ /dev/null 633 - @@ -1,43 +0,0 @@ 634 - -/* 635 - -* 2019-2020 elementary, Inc. (https://elementary.io) 636 - -* 637 - -* This program is free software: you can redistribute it and/or modify 638 - -* it under the terms of the GNU General Public License as published by 639 - -* the Free Software Foundation, either version 3 of the License, or 640 - -* (at your option) any later version. 641 - -* 642 - -* This program is distributed in the hope that it will be useful, 643 - -* but WITHOUT ANY WARRANTY; without even the implied warranty of 644 - -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 - -* GNU General Public License for more details. 646 - -* 647 - -* You should have received a copy of the GNU General Public License 648 - -* along with this program. If not, see <https://www.gnu.org/licenses/>. 649 - -*/ 650 - - 651 - -public class Pantheon.Keyboard.InputMethodPage.LanguagesRow : Gtk.ListBoxRow { 652 - - public InstallList language { get; construct; } 653 - - 654 - - public LanguagesRow (InstallList language) { 655 - - Object (language: language); 656 - - } 657 - - 658 - - construct { 659 - - var label = new Gtk.Label (language.get_name ()) { 660 - - halign = Gtk.Align.START, 661 - - hexpand = true 662 - - }; 663 - - 664 - - var caret = new Gtk.Image.from_icon_name ("pan-end-symbolic", Gtk.IconSize.MENU); 665 - - 666 - - var grid = new Gtk.Grid () { 667 - - margin = 3, 668 - - margin_start = 6, 669 - - margin_end = 6 670 - - }; 671 - - grid.add (label); 672 - - grid.add (caret); 673 - - 674 - - add (grid); 675 - - } 676 - -} 677 - diff --git a/src/meson.build b/src/meson.build 678 - index 77a51d0..26711c5 100644 679 - --- a/src/meson.build 680 - +++ b/src/meson.build 681 - @@ -17,7 +17,6 @@ plug_files = files( 682 - 'Widgets/Layout/Display.vala', 683 - 'Widgets/Layout/AdvancedSettingsPanel.vala', 684 - 'Widgets/Layout/AdvancedSettingsGrid.vala', 685 - - 'Widgets/InputMethod/LanguagesRow.vala', 686 - 'Widgets/InputMethod/EnginesRow.vala', 687 - 'Widgets/InputMethod/AddEnginesPopover.vala', 688 - 'Views/Shortcuts.vala', 689 - @@ -33,11 +32,6 @@ plug_files = files( 690 - 'InputSources/SourceSettings.vala', 691 - 'InputSources/InputSource.vala', 692 - 'InputMethod/AddEnginesList.vala', 693 - - 'InputMethod/Installer/UbuntuInstaller.vala', 694 - - 'InputMethod/Installer/InstallList.vala', 695 - - 'InputMethod/Installer/aptd-client.vala', 696 - - 'Dialogs/ProgressDialog.vala', 697 - - 'Dialogs/InstallEngineDialog.vala', 698 - 'Dialogs/ConflictDialog.vala', 699 - 'Dialogs/AddLayoutDialog.vala' 700 - )
+6 -3
pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 pname = "switchboard-plug-keyboard"; 26 - version = "3.2.0"; 26 + version = "3.2.1"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = "elementary"; 30 30 repo = pname; 31 31 rev = version; 32 - sha256 = "sha256-X5EGDS8/EazIHiDBHCisd+XPE9dMx/0lQ8hrz9imUno="; 32 + sha256 = "sha256-4LfS2F8pLbZw+HhnEVmZqbEaNCM96q+lqnf4sUBDVJI="; 33 33 }; 34 34 35 35 patches = [ 36 - ./0001-Remove-Install-Unlisted-Engines-function.patch 36 + # This will try to install packages with apt. 37 + # https://github.com/elementary/switchboard-plug-keyboard/issues/324 38 + ./hide-install-unlisted-engines-button.patch 39 + 37 40 (substituteAll { 38 41 src = ./fix-paths.patch; 39 42 inherit ibus onboard libgnomekbd;
+16 -16
pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/fix-paths.patch
··· 1 1 diff --git a/src/Views/InputMethod.vala b/src/Views/InputMethod.vala 2 - index 7f73c1e1..1f0d6400 100644 2 + index ba12d6db..b9263c1d 100644 3 3 --- a/src/Views/InputMethod.vala 4 4 +++ b/src/Views/InputMethod.vala 5 - @@ -328,7 +328,7 @@ public class Pantheon.Keyboard.InputMethodPage.Page : Gtk.Grid { 5 + @@ -338,7 +338,7 @@ public class Keyboard.InputMethodPage.Page : Gtk.Grid { 6 6 private void spawn_ibus_daemon () { 7 7 bool is_spawn_succeeded = false; 8 8 try { ··· 11 11 } catch (GLib.SpawnError e) { 12 12 warning (e.message); 13 13 set_visible_view (e.message); 14 - diff --git a/src/Views/Layout.vala b/src/Views/Layout.vala 15 - index 75d2d805..b86252a4 100644 16 - --- a/src/Views/Layout.vala 17 - +++ b/src/Views/Layout.vala 18 - @@ -219,7 +219,7 @@ namespace Pantheon.Keyboard { 14 + diff --git a/src/Views/Behavior.vala b/src/Views/Behavior.vala 15 + index 8a89a0a4..a4f98668 100644 16 + --- a/src/Views/Behavior.vala 17 + +++ b/src/Views/Behavior.vala 18 + @@ -270,7 +270,7 @@ public class Keyboard.Behaviour.Page : Gtk.Box { 19 19 20 - onscreen_keyboard_settings.clicked.connect (() => { 21 - try { 22 - - var appinfo = AppInfo.create_from_commandline ("onboard-settings", null, AppInfoCreateFlags.NONE); 23 - + var appinfo = AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, AppInfoCreateFlags.NONE); 24 - appinfo.launch (null, null); 25 - } catch (Error e) { 26 - warning ("Unable to launch onboard-settings: %s", e.message); 20 + onscreen_keyboard_settings.clicked.connect (() => { 21 + try { 22 + - var appinfo = AppInfo.create_from_commandline ("onboard-settings", null, NONE); 23 + + var appinfo = AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, NONE); 24 + appinfo.launch (null, null); 25 + } catch (Error e) { 26 + critical ("Unable to launch onboard-settings: %s", e.message); 27 27 diff --git a/src/Dialogs/AddLayoutDialog.vala b/src/Dialogs/AddLayoutDialog.vala 28 - index 7c2efda3..de77094f 100644 28 + index aa084295..a486b52a 100644 29 29 --- a/src/Dialogs/AddLayoutDialog.vala 30 30 +++ b/src/Dialogs/AddLayoutDialog.vala 31 - @@ -197,7 +197,7 @@ public class Pantheon.Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog { 31 + @@ -197,7 +197,7 @@ public class Keyboard.LayoutPage.AddLayoutDialog : Granite.Dialog { 32 32 }); 33 33 34 34 keyboard_map_button.clicked.connect (() => {
+78
pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/hide-install-unlisted-engines-button.patch
··· 1 + diff --git a/src/Widgets/InputMethod/AddEnginesPopover.vala b/src/Widgets/InputMethod/AddEnginesPopover.vala 2 + index 478e6b02..5b25f2e9 100644 3 + --- a/src/Widgets/InputMethod/AddEnginesPopover.vala 4 + +++ b/src/Widgets/InputMethod/AddEnginesPopover.vala 5 + @@ -43,7 +43,6 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { 6 + }; 7 + scrolled.add (listbox); 8 + 9 + - var install_button = new Gtk.Button.with_label (_("Install Unlisted Engines…")); 10 + 11 + var cancel_button = new Gtk.Button.with_label (_("Cancel")); 12 + 13 + @@ -55,10 +54,8 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { 14 + margin = 12, 15 + spacing = 6 16 + }; 17 + - button_box.add (install_button); 18 + button_box.add (cancel_button); 19 + button_box.add (add_button); 20 + - button_box.set_child_secondary (install_button, true); 21 + 22 + var grid = new Gtk.Grid (); 23 + grid.attach (search_entry, 0, 0); 24 + @@ -88,30 +85,6 @@ public class Keyboard.InputMethodPage.AddEnginesPopover : Gtk.Popover { 25 + listbox.invalidate_filter (); 26 + }); 27 + 28 + - install_button.clicked.connect (() => { 29 + - popdown (); 30 + - 31 + - var installer = UbuntuInstaller.get_default (); 32 + - var install_dialog = new InstallEngineDialog ((Gtk.Window) get_toplevel ()); 33 + - install_dialog.response.connect ((response_id) => { 34 + - if (response_id == Gtk.ResponseType.OK) { 35 + - string engine_to_install = install_dialog.get_selected_engine_name (); 36 + - install_dialog.destroy (); 37 + - installer.install (engine_to_install); 38 + - 39 + - var progress_dialog = new ProgressDialog () { 40 + - transient_for = (Gtk.Window) get_toplevel () 41 + - }; 42 + - installer.progress_changed.connect ((p) => { 43 + - progress_dialog.progress = p; 44 + - }); 45 + - progress_dialog.run (); 46 + - } else { 47 + - install_dialog.destroy (); 48 + - } 49 + - }); 50 + - install_dialog.run (); 51 + - }); 52 + 53 + cancel_button.clicked.connect (() => { 54 + popdown (); 55 + diff --git a/src/meson.build b/src/meson.build 56 + index 83cde9f6..63d6a88a 100644 57 + --- a/src/meson.build 58 + +++ b/src/meson.build 59 + @@ -19,7 +19,6 @@ plug_files = files( 60 + 'Widgets/Layout/Display.vala', 61 + 'Widgets/Layout/AdvancedSettingsPanel.vala', 62 + 'Widgets/Layout/AdvancedSettingsGrid.vala', 63 + - 'Widgets/InputMethod/LanguagesRow.vala', 64 + 'Widgets/InputMethod/EnginesRow.vala', 65 + 'Widgets/InputMethod/AddEnginesPopover.vala', 66 + 'Views/Shortcuts.vala', 67 + @@ -35,11 +34,6 @@ plug_files = files( 68 + 'InputSources/SourceSettings.vala', 69 + 'InputSources/InputSource.vala', 70 + 'InputMethod/AddEnginesList.vala', 71 + - 'InputMethod/Installer/UbuntuInstaller.vala', 72 + - 'InputMethod/Installer/InstallList.vala', 73 + - 'InputMethod/Installer/aptd-client.vala', 74 + - 'Dialogs/ProgressDialog.vala', 75 + - 'Dialogs/InstallEngineDialog.vala', 76 + 'Dialogs/ConflictDialog.vala', 77 + 'Dialogs/AddLayoutDialog.vala' 78 + )
+2 -19
pkgs/desktops/pantheon/services/elementary-notifications/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , nix-update-script 6 5 , meson 7 6 , ninja ··· 13 12 , libgee 14 13 , libhandy 15 14 , libcanberra-gtk3 16 - , python3 17 15 , wrapGAppsHook 18 16 }: 19 17 20 18 stdenv.mkDerivation rec { 21 19 pname = "elementary-notifications"; 22 - version = "7.0.0"; 20 + version = "7.0.1"; 23 21 24 22 src = fetchFromGitHub { 25 23 owner = "elementary"; 26 24 repo = "notifications"; 27 25 rev = version; 28 - sha256 = "sha256-i7fSKnP4W12cfax5IXm/Zgy5vP5z7S43S80gvzWpFCE="; 26 + sha256 = "sha256-of7Tw38yJAhHKICU3XxGwIOwqfUhrL7SGKqFd9Dps/I="; 29 27 }; 30 28 31 - patches = [ 32 - # Fix broken notification filter 33 - # https://github.com/elementary/notifications/pull/207 34 - (fetchpatch { 35 - url = "https://github.com/elementary/notifications/commit/4691ec869316be94598d8e55e1cd3bd525e8e149.patch"; 36 - sha256 = "sha256-4x/Us92Mgws5v+ZQiKvjQ4ixfBnU8oTQ92rc+nf8Zdg="; 37 - }) 38 - ]; 39 - 40 29 nativeBuildInputs = [ 41 30 glib # for glib-compile-schemas 42 31 meson 43 32 ninja 44 33 pkg-config 45 - python3 46 34 vala 47 35 wrapGAppsHook 48 36 ]; ··· 55 43 libgee 56 44 libhandy 57 45 ]; 58 - 59 - postPatch = '' 60 - chmod +x meson/post_install.py 61 - patchShebangs meson/post_install.py 62 - ''; 63 46 64 47 passthru = { 65 48 updateScript = nix-update-script { };
+2 -2
pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "xdg-desktop-portal-pantheon"; 19 - version = "7.1.0"; 19 + version = "7.1.1"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "elementary"; 23 23 repo = "portals"; 24 24 rev = version; 25 - sha256 = "sha256-uy/etQiJuaROw8bWg2PUdptNr4I8uqqUZ8BWK6D2bog="; 25 + sha256 = "sha256-JZ2VYsNAjNGCzKOEhHCZx2uNLHFs+ktjFmROLHdFjX4="; 26 26 }; 27 27 28 28 nativeBuildInputs = [
+36
pkgs/development/interpreters/rune/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchCrate 4 + , stdenv 5 + , darwin 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "rune"; 10 + version = "0.12.4"; 11 + 12 + src = fetchCrate { 13 + pname = "rune-cli"; 14 + inherit version; 15 + hash = "sha256-Fw6vCy6EMLzNbhwOUwCCsGSueDxfh7KMjLhhbvTzclc="; 16 + }; 17 + 18 + cargoHash = "sha256-F1FI7ZVNXIFzxIzimq0KXtGNWw26x1eQyqv+hVYaS1E="; 19 + 20 + buildInputs = lib.optionals stdenv.isDarwin [ 21 + darwin.apple_sdk.frameworks.Security 22 + ]; 23 + 24 + env = { 25 + RUNE_VERSION = version; 26 + }; 27 + 28 + meta = with lib; { 29 + description = "An interpreter for the Rune Language, an embeddable dynamic programming language for Rust"; 30 + homepage = "https://rune-rs.github.io/"; 31 + changelog = "https://github.com/rune-rs/rune/releases/tag/${version}"; 32 + license = with licenses; [ asl20 mit ]; 33 + maintainers = with maintainers; [ figsoda ]; 34 + mainProgram = "rune"; 35 + }; 36 + }
+4 -4
pkgs/development/ocaml-modules/cstruct/ppx.nix
··· 1 - { lib, buildDunePackage, cstruct, sexplib, ppxlib, stdlib-shims 1 + { lib, buildDunePackage, cstruct, sexplib, ppxlib 2 + , ocaml-migrate-parsetree-2 2 3 , ounit, cppo, ppx_sexp_conv, cstruct-unix, cstruct-sexp 3 4 }: 4 5 ··· 11 12 inherit (cstruct) version src meta; 12 13 13 14 minimalOCamlVersion = "4.08"; 14 - duneVersion = "3"; 15 15 16 - propagatedBuildInputs = [ cstruct ppxlib sexplib stdlib-shims ]; 16 + propagatedBuildInputs = [ cstruct ppxlib sexplib ]; 17 17 18 18 doCheck = true; 19 19 nativeCheckInputs = [ cppo ]; 20 - checkInputs = [ ounit ppx_sexp_conv cstruct-sexp cstruct-unix ]; 20 + checkInputs = [ ounit ppx_sexp_conv cstruct-sexp cstruct-unix ocaml-migrate-parsetree-2 ]; 21 21 }
+14 -7
pkgs/development/ocaml-modules/ppxlib/default.nix
··· 3 3 if lib.versionAtLeast ocaml.version "4.07" 4 4 then if lib.versionAtLeast ocaml.version "4.08" 5 5 then if lib.versionAtLeast ocaml.version "4.11" 6 - then "0.28.0" else "0.24.0" else "0.15.0" else "0.13.0" 6 + then "0.30.0" else "0.24.0" else "0.15.0" else "0.13.0" 7 7 , ocaml-compiler-libs, ocaml-migrate-parsetree, ppx_derivers, stdio 8 8 , stdlib-shims, ocaml-migrate-parsetree-2 9 9 }: ··· 13 13 sha256 = "sha256-pct57oO7qAMEtlvEfymFOCvviWaLG0b5/7NzTC8vdSE="; 14 14 max_version = "4.10"; 15 15 useDune2 = false; 16 - useOMP2 = false; 16 + OMP = [ ocaml-migrate-parsetree ]; 17 17 }; 18 18 "0.13.0" = { 19 19 sha256 = "sha256-geHz0whQDg5/YQjVsN2iuHlkClwh7z3Eqb2QOBzuOdk="; 20 20 max_version = "4.11"; 21 21 useDune2 = false; 22 - useOMP2 = false; 22 + OMP = [ ocaml-migrate-parsetree ]; 23 23 }; 24 24 "0.15.0" = { 25 25 sha256 = "sha256-C2MNf410qJmlXMJxiLXOA+c1qT8H6gwt5WUy2P2TszA="; 26 26 min_version = "4.07"; 27 27 max_version = "4.12"; 28 - useOMP2 = false; 28 + OMP = [ ocaml-migrate-parsetree ]; 29 29 }; 30 30 "0.18.0" = { 31 31 sha256 = "sha256-nUg8NkZ64GHHDfcWbtFGXq3MNEKu+nYPtcVDm/gEfcM="; 32 32 min_version = "4.07"; 33 33 max_version = "4.12"; 34 + OMP = [ ocaml-migrate-parsetree-2 ]; 34 35 }; 35 36 "0.22.0" = { 36 37 sha256 = "sha256-PuuR4DlmZiKEoyIuYS3uf0+it2N8U9lXLSp0E0u5bXo="; 37 38 min_version = "4.07"; 38 39 max_version = "4.13"; 40 + OMP = [ ocaml-migrate-parsetree-2 ]; 39 41 }; 40 42 "0.22.2" = { 41 43 sha256 = "sha256-0Oih69xiILFXTXqSbwCEYMURjM73m/mgzgJC80z/Ilo="; 42 44 min_version = "4.07"; 43 45 max_version = "4.14"; 46 + OMP = [ ocaml-migrate-parsetree-2 ]; 44 47 }; 45 48 "0.23.0" = { 46 49 sha256 = "sha256-G1g2wYa51aFqz0falPOWj08ItRm3cpzYao/TmXH+EuU="; ··· 50 53 "0.24.0" = { 51 54 sha256 = "sha256-d2YCfC7ND1s7Rg6SEqcHCcZ0QngRPrkfMXxWxB56kMg="; 52 55 min_version = "4.07"; 56 + max_version = "5.1"; 53 57 }; 54 58 "0.28.0" = { 55 59 sha256 = "sha256-2Hrl+aCBIGMIypZICbUKZq646D0lSAHouWdUSLYM83c="; 60 + min_version = "4.07"; 61 + max_version = "5.1"; 62 + }; 63 + "0.30.0" = { 64 + sha256 = "sha256-3UpjvenSm0mBDgTXZTk3yTLxd6lByg4ZgratU6xEIRA="; 56 65 min_version = "4.07"; 57 66 }; 58 67 }."${version}"; in ··· 75 84 76 85 propagatedBuildInputs = [ 77 86 ocaml-compiler-libs 78 - (if param.useOMP2 or true 79 - then ocaml-migrate-parsetree-2 80 - else ocaml-migrate-parsetree) 87 + ] ++ (param.OMP or []) ++ [ 81 88 ppx_derivers 82 89 stdio 83 90 stdlib-shims
+2 -2
pkgs/development/python-modules/datasette-publish-fly/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "datasette-publish-fly"; 13 - version = "1.3"; 13 + version = "1.3.1"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.7"; ··· 19 19 owner = "simonw"; 20 20 repo = pname; 21 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-L94QYcrTWjuoz0aEFTxPi8Xg0xERP1zCs7+vzhoJagc="; 22 + hash = "sha256-diaxr+fNNgkJvLGkLo+lK0ThTsXYDePFsvTetMbDRMk="; 23 23 }; 24 24 25 25 propagatedBuildInputs = [
+6 -3
pkgs/development/python-modules/imageio-ffmpeg/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , isPy3k 4 3 , fetchPypi 5 4 , substituteAll 6 5 , ffmpeg_4 ··· 10 9 buildPythonPackage rec { 11 10 pname = "imageio-ffmpeg"; 12 11 version = "0.4.8"; 13 - 14 - disabled = !isPy3k; 12 + format = "setuptools"; 15 13 16 14 src = fetchPypi { 17 15 inherit pname version; ··· 24 22 ffmpeg = "${ffmpeg_4}/bin/ffmpeg"; 25 23 }) 26 24 ]; 25 + 26 + # https://github.com/imageio/imageio-ffmpeg/issues/59 27 + postPatch = '' 28 + sed -i '/setup_requires=\["pip>19"\]/d' setup.py 29 + ''; 27 30 28 31 checkPhase = '' 29 32 runHook preCheck
+2 -2
pkgs/development/python-modules/protonvpn-nm-lib/default.nix
··· 21 21 22 22 buildPythonPackage rec { 23 23 pname = "protonvpn-nm-lib"; 24 - version = "3.14.0"; 24 + version = "3.16.0"; 25 25 disabled = pythonOlder "3.7"; 26 26 27 27 src = fetchFromGitHub { 28 28 owner = "ProtonVPN"; 29 29 repo = pname; 30 30 rev = "refs/tags/${version}"; 31 - hash = "sha256-xpK3l8BI6/DUt46VR8DS89hzdHUljAbrYhEyf00giGg="; 31 + hash = "sha256-n3jfBHMYqyQZgvFFJcylNbTWZ3teuqhdelTfpNrwWuA="; 32 32 }; 33 33 34 34 propagatedBuildInputs = [
+7 -1
pkgs/development/python-modules/pyerfa/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , jinja2 5 + , oldest-supported-numpy 4 6 , setuptools-scm 7 + , wheel 5 8 , liberfa 6 9 , packaging 7 10 , numpy ··· 16 19 17 20 src = fetchPypi { 18 21 inherit pname version; 19 - sha256 = "2fd4637ffe2c1e6ede7482c13f583ba7c73119d78bef90175448ce506a0ede30"; 22 + hash = "sha256-L9Rjf/4sHm7edILBP1g7p8cxGdeL75AXVEjOUGoO3jA="; 20 23 }; 21 24 22 25 nativeBuildInputs = [ 26 + jinja2 27 + oldest-supported-numpy 23 28 packaging 24 29 setuptools-scm 30 + wheel 25 31 ]; 26 32 27 33 propagatedBuildInputs = [
+10 -8
pkgs/development/python-modules/python-bsblan/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "python-bsblan"; 18 - version = "0.5.11"; 18 + version = "0.5.12"; 19 19 format = "pyproject"; 20 20 21 21 disabled = pythonOlder "3.9"; ··· 24 24 owner = "liudger"; 25 25 repo = pname; 26 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-fTjeJZhKPFi0cxZStegVdq7a48rQ236DnnCGngwZ5GU="; 27 + hash = "sha256-ftu79SnVa7wOMx/RiRBDPmmG7Mmw84r30G4yDzBea2k="; 28 28 }; 29 29 30 + postPatch = '' 31 + substituteInPlace pyproject.toml \ 32 + --replace 'version = "0.0.0"' 'version = "${version}"' \ 33 + --replace "--cov" "" 34 + sed -i "/covdefaults/d" pyproject.toml 35 + sed -i "/ruff/d" pyproject.toml 36 + ''; 37 + 30 38 nativeBuildInputs = [ 31 39 poetry-core 32 40 ]; ··· 44 52 pytest-mock 45 53 pytestCheckHook 46 54 ]; 47 - 48 - postPatch = '' 49 - substituteInPlace pyproject.toml \ 50 - --replace 'version = "0.0.0"' 'version = "${version}"' \ 51 - --replace "--cov" "" 52 - ''; 53 55 54 56 pythonImportsCheck = [ 55 57 "bsblan"
+2 -2
pkgs/development/tools/analysis/rizin/cutter.nix
··· 14 14 15 15 let cutter = mkDerivation rec { 16 16 pname = "cutter"; 17 - version = "2.3.0"; 17 + version = "2.3.1"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "rizinorg"; 21 21 repo = "cutter"; 22 22 rev = "v${version}"; 23 - hash = "sha256-oQ3sLIGKMEw3k27aSFcrJqo0TgGkkBNdzl6GSoOIYak="; 23 + hash = "sha256-OxF6lKH4nnBU8pLzaCGVl8DUIxsbWD4RMevyGRirkPM="; 24 24 fetchSubmodules = true; 25 25 }; 26 26
+3 -3
pkgs/development/tools/continuous-integration/cirrus-cli/default.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "cirrus-cli"; 9 - version = "0.101.2"; 9 + version = "0.102.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "cirruslabs"; 13 13 repo = pname; 14 14 rev = "v${version}"; 15 - sha256 = "sha256-vPfdv1EtI5FAK2tIaHc+5hd1kiQvDk1Gwwqv5ug5Lco="; 15 + sha256 = "sha256-JF93tVEwGY4wHNNkQyzxjai6S+qLzBd0SPdDgkn4Wdc="; 16 16 }; 17 17 18 - vendorHash = "sha256-qYt3NRjlImRE/G2CUYTukOCP37slseYxiJGLFtZCiDk="; 18 + vendorHash = "sha256-ryEFSFQFASH+yzmHbxLSywg9xewbvg9JGliSJrFC4U0="; 19 19 20 20 ldflags = [ 21 21 "-X github.com/cirruslabs/cirrus-cli/internal/version.Version=v${version}"
+3 -3
pkgs/development/tools/ctlptl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ctlptl"; 5 - version = "0.8.20"; 5 + version = "0.8.21"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tilt-dev"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-t7lcUbD3840kClFr4+RYRD4d2yGeYhnr2HO5giYLhNU="; 11 + hash = "sha256-ulP159bhiVxZ5D7YamPR7AhCZ5qBr63Eitgf0/Sc6lo="; 12 12 }; 13 13 14 - vendorHash = "sha256-6NHaOF+fXs49JXEog/t2Fmr8llLmMBj7/OISssyzRK4="; 14 + vendorHash = "sha256-nfSqu1u7NWbZYL7CEZ/i2tdxQBblRbwJwdwoEtol/Us="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+34 -13
pkgs/development/tools/pipenv/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , python3 4 - , fetchPypi 4 + , fetchFromGitHub 5 5 , installShellFiles 6 6 }: 7 7 ··· 25 25 in buildPythonApplication rec { 26 26 pname = "pipenv"; 27 27 version = "2023.2.4"; 28 + format = "pyproject"; 28 29 29 - src = fetchPypi { 30 - inherit pname version; 31 - sha256 = "sha256-GKPrpRnjbVnw1af5xCvSaFIeS5t7PRvWrc8TFWkyMnU="; 30 + src = fetchFromGitHub { 31 + owner = "pypa"; 32 + repo = "pipenv"; 33 + rev = "refs/tags/v${version}"; 34 + hash = "sha256-jZOBu4mWyu8U6CGqtYgfcCCDSa0pGqoZEFnXl5IO+JY="; 32 35 }; 33 36 34 - LC_ALL = "en_US.UTF-8"; 37 + env.LC_ALL = "en_US.UTF-8"; 35 38 36 - nativeBuildInputs = [ installShellFiles ]; 39 + nativeBuildInputs = [ 40 + installShellFiles 41 + setuptools 42 + wheel 43 + ]; 37 44 38 45 postPatch = '' 39 46 # pipenv invokes python in a subprocess to create a virtualenv ··· 46 53 47 54 propagatedBuildInputs = runtimeDeps python3.pkgs; 48 55 56 + preCheck = '' 57 + export HOME="$TMPDIR" 58 + ''; 59 + 60 + nativeCheckInputs = [ 61 + mock 62 + pytestCheckHook 63 + pytest-xdist 64 + pytz 65 + requests 66 + ]; 67 + 68 + disabledTests = [ 69 + "test_convert_deps_to_pip" 70 + "test_download_file" 71 + ]; 72 + 73 + disabledTestPaths = [ 74 + "tests/integration" 75 + ]; 76 + 49 77 postInstall = '' 50 78 installShellCompletion --cmd pipenv \ 51 79 --bash <(_PIPENV_COMPLETE=bash_source $out/bin/pipenv) \ 52 80 --zsh <(_PIPENV_COMPLETE=zsh_source $out/bin/pipenv) \ 53 81 --fish <(_PIPENV_COMPLETE=fish_source $out/bin/pipenv) 54 - ''; 55 - 56 - doCheck = true; 57 - checkPhase = '' 58 - export HOME=$(mktemp -d) 59 - cp -r --no-preserve=mode ${wheel.src} $HOME/wheel-src 60 - $out/bin/pipenv install $HOME/wheel-src 61 82 ''; 62 83 63 84 meta = with lib; {
+8 -3
pkgs/development/tools/rust/svd2rust/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "svd2rust"; 5 - version = "0.29.0"; 5 + version = "0.30.0"; 6 6 7 7 src = fetchCrate { 8 8 inherit pname version; 9 - sha256 = "sha256-VxjoS93OwJAc9Cb0VL9R/49pAcXPYrzC7q6vYJSDYB4="; 9 + hash = "sha256-/fB6Ay9t5WkBtHVYne/dbj+PXurMpzKAb7/OFD4j7U4="; 10 10 }; 11 11 12 - cargoHash = "sha256-f8dht3HCgzeTfyhFhJS2F+TL5Y0qi+A5PGZkNXF1AUw="; 12 + cargoHash = "sha256-PD2UsLVfc6D726BpE6a1MKjspL3/g2D9sweCmVXtH1E="; 13 + 14 + # error: linker `aarch64-linux-gnu-gcc` not found 15 + postPatch = '' 16 + rm .cargo/config.toml 17 + ''; 13 18 14 19 meta = with lib; { 15 20 description = "Generate Rust register maps (`struct`s) from SVD files";
+3 -3
pkgs/development/tools/xc/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "xc"; 5 - version = "0.4.1"; 5 + version = "0.5.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "joerdav"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Dc7MVn9hF2HtXqMvWQ5UsLQW5ZKcFKt7AHcXdiWDs1I="; 11 + sha256 = "sha256-cVTa2ot95Hcm+1V1QXnlxSL9OjmoQNR9nVUgW/rZhl0="; 12 12 }; 13 13 14 - vendorHash = "sha256-hCdIO377LiXFKz0GfCmAADTPfoatk8YWzki7lVP3yLw="; 14 + vendorHash = "sha256-J4/a4ujM7A6bDwRlLCYt/PmJf6HZUmdYcJMux/3KyUI="; 15 15 16 16 ldflags = [ 17 17 "-s"
+4 -4
pkgs/os-specific/linux/bpftune/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "bpftune"; 15 - version = "unstable-2023-08-02"; 15 + version = "unstable-2023-08-22"; 16 16 17 17 src = fetchFromGitHub { 18 - owner = "oracle-samples"; 18 + owner = "oracle"; 19 19 repo = "bpftune"; 20 - rev = "f7e051a011d581a3c667b7f7b769862407d85f04"; 21 - hash = "sha256-1tfr2vB/XRnpGJVwo2NQkXomz+J6AzvpS1P3rcAyAyI="; 20 + rev = "ae3047976d6ba8c3ec7c21ec8c85b92d11c64169"; 21 + hash = "sha256-yXfS3zrUxRlmWsXyDpPhvYDqgYFQTAZ2dlmiQp6/zVQ="; 22 22 }; 23 23 24 24 postPatch = ''
+3 -3
pkgs/servers/dgraph/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dgraph"; 5 - version = "23.0.1"; 5 + version = "23.1.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "dgraph-io"; 9 9 repo = "dgraph"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-FB+bgrv6KojbuXDB4FKKe7eW4d9lcm9x4gA6Ceop734="; 11 + sha256 = "sha256-AC/5ykNH2eb6IrZ3KlU0DTP4r8RiHE5iUZFCUn6H2cw="; 12 12 }; 13 13 14 - vendorHash = "sha256-HoZpxY+xT1gRHgEpkscPXogVq2eDKGlKE6KTMIQ+mMI="; 14 + vendorHash = "sha256-YRfFRCCm25zS+tQer6UcrBBltOxA7+Iqi+Ejyrjdu/A="; 15 15 16 16 doCheck = false; 17 17
+11 -5
pkgs/tools/admin/ansible/doctor.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , python3 4 5 }: 5 6 ··· 15 16 hash = "sha256-nZv1PdR0kGrke2AjcDWjDWBdsw64UpHYFNDFAe/UoJo="; 16 17 }; 17 18 19 + patches = [ 20 + # https://github.com/thegeeklab/ansible-doctor/pull/541 21 + (fetchpatch { 22 + name = "poetry-dynamic-versioning-pep517.patch"; 23 + url = "https://github.com/thegeeklab/ansible-doctor/commit/b77ba9dccaef4b386bd54b128136c948665eb61a.patch"; 24 + hash = "sha256-XfdTkRk9B857V5DQnxlbwxTb098YwHzKGzNQBTQzWCM="; 25 + }) 26 + ]; 27 + 18 28 pythonRelaxDeps = true; 19 29 20 - postPatch = '' 21 - substituteInPlace pyproject.toml \ 22 - --replace 'version = "0.0.0"' 'version = "${version}"' 23 - ''; 24 - 25 30 nativeBuildInputs = with python3.pkgs; [ 26 31 poetry-core 32 + poetry-dynamic-versioning 27 33 pythonRelaxDepsHook 28 34 ]; 29 35
+11 -1
pkgs/tools/admin/ansible/later.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 + , fetchpatch 3 4 , python3 4 5 }: 5 6 ··· 15 16 hash = "sha256-7k81eEcM+BXNrln6+Lu0+1LjsZdYkUidrRQCdlBbQB8="; 16 17 }; 17 18 19 + patches = [ 20 + # https://github.com/thegeeklab/ansible-later/pull/658 21 + (fetchpatch { 22 + name = "poetry-dynamic-versioning-pep517.patch"; 23 + url = "https://github.com/thegeeklab/ansible-later/commit/a2c278fb45769648df1439df5bb25883dddfc58a.patch"; 24 + hash = "sha256-++CiwwHZoaPC8XHaYbNQeU3zqEi2a4eIYbuSQkO0jTI="; 25 + }) 26 + ]; 27 + 18 28 postPatch = '' 19 29 substituteInPlace pyproject.toml \ 20 - --replace 'version = "0.0.0"' 'version = "${version}"' \ 21 30 --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --no-cov-on-fail" "" 22 31 ''; 23 32 ··· 34 43 35 44 nativeBuildInputs = with python3.pkgs; [ 36 45 poetry-core 46 + poetry-dynamic-versioning 37 47 pythonRelaxDepsHook 38 48 ]; 39 49
+3 -3
pkgs/tools/filesystems/dysk/default.nix
··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "dysk"; 9 - version = "2.7.2"; 9 + version = "2.8.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Canop"; 13 13 repo = "dysk"; 14 14 rev = "v${version}"; 15 - hash = "sha256-3uukeuxB1GjmJ59bkgDEzgG9RMZhmB5TSv3uiXV8GNg="; 15 + hash = "sha256-BbL7liiZ1Xcg2Pr2JDnP5DAbjVdDVRs/hndZyIX8jfQ="; 16 16 }; 17 17 18 - cargoHash = "sha256-td4B9/DAmASqLGO3PVLLWeO3GeDbLHI7wNcOT1qk20k="; 18 + cargoHash = "sha256-vMWr3cV1ttjjwBvgQgi3aCpejr/enoYILVhI4wP9wa0="; 19 19 20 20 nativeBuildInputs = [ 21 21 installShellFiles
+3 -3
pkgs/tools/graphics/netpbm/default.nix
··· 20 20 # Determine version and revision from: 21 21 # https://sourceforge.net/p/netpbm/code/HEAD/log/?path=/advanced 22 22 pname = "netpbm"; 23 - version = "11.3.2"; 23 + version = "11.3.4"; 24 24 25 25 outputs = [ "bin" "out" "dev" ]; 26 26 27 27 src = fetchsvn { 28 28 url = "https://svn.code.sf.net/p/netpbm/code/advanced"; 29 - rev = "4574"; 30 - sha256 = "fJv+74QN7Jro4vUCcMWL4Yvv1C0KkfiOoNHt6ldGn/s="; 29 + rev = "4606"; 30 + sha256 = "raWpqPlORgL5vBkmHbvj7UCrGjpPLulWjeTuaPnuB98="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 16 16 in 17 17 python.pkgs.buildPythonApplication rec { 18 18 pname = "esphome"; 19 - version = "2023.8.1"; 19 + version = "2023.8.2"; 20 20 format = "setuptools"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = pname; 24 24 repo = pname; 25 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-a85nNUVaa7CbYdI/xM30fp7i1gMRz18Ior4mwseFZqU="; 26 + hash = "sha256-KizeBaDw/9XoPwIjjc3VKkiaHTK5VYQXss4cQZZaGzs="; 27 27 }; 28 28 29 29 postPatch = ''
+3 -3
pkgs/tools/misc/eza/default.nix
··· 14 14 15 15 rustPlatform.buildRustPackage rec { 16 16 pname = "eza"; 17 - version = "0.10.7"; 17 + version = "0.10.8"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "eza-community"; 21 21 repo = "eza"; 22 22 rev = "v${version}"; 23 - hash = "sha256-f8js+zToP61lgmxucz2gyh3uRZeZSnoxS4vuqLNVO7c="; 23 + hash = "sha256-3g4eauJqnbIqWtDmRvKsDiZh1eAz171FP9idF2nBXLQ="; 24 24 }; 25 25 26 - cargoHash = "sha256-G3zNv8pG9uS12PsBug51RaS9Hx0sGHHnVEF4bHb+v18="; 26 + cargoHash = "sha256-HS/nmLxr5zvyneiSJk9tPUhszF5vFwSo5HMsRql9I38="; 27 27 28 28 nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; 29 29 buildInputs = [ zlib ]
+38
pkgs/tools/misc/starry/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchCrate 4 + , pkg-config 5 + , openssl 6 + , stdenv 7 + , darwin 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "starry"; 12 + version = "2.0.1"; 13 + 14 + src = fetchCrate { 15 + inherit pname version; 16 + hash = "sha256-CPEMjg70MXlV+ruYnEHpTmqlc27NMTUKTR4/fpQmYcI="; 17 + }; 18 + 19 + cargoHash = "sha256-d6icXOgju4qEV2+J+G09/xeQMIX3/4XUFmuWfD/Cqhc="; 20 + 21 + nativeBuildInputs = [ 22 + pkg-config 23 + ]; 24 + 25 + buildInputs = [ 26 + openssl 27 + ] ++ lib.optionals stdenv.isDarwin [ 28 + darwin.apple_sdk.frameworks.Security 29 + ]; 30 + 31 + meta = with lib; { 32 + description = "Current stars history tells only half the story"; 33 + homepage = "https://github.com/Canop/starry"; 34 + license = licenses.agpl3Only; 35 + maintainers = with maintainers; [ figsoda ]; 36 + mainProgram = "starry"; 37 + }; 38 + }
+8 -4
pkgs/tools/networking/clash/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "clash"; 10 - version = "1.17.0"; 10 + version = "1.18.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "Dreamacro"; 14 14 repo = pname; 15 - rev = "refs/tags/v${version}"; 16 - hash = "sha256-hUkUfNsThir0txO7cdxJl3sUF8/wHDvDPVspGp5xYUQ="; 15 + rev = "v${version}"; 16 + hash = "sha256-LqjSPlPkR5sB4Z1pmpdE9r66NN7pwgE9GK4r1zSFlxs="; 17 17 }; 18 18 19 - vendorHash = "sha256-M2hoorCBdq2nm5Gc5Xm6r7Cg9XUOirDyqTKwrmu121s="; 19 + vendorHash = "sha256-EWAbEFYr15RiJk9IXF6KaaX4GaSCa6E4+8rKL4/XG8Y="; 20 20 21 21 # Do not build testing suit 22 22 excludedPackages = [ "./test" ]; ··· 27 27 "-s" 28 28 "-w" 29 29 "-X github.com/Dreamacro/clash/constant.Version=${version}" 30 + ]; 31 + 32 + checkFlags = [ 33 + "-skip=TestParseRule" # Flaky tests 30 34 ]; 31 35 32 36 passthru.tests.version = testers.testVersion {
+33
pkgs/tools/text/clima/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , stdenv 5 + , darwin 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "clima"; 10 + version = "1.1.0"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "Canop"; 14 + repo = "clima"; 15 + rev = "v${version}"; 16 + hash = "sha256-CRnAxhkuCTyHR4uQofA51Dm3+YKqm3iwBkFNkbLTv1A="; 17 + }; 18 + 19 + cargoHash = "sha256-jKY+Ta6lqMBUlqSViKk3W0CiO8oU+ucmleKDYRA54HQ="; 20 + 21 + buildInputs = lib.optionals stdenv.isDarwin [ 22 + darwin.apple_sdk.frameworks.Security 23 + ]; 24 + 25 + meta = with lib; { 26 + description = "A minimal viewer for Termimad"; 27 + homepage = "https://github.com/Canop/clima"; 28 + changelog = "https://github.com/Canop/clima/releases/tag/${src.rev}"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ figsoda ]; 31 + mainProgram = "clima"; 32 + }; 33 + }
+15 -2
pkgs/top-level/all-packages.nix
··· 4575 4575 4576 4576 map-cmd = callPackage ../tools/misc/map { }; 4577 4577 4578 - clash = callPackage ../tools/networking/clash { }; 4578 + clash = callPackage ../tools/networking/clash { 4579 + buildGoModule = buildGo121Module; 4580 + }; 4579 4581 4580 4582 clash-geoip = callPackage ../data/misc/clash-geoip { }; 4581 4583 ··· 6757 6759 ; 6758 6760 citrix_workspace = citrix_workspace_23_07_0; 6759 6761 6762 + clima = callPackage ../tools/text/clima { }; 6763 + 6760 6764 cmigemo = callPackage ../tools/text/cmigemo { }; 6761 6765 6762 6766 cmospwd = callPackage ../tools/security/cmospwd { }; ··· 7625 7629 }; 7626 7630 7627 7631 rar2fs = callPackage ../tools/filesystems/rar2fs { }; 7632 + 7633 + rune = callPackage ../development/interpreters/rune { }; 7628 7634 7629 7635 s9fes = callPackage ../development/interpreters/s9fes { }; 7630 7636 ··· 29979 29985 29980 29986 starfetch = callPackage ../tools/misc/starfetch { }; 29981 29987 29988 + starry = callPackage ../tools/misc/starry { }; 29989 + 29982 29990 starship = callPackage ../tools/misc/starship { 29983 29991 inherit (darwin.apple_sdk.frameworks) Security Foundation Cocoa; 29984 29992 }; ··· 33420 33428 33421 33429 lifelines = callPackage ../applications/misc/lifelines { }; 33422 33430 33423 - liferea = callPackage ../applications/networking/newsreaders/liferea { }; 33431 + liferea = callPackage ../applications/networking/newsreaders/liferea { 33432 + libsoup = libsoup_3; 33433 + webkitgtk = webkitgtk_4_1; 33434 + }; 33424 33435 33425 33436 lightworks = callPackage ../applications/video/lightworks { }; 33426 33437 ··· 42047 42058 wttrbar = callPackage ../applications/misc/wttrbar { }; 42048 42059 42049 42060 wpm = callPackage ../applications/misc/wpm { }; 42061 + 42062 + yazi = callPackage ../applications/file-managers/yazi { inherit (darwin.apple_sdk.frameworks) Foundation; }; 42050 42063 }