Merge master into staging-next

This commit is contained in:
github-actions[bot] 2024-11-12 00:14:10 +00:00 committed by GitHub
commit 31a78bf861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
27 changed files with 658 additions and 334 deletions

View File

@ -1,200 +1,258 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
let let
cfg = config.services.desktopManager.lomiri; cfg = config.services.desktopManager.lomiri;
in { in
{
options.services.desktopManager.lomiri = { options.services.desktopManager.lomiri = {
enable = lib.mkEnableOption '' enable = lib.mkEnableOption ''
the Lomiri graphical shell (formerly known as Unity8) the Lomiri graphical shell (formerly known as Unity8)
''; '';
basics = lib.mkOption {
internal = true;
description = ''
Enable basic things for getting Lomiri working.
'';
type = lib.types.bool;
default = config.services.xserver.displayManager.lightdm.greeters.lomiri.enable || cfg.enable;
};
}; };
config = lib.mkIf cfg.enable { config = lib.mkMerge [
environment = { # Basics for getting Lomiri to work
systemPackages = (with pkgs; [ (lib.mkIf cfg.basics {
glib # XDG MIME-related tools identify it as GNOME, add gio for MIME identification to work environment = {
libayatana-common # To override the default keyboard layout in Lomiri
ubports-click etc.${pkgs.lomiri.lomiri.passthru.etcLayoutsFile}.text = lib.strings.replaceStrings [ "," ] [
]) ++ (with pkgs.lomiri; [ "\n"
hfd-service ] config.services.xserver.xkb.layout;
history-service
libusermetrics
lomiri
lomiri-calculator-app
lomiri-camera-app
lomiri-clock-app
lomiri-content-hub
lomiri-docviewer-app
lomiri-download-manager
lomiri-filemanager-app
lomiri-gallery-app
lomiri-polkit-agent
lomiri-schemas # exposes some required dbus interfaces
lomiri-session # wrappers to properly launch the session
lomiri-sounds
lomiri-system-settings
lomiri-terminal-app
lomiri-thumbnailer
lomiri-url-dispatcher
lomiri-wallpapers
mediascanner2 # TODO possibly needs to be kicked off by graphical-session.target
morph-browser
qtmir # not having its desktop file for Xwayland available causes any X11 application to crash the session
suru-icon-theme
telephony-service
teleports
]);
# To override the default keyboard layout in Lomiri pathsToLink = [
etc.${pkgs.lomiri.lomiri.passthru.etcLayoutsFile}.text = lib.strings.replaceStrings [","] ["\n"] config.services.xserver.xkb.layout; # Data
}; "/share/locale" # TODO LUITK hardcoded default locale path, fix individual apps to not rely on it
"/share/wallpapers"
];
hardware = { systemPackages = with pkgs.lomiri; [
bluetooth.enable = lib.mkDefault true; lomiri-wallpapers # default + additional wallpaper
}; suru-icon-theme # basic indicator icons
];
};
networking.networkmanager.enable = lib.mkDefault true; fonts.packages = with pkgs; [
ubuntu-classic # Ubuntu is default font
systemd.packages = with pkgs.lomiri; [
hfd-service
lomiri-download-manager
];
services.dbus.packages = with pkgs.lomiri; [
hfd-service
libusermetrics
lomiri-download-manager
];
fonts.packages = with pkgs; [
# Applications tend to default to Ubuntu font
ubuntu-classic
];
# Copy-pasted basic stuff
hardware.graphics.enable = lib.mkDefault true;
fonts.enableDefaultPackages = lib.mkDefault true;
programs.dconf.enable = lib.mkDefault true;
# Xwayland is partly hardcoded in Mir so it can't really be fully turned off, and it must be on PATH for X11 apps *and Lomiri's web browser* to work.
# Until Mir/Lomiri can be properly used without it, force it on so everything behaves as expected.
programs.xwayland.enable = lib.mkForce true;
services.accounts-daemon.enable = true;
services.ayatana-indicators = {
enable = true;
packages = (with pkgs; [
ayatana-indicator-datetime
ayatana-indicator-display
ayatana-indicator-messages
ayatana-indicator-power
ayatana-indicator-session
] ++ lib.optionals config.hardware.bluetooth.enable [
ayatana-indicator-bluetooth
] ++ lib.optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [
ayatana-indicator-sound
]) ++ (with pkgs.lomiri; [
telephony-service
] ++ lib.optionals config.networking.networkmanager.enable [
lomiri-indicator-network
]);
};
services.udisks2.enable = true;
services.upower.enable = true;
services.geoclue2.enable = true;
services.gnome.evolution-data-server = {
enable = true;
plugins = with pkgs; [
# TODO: lomiri.address-book-service
]; ];
};
services.telepathy.enable = true; # Xwayland is partly hardcoded in Mir so it can't really be fully turned off, and it must be on PATH for X11 apps *and Lomiri's web browser* to work.
# Until Mir/Lomiri can be properly used without it, force it on so everything behaves as expected.
programs.xwayland.enable = lib.mkForce true;
services.displayManager = { services.ayatana-indicators = {
defaultSession = lib.mkDefault "lomiri"; enable = true;
sessionPackages = with pkgs.lomiri; [ lomiri-session ]; packages = (
}; with pkgs;
[
ayatana-indicator-datetime # Clock
ayatana-indicator-session # Controls for shutting down etc
]
);
};
})
services.xserver = { # Full Lomiri DE
enable = lib.mkDefault true; (lib.mkIf cfg.enable {
displayManager.lightdm = { # We need the basic setup as well
services.desktopManager.lomiri.basics = true;
environment = {
systemPackages =
(with pkgs; [
glib # XDG MIME-related tools identify it as GNOME, add gio for MIME identification to work
libayatana-common
ubports-click
])
++ (with pkgs.lomiri; [
hfd-service
history-service
libusermetrics
lomiri
lomiri-calculator-app
lomiri-camera-app
lomiri-clock-app
lomiri-content-hub
lomiri-docviewer-app
lomiri-download-manager
lomiri-filemanager-app
lomiri-gallery-app
lomiri-polkit-agent
lomiri-schemas # exposes some required dbus interfaces
lomiri-session # wrappers to properly launch the session
lomiri-sounds
lomiri-system-settings
lomiri-terminal-app
lomiri-thumbnailer
lomiri-url-dispatcher
mediascanner2 # TODO possibly needs to be kicked off by graphical-session.target
morph-browser
qtmir # not having its desktop file for Xwayland available causes any X11 application to crash the session
telephony-service
teleports
]);
};
hardware = {
bluetooth.enable = lib.mkDefault true;
};
networking.networkmanager.enable = lib.mkDefault true;
systemd.packages = with pkgs.lomiri; [
hfd-service
lomiri-download-manager
];
services.dbus.packages = with pkgs.lomiri; [
hfd-service
libusermetrics
lomiri-download-manager
];
# Copy-pasted basic stuff
hardware.graphics.enable = lib.mkDefault true;
fonts.enableDefaultPackages = lib.mkDefault true;
programs.dconf.enable = lib.mkDefault true;
services.accounts-daemon.enable = true;
services.ayatana-indicators = {
enable = true;
packages =
(
with pkgs;
[
ayatana-indicator-display
ayatana-indicator-messages
ayatana-indicator-power
]
++ lib.optionals config.hardware.bluetooth.enable [ ayatana-indicator-bluetooth ]
++ lib.optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [
ayatana-indicator-sound
]
)
++ (
with pkgs.lomiri;
[ telephony-service ]
++ lib.optionals config.networking.networkmanager.enable [ lomiri-indicator-network ]
);
};
services.udisks2.enable = true;
services.upower.enable = true;
services.geoclue2.enable = true;
services.gnome.evolution-data-server = {
enable = true;
plugins = with pkgs; [
# TODO: lomiri.address-book-service
];
};
services.telepathy.enable = true;
services.displayManager = {
defaultSession = lib.mkDefault "lomiri";
sessionPackages = with pkgs.lomiri; [ lomiri-session ];
};
services.xserver = {
enable = lib.mkDefault true; enable = lib.mkDefault true;
greeters.lomiri.enable = lib.mkDefault true; displayManager.lightdm = {
}; enable = lib.mkDefault true;
}; greeters.lomiri.enable = lib.mkDefault true;
environment.pathsToLink = [
# Configs for inter-app data exchange system
"/share/lomiri-content-hub/peers"
# Configs for inter-app URL requests
"/share/lomiri-url-dispatcher/urls"
# Splash screens & other images for desktop apps launched via lomiri-app-launch
"/share/lomiri-app-launch"
# TODO Try to get maliit stuff working
"/share/maliit/plugins"
# At least the network indicator is still under the unity name, due to leftover Unity-isms
"/share/unity"
# Data
"/share/locale" # TODO LUITK hardcoded default locale path, fix individual apps to not rely on it
"/share/sounds"
"/share/wallpapers"
];
systemd.user.services = {
# Unconditionally run service that collects system-installed URL handlers before LUD
# TODO also run user-installed one?
"lomiri-url-dispatcher-update-system-dir" = {
description = "Lomiri URL dispatcher system directory updater";
wantedBy = [ "lomiri-url-dispatcher.service" ];
before = [ "lomiri-url-dispatcher.service" ];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.lomiri.lomiri-url-dispatcher}/libexec/lomiri-url-dispatcher/lomiri-update-directory /run/current-system/sw/share/lomiri-url-dispatcher/urls/";
}; };
}; };
"lomiri-polkit-agent" = rec { environment.pathsToLink = [
description = "Lomiri Polkit agent"; # Configs for inter-app data exchange system
wantedBy = [ "lomiri.service" "lomiri-full-greeter.service" "lomiri-full-shell.service" "lomiri-greeter.service" "lomiri-shell.service" ]; "/share/lomiri-content-hub/peers"
after = [ "graphical-session.target" ]; # Configs for inter-app URL requests
partOf = wantedBy; "/share/lomiri-url-dispatcher/urls"
serviceConfig = { # Splash screens & other images for desktop apps launched via lomiri-app-launch
Type = "simple"; "/share/lomiri-app-launch"
Restart = "always"; # TODO Try to get maliit stuff working
ExecStart = "${pkgs.lomiri.lomiri-polkit-agent}/libexec/lomiri-polkit-agent/policykit-agent"; "/share/maliit/plugins"
# At least the network indicator is still under the unity name, due to leftover Unity-isms
"/share/unity"
# Data
"/share/sounds"
];
systemd.user.services = {
# Unconditionally run service that collects system-installed URL handlers before LUD
# TODO also run user-installed one?
"lomiri-url-dispatcher-update-system-dir" = {
description = "Lomiri URL dispatcher system directory updater";
wantedBy = [ "lomiri-url-dispatcher.service" ];
before = [ "lomiri-url-dispatcher.service" ];
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.lomiri.lomiri-url-dispatcher}/libexec/lomiri-url-dispatcher/lomiri-update-directory /run/current-system/sw/share/lomiri-url-dispatcher/urls/";
};
};
"lomiri-polkit-agent" = rec {
description = "Lomiri Polkit agent";
wantedBy = [
"lomiri.service"
"lomiri-full-greeter.service"
"lomiri-full-shell.service"
"lomiri-greeter.service"
"lomiri-shell.service"
];
after = [ "graphical-session.target" ];
partOf = wantedBy;
serviceConfig = {
Type = "simple";
Restart = "always";
ExecStart = "${pkgs.lomiri.lomiri-polkit-agent}/libexec/lomiri-polkit-agent/policykit-agent";
};
}; };
}; };
};
systemd.services = { systemd.services = {
"dbus-com.lomiri.UserMetrics" = { "dbus-com.lomiri.UserMetrics" = {
serviceConfig = { serviceConfig =
Type = "dbus"; {
BusName = "com.lomiri.UserMetrics"; Type = "dbus";
User = "usermetrics"; BusName = "com.lomiri.UserMetrics";
StandardOutput = "syslog"; User = "usermetrics";
SyslogIdentifier = "com.lomiri.UserMetrics"; StandardOutput = "syslog";
ExecStart = "${pkgs.lomiri.libusermetrics}/libexec/libusermetrics/usermetricsservice"; SyslogIdentifier = "com.lomiri.UserMetrics";
} // lib.optionalAttrs (!config.security.apparmor.enable) { ExecStart = "${pkgs.lomiri.libusermetrics}/libexec/libusermetrics/usermetricsservice";
# Due to https://gitlab.com/ubports/development/core/libusermetrics/-/issues/8, auth must be disabled when not using AppArmor, lest the next database usage breaks }
Environment = "USERMETRICS_NO_AUTH=1"; // lib.optionalAttrs (!config.security.apparmor.enable) {
# Due to https://gitlab.com/ubports/development/core/libusermetrics/-/issues/8, auth must be disabled when not using AppArmor, lest the next database usage breaks
Environment = "USERMETRICS_NO_AUTH=1";
};
}; };
}; };
};
users.users.usermetrics = { users.users.usermetrics = {
group = "usermetrics"; group = "usermetrics";
home = "/var/lib/usermetrics"; home = "/var/lib/usermetrics";
createHome = true; createHome = true;
isSystemUser = true; isSystemUser = true;
}; };
users.groups.usermetrics = { }; users.groups.usermetrics = { };
}; })
];
meta.maintainers = lib.teams.lomiri.members; meta.maintainers = lib.teams.lomiri.members;
} }

View File

@ -27,7 +27,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# for cli usage # for cli usage
environment.systemPackages = [ pkgs.vector ]; environment.systemPackages = [ cfg.package ];
systemd.services.vector = { systemd.services.vector = {
description = "Vector event and log aggregator"; description = "Vector event and log aggregator";
@ -40,7 +40,7 @@ in
conf = format.generate "vector.toml" cfg.settings; conf = format.generate "vector.toml" cfg.settings;
validateConfig = file: validateConfig = file:
pkgs.runCommand "validate-vector-conf" { pkgs.runCommand "validate-vector-conf" {
nativeBuildInputs = [ pkgs.vector ]; nativeBuildInputs = [ cfg.package ];
} '' } ''
vector validate --no-environment "${file}" vector validate --no-environment "${file}"
ln -s "${file}" "$out" ln -s "${file}" "$out"

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
let let
@ -17,6 +22,9 @@ in
}; };
config = lib.mkIf (ldmcfg.enable && cfg.enable) { config = lib.mkIf (ldmcfg.enable && cfg.enable) {
# Lomiri greeter == Lomiri shell in special mode, need some basics setup at least
services.desktopManager.lomiri.basics = true;
services.xserver.displayManager.lightdm.greeters.gtk.enable = false; services.xserver.displayManager.lightdm.greeters.gtk.enable = false;
services.xserver.displayManager.lightdm.greeter = lib.mkDefault { services.xserver.displayManager.lightdm.greeter = lib.mkDefault {

View File

@ -72,11 +72,13 @@ in
inherit description password; inherit description password;
}; };
services.desktopManager.lomiri.enable = lib.mkForce true; services.xserver.enable = true;
services.displayManager.defaultSession = lib.mkForce "lomiri"; services.xserver.windowManager.icewm.enable = true;
services.xserver.displayManager.lightdm = {
# Help with OCR enable = true;
fonts.packages = [ pkgs.inconsolata ]; greeters.lomiri.enable = true;
};
services.displayManager.defaultSession = lib.mkForce "none+icewm";
}; };
enableOCR = true; enableOCR = true;
@ -110,13 +112,8 @@ in
# Login # Login
machine.send_chars("${password}\n") machine.send_chars("${password}\n")
machine.wait_until_succeeds("pgrep -u ${user} -f 'lomiri --mode=full-shell'") machine.wait_for_x()
machine.screenshot("session_launched")
# Output rendering from Lomiri has started when it starts printing performance diagnostics
machine.wait_for_console_text("Last frame took")
# Look for datetime's clock, one of the last elements to load
wait_for_text(r"(AM|PM)")
machine.screenshot("lomiri_launched")
''; '';
} }
); );

View File

@ -0,0 +1,61 @@
{
lib,
rustPlatform,
fetchFromGitHub,
installShellFiles,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
pname = "ad";
version = "0.1.3";
src = fetchFromGitHub {
owner = "sminez";
repo = "ad";
rev = "refs/tags/${version}";
hash = "sha256-l1SyrJW3lZIvoFZG57Bj134sUcoq60xfeXjzVaZPfzs=";
};
cargoHash = "sha256-wpR9wZA5SGyLI1ScfZwSENuUMI/iX3YS0P/o9drIwoo=";
nativeBuildInputs = [ installShellFiles ];
checkFlags = [
# both assume `/usr/bin/sh` exists
"--skip=buffer::tests::try_expand_known_works::file_that_exists_abs_path"
"--skip=buffer::tests::try_expand_known_works::file_that_exists_abs_path_with_addr"
];
postInstall = ''
installManPage doc/man/ad.1
'';
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
meta = {
description = "Adaptable text editor";
longDescription = ''
ad (pronounced A.D.) is an attempt at combining a modal
editing interface of likes of vi and kakoune with the
approach to extensibility of Plan9's Acme. Inside
of ad text is something you can execute as well as edit.
It is primarily intended as playground for experimenting
with implementing various text editor features and
currently is not at all optimised or feature complete
enough for use as your main text editor.
'';
homepage = "https://github.com/sminez/ad";
license = lib.licenses.mit;
mainProgram = "ad";
maintainers = with lib.maintainers; [ aleksana ];
# rely on unix domain socket
# https://github.com/sminez/ad/issues/28
platforms = lib.platforms.unix;
};
}

View File

@ -1,37 +1,47 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
bashly (1.1.10) bashly (1.2.6)
colsole (>= 0.8.1, < 2) colsole (>= 0.8.1, < 2)
completely (~> 0.6.1) completely (~> 0.6.1)
filewatcher (~> 2.0) filewatcher (~> 2.0)
gtx (~> 0.1) gtx (~> 0.1)
logger (>= 1, < 3)
lp (~> 0.2) lp (~> 0.2)
mister_bin (~> 0.7) mister_bin (~> 0.7)
ostruct (>= 0, < 2)
psych (>= 3.3.2, < 7) psych (>= 3.3.2, < 7)
requires (~> 1.1.0)
tty-markdown (~> 0.7) tty-markdown (~> 0.7)
cgi (0.4.1)
colsole (1.0.0) colsole (1.0.0)
completely (0.6.2) completely (0.6.3)
colsole (>= 0.8.1, < 2) colsole (>= 0.8.1, < 2)
mister_bin (~> 0.7) mister_bin (~> 0.7)
docopt_ng (0.7.1) docopt_ng (0.7.1)
erb (4.0.4)
cgi (>= 0.3.3)
filewatcher (2.1.0) filewatcher (2.1.0)
module_methods (~> 0.1.0) module_methods (~> 0.1.0)
gtx (0.1.0) gtx (0.1.1)
erb (~> 4.0)
kramdown (2.4.0) kramdown (2.4.0)
rexml rexml
logger (1.6.1)
lp (0.2.1) lp (0.2.1)
mister_bin (0.7.6) mister_bin (0.7.6)
colsole (>= 0.8.1, < 2) colsole (>= 0.8.1, < 2)
docopt_ng (~> 0.7, >= 0.7.1) docopt_ng (~> 0.7, >= 0.7.1)
module_methods (0.1.0) module_methods (0.1.0)
ostruct (0.6.1)
pastel (0.8.0) pastel (0.8.0)
tty-color (~> 0.5) tty-color (~> 0.5)
psych (5.1.2) psych (5.2.0)
stringio stringio
rexml (3.2.6) requires (1.1.0)
rouge (4.2.1) rexml (3.3.9)
stringio (3.1.0) rouge (4.5.0)
stringio (3.1.2)
strings (0.2.1) strings (0.2.1)
strings-ansi (~> 0.2) strings-ansi (~> 0.2)
unicode-display_width (>= 1.5, < 3.0) unicode-display_width (>= 1.5, < 3.0)
@ -46,14 +56,14 @@ GEM
tty-color (~> 0.5) tty-color (~> 0.5)
tty-screen (~> 0.8) tty-screen (~> 0.8)
tty-screen (0.8.2) tty-screen (0.8.2)
unicode-display_width (2.5.0) unicode-display_width (2.6.0)
unicode_utils (1.4.0) unicode_utils (1.4.0)
PLATFORMS PLATFORMS
x86_64-linux ruby
DEPENDENCIES DEPENDENCIES
bashly bashly
BUNDLED WITH BUNDLED WITH
2.3.26 2.5.16

View File

@ -1,14 +1,24 @@
{ {
bashly = { bashly = {
dependencies = ["colsole" "completely" "filewatcher" "gtx" "lp" "mister_bin" "psych" "tty-markdown"]; dependencies = ["colsole" "completely" "filewatcher" "gtx" "logger" "lp" "mister_bin" "ostruct" "psych" "requires" "tty-markdown"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1kdqpnkwgmb6kbrq9fyazj0jh0dh8srh86xjk92xrvgfps1kh5sy"; sha256 = "0dzyqwf43i92jq5j66j31qvsbfcpd6zk74ssqz14kj51wn2d8vw3";
type = "gem"; type = "gem";
}; };
version = "1.1.10"; version = "1.2.6";
};
cgi = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0c5494n3n6l51n1w1vc118zckbqdzk7r6b656hswg72w0bif2ja3";
type = "gem";
};
version = "0.4.1";
}; };
colsole = { colsole = {
groups = ["default"]; groups = ["default"];
@ -26,10 +36,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "12vf279w44d520vw28drxyi05wi1hyrg262ifjlhk9chjrnzcc7k"; sha256 = "0ci8iza647hvc4f1cmf9mpsm3i78ysf6g6213wkyrr5jk296hjjb";
type = "gem"; type = "gem";
}; };
version = "0.6.2"; version = "0.6.3";
}; };
docopt_ng = { docopt_ng = {
groups = ["default"]; groups = ["default"];
@ -41,6 +51,17 @@
}; };
version = "0.7.1"; version = "0.7.1";
}; };
erb = {
dependencies = ["cgi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "05wpc7pn1k6jik7i57vfrj6k5lda39hrny0q3706pi05c886w4fy";
type = "gem";
};
version = "4.0.4";
};
filewatcher = { filewatcher = {
dependencies = ["module_methods"]; dependencies = ["module_methods"];
groups = ["default"]; groups = ["default"];
@ -53,14 +74,15 @@
version = "2.1.0"; version = "2.1.0";
}; };
gtx = { gtx = {
dependencies = ["erb"];
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "10hfhicvv371gy1i16x6vry1xglvxl0zh7qr6f14pqsx32qih6ff"; sha256 = "1w0hbr9i6jpn9spbb13ipg2fajkwa51y56jw21ziwsddmv997274";
type = "gem"; type = "gem";
}; };
version = "0.1.0"; version = "0.1.1";
}; };
kramdown = { kramdown = {
dependencies = ["rexml"]; dependencies = ["rexml"];
@ -73,6 +95,16 @@
}; };
version = "2.4.0"; version = "2.4.0";
}; };
logger = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0lwncq2rf8gm79g2rcnnyzs26ma1f4wnfjm6gs4zf2wlsdz5in9s";
type = "gem";
};
version = "1.6.1";
};
lp = { lp = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
@ -104,6 +136,16 @@
}; };
version = "0.1.0"; version = "0.1.0";
}; };
ostruct = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "05xqijcf80sza5pnlp1c8whdaay8x5dc13214ngh790zrizgp8q9";
type = "gem";
};
version = "0.6.1";
};
pastel = { pastel = {
dependencies = ["tty-color"]; dependencies = ["tty-color"];
groups = ["default"]; groups = ["default"];
@ -121,40 +163,50 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0s5383m6004q76xm3lb732bp4sjzb6mxb6rbgn129gy2izsj4wrk"; sha256 = "0wq567f615x1ilgaqlh4yzf322f96rgn45xw4nm4vwfaddszw0v6";
type = "gem"; type = "gem";
}; };
version = "5.1.2"; version = "5.2.0";
};
requires = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dlibxp6jfdl4favj2pgsm2pw84hhr2cdiizfs51ldkpddm50njp";
type = "gem";
};
version = "1.1.0";
}; };
rexml = { rexml = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "05i8518ay14kjbma550mv0jm8a6di8yp5phzrd8rj44z9qnrlrp0"; sha256 = "1j9p66pmfgxnzp76ksssyfyqqrg7281dyi3xyknl3wwraaw7a66p";
type = "gem"; type = "gem";
}; };
version = "3.2.6"; version = "3.3.9";
}; };
rouge = { rouge = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1zd1pdldi6h8x27dqim7cy8m69xr01aw5c8k1zhkz497n4np6wgk"; sha256 = "0dllqyxlxsmsy4xdpgwbn6w9w6qsha9ay6cl5kq06jgw63k5dp10";
type = "gem"; type = "gem";
}; };
version = "4.2.1"; version = "4.5.0";
}; };
stringio = { stringio = {
groups = ["default"]; groups = ["default"];
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "063psvsn1aq6digpznxfranhcpmi0sdv2jhra5g0459sw0x2dxn1"; sha256 = "0cd1kdrf62p2ya3ia4rz49d5012bqinvqjmcgkakknswz0l1hkr0";
type = "gem"; type = "gem";
}; };
version = "3.1.0"; version = "3.1.2";
}; };
strings = { strings = {
dependencies = ["strings-ansi" "unicode-display_width" "unicode_utils"]; dependencies = ["strings-ansi" "unicode-display_width" "unicode_utils"];
@ -213,10 +265,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1d0azx233nags5jx3fqyr23qa2rhgzbhv8pxp46dgbg1mpf82xky"; sha256 = "0nkz7fadlrdbkf37m0x7sw8bnz8r355q3vwcfb9f9md6pds9h9qj";
type = "gem"; type = "gem";
}; };
version = "2.5.0"; version = "2.6.0";
}; };
unicode_utils = { unicode_utils = {
groups = ["default"]; groups = ["default"];

View File

@ -1,31 +1,16 @@
{ lib {
, stdenvNoCC lib,
, bundlerApp bundlerApp,
bundlerUpdateScript,
}: }:
let bundlerApp {
bashlyBundlerApp = bundlerApp { pname = "bashly";
pname = "bashly";
gemdir = ./.;
exes = [ "bashly" ];
};
in
stdenvNoCC.mkDerivation (finalAttrs: {
name = "bashly";
dontUnpack = true; gemdir = ./.;
exes = [ "bashly" ];
installPhase = '' passthru.updateScript = bundlerUpdateScript "bashly";
runHook preInstall
mkdir $out;
cd $out;
mkdir bin; pushd bin;
ln -vs ${bashlyBundlerApp}/bin/bashly;
runHook postInstall
'';
meta = { meta = {
description = "Bash command line framework and CLI generator"; description = "Bash command line framework and CLI generator";
@ -35,4 +20,4 @@ stdenvNoCC.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ drupol ]; maintainers = with lib.maintainers; [ drupol ];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
}; };
}) }

View File

@ -1,41 +1,45 @@
{ lib {
, buildGoModule lib,
, fetchFromGitHub buildGoModule,
fetchFromGitHub,
nix-update-script,
}: }:
buildGoModule rec { buildGoModule rec {
pname = "benthos"; pname = "benthos";
version = "4.27.0"; version = "4.40.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "benthosdev"; owner = "redpanda-data";
repo = "benthos"; repo = "benthos";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Jswy4Ku/dxIEfC+jNjLXu/WW24enc4Qn0vrOHvNDVYQ="; hash = "sha256-FABy2Fl32qS0zVQ+pDYUXQjTvAxn3eDCqvQn8kpZCjw=";
}; };
proxyVendor = true; proxyVendor = true;
vendorHash = "sha256-6CVDhy29bIn19EgKbKDNTBWdy+i18g0oz/NxABcQ6QE=";
doCheck = false;
subPackages = [ subPackages = [
"cmd/benthos" "cmd/benthos"
]; ];
vendorHash = "sha256-LCw15Q/kr5XCoBAOyGVOCcD/FcqUodlYLETNsRbOeG8=";
# doCheck = false;
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X github.com/benthosdev/benthos/v4/internal/cli.Version=${version}" "-X github.com/redpanda-data/benthos/v4/internal/cli.Version=${version}"
]; ];
meta = with lib; { passthru.updateScript = nix-update-script { };
meta = {
description = "Fancy stream processing made operationally mundane"; description = "Fancy stream processing made operationally mundane";
mainProgram = "benthos"; mainProgram = "benthos";
homepage = "https://www.benthos.dev"; homepage = "https://www.benthos.dev";
changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md"; changelog = "https://github.com/benthosdev/benthos/blob/v${version}/CHANGELOG.md";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ sagikazarmark ]; maintainers = with lib.maintainers; [ sagikazarmark ];
}; };
} }

View File

@ -5,26 +5,17 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "changedetection-io"; pname = "changedetection-io";
version = "0.46.04"; version = "0.47.06";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dgtlmoon"; owner = "dgtlmoon";
repo = "changedetection.io"; repo = "changedetection.io";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-V1nGVURA4nksDX0kXxfPbO/rB0nmECqpfysenpzcfZs="; hash = "sha256-kRoHCnXYWG09lrIiBA14OzhtbTqghXck5JXXNAMMtyc=";
}; };
postPatch = '' pythonRelaxDeps = true;
substituteInPlace requirements.txt \
--replace "apprise~=1.8.0" "apprise" \
--replace "cryptography~=3.4" "cryptography" \
--replace "dnspython==2.6.1" "dnspython" \
--replace "pytest ~=7.2" "" \
--replace "pytest-flask ~=1.2" "" \
--replace "selenium~=4.14.0" "selenium" \
--replace "werkzeug~=3.0" "werkzeug"
'';
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
apprise apprise

View File

@ -13,13 +13,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "jazz2"; pname = "jazz2";
version = "2.9.0"; version = "2.9.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "deathkiller"; owner = "deathkiller";
repo = "jazz2-native"; repo = "jazz2-native";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-qkR3j22tG8Q9WGeIFauWLibpMrF3AvU0abt/6lg763U="; hash = "sha256-q/08lQ+HW2obWc8YAAEorKkNWy1d2uWeufOC5TVKpN4=";
}; };
patches = [ ./nocontent.patch ]; patches = [ ./nocontent.patch ];

View File

@ -1,6 +1,6 @@
{ {
lib, lib,
python3, python3Packages,
fetchFromGitHub, fetchFromGitHub,
# optional-dependencies # optional-dependencies
@ -8,27 +8,29 @@
# tests # tests
versionCheckHook, versionCheckHook,
nix-update-script,
}: }:
let let
nbqa = python3.pkgs.buildPythonApplication rec { nbqa = python3Packages.buildPythonApplication rec {
pname = "nbqa"; pname = "nbqa";
version = "1.9.0"; version = "1.9.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nbQA-dev"; owner = "nbQA-dev";
repo = "nbQA"; repo = "nbQA";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-9s+q2unh+jezU0Er7ZH0tvgntmPFts9OmsgAMeQXRrY="; hash = "sha256-qVNJ8f8vUlTCi5DbvG70orcSnulH60UcI5iABtXYUog=";
}; };
build-system = with python3.pkgs; [ build-system = with python3Packages; [
setuptools setuptools
]; ];
optional-dependencies.toolchain = optional-dependencies.toolchain =
(with python3.pkgs; [ (with python3Packages; [
black black
blacken-docs blacken-docs
flake8 flake8
@ -42,7 +44,7 @@ let
ruff ruff
]; ];
dependencies = with python3.pkgs; [ dependencies = with python3Packages; [
autopep8 autopep8
ipython ipython
tokenize-rt tokenize-rt
@ -60,7 +62,7 @@ let
''; '';
nativeCheckInputs = nativeCheckInputs =
(with python3.pkgs; [ (with python3Packages; [
autoflake autoflake
distutils distutils
mdformat mdformat
@ -71,6 +73,7 @@ let
]) ])
++ lib.flatten (lib.attrValues optional-dependencies) ++ lib.flatten (lib.attrValues optional-dependencies)
++ [ versionCheckHook ]; ++ [ versionCheckHook ];
versionCheckProgramArg = [ "--version" ];
disabledTests = [ disabledTests = [
# Test data not found # Test data not found
@ -98,10 +101,12 @@ let
nbqa.overridePythonAttrs ( nbqa.overridePythonAttrs (
{ dependencies, ... }: { dependencies, ... }:
{ {
dependencies = dependencies ++ selector python3.pkgs; dependencies = dependencies ++ selector python3Packages;
doCheck = false; doCheck = false;
} }
); );
updateScript = nix-update-script { };
}; };
meta = { meta = {

View File

@ -18,14 +18,14 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "NetworkManager-iodine${lib.optionalString withGnome "-gnome"}"; pname = "NetworkManager-iodine${lib.optionalString withGnome "-gnome"}";
version = "1.2.0-unstable-2024-05-12"; version = "1.2.0-unstable-2024-11-02";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "GNOME"; owner = "GNOME";
repo = "network-manager-iodine"; repo = "network-manager-iodine";
rev = "8ec0a35e12047ccf256b3951897c701661ddb8af"; rev = "dd633f80913ae637d6f496bae1b7bac8c297860c";
sha256 = "cNjznry8wi1UmE5khf0JCEYjs9nDU/u8lFLte53MLTM="; sha256 = "sAndI8jjCcRENDGz4V3AKswybzC8PDzYPaEN1mLcti8=";
}; };
patches = [ patches = [

View File

@ -1,24 +1,49 @@
{ lib, stdenv, openssl, fetchFromGitHub }: {
lib,
stdenv,
pkg-config,
meson,
ninja,
openssl,
fetchFromGitHub,
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "open-isns"; pname = "open-isns";
version = "0.102"; version = "0.103";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "open-iscsi"; owner = "open-iscsi";
repo = "open-isns"; repo = "open-isns";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Vz6VqqvEr0f8AdN9NcVnruapswmoOgvAXxXSfrM3yRA="; sha256 = "sha256-buqQMsoxRCbWiBDq0XAg93J7bjbdxeIernV8sDVxCAA=";
}; };
# The location of /var/lib is not made configurable in the meson.build file
postPatch = ''
substituteInPlace meson.build \
--replace-fail "/var/lib" "$out/var/lib" \
'';
nativeBuildInputs = [
meson
ninja
pkg-config
];
propagatedBuildInputs = [ openssl ]; propagatedBuildInputs = [ openssl ];
outputs = [ "out" "lib" ]; outputs = [
outputInclude = "lib"; "out"
"lib"
"dev"
"man"
];
configureFlags = [ "--enable-shared" ]; configureFlags = [ "--enable-shared" ];
installFlags = [ "etcdir=$(out)/etc" "vardir=$(out)/var/lib/isns" ]; mesonFlags = [
installTargets = [ "install" "install_hdrs" "install_lib" ]; "-Dslp=disabled" # openslp is not maintained and labeled unsafe
"-Dsystemddir=${placeholder "out"}/lib/systemd"
];
meta = with lib; { meta = with lib; {
description = "iSNS server and client for Linux"; description = "iSNS server and client for Linux";

View File

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
]; ];
buildInputs = [ buildInputs = [
kmod kmod
(lib.getLib open-isns) open-isns
openssl openssl
systemd systemd
util-linux util-linux

View File

@ -13,15 +13,15 @@ let
in in
buildGo123Module rec { buildGo123Module rec {
pname = "pomerium"; pname = "pomerium";
version = "0.27.1"; version = "0.27.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pomerium"; owner = "pomerium";
repo = "pomerium"; repo = "pomerium";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-+RKWl/weUYktS7jUB1lYpZCBKEfh7RMfKgRDbYV8Bjs="; hash = "sha256-t1j5usgr/SO3Ev3JpCJWb3Ys8wgZUTGQVb6mo0oIsEc=";
}; };
vendorHash = "sha256-/iYUZp6EASDGApLymNuR10395PH8D3zPU+TlmmAN8Zc="; vendorHash = "sha256-nTEFSLP0/GUVgtujVG6lQIxnj6DOEifc0MVh9CNxt8s=";
ui = mkYarnPackage { ui = mkYarnPackage {
inherit version; inherit version;

View File

@ -16,14 +16,14 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "ptyxis"; pname = "ptyxis";
version = "47.2"; version = "47.4";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "chergert"; owner = "chergert";
repo = "ptyxis"; repo = "ptyxis";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-8b+leFzVEj75xAnGwmVoCr6+mTO3e+DOPUNe0A5KGYY="; hash = "sha256-G2WesIaz+eYiDExyMi6Ww2cHMthuxAX5b+B68dz6Yb0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -0,0 +1,18 @@
objdump may be prefixed on cross-compilation, read the path from $OBJDUMP instead
diff --git a/tests/symbols.rs b/tests/symbols.rs
index 9375619..5f161fc 100644
--- a/tests/symbols.rs
+++ b/tests/symbols.rs
@@ -27,7 +27,10 @@ fn symbols() -> anyhow::Result<()> {
}
};
- let cmd = Command::new("objdump")
+ let cmd = Command::new("bash")
+ .arg("-c")
+ .arg(r#"exec "$OBJDUMP" "$@""#)
+ .arg("--")
.arg("-T")
.arg(lib)
.unwrap();

View File

@ -0,0 +1,74 @@
{
stdenv,
fetchFromGitHub,
lib,
nettle,
nix-update-script,
rustPlatform,
pkg-config,
runCommand,
}:
rustPlatform.buildRustPackage rec {
pname = "rpm-sequoia";
version = "1.7.0";
src = fetchFromGitHub {
owner = "rpm-software-management";
repo = "rpm-sequoia";
rev = "v${version}";
hash = "sha256-AZCsboUv4muKOw5El2Hw5O1cvAgD3JhBppacrQCJT2k=";
};
cargoHash = "sha256-0yO1+OAkXje/ir8i8URVhIcW8gwXleYx+XL1U4bjtXk=";
patches = [
./objdump.patch
];
nativeBuildInputs = [
pkg-config
rustPlatform.bindgenHook
];
propagatedBuildInputs = [ nettle ];
# Tests will parse the symbols, on darwin we have two issues:
# - library name is hardcoded to librpm_sequoia.so
# - The output of the objdump differs and the parsing logic needs to be adapted
doCheck = !stdenv.hostPlatform.isDarwin;
outputs = [
"out"
"dev"
];
# Ensure the generated .pc file gets the correct prefix
env.PREFIX = placeholder "out";
# Install extra files, the same as this is done on fedora:
# https://src.fedoraproject.org/rpms/rust-rpm-sequoia/blob/f41/f/rust-rpm-sequoia.spec#_81
preInstall =
# Install the generated pc file for consumption by the dependents
''
install -Dm644 target/release/rpm-sequoia.pc -t $dev/lib/pkgconfig
''
+
# Dependents will rely on the versioned symlinks
''
install -d $out/lib
find target/release/ \
-maxdepth 1 \
-type l -name 'librpm_sequoia.*' \
-exec cp --no-dereference {} $out/lib/ \;
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "An OpenPGP backend for rpm using Sequoia PGP";
homepage = "https://sequoia-pgp.org/";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ baloo ];
};
}

View File

@ -44,16 +44,19 @@ buildPythonPackage rec {
pytest-doctestplus pytest-doctestplus
]; ];
disabledTests = [ "test_query_hexadecimal_strings" ]; disabledTests = [
"test_query_hexadecimal_strings"
"test_jsocinfoconstants" # Need network
];
disabledTestPaths = [ "docs/tutorial.rst" ]; disabledTestPaths = [ "docs/tutorial.rst" ];
pythonImportsCheck = [ "drms" ]; pythonImportsCheck = [ "drms" ];
meta = with lib; { meta = {
description = "Access HMI, AIA and MDI data with Python"; description = "Access HMI, AIA and MDI data with Python";
homepage = "https://github.com/sunpy/drms"; homepage = "https://github.com/sunpy/drms";
license = licenses.bsd2; license = lib.licenses.bsd2;
maintainers = [ ]; maintainers = with lib.maintainers; [ bot-wxt1221 ];
}; };
} }

View File

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ihcsdk"; pname = "ihcsdk";
version = "2.8.6"; version = "2.8.7";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dingusdk"; owner = "dingusdk";
repo = "PythonIhcSdk"; repo = "PythonIhcSdk";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-0meYr/SywtRfp/TBW3t8QUMlenb5KnzvKfn6c7Przpc="; hash = "sha256-Ct+ONqvvm1OcZKi+5P3o5ievfVK0pg8DpjNwkbuczCE=";
}; };
build-system = [ setuptools ]; build-system = [ setuptools ];

View File

@ -13,7 +13,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydantic-yaml"; pname = "pydantic-yaml";
version = "1.3.0"; version = "1.4.0";
pyproject = true; pyproject = true;
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "NowanIlfideme"; owner = "NowanIlfideme";
repo = "pydantic-yaml"; repo = "pydantic-yaml";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Kv1nLR91iwShmCgduXA07+a+2EP1nnvaC7fBAn/ufEM="; hash = "sha256-xlFSczMCEkSDhtzSl8qzZwwZd0IelPmjTEV+Jk9G0fI=";
}; };
postPatch = '' postPatch = ''

View File

@ -1097,6 +1097,12 @@ let
]; ];
}); });
lwgeom = old.lwgeom.overrideAttrs (attrs: {
configureFlags = [
"--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"
];
});
sf = old.sf.overrideAttrs (attrs: { sf = old.sf.overrideAttrs (attrs: {
configureFlags = [ configureFlags = [
"--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib" "--with-proj-lib=${pkgs.lib.getLib pkgs.proj}/lib"

View File

@ -386,15 +386,16 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711"
[[package]] [[package]]
name = "arroy" name = "arroy"
version = "0.4.0" version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ece9e5347e7fdaaea3181dec7f916677ad5f3fcbac183648ce1924eb4aeef9a" checksum = "dfc5f272f38fa063bbff0a7ab5219404e221493de005e2b4078c62d626ef567e"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"byteorder", "byteorder",
"heed", "heed",
"log", "log",
"memmap2", "memmap2",
"nohash",
"ordered-float", "ordered-float",
"rand", "rand",
"rayon", "rayon",
@ -471,7 +472,7 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]] [[package]]
name = "benchmarks" name = "benchmarks"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes", "bytes",
@ -527,7 +528,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"regex", "regex",
"rustc-hash", "rustc-hash 1.1.0",
"shlex", "shlex",
"syn 2.0.60", "syn 2.0.60",
] ]
@ -652,7 +653,7 @@ dependencies = [
[[package]] [[package]]
name = "build-info" name = "build-info"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"time", "time",
@ -1622,7 +1623,7 @@ dependencies = [
[[package]] [[package]]
name = "dump" name = "dump"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"big_s", "big_s",
@ -1834,7 +1835,7 @@ checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
[[package]] [[package]]
name = "file-store" name = "file-store"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"tempfile", "tempfile",
"thiserror", "thiserror",
@ -1856,7 +1857,7 @@ dependencies = [
[[package]] [[package]]
name = "filter-parser" name = "filter-parser"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"insta", "insta",
"nom", "nom",
@ -1876,7 +1877,7 @@ dependencies = [
[[package]] [[package]]
name = "flatten-serde-json" name = "flatten-serde-json"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"criterion", "criterion",
"serde_json", "serde_json",
@ -2000,7 +2001,7 @@ dependencies = [
[[package]] [[package]]
name = "fuzzers" name = "fuzzers"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
"clap", "clap",
@ -2552,7 +2553,7 @@ checksum = "206ca75c9c03ba3d4ace2460e57b189f39f43de612c2f85836e65c929701bb2d"
[[package]] [[package]]
name = "index-scheduler" name = "index-scheduler"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arroy", "arroy",
@ -2746,7 +2747,7 @@ dependencies = [
[[package]] [[package]]
name = "json-depth-checker" name = "json-depth-checker"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"criterion", "criterion",
"serde_json", "serde_json",
@ -3365,7 +3366,7 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
[[package]] [[package]]
name = "meili-snap" name = "meili-snap"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"insta", "insta",
"md5", "md5",
@ -3374,7 +3375,7 @@ dependencies = [
[[package]] [[package]]
name = "meilisearch" name = "meilisearch"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"actix-cors", "actix-cors",
"actix-http", "actix-http",
@ -3414,6 +3415,7 @@ dependencies = [
"meilisearch-types", "meilisearch-types",
"mimalloc", "mimalloc",
"mime", "mime",
"mopa-maintained",
"num_cpus", "num_cpus",
"obkv", "obkv",
"once_cell", "once_cell",
@ -3463,7 +3465,7 @@ dependencies = [
[[package]] [[package]]
name = "meilisearch-auth" name = "meilisearch-auth"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"enum-iterator", "enum-iterator",
@ -3482,7 +3484,7 @@ dependencies = [
[[package]] [[package]]
name = "meilisearch-types" name = "meilisearch-types"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"anyhow", "anyhow",
@ -3512,7 +3514,7 @@ dependencies = [
[[package]] [[package]]
name = "meilitool" name = "meilitool"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"clap", "clap",
@ -3520,6 +3522,7 @@ dependencies = [
"file-store", "file-store",
"meilisearch-auth", "meilisearch-auth",
"meilisearch-types", "meilisearch-types",
"serde",
"time", "time",
"uuid", "uuid",
] ]
@ -3542,7 +3545,7 @@ dependencies = [
[[package]] [[package]]
name = "milli" name = "milli"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"arroy", "arroy",
"big_s", "big_s",
@ -3679,12 +3682,24 @@ dependencies = [
"syn 2.0.60", "syn 2.0.60",
] ]
[[package]]
name = "mopa-maintained"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79b7f3e22167862cc7c95b21a6f326c22e4bf40da59cbf000b368a310173ba11"
[[package]] [[package]]
name = "mutually_exclusive_features" name = "mutually_exclusive_features"
version = "0.0.3" version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d02c0b00610773bb7fc61d85e13d86c7858cbdf00e1a120bfc41bc055dbaa0e" checksum = "6d02c0b00610773bb7fc61d85e13d86c7858cbdf00e1a120bfc41bc055dbaa0e"
[[package]]
name = "nohash"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0f889fb66f7acdf83442c35775764b51fed3c606ab9cee51500dbde2cf528ca"
[[package]] [[package]]
name = "nom" name = "nom"
version = "7.1.3" version = "7.1.3"
@ -3976,7 +3991,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]] [[package]]
name = "permissive-json-pointer" name = "permissive-json-pointer"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"big_s", "big_s",
"serde_json", "serde_json",
@ -4307,7 +4322,7 @@ dependencies = [
"pin-project-lite", "pin-project-lite",
"quinn-proto", "quinn-proto",
"quinn-udp", "quinn-udp",
"rustc-hash", "rustc-hash 1.1.0",
"rustls", "rustls",
"thiserror", "thiserror",
"tokio", "tokio",
@ -4316,14 +4331,14 @@ dependencies = [
[[package]] [[package]]
name = "quinn-proto" name = "quinn-proto"
version = "0.11.3" version = "0.11.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddf517c03a109db8100448a4be38d498df8a210a99fe0e1b9eaf39e78c640efe" checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6"
dependencies = [ dependencies = [
"bytes", "bytes",
"rand", "rand",
"ring", "ring",
"rustc-hash", "rustc-hash 2.0.0",
"rustls", "rustls",
"slab", "slab",
"thiserror", "thiserror",
@ -4574,9 +4589,8 @@ dependencies = [
[[package]] [[package]]
name = "rhai" name = "rhai"
version = "1.19.0" version = "1.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/rhaiscript/rhai?rev=ef3df63121d27aacd838f366f2b83fd65f20a1e4#ef3df63121d27aacd838f366f2b83fd65f20a1e4"
checksum = "61797318be89b1a268a018a92a7657096d83f3ecb31418b9e9c16dcbb043b702"
dependencies = [ dependencies = [
"ahash 0.8.11", "ahash 0.8.11",
"bitflags 2.6.0", "bitflags 2.6.0",
@ -4593,8 +4607,7 @@ dependencies = [
[[package]] [[package]]
name = "rhai_codegen" name = "rhai_codegen"
version = "2.2.0" version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "git+https://github.com/rhaiscript/rhai?rev=ef3df63121d27aacd838f366f2b83fd65f20a1e4#ef3df63121d27aacd838f366f2b83fd65f20a1e4"
checksum = "a5a11a05ee1ce44058fa3d5961d05194fdbe3ad6b40f904af764d81b86450e6b"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -4696,6 +4709,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc-hash"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152"
[[package]] [[package]]
name = "rustc_version" name = "rustc_version"
version = "0.4.0" version = "0.4.0"
@ -4834,9 +4853,9 @@ checksum = "a3f0bf26fd526d2a95683cd0f87bf103b8539e2ca1ef48ce002d67aad59aa0b4"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.204" version = "1.0.209"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
@ -4852,9 +4871,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.204" version = "1.0.209"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -5347,7 +5366,7 @@ dependencies = [
"fancy-regex 0.12.0", "fancy-regex 0.12.0",
"lazy_static", "lazy_static",
"parking_lot", "parking_lot",
"rustc-hash", "rustc-hash 1.1.0",
] ]
[[package]] [[package]]
@ -6361,7 +6380,7 @@ dependencies = [
[[package]] [[package]]
name = "xtask" name = "xtask"
version = "1.10.3" version = "1.11.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"build-info", "build-info",

View File

@ -10,7 +10,7 @@
}: }:
let let
version = "1.10.3"; version = "1.11.1";
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "meilisearch"; pname = "meilisearch";
@ -20,7 +20,7 @@ rustPlatform.buildRustPackage {
owner = "meilisearch"; owner = "meilisearch";
repo = "meiliSearch"; repo = "meiliSearch";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-OKy4y11akNGGrRzMHbIWe3MpZCz7qyofsJMAL06NDpo="; hash = "sha256-SxmN6CDgS4QrCdJPF36RyljvKXXhCuYzaJnpqROSY5U=";
}; };
cargoBuildFlags = [ "--package=meilisearch" ]; cargoBuildFlags = [ "--package=meilisearch" ];
@ -28,6 +28,7 @@ rustPlatform.buildRustPackage {
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
outputHashes = { outputHashes = {
"rhai-1.20.0" = "sha256-lirpciSMM+OJh6Z4Ok3nZyJSdP8SNyUG15T9QqPNjII=";
"hf-hub-0.3.2" = "sha256-tsn76b+/HRvPnZ7cWd8SBcEdnMPtjUEIRJipOJUbz54="; "hf-hub-0.3.2" = "sha256-tsn76b+/HRvPnZ7cWd8SBcEdnMPtjUEIRJipOJUbz54=";
"tokenizers-0.15.2" = "sha256-lWvCu2hDJFzK6IUBJ4yeL4eZkOA08LHEMfiKXVvkog8="; "tokenizers-0.15.2" = "sha256-lWvCu2hDJFzK6IUBJ4yeL4eZkOA08LHEMfiKXVvkog8=";
}; };

View File

@ -137,6 +137,12 @@
"sha256": "1r0jfcy7qmrcclnhfqja6rixs3w3ipadblpgk54s36b11gnkfs9q", "sha256": "1r0jfcy7qmrcclnhfqja6rixs3w3ipadblpgk54s36b11gnkfs9q",
"version": "1.1.3" "version": "1.1.3"
}, },
"so-clean-up-wp-seo": {
"path": "so-clean-up-wp-seo/tags/4.0.2",
"rev": "3068954",
"sha256": "1ypvbpzaxgfgpk29b8snfvsmbb166irpb739rzyfs3b3857nnrvn",
"version": "4.0.2"
},
"static-mail-sender-configurator": { "static-mail-sender-configurator": {
"path": "static-mail-sender-configurator/tags/0.10.0", "path": "static-mail-sender-configurator/tags/0.10.0",
"rev": "2941521", "rev": "2941521",

View File

@ -22,6 +22,7 @@
, "opengraph": "asl20" , "opengraph": "asl20"
, "simple-login-captcha": "gpl2Plus" , "simple-login-captcha": "gpl2Plus"
, "simple-mastodon-verification": "gpl2Plus" , "simple-mastodon-verification": "gpl2Plus"
, "so-clean-up-wp-seo": "gpl3Plus"
, "static-mail-sender-configurator": "mit" , "static-mail-sender-configurator": "mit"
, "surge": "gpl3Only" , "surge": "gpl3Only"
, "tc-custom-javascript": "gpl2Plus" , "tc-custom-javascript": "gpl2Plus"