Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot]
2025-06-09 12:07:11 +00:00
committed by GitHub
68 changed files with 4407 additions and 544 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ while read -r new_commit_sha ; do
# consider this too unlikely to happen, to deal with explicitly.
max_length=10000
if [ "${#diff}" -gt $max_length ]; then
printf -v diff "%s\n\n[...truncated...]" "$(echo "$diff" | head -c $max_length | head -n-1)"
printf -v diff "%s\n>\n> [...truncated...]" "$(echo "$diff" | head -c $max_length | head -n-1)"
fi
echo "$diff" >> $markdown_file
echo '> ```' >> $markdown_file
+1 -1
View File
@@ -773,7 +773,7 @@ in
lomiri-filemanager-app = runTest ./lomiri-filemanager-app.nix;
lomiri-mediaplayer-app = runTest ./lomiri-mediaplayer-app.nix;
lomiri-music-app = runTest ./lomiri-music-app.nix;
lomiri-gallery-app = runTest ./lomiri-gallery-app.nix;
lomiri-gallery-app = discoverTests (import ./lomiri-gallery-app.nix);
lomiri-system-settings = runTest ./lomiri-system-settings.nix;
lorri = handleTest ./lorri/default.nix { };
lxqt = runTest ./lxqt.nix;
+299 -151
View File
@@ -1,163 +1,311 @@
{ lib, ... }:
{
name = "lomiri-gallery-app-standalone";
meta.maintainers = lib.teams.lomiri.members;
let
makeTest = import ./make-test-python.nix;
imageDataDir = "gallery-app-sampledata";
imageLabel = "Image";
nodes.machine =
{ config, pkgs, ... }:
makeFormatTest =
{
imports = [ ./common/x11.nix ];
file,
buttonIsOffset ? null,
customTest ? null,
}:
services.xserver.enable = true;
makeTest (
{ pkgs, lib, ... }:
environment = {
systemPackages =
with pkgs;
[
ffmpeg # make a video from the image
(imagemagick.override { ghostscriptSupport = true; }) # example image creation
mpv # URI dispatching for video support
xdotool # mouse movement
]
++ (with pkgs.lomiri; [
suru-icon-theme
lomiri-gallery-app
lomiri-thumbnailer # finds new images & generates thumbnails
]);
variables = {
UITK_ICON_THEME = "suru";
assert lib.asserts.assertMsg (
buttonIsOffset != null || customTest != null
) "Must either clarify button position, or define custom test code";
let
format = lib.lists.last (lib.strings.splitString "." file);
in
{
name = "lomiri-gallery-app-standalone-format-${format}";
meta.maintainers = lib.teams.lomiri.members;
nodes.machine =
{ config, pkgs, ... }:
{
imports = [ ./common/x11.nix ];
services.xserver.enable = true;
environment = {
etc."${imageDataDir}".source =
pkgs.runCommand imageDataDir
{
nativeBuildInputs = with pkgs; [
ffmpeg # make a video from the image
(imagemagick.override { ghostscriptSupport = true; }) # add label for OCR
];
}
''
mkdir -p $out/{Pictures,Videos}
# Setup example data, OCR-friendly:
# - White square, black text
# - Small text for display OCR
# - Big text for gallery preview OCR
# - uppercase extension
magick -size 500x500 -background white -fill black canvas:white \
-pointsize 20 -annotate +100+100 '${imageLabel}' \
-pointsize 70 -annotate +100+300 '${imageLabel}' \
$out/Pictures/output.PNG
# Different image formats
magick $out/Pictures/output.PNG $out/Pictures/output.JPG
magick $out/Pictures/output.PNG $out/Pictures/output.BMP
magick $out/Pictures/output.PNG $out/Pictures/output.GIF
# Video for dispatching
ffmpeg -loop 1 -r 1 -i $out/Pictures/output.PNG -t 100 -pix_fmt yuv420p $out/Videos/output.MP4
'';
systemPackages =
with pkgs;
[
glib # Poke thumbnailer to process media via gdbus
mpv # URI dispatching for video support
xdotool # mouse movement
]
++ (with pkgs.lomiri; [
suru-icon-theme
lomiri-gallery-app
lomiri-thumbnailer # finds new images & generates thumbnails
]);
variables = {
UITK_ICON_THEME = "suru";
};
};
# Allow us to start thumbnailer ahead-of-time, hopefully let thumbnails get processed in peace
systemd.user.services."dbus-com.lomiri.Thumbnailer" = {
serviceConfig = {
Type = "dbus";
BusName = "com.lomiri.Thumbnailer";
ExecStart = "${pkgs.lomiri.lomiri-thumbnailer}/libexec/lomiri-thumbnailer/thumbnailer-service";
};
};
fonts = {
packages = with pkgs; [
# Intended font & helps with OCR
ubuntu-classic
];
};
};
enableOCR = true;
testScript =
''
machine.wait_for_x()
machine.succeed("mkdir /root/${builtins.dirOf file}")
machine.succeed("cp -vr /etc/${imageDataDir}/${file} /root/${builtins.dirOf file}")
# Start thumbnailer, wait for idle shutdown
machine.systemctl("start dbus-com.lomiri.Thumbnailer", "root")
machine.wait_until_succeeds(
"env XDG_RUNTIME_DIR=/run/user/0 "
+ "systemctl --user is-active dbus-com.lomiri.Thumbnailer"
)
machine.wait_for_console_text("thumbnail cache:")
# Request thumbnail processing, get initial thumbnail image into cache
# This can randomly take abit longer, just run it until it succeeds
# Touch file to invalidate failure cache
machine.wait_until_succeeds(
"touch '/root/${file}' && "
+ "env XDG_RUNTIME_DIR=/run/user/0 "
+ "gdbus call -e "
+ "-d com.lomiri.Thumbnailer -o /com/lomiri/Thumbnailer "
+ "-m com.lomiri.Thumbnailer.GetThumbnail "
+ "'/root/${file}' "
# Same size as source, to reduce processing - we're very close to hitting 20s on slow hardware here
+ "'@(ii) (500,500)'"
)
machine.wait_for_console_text("Idle timeout reached")
machine.wait_until_fails(
"env XDG_RUNTIME_DIR=/run/user/0 "
+ "systemctl --user is-active dbus-com.lomiri.Thumbnailer"
)
with subtest("lomiri gallery finds files"):
machine.succeed("lomiri-gallery-app >&2 &")
machine.wait_for_console_text("qq= AlbumsOverview") # logged when album page actually gets loaded
machine.sleep(10)
machine.send_key("alt-f10")
machine.sleep(5)
machine.wait_for_text(r"(Albums|Events|Photos|${imageLabel})")
machine.succeed("xdotool mousemove 30 40 click 1") # burger menu for categories
machine.sleep(2)
machine.succeed("xdotool mousemove 30 180 click 1") # photos
machine.sleep(2)
machine.screenshot("lomiri-gallery_photos")
machine.succeed("xdotool mousemove 80 140 click 1") # select first one
machine.sleep(2)
machine.succeed("xdotool mousemove 80 140 click 1") # enable top-bar
machine.sleep(2)
''
+ (
if (customTest != null) then
customTest
else
''
with subtest("lomiri gallery handles ${format}"):
machine.succeed("xdotool mousemove ${
if buttonIsOffset then "900" else "940"
} 50 click 1") # open media information
machine.sleep(2)
machine.screenshot("lomiri-gallery_${format}_info")
machine.send_key("esc")
machine.sleep(2)
machine.wait_for_text("${imageLabel}") # make sure media shows fine
''
);
}
);
makeFormatTests =
detailsList:
builtins.listToAttrs (
builtins.map (
{
name,
file,
buttonIsOffset ? null,
customTest ? null,
}:
{
name = "format-${name}";
value = makeFormatTest {
inherit
file
buttonIsOffset
customTest
;
};
}
) detailsList
);
in
{
basic = makeTest (
{ lib, ... }:
{
name = "lomiri-gallery-app-standalone-basic";
meta.maintainers = lib.teams.lomiri.members;
nodes.machine =
{ config, pkgs, ... }:
{
imports = [ ./common/x11.nix ];
services.xserver.enable = true;
environment = {
systemPackages =
with pkgs;
[
xdotool # mouse movement
]
++ (with pkgs.lomiri; [
suru-icon-theme
lomiri-gallery-app
]);
variables = {
UITK_ICON_THEME = "suru";
};
};
i18n.supportedLocales = [ "all" ];
fonts = {
packages = with pkgs; [
# Intended font & helps with OCR
ubuntu-classic
];
};
};
};
i18n.supportedLocales = [ "all" ];
enableOCR = true;
fonts = {
packages = with pkgs; [
# Intended font & helps with OCR
ubuntu-classic
];
};
};
testScript = ''
machine.wait_for_x()
enableOCR = true;
with subtest("lomiri gallery launches"):
machine.succeed("lomiri-gallery-app >&2 &")
machine.wait_for_console_text("qq= AlbumsOverview") # logged when album page actually gets loaded
machine.sleep(10)
machine.send_key("alt-f10")
machine.sleep(5)
machine.wait_for_text(r"(Albums|Events|Photos)")
machine.screenshot("lomiri-gallery_open")
testScript =
let
imageLabel = "Image";
in
''
machine.wait_for_x()
machine.succeed("pgrep -afx lomiri-gallery-app >&2")
machine.succeed("pkill -efx lomiri-gallery-app >&2")
machine.wait_until_fails("pgrep -afx lomiri-gallery-app >&2")
with subtest("lomiri gallery launches"):
machine.succeed("lomiri-gallery-app >&2 &")
machine.sleep(2)
machine.wait_for_text(r"(Albums|Events|Photos)")
machine.screenshot("lomiri-gallery_open")
machine.succeed("pkill -f lomiri-gallery-app")
machine.succeed("mkdir /root/Pictures /root/Videos")
# Setup example data, OCR-friendly:
# - White square, black text
# - Small text for display OCR
# - Big text for gallery preview OCR
# - uppercase extension
machine.succeed(
"magick -size 500x500 -background white -fill black canvas:white "
+ "-pointsize 20 -annotate +100+100 '${imageLabel}' "
+ "-pointsize 50 -annotate +100+300 '${imageLabel}' "
+ "/root/Pictures/output.PNG"
)
# Different image formats
machine.succeed("magick /root/Pictures/output.PNG /root/Pictures/output.JPG")
machine.succeed("magick /root/Pictures/output.PNG /root/Pictures/output.BMP")
machine.succeed("magick /root/Pictures/output.PNG /root/Pictures/output.GIF")
# Video for dispatching
machine.succeed("ffmpeg -loop 1 -r 1 -i /root/Pictures/output.PNG -t 100 -pix_fmt yuv420p /root/Videos/output.MP4")
with subtest("lomiri gallery handles files"):
machine.succeed("lomiri-gallery-app >&2 &")
machine.sleep(2)
machine.wait_for_text(r"(Albums|Events|Photos|${imageLabel})")
machine.succeed("xdotool mousemove 30 40 click 1") # burger menu for categories
machine.sleep(2)
machine.succeed("xdotool mousemove 30 180 click 1") # photos
machine.sleep(2)
machine.wait_for_text("${imageLabel}") # should see thumbnail of at least one of them
machine.screenshot("lomiri-gallery_photos")
machine.succeed("xdotool mousemove 80 140 click 1") # select newest one
machine.sleep(2)
machine.succeed("xdotool mousemove 80 140 click 1") # enable top-bar
machine.sleep(2)
with subtest("lomiri gallery handles mp4"):
machine.succeed("xdotool mousemove 870 50 click 1") # open media information
machine.sleep(2)
machine.wait_for_text("MP4") # make sure we're looking at the right file
machine.screenshot("lomiri-gallery_mp4_info")
machine.send_key("esc")
machine.wait_for_text("${imageLabel}") # make sure thumbnail rendering worked
machine.succeed("xdotool mousemove 450 350 click 1") # dispatch to system's video handler
machine.wait_until_succeeds("pgrep -u root -f mpv") # wait for video to start
machine.sleep(10)
machine.succeed("pgrep -u root -f mpv") # should still be playing
machine.screenshot("lomiri-gallery_mp4_dispatch")
machine.send_key("q")
machine.wait_until_fails("pgrep mpv") # wait for video to stop
machine.send_key("right")
with subtest("lomiri gallery handles gif"):
machine.succeed("xdotool mousemove 870 50 click 1") # open media information
machine.sleep(2)
machine.wait_for_text("GIF") # make sure we're looking at the right file
machine.screenshot("lomiri-gallery_gif_info")
machine.send_key("esc")
machine.wait_for_text("${imageLabel}") # make sure media shows fine
machine.send_key("right")
with subtest("lomiri gallery handles bmp"):
machine.succeed("xdotool mousemove 840 50 click 1") # open media information (extra icon, different location)
machine.sleep(2)
machine.wait_for_text("BMP") # make sure we're looking at the right file
machine.screenshot("lomiri-gallery_bmp_info")
machine.send_key("esc")
machine.wait_for_text("${imageLabel}") # make sure media shows fine
machine.send_key("right")
with subtest("lomiri gallery handles jpg"):
machine.succeed("xdotool mousemove 840 50 click 1") # open media information (extra icon, different location)
machine.sleep(2)
machine.wait_for_text("JPG") # make sure we're looking at the right file
machine.screenshot("lomiri-gallery_jpg_info")
machine.send_key("esc")
machine.wait_for_text("${imageLabel}") # make sure media shows fine
machine.send_key("right")
with subtest("lomiri gallery handles png"):
machine.succeed("xdotool mousemove 840 50 click 1") # open media information (extra icon, different location)
machine.sleep(2)
machine.wait_for_text("PNG") # make sure we're looking at the right file
machine.screenshot("lomiri-gallery_png_info")
machine.send_key("esc")
machine.wait_for_text("${imageLabel}") # make sure media shows fine
machine.succeed("pkill -f lomiri-gallery-app")
with subtest("lomiri gallery localisation works"):
machine.succeed("env LANG=de_DE.UTF-8 lomiri-gallery-app >&2 &")
machine.wait_for_text(r"(Alben|Ereignisse|Fotos)")
machine.screenshot("lomiri-gallery_localised")
'';
with subtest("lomiri gallery localisation works"):
machine.succeed("env LANG=de_DE.UTF-8 lomiri-gallery-app >&2 &")
machine.wait_for_console_text("qq= AlbumsOverview") # logged when album page actually gets loaded
machine.sleep(10)
machine.send_key("alt-f10")
machine.sleep(5)
machine.wait_for_text(r"(Alben|Ereignisse|Fotos)")
machine.screenshot("lomiri-gallery_localised")
'';
}
);
}
// makeFormatTests [
{
name = "mp4";
file = "Videos/output.MP4";
# MP4 gets special treatment
customTest = ''
with subtest("lomiri gallery handles mp4"):
machine.succeed("xdotool mousemove 935 40 click 1") # open media information
machine.sleep(2)
machine.screenshot("lomiri-gallery_mp4_info")
machine.send_key("esc")
machine.sleep(2)
machine.wait_for_text("${imageLabel}") # make sure thumbnail processing worked
machine.screenshot("lomiri-gallery_mp4_thumbnail")
machine.succeed("xdotool mousemove 510 380 click 1") # dispatch to system's video handler
machine.wait_until_succeeds("pgrep -u root -f mpv") # wait for video to start
machine.sleep(10)
machine.succeed("pgrep -u root -f mpv") # should still be playing
machine.screenshot("lomiri-gallery_mp4_dispatch")
'';
}
{
name = "gif";
file = "Pictures/output.GIF";
buttonIsOffset = false;
}
{
name = "bmp";
file = "Pictures/output.BMP";
buttonIsOffset = true;
}
{
name = "jpg";
file = "Pictures/output.JPG";
buttonIsOffset = true;
}
{
name = "png";
file = "Pictures/output.PNG";
buttonIsOffset = true;
}
]
@@ -13148,6 +13148,19 @@ final: prev: {
meta.hydraPlatforms = [ ];
};
schema-companion-nvim = buildVimPlugin {
pname = "schema-companion.nvim";
version = "2025-06-05";
src = fetchFromGitHub {
owner = "cenk1cenk2";
repo = "schema-companion.nvim";
rev = "a39cbf5a31ae7aec71e5aaec5e6d409f22b05099";
sha256 = "1s0lqxz1rh4f7jspl45pa9981zwz0i0h9c4ml0zy55y926454339";
};
meta.homepage = "https://github.com/cenk1cenk2/schema-companion.nvim/";
meta.hydraPlatforms = [ ];
};
scnvim = buildVimPlugin {
pname = "scnvim";
version = "2025-01-29";
@@ -13500,6 +13513,19 @@ final: prev: {
meta.hydraPlatforms = [ ];
};
solarized-osaka-nvim = buildVimPlugin {
pname = "solarized-osaka.nvim";
version = "2025-04-19";
src = fetchFromGitHub {
owner = "craftzdog";
repo = "solarized-osaka.nvim";
rev = "f796014c14b1910e08d42cc2077fef34f08e0295";
sha256 = "0jy2hk4fc210jih30ybvisr9pliya1s3nazw4d131vh5k4p1xqi6";
};
meta.homepage = "https://github.com/craftzdog/solarized-osaka.nvim/";
meta.hydraPlatforms = [ ];
};
sonokai = buildVimPlugin {
pname = "sonokai";
version = "2025-04-16";
@@ -3011,6 +3011,10 @@ in
dependencies = [ self.plenary-nvim ];
};
schema-companion-nvim = super.schema-companion-nvim.overrideAttrs {
dependencies = [ self.plenary-nvim ];
};
scretch-nvim = super.scretch-nvim.overrideAttrs {
};
@@ -3094,6 +3098,15 @@ in
];
};
solarized-osaka-nvim = super.solarized-osaka-nvim.overrideAttrs {
checkInputs = [ self.fzf-lua ];
nvimSkipModules = [
# lua/solarized-osaka/extra/fzf.lua:55: color not found for header:FzfLuaTitle
"solarized-osaka.extra.fzf"
];
};
spaceman-nvim = super.spaceman-nvim.overrideAttrs {
# Optional telescope integration
nvimSkipModules = "spaceman.adapters.telescope";
@@ -1009,6 +1009,7 @@ https://github.com/hauleth/sad.vim/,,
https://github.com/vmware-archive/salt-vim/,,
https://github.com/samodostal/image.nvim/,HEAD,samodostal-image-nvim
https://github.com/lewis6991/satellite.nvim/,HEAD,
https://github.com/cenk1cenk2/schema-companion.nvim/,HEAD,
https://github.com/davidgranstrom/scnvim/,HEAD,
https://github.com/tiagovla/scope.nvim/,HEAD,
https://github.com/0xJohnnyboy/scretch.nvim/,HEAD,
@@ -1035,6 +1036,7 @@ https://github.com/folke/snacks.nvim/,HEAD,
https://github.com/camspiers/snap/,,
https://github.com/leath-dub/snipe.nvim/,HEAD,
https://github.com/norcalli/snippets.nvim/,,
https://github.com/craftzdog/solarized-osaka.nvim/,HEAD,
https://github.com/shaunsingh/solarized.nvim/,HEAD,
https://github.com/sainnhe/sonokai/,,
https://github.com/sQVe/sort.nvim/,HEAD,
@@ -9,6 +9,7 @@
intltool,
adwaita-icon-theme,
gdk-pixbuf,
libappindicator-gtk3,
}:
python3Packages.buildPythonApplication {
@@ -35,6 +36,7 @@ python3Packages.buildPythonApplication {
libnotify
adwaita-icon-theme
gdk-pixbuf
libappindicator-gtk3
];
propagatedBuildInputs = with python3Packages; [ pygobject3 ];
+3 -3
View File
@@ -6,15 +6,15 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-tally";
version = "1.0.64";
version = "1.0.65";
src = fetchCrate {
inherit pname version;
hash = "sha256-5eRDKGocAdK8jyDrbEOEQxS4ykneTDbDfXvVU/AH4f8=";
hash = "sha256-cvMB/hMq0LCfuXHX1Gg0c3i69T1uQWKIddUru5dcg7g=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-9p5IfGfOWyDanaUt1h6bnq4mDxp+VdU4scNdWGRiWYE=";
cargoHash = "sha256-ReVLeyQY08i1sH6IujeLK8y1+PfPm8BoYInzbTHHnlw=";
meta = {
description = "Graph the number of crates that depend on your crate over time";
+4 -4
View File
@@ -21,19 +21,19 @@
rustPlatform.buildRustPackage {
pname = "crosvm";
version = "0-unstable-2025-05-27";
version = "0-unstable-2025-06-06";
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
rev = "43034b2f649f987a8bbb7a757c5f9f761343cd57";
hash = "sha256-ez7ciW17SDAjrXWeld51jyHeKdLUTw0aOBSheFlH3q4=";
rev = "7083e31d219cdcd57866c70144e1b39ddc008f0f";
hash = "sha256-oZR4UcN8lDoqNoUFGLbIDDRO55noDX0xMWa8W0DbVl4=";
fetchSubmodules = true;
};
separateDebugInfo = true;
useFetchCargoVendor = true;
cargoHash = "sha256-ZagGHo1DxSR51rvt0SKO1grhvKth5CuxXiCT6rKqGGk=";
cargoHash = "sha256-3NcQQZCsR3ekPBbe/ai8ke3MxBy0ONg1TJO9qLSH7jM=";
nativeBuildInputs = [
pkg-config
+16 -18
View File
@@ -5,33 +5,31 @@
imagemagick,
}:
let
appimageTools.wrapAppImage rec {
pname = "chain-desktop-wallet";
version = "0.1.1";
version = "1.5.1";
src = fetchurl {
url = "https://github.com/crypto-com/${pname}/releases/download/v${version}/${pname}-${version}-x86_64.AppImage";
sha256 = "12076hf8dlz0hg1pb2ixwlslrh8gi6s1iawnvhnn6vz4jmjvq356";
src = appimageTools.extractType2 {
inherit pname version;
src = fetchurl {
url = "https://github.com/crypto-com/chain-desktop-wallet/releases/download/v${version}/Crypto.com-DeFi-Desktop-Wallet-${version}.AppImage";
hash = "sha256-dXJMU6abg31ZyETKl5Hh6fxn1Gd1FbSHGJh1z0R7XPM=";
};
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 rec {
inherit pname version src;
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
${imagemagick}/bin/convert ${appimageContents}/${pname}.png -resize 512x512 ${pname}_512.png
install -m 444 -D ${pname}_512.png $out/share/icons/hicolor/512x512/apps/${pname}.png
substituteInPlace $out/share/applications/${pname}.desktop \
--replace 'Exec=AppRun --no-sandbox %U' 'Exec=${pname} %U'
install -m 444 -D ${src}/chain-desktop-wallet.desktop $out/share/applications/chain-desktop-wallet.desktop
${imagemagick}/bin/magick ${src}/chain-desktop-wallet.png -resize 512x512 chain-desktop-wallet_512.png
install -m 444 -D chain-desktop-wallet_512.png $out/share/icons/hicolor/512x512/apps/chain-desktop-wallet.png
substituteInPlace $out/share/applications/chain-desktop-wallet.desktop \
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=chain-desktop-wallet %U"
'';
meta = with lib; {
meta = {
description = "Crypto.org Chain desktop wallet (Beta)";
homepage = "https://github.com/crypto-com/chain-desktop-wallet";
license = licenses.asl20;
maintainers = with maintainers; [ th0rgal ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ th0rgal ];
platforms = [ "x86_64-linux" ];
mainProgram = "chain-desktop-wallet";
};
+6 -6
View File
@@ -12,14 +12,14 @@
lxd-lts,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "dqlite";
version = "1.18.1";
src = fetchFromGitHub {
owner = "canonical";
repo = "dqlite";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-7ou077ozbpH21PcvEEcprr4UYJ/X398Ph9dh5C3YyBQ=";
};
@@ -55,14 +55,14 @@ stdenv.mkDerivation rec {
inherit lxd-lts;
};
meta = with lib; {
meta = {
description = ''
Expose a SQLite database over the network and replicate it across a
cluster of peers
'';
homepage = "https://dqlite.io/";
license = licenses.asl20;
license = lib.licenses.asl20;
maintainers = [ ];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}
})
+1 -1
View File
@@ -155,7 +155,7 @@ stdenv.mkDerivation (
changelog = "https://github.com/element-hq/element-desktop/blob/v${finalAttrs.version}/CHANGELOG.md";
license = licenses.asl20;
teams = [ teams.matrix ];
inherit (electron.meta) platforms;
platforms = electron.meta.platforms ++ lib.platforms.darwin;
mainProgram = "element-desktop";
};
}
+101 -101
View File
@@ -42,325 +42,325 @@ in
{
app-schema = mkGeoserverExtension {
name = "app-schema";
version = "2.27.0"; # app-schema
hash = "sha256-S7WtIbmn9RF0mmTRiOH5zFsjZ6y0mvVu0H8jKCdTPHM="; # app-schema
version = "2.27.1"; # app-schema
hash = "sha256-en9j/FhM7llsgvg26nIqqpt3wVJ9wtshkimMQ4bn1O4="; # app-schema
};
authkey = mkGeoserverExtension {
name = "authkey";
version = "2.27.0"; # authkey
hash = "sha256-GwA/f5wMf701TEs04Dgx/zcEA/jBHgw0JuJMKqTuRTU="; # authkey
version = "2.27.1"; # authkey
hash = "sha256-c2m5qfeeAlRoKl1ZgGzlURYivgUMh/22MBNXscKiRi8="; # authkey
};
cas = mkGeoserverExtension {
name = "cas";
version = "2.27.0"; # cas
hash = "sha256-poD8OBeR7txtM1nJDy5MV6GVREVonLvx3TUY3a1V2Mc="; # cas
version = "2.27.1"; # cas
hash = "sha256-42ePZ90vATFsTkT9e2XaKM2uR05K5xUYbmwFPyQR4xk="; # cas
};
charts = mkGeoserverExtension {
name = "charts";
version = "2.27.0"; # charts
hash = "sha256-8FoaN9EoFZ56YPev//IphMjce1iJQnMbP6xCdVSwMiU="; # charts
version = "2.27.1"; # charts
hash = "sha256-y2N7/ZnxeiP0cNtLXMzN0jSIAGc8t1QzSLD1wEVa/LY="; # charts
};
control-flow = mkGeoserverExtension {
name = "control-flow";
version = "2.27.0"; # control-flow
hash = "sha256-DyZp/dcRm/xuvxv49qvepcDJPyHGiG4wMbEzKNhNcH0="; # control-flow
version = "2.27.1"; # control-flow
hash = "sha256-/Vv2otkJuaPAHxs7bZZ4UkB5tXR7YLb2Qn0eA5wRJkk="; # control-flow
};
css = mkGeoserverExtension {
name = "css";
version = "2.27.0"; # css
hash = "sha256-PKRgGbDlTjrFkhrDpbjDjAl+Q/gjWXFw9C0QpKB8+Ro="; # css
version = "2.27.1"; # css
hash = "sha256-ZQtyljZuQdX7fS+4oGALXZBsscr8M6m1hgAN0EoBRVM="; # css
};
csw = mkGeoserverExtension {
name = "csw";
version = "2.27.0"; # csw
hash = "sha256-sddOghBd8OVjKmaF3PqM/G+RkpsUk6vmCZv7uQJTJnU="; # csw
version = "2.27.1"; # csw
hash = "sha256-P0PMs8JNxHXwPy610mYc9Fz6uO+LnYWm7fd8i2R3vTY="; # csw
};
csw-iso = mkGeoserverExtension {
name = "csw-iso";
version = "2.27.0"; # csw-iso
hash = "sha256-WVKVoQWIusgpAZUWPybBBIMbtWB56uNix3T50hy0x5w="; # csw-iso
version = "2.27.1"; # csw-iso
hash = "sha256-aQCFUTQeTx+RuBjXksq3guHQ+LIaA3RCSLv9XQ9BdtA="; # csw-iso
};
db2 = mkGeoserverExtension {
name = "db2";
version = "2.27.0"; # db2
hash = "sha256-jlyRGOGBFJ0+sArKXqchITlS6swE/v4ScdxPKWANFaE="; # db2
version = "2.27.1"; # db2
hash = "sha256-RO1IH1AZ3iiEHzx95ZC9+aqD7pB7lMQ0MQ8uHjfQLR4="; # db2
};
# Needs wps extension.
dxf = mkGeoserverExtension {
name = "dxf";
version = "2.27.0"; # dxf
hash = "sha256-hdn5X7T5/H7Ti0UK3MdG0TFGInwu7S7Z4VghcWx+hdQ="; # dxf
version = "2.27.1"; # dxf
hash = "sha256-DxQWW59+FslrmX601CffZabF+uZA+ujHVGmbwatQT9M="; # dxf
};
excel = mkGeoserverExtension {
name = "excel";
version = "2.27.0"; # excel
hash = "sha256-EH1TZeYPk+sb9+7ZfjbaEsNgQJ+/57XCc2+CvELsY88="; # excel
version = "2.27.1"; # excel
hash = "sha256-G6KBuBVxW879GffpKJVJgK2sO65S+zfUsKomXPBUejA="; # excel
};
feature-pregeneralized = mkGeoserverExtension {
name = "feature-pregeneralized";
version = "2.27.0"; # feature-pregeneralized
hash = "sha256-0389xo0NjTREGQLMrqJesl/XrFOrjFjjFBL7GSUMl/Y="; # feature-pregeneralized
version = "2.27.1"; # feature-pregeneralized
hash = "sha256-wbUZAWTSFDutmGUhkFI0Hl/WbZRb5sLet2FdZmxLeLM="; # feature-pregeneralized
};
# Note: The extension name ("gdal") clashes with pkgs.gdal.
gdal = mkGeoserverExtension {
name = "gdal";
version = "2.27.0"; # gdal
version = "2.27.1"; # gdal
buildInputs = [ pkgs.gdal ];
hash = "sha256-oTSEk+AmgXydSF4TZD9m5ViyeWh5HpAprMZAPMdP2LI="; # gdal
hash = "sha256-xw6DoOxImOLnmPxYMkaH4bKes0vVobzvT1IiDywq828="; # gdal
};
# Throws "java.io.FileNotFoundException: URL [jar:file:/nix/store/.../WEB-INF/lib/gs-geofence-server-2.24.1.jar!/geofence-default-override.properties] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/nix/store/.../WEB-INF/lib/gs-geofence-server-2.24.1.jar!/geofence-default-override.properties" but seems to work out of the box.
#geofence = mkGeoserverExtension {
# name = "geofence";
# version = "2.27.0"; # geofence
# hash = "sha256-P7ZHvC4qv1meziqPmBfOgQ+Y06Ico0N1trUi9LMZUJQ="; # geofence
# version = "2.27.1"; # geofence
# hash = "sha256-ccbCBCrb4zbZQ2eCDZo/FOT2IiUhruV62h7SrITdPdw="; # geofence
#};
#geofence-server = mkGeoserverExtension {
# name = "geofence-server";
# version = "2.27.0"; # geofence-server
# version = "2.27.1"; # geofence-server
# hash = ""; # geofence-server
#};
#geofence-wps = mkGeoserverExtension {
# name = "geofence-wps";
# version = "2.27.0"; # geofence-wps
# hash = "sha256-8Wvb/elunsYTFD1GgEQunM8i0eDyOA/W52KZ9+7uvvk="; # geofence-wps
# version = "2.27.1"; # geofence-wps
# hash = "sha256-k2z+xBUZw7cz/sPRjAEsKey6oqY1FzpaMGJcCm73kdg="; # geofence-wps
#};
geopkg-output = mkGeoserverExtension {
name = "geopkg-output";
version = "2.27.0"; # geopkg-output
hash = "sha256-VUqBTt0XfSY2Q8cfeCpVmr398PK+Sb74APSrBODJNlw="; # geopkg-output
version = "2.27.1"; # geopkg-output
hash = "sha256-wECoUeBJLh00hJHT/adz7YF8AraPl1rOd9GLL1BP5dU="; # geopkg-output
};
grib = mkGeoserverExtension {
name = "grib";
version = "2.27.0"; # grib
hash = "sha256-xX9LAgo5exeD2UxZ8/LROZWobLHLw33jcpwERGUGPys="; # grib
version = "2.27.1"; # grib
hash = "sha256-gu8sDIA46u0Uj9+lJJ65mn3FD6D+DjsTN8KbNUeoOP0="; # grib
buildInputs = [ netcdf ];
};
gwc-s3 = mkGeoserverExtension {
name = "gwc-s3";
version = "2.27.0"; # gwc-s3
hash = "sha256-/koF00Rki1xiY/g4ahhvFZNQxGnvIbbnqNmYHBqArBI="; # gwc-s3
version = "2.27.1"; # gwc-s3
hash = "sha256-UBy17pwwjDJFBIgUyQSThj3Kn1bber/pglsUr/h4d+Q="; # gwc-s3
};
h2 = mkGeoserverExtension {
name = "h2";
version = "2.27.0"; # h2
hash = "sha256-lfWu3812AMv0bB2dllNlcOSyN+IMASI/nkjLaStvUtw="; # h2
version = "2.27.1"; # h2
hash = "sha256-cXtc5OBAn3ppoGns6MvivgCYW841LJt1SPi5nNDE2O8="; # h2
};
iau = mkGeoserverExtension {
name = "iau";
version = "2.27.0"; # iau
hash = "sha256-9PhWejZILq1hcWBdvWh9SdtfLOlpFcaIU9TeJ8z7UUw="; # iau
version = "2.27.1"; # iau
hash = "sha256-77ULte2jCRN+gfd9/tOL26RX7EjKK6h5JaqQBR8TSI8="; # iau
};
importer = mkGeoserverExtension {
name = "importer";
version = "2.27.0"; # importer
hash = "sha256-oqlNcUkO7XlcI6QQF+44kt69ZWtPSdcpyuA5xGtVrAQ="; # importer
version = "2.27.1"; # importer
hash = "sha256-qrwMz7R/m/BtwNUcJV+mJu8pTNS+00EjWq/hMnF3/T0="; # importer
};
inspire = mkGeoserverExtension {
name = "inspire";
version = "2.27.0"; # inspire
hash = "sha256-irSJm3gDJAiDHczkS84OW+noOIryCOmSwiIU4GAKqoQ="; # inspire
version = "2.27.1"; # inspire
hash = "sha256-fjMkmAmq9BGsnwjUH8I/iCZveAPEYi9E9/R2WNg6rxo="; # inspire
};
# Needs Kakadu plugin from
# https://github.com/geosolutions-it/imageio-ext
#jp2k = mkGeoserverExtension {
# name = "jp2k";
# version = "2.27.0"; # jp2k
# hash = "sha256-WKWtNKv1sQrdrraCj9jmEODtIhCVF25HFbQNROdlyxg="; # jp2k
# version = "2.27.1"; # jp2k
# hash = "sha256-guNAdKOu32t0a648nuUjkt5bu17OKLAn6QXYeyAe1ZA="; # jp2k
#};
libjpeg-turbo = mkGeoserverExtension {
name = "libjpeg-turbo";
version = "2.27.0"; # libjpeg-turbo
hash = "sha256-tMov4w8Kfbrr7hkNK4o+XFUuenyidCem7Z36KXinfTE="; # libjpeg-turbo
version = "2.27.1"; # libjpeg-turbo
hash = "sha256-ZAIQJzzDNSgCX4BUchyRktobJkyLHgWYwfPz8B9vNTQ="; # libjpeg-turbo
buildInputs = [ libjpeg.out ];
};
mapml = mkGeoserverExtension {
name = "mapml";
version = "2.27.0"; # mapml
hash = "sha256-HONocKWnjkGqGRmtDxcJSwnDHwVouY6YeORRBjAbu4M="; # mapml
version = "2.27.1"; # mapml
hash = "sha256-znx6KjpTT109wG2wsTyvwKFcij29TVJ0cOkEIJw1D0g="; # mapml
};
mbstyle = mkGeoserverExtension {
name = "mbstyle";
version = "2.27.0"; # mbstyle
hash = "sha256-c1QijJj/WfbTxc4vM55lz+wx2PW4BY3tXneSM+3zXRA="; # mbstyle
version = "2.27.1"; # mbstyle
hash = "sha256-t2g9Pm1PsfbiP1UWHcZaILZQFeOxnKUMXGS1sJfQcVg="; # mbstyle
};
metadata = mkGeoserverExtension {
name = "metadata";
version = "2.27.0"; # metadata
hash = "sha256-5b9gtSzP9DOyhwoNdFVnv08WjlH+m0ZFPO+jqtbUJ1A="; # metadata
version = "2.27.1"; # metadata
hash = "sha256-DPD83rrjn8oPRXn28EFDgvxdhUtI3goPN2FpyPjyGks="; # metadata
};
mongodb = mkGeoserverExtension {
name = "mongodb";
version = "2.27.0"; # mongodb
hash = "sha256-Y9KQ7lqfCnPfTdPUzidi9wNZPeiTTqB+4lf5q7mSQ88="; # mongodb
version = "2.27.1"; # mongodb
hash = "sha256-lVaEOf91CKBYfI8QLXhERfQ+aWNTTok2DveiZlWygjQ="; # mongodb
};
monitor = mkGeoserverExtension {
name = "monitor";
version = "2.27.0"; # monitor
hash = "sha256-uAkOudY7yACJ9A+FxcKSDUhGiID+uTvBibCejFwEiT0="; # monitor
version = "2.27.1"; # monitor
hash = "sha256-goZz5+dxB787hjcoR/Cmo92mw+rhpoooETzxg8bQ4eE="; # monitor
};
mysql = mkGeoserverExtension {
name = "mysql";
version = "2.27.0"; # mysql
hash = "sha256-qA3l9gx4AuqqbPHfQkbvJNYfURrBSnmq4S4nEPrFpO4="; # mysql
version = "2.27.1"; # mysql
hash = "sha256-jn+zmnrJHWw6/OXCnEpoBPtUALhINjL42va1+eGXgeU="; # mysql
};
netcdf = mkGeoserverExtension {
name = "netcdf";
version = "2.27.0"; # netcdf
hash = "sha256-3pxGeIWcsBnJMdZjupOR/GmglxYWJp8KjJsmZSCRK00="; # netcdf
version = "2.27.1"; # netcdf
hash = "sha256-W/ICO05gBf5o6ZAc8vbxv9ZWd02m6AMQKqyimpVvRX8="; # netcdf
buildInputs = [ netcdf ];
};
netcdf-out = mkGeoserverExtension {
name = "netcdf-out";
version = "2.27.0"; # netcdf-out
hash = "sha256-GfwJqdoO1Z265OmfAvjoKy0/DLX8e06Mu58o4Zps4q0="; # netcdf-out
version = "2.27.1"; # netcdf-out
hash = "sha256-0l74QlXo3CwTja2DDx8fmD9DTJV3S6fdCi2r6oq6UwE="; # netcdf-out
buildInputs = [ netcdf ];
};
ogr-wfs = mkGeoserverExtension {
name = "ogr-wfs";
version = "2.27.0"; # ogr-wfs
version = "2.27.1"; # ogr-wfs
buildInputs = [ pkgs.gdal ];
hash = "sha256-FX3sojRnR6FQSFSK4n62w/lrPbHTdbLn9NtR2nE/3dU="; # ogr-wfs
hash = "sha256-UXTpC4vd/2lq2mRMaTEwiIb58NtnsM+PEX2F6hsCv3s="; # ogr-wfs
};
# Needs ogr-wfs extension.
ogr-wps = mkGeoserverExtension {
name = "ogr-wps";
version = "2.27.0"; # ogr-wps
version = "2.27.1"; # ogr-wps
# buildInputs = [ pkgs.gdal ];
hash = "sha256-Nb7rkbZPw85+EAcR+ist4iW16HVfsH9cSYwplHyO4RY="; # ogr-wps
hash = "sha256-GgVVGEBm7ci4Qxe+hNiIuGGOoJQRvaZE+NYKY0ZJlAQ="; # ogr-wps
};
oracle = mkGeoserverExtension {
name = "oracle";
version = "2.27.0"; # oracle
hash = "sha256-4KnZ48oKmgap3qZiJE4TSCQZpMvCQd4PULWponW5f1c="; # oracle
version = "2.27.1"; # oracle
hash = "sha256-7NH0XW+dZWIgJ8rwzNjCXLS2c4lCFg0FzNM8AD17Z3E="; # oracle
};
params-extractor = mkGeoserverExtension {
name = "params-extractor";
version = "2.27.0"; # params-extractor
hash = "sha256-0NnL87Cn/DcLXTnBJhgcGHNmC6SYKRc7TY+4r7VcYJQ="; # params-extractor
version = "2.27.1"; # params-extractor
hash = "sha256-Z3pM5Mt1RE1+aDfsjcMrx4u6SvUzOUQmrmfghCCQIYk="; # params-extractor
};
printing = mkGeoserverExtension {
name = "printing";
version = "2.27.0"; # printing
hash = "sha256-10uBc9ZI9M9m5vmKMXfB1TieJBr7cx/SeD1AiXNVJo8="; # printing
version = "2.27.1"; # printing
hash = "sha256-/kkUQpARHi2J/+4Tc9z7pVGLhnwbrlxOxiUlbg646KQ="; # printing
};
pyramid = mkGeoserverExtension {
name = "pyramid";
version = "2.27.0"; # pyramid
hash = "sha256-K38fYjM0Oh+FHT5Wadjuc3KIhFP2x5q5cxW5aucZNNw="; # pyramid
version = "2.27.1"; # pyramid
hash = "sha256-b4ZZNXHOgywXkPwTWBANyl0r1bok4bybusI0tKZ7rY8="; # pyramid
};
querylayer = mkGeoserverExtension {
name = "querylayer";
version = "2.27.0"; # querylayer
hash = "sha256-5OPfTUB0d08jWjxWd77BxffZgx+eM5eJX9bX0kt/WpM="; # querylayer
version = "2.27.1"; # querylayer
hash = "sha256-8leo1ZtrYbN9XISJLVZvOF34arOEnh0Y8CIeWih8XOE="; # querylayer
};
sldservice = mkGeoserverExtension {
name = "sldservice";
version = "2.27.0"; # sldservice
hash = "sha256-rWIbWCsX4Hkank0L02sluTF137Y6Pex15Gobiwv2pNM="; # sldservice
version = "2.27.1"; # sldservice
hash = "sha256-nKG1/+NwmTaardqZAhB4A1QV6bPxc30jW9Ip/q2vUJ0="; # sldservice
};
sqlserver = mkGeoserverExtension {
name = "sqlserver";
version = "2.27.0"; # sqlserver
hash = "sha256-ghf3z9b586RUgvicyOXlW2K8Uq9TolRb7CrcKT1Jt1M="; # sqlserver
version = "2.27.1"; # sqlserver
hash = "sha256-aqQf7NwUPnNn9Byu8YmbMnsU3n3aq832rvXbvicQsrM="; # sqlserver
};
vectortiles = mkGeoserverExtension {
name = "vectortiles";
version = "2.27.0"; # vectortiles
hash = "sha256-ho/Vp1cFq2/xY9fIaQUR+vBQ6Vfdf+Z2eYvL7eI1qMY="; # vectortiles
version = "2.27.1"; # vectortiles
hash = "sha256-8nITeBDeFX6bDx+2Sn4yHfb333XUdNGPV6I883nZLV0="; # vectortiles
};
wcs2_0-eo = mkGeoserverExtension {
name = "wcs2_0-eo";
version = "2.27.0"; # wcs2_0-eo
hash = "sha256-GcoOT3JNQPUN8ETX4spJXteJvbNM9+YO85FH+dw3oSg="; # wcs2_0-eo
version = "2.27.1"; # wcs2_0-eo
hash = "sha256-y3QOWFmYW+dxIAAlolcotJ0oNulRIJKvLeQqSTZKq/w="; # wcs2_0-eo
};
web-resource = mkGeoserverExtension {
name = "web-resource";
version = "2.27.0"; # web-resource
hash = "sha256-4TGt9MklLWbJexY7kjT+ijIX/V4OLw7U6mDkBoVXuwk="; # web-resource
version = "2.27.1"; # web-resource
hash = "sha256-hfP/qnb4isWg4eoxfBCDpiLS4GBG/ysrGBE6HVbglMg="; # web-resource
};
wmts-multi-dimensional = mkGeoserverExtension {
name = "wmts-multi-dimensional";
version = "2.27.0"; # wmts-multi-dimensional
hash = "sha256-8I3XbAToqTgwf4y+C3ulAhCY7axyS739GV4+jxwO33g="; # wmts-multi-dimensional
version = "2.27.1"; # wmts-multi-dimensional
hash = "sha256-/KfE5dLvbSeMn/w7NYKQtUIY/Wb1oWeLvdMEqgrNAhg="; # wmts-multi-dimensional
};
wps = mkGeoserverExtension {
name = "wps";
version = "2.27.0"; # wps
hash = "sha256-9OrjyVaf9JzDPXyqHqqg51aAllhcAf4bOvQQyV1dHpI="; # wps
version = "2.27.1"; # wps
hash = "sha256-rsBUWUthRrBkSNIzZZZzIy56bsJYt9zy3cIzWQVHVGc="; # wps
};
# Needs hazelcast (https://github.com/hazelcast/hazelcast (?)) which is not
# available in nixpgs as of 2024/01.
#wps-cluster-hazelcast = mkGeoserverExtension {
# name = "wps-cluster-hazelcast";
# version = "2.27.0"; # wps-cluster-hazelcast
# hash = "sha256-amHfS5eBRoiMdj3wJzRNg9krYo5DJrCvCvhtj/Z9mUw="; # wps-cluster-hazelcast
# version = "2.27.1"; # wps-cluster-hazelcast
# hash = "sha256-W0hIz/Bx/x0ATLhcljSWa9/qzltt3FKlWyxub4Lnsx0="; # wps-cluster-hazelcast
#};
wps-download = mkGeoserverExtension {
name = "wps-download";
version = "2.27.0"; # wps-download
hash = "sha256-vQpSGiOUh9N4PDQ4w/mTNjooz0lYDXwwRpZsq9VhEMA="; # wps-download
version = "2.27.1"; # wps-download
hash = "sha256-gt3u/zm8ME99d7zJV1EHQQYjC1IZyG7f5pV+Zt2XeJU="; # wps-download
};
# Needs Postrgres configuration or similar.
# See https://docs.geoserver.org/main/en/user/extensions/wps-jdbc/index.html
wps-jdbc = mkGeoserverExtension {
name = "wps-jdbc";
version = "2.27.0"; # wps-jdbc
hash = "sha256-YWBOLL3X6Ztv+9EWmHKd5N020+qkVNtXXbObSlBhp2s="; # wps-jdbc
version = "2.27.1"; # wps-jdbc
hash = "sha256-5RtViHAgqAtnHQolqGMC7QYgnwQmn/sO4WdUx2gyxe8="; # wps-jdbc
};
ysld = mkGeoserverExtension {
name = "ysld";
version = "2.27.0"; # ysld
hash = "sha256-fPF4LM0WC4YaAMnPhz3A/XXOoMu+v8TsO6XIcXHWRi4="; # ysld
version = "2.27.1"; # ysld
hash = "sha256-DvQ8b6ODmU09Qixwe14wze92ktWyt54+zaEMfXjiEko="; # ysld
};
}
+8 -14
View File
@@ -10,20 +10,14 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "geoserver";
version = "2.27.0";
version = "2.27.1";
src = fetchurl {
url = "mirror://sourceforge/geoserver/GeoServer/${finalAttrs.version}/geoserver-${finalAttrs.version}-bin.zip";
hash = "sha256-bhL+u+BoKgW2cwOXEzaq0h07dKFz9u9WB2jW8nAF0vI=";
hash = "sha256-7IrnznWa5NI/2gFHVTRQ0IerOkodStbr0aGpKPpeLQk=";
};
sourceRoot = "source";
unpackPhase = ''
runHook preUnpack
unzip $src -d "$sourceRoot"
runHook postUnpack
'';
sourceRoot = ".";
patches = [
# set GEOSERVER_DATA_DIR to current working directory if not provided
@@ -92,12 +86,12 @@ stdenv.mkDerivation (finalAttrs: {
updateScript = ./update.sh;
};
meta = with lib; {
meta = {
description = "Open source server for sharing geospatial data";
homepage = "https://geoserver.org/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl2Plus;
teams = [ teams.geospatial ];
platforms = platforms.all;
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
license = lib.licenses.gpl2Plus;
teams = [ lib.teams.geospatial ];
platforms = lib.platforms.all;
};
})
+3 -3
View File
@@ -7,16 +7,16 @@
buildGoModule rec {
pname = "greenmask";
version = "0.2.11";
version = "0.2.12";
src = fetchFromGitHub {
owner = "GreenmaskIO";
repo = "greenmask";
tag = "v${version}";
hash = "sha256-KHM/r4zDJrZMIC7+Kp+98xhV5r4zkpxc1ffqf0jgnLs=";
hash = "sha256-Tgr6olU8EBiiHX4fNOL6EXdrFs2eckFk4ooBBoxc+ms=";
};
vendorHash = "sha256-g3/WuLDb4mAzklT+nxQ1U/l+JDzSubENMB5hWjIaIIU=";
vendorHash = "sha256-t2U65GAGBGdMRXPTkCQCuXfLuqohA6erTlvAN/xx/ek=";
subPackages = [ "cmd/greenmask/" ];
+5 -3
View File
@@ -11,21 +11,21 @@
}:
python3Packages.buildPythonApplication rec {
pname = "harlequin";
version = "2.0.0";
version = "2.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "tconbeer";
repo = "harlequin";
tag = "v${version}";
hash = "sha256-IUzN+rWL69TUUS9npcmfSAPqy/8SYNusNAN/muCMqNI=";
hash = "sha256-uHzhAI8ppp6aoveMPcLCQX2slhbor5Qy+IoTui+RP7M=";
};
pythonRelaxDeps = [
"numpy"
"pyarrow"
"textual"
"syrupy"
"tree-sitter-sql"
];
build-system = with python3Packages; [ poetry-core ];
@@ -41,6 +41,7 @@ python3Packages.buildPythonApplication rec {
numpy
packaging
platformdirs
pyarrow
questionary
rich-click
sqlfmt
@@ -48,6 +49,7 @@ python3Packages.buildPythonApplication rec {
textual-fastdatatable
textual-textarea
tomlkit
tree-sitter-sql
]
++ lib.optionals withPostgresAdapter [ harlequin-postgres ]
++ lib.optionals withBigQueryAdapter [ harlequin-bigquery ];
+2 -2
View File
@@ -6,10 +6,10 @@
}:
let
pname = "hydralauncher";
version = "3.5.2";
version = "3.6.0";
src = fetchurl {
url = "https://github.com/hydralauncher/hydra/releases/download/v${version}/hydralauncher-${version}.AppImage";
hash = "sha256-B1eo/t6HEy+C+5yBLySXToDFPoZb1UeQshZTZ6KiibA=";
hash = "sha256-7qXVBS4HTLdvmMfyhE5EoHblovqKmIJuh7FSl5lo224=";
};
appimageContents = appimageTools.extractType2 { inherit pname src version; };
+7 -5
View File
@@ -1,6 +1,6 @@
{
lib,
stdenv,
gccStdenv,
fetchFromGitHub,
cmake,
expat,
@@ -39,7 +39,7 @@
pkg-config,
}:
stdenv.mkDerivation (finalAttrs: {
gccStdenv.mkDerivation (finalAttrs: {
pname = "icewm";
version = "3.7.5";
@@ -99,13 +99,15 @@ stdenv.mkDerivation (finalAttrs: {
"-DCFGDIR=/etc/icewm"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString gccStdenv.hostPlatform.isDarwin "-D_DARWIN_C_SOURCE";
# install legacy themes
postInstall = ''
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} \
$out/share/icewm/themes/
'';
meta = with lib; {
meta = {
homepage = "https://ice-wm.org/";
description = "Simple, lightweight X window manager";
longDescription = ''
@@ -121,8 +123,8 @@ stdenv.mkDerivation (finalAttrs: {
optional external background wallpaper manager with transparency support,
a simple session manager and a system tray.
'';
license = licenses.lgpl2Only;
license = lib.licenses.lgpl2Only;
maintainers = [ ];
platforms = platforms.linux;
platforms = lib.platforms.unix;
};
})
+3 -3
View File
@@ -7,16 +7,16 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "just-lsp";
version = "0.2.2";
version = "0.2.3";
src = fetchFromGitHub {
owner = "terror";
repo = "just-lsp";
tag = finalAttrs.version;
hash = "sha256-lR3VtPS96gPUj4OVZLeQSHnss22hBTRBLUV8n2Y3E9M=";
hash = "sha256-1XxC09Q9UGKRzMb51mUjmTJd7vEp0FFqtUD/9cQZvC0=";
};
cargoHash = "sha256-eDjUYB5AN56hxolizw0KYb0Z/k28OWOUYOxhB/5pKV0=";
cargoHash = "sha256-mc1kYXfEF+oZO/GEBtCnKwt17LhvGDQK8RcOSsXKFjc=";
passthru = {
updateScript = nix-update-script { };
+1299
View File
File diff suppressed because it is too large Load Diff
+12 -11
View File
@@ -1,31 +1,32 @@
{
lib,
buildGoModule,
rustPlatform,
fetchFromGitHub,
}:
buildGoModule rec {
rustPlatform.buildRustPackage rec {
pname = "jwt-hack";
version = "1.2.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "hahwul";
repo = "jwt-hack";
tag = "v${version}";
hash = "sha256-IHR+ItI4ToINLpkVc7yrgpNTS17nD02G6x3pNMEfIW4=";
hash = "sha256-uJur/ABoAaQT3BBO2yprK/0/bQPT138Yg9IbztZ6w2w=";
};
vendorHash = "sha256-YEH+epSvyy1j0s8AIJ5+BdF47H7KqgBRC4t81noOkjo=";
cargoLock = {
lockFile = ./Cargo.lock;
};
ldflags = [
"-w"
"-s"
];
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
meta = {
description = "Tool for attacking JWT";
description = "JSON Web Token Hack Toolkit";
homepage = "https://github.com/hahwul/jwt-hack";
changelog = "https://github.com/hahwul/jwt-hack/releases/tag/v${version}";
changelog = "https://github.com/hahwul/jwt-hack/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "jwt-hack";
@@ -5,33 +5,21 @@
cmake,
extra-cmake-modules,
pkg-config,
wrapQtAppsHook,
qtbase,
qttools,
qtmultimedia,
qtlocation,
qqc2-desktop-style,
kirigami-addons,
kirigami,
kio,
knotifications,
kquickimageedit,
kdePackages,
zxing-cpp,
qxmpp,
sonnet,
gst_all_1,
prison,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "kaidan";
version = "0.11.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "network";
repo = pname;
rev = "v${version}";
repo = "kaidan";
rev = "v${finalAttrs.version}";
hash = "sha256-8pC4vINeKSYY+LlVgCXUtBq9UjraPdTikBOwLBLeQ3Y=";
};
@@ -39,34 +27,34 @@ stdenv.mkDerivation rec {
cmake
extra-cmake-modules
pkg-config
wrapQtAppsHook
kdePackages.wrapQtAppsHook
];
buildInputs = with gst_all_1; [
qtbase
qttools
qtmultimedia
qtlocation
qqc2-desktop-style
kirigami-addons
kirigami
kio
knotifications
kquickimageedit
buildInputs = [
kdePackages.kio
kdePackages.kirigami
kdePackages.kirigami-addons
kdePackages.knotifications
kdePackages.kquickimageedit
kdePackages.prison
kdePackages.qtbase
kdePackages.qttools
kdePackages.qtmultimedia
kdePackages.qtlocation
kdePackages.qqc2-desktop-style
kdePackages.sonnet
zxing-cpp
qxmpp
sonnet
gstreamer
gst-plugins-bad
gst-plugins-base
(gst-plugins-good.override { qt6Support = true; })
prison
gst_all_1.gstreamer
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-base
(gst_all_1.gst-plugins-good.override { qt6Support = true; })
];
postInstall = ''
qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
'';
meta = with lib; {
meta = {
description = "User-friendly and modern chat app, using XMPP";
mainProgram = "kaidan";
longDescription = ''
@@ -79,13 +67,13 @@ stdenv.mkDerivation rec {
messages, and file sharing.
'';
homepage = "https://www.kaidan.im";
license = with licenses; [
license = with lib.licenses; [
gpl3Plus
mit
asl20
cc-by-sa-40
];
maintainers = with maintainers; [ astro ];
platforms = with platforms; linux;
maintainers = with lib.maintainers; [ astro ];
platforms = with lib.platforms; linux;
};
}
})
@@ -8,11 +8,11 @@
let
pname = "ledger-live-desktop";
version = "2.113.2";
version = "2.115.1";
src = fetchurl {
url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage";
hash = "sha256-jJvIncD1vGZ2t0Rpl42AoVGKPlLGhMsoU91//rxOWnw=";
hash = "sha256-JLX1EbtrvkQPLGXlvn2pv1p1nT2mJ/yng4VumxV2z6E=";
};
appimageContents = appimageTools.extractType2 {
+2 -2
View File
@@ -9,13 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "lib60870";
version = "2.3.5";
version = "2.3.6";
src = fetchFromGitHub {
owner = "mz-automation";
repo = "lib60870";
rev = "v${finalAttrs.version}";
hash = "sha256-TjphTBBGjzbevUR0N1GHK/nic1pAdjWeiqxEMLozQOc=";
hash = "sha256-9VqLl1pDmi8TauBA8uCyymzsYd3w4b5AKtqH7XW80N4=";
};
sourceRoot = "${finalAttrs.src.name}/lib60870-C";
+2 -2
View File
@@ -72,13 +72,13 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
pname = "llama-cpp";
version = "5535";
version = "5608";
src = fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = "b${finalAttrs.version}";
hash = "sha256-n6h4aiszPU7/JV3btPQEJBHeR/YrzVqOzNFAXNPSEAg=";
hash = "sha256-q3jw/x9GSI2Yp0DSM53g/jMuTeVakLfY9VsoJxq9who=";
leaveDotGit = true;
postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT
+3 -3
View File
@@ -18,13 +18,13 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "nh";
version = "4.1.0";
version = "4.1.2";
src = fetchFromGitHub {
owner = "nix-community";
repo = "nh";
tag = "v${finalAttrs.version}";
hash = "sha256-OiuhBrJe1AyVxC+AV4HMJ+vhDvUfCyLpBmj+Fy7MDtM=";
hash = "sha256-v02NsZ589zzPq5xsCxyrG1/ZkFbbMkUthly50QdmYKo=";
};
strictDeps = true;
@@ -55,7 +55,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
'';
useFetchCargoVendor = true;
cargoHash = "sha256-/tbmzGUd1b4oa+29+eFdkE4l8vxMoIdHx40YgErY9pY=";
cargoHash = "sha256-R2S0gbT3DD/Dtx8edqhD0fpDqe8AJgyLmlPoNEKm4BA=";
passthru.updateScript = nix-update-script { };
+2 -2
View File
@@ -20,13 +20,13 @@
stdenvNoCC.mkDerivation rec {
pname = "noto-fonts${suffix}";
version = "2025.05.01";
version = "2025.06.01";
src = fetchFromGitHub {
owner = "notofonts";
repo = "notofonts.github.io";
rev = "noto-monthly-release-${version}";
hash = "sha256-voOizeGK7fU2bGLoNBhdNIfleDCu84nFiEHo5lCIye4=";
hash = "sha256-6lbNJjkf6lnPPZzHO3vtsXEuPQs6ewslgnQIeDhF2yk=";
};
outputs = [
+2 -2
View File
@@ -10,11 +10,11 @@
}:
stdenv.mkDerivation rec {
pname = "nzbhydra2";
version = "7.13.2";
version = "7.14.1";
src = fetchzip {
url = "https://github.com/theotherp/nzbhydra2/releases/download/v${version}/nzbhydra2-${version}-generic.zip";
hash = "sha256-l2BBbNW6Yy6oFXYNhqKNscBg7x/vNJNh7LD+AbXDdd4=";
hash = "sha256-bHpL25GTTvLCZraRm4Yw7MsuV/yAUnwZo9rkGrWp1C0=";
stripRoot = false;
};
+2 -2
View File
@@ -14,13 +14,13 @@ assert
buildGoModule rec {
pname = "opa-envoy-plugin";
version = "1.4.2-envoy";
version = "1.5.1-envoy";
src = fetchFromGitHub {
owner = "open-policy-agent";
repo = "opa-envoy-plugin";
tag = "v${version}";
hash = "sha256-DRW9VaxKd+MRcC3Ay7f9sblWTY9/RUNfH76LgPEhTas=";
hash = "sha256-rctYzH47R3vFk/Xl9YwTrTHU6K1pZ3QcimH1JfDecDs=";
};
vendorHash = null;
+5 -5
View File
@@ -26,13 +26,13 @@
xorg,
}:
let
version = "2.16.2";
version = "2.16.3";
src = fetchFromGitHub {
owner = "paperless-ngx";
repo = "paperless-ngx";
tag = "v${version}";
hash = "sha256-w6VS3m661EvLGk1lVbTAYNzwVgXjvegn0KByGDBFjz0=";
hash = "sha256-mtzr/rRzcYcZl9tUkhxEKoFQWm1QTToOYZJXhynwDmk=";
};
python = python3.override {
@@ -69,7 +69,7 @@ let
pnpmDeps = pnpm.fetchDeps {
inherit pname version src;
hash = "sha256-tSBpZ+1aPLUI0SKpOyKo+OLsJZiyDCxRb+5hKMPrxL8=";
hash = "sha256-Z7c+AstVnxbPnEhc51qSqOYhRXqNJVwTvgHFcFp+pYg=";
};
nativeBuildInputs =
@@ -134,8 +134,8 @@ python.pkgs.buildPythonApplication rec {
postPatch = ''
# pytest-xdist with to many threads makes the tests flaky
if (( $NIX_BUILD_CORES > 4)); then
NIX_BUILD_CORES=4
if (( $NIX_BUILD_CORES > 3)); then
NIX_BUILD_CORES=3
fi
substituteInPlace pyproject.toml \
--replace-fail '"--numprocesses=auto",' "" \
+2 -2
View File
@@ -12,13 +12,13 @@
buildDotnetModule rec {
pname = "Pinta";
version = "3.0";
version = "3.0.1";
src = fetchFromGitHub {
owner = "PintaProject";
repo = "Pinta";
rev = version;
hash = "sha256-87uzUIgivBI2W+vJV/LflxJoUPJCW5SlodwcC1pSOUk=";
hash = "sha256-TU4WBrWnhTQQM+OrBq9hpvrihittKTSS0Zo5laL98mE=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -21,14 +21,14 @@ let
in
py.pkgs.buildPythonApplication rec {
pname = "prowler";
version = "5.7.2";
version = "5.7.3";
pyproject = true;
src = fetchFromGitHub {
owner = "prowler-cloud";
repo = "prowler";
tag = version;
hash = "sha256-yVUZsH/hLl/VCbLdaMujIl6NT6FzgkPfhpcOrQMcHGk=";
hash = "sha256-b7tgSvX9o6lJZp5uKXBCn8g+RowgsTDDRYaJ8UmGX74=";
};
pythonRelaxDeps = true;
+2 -2
View File
@@ -10,7 +10,7 @@
copyDesktopItems,
}:
let
version = "2.63.0";
version = "2.63.1";
in
python3Packages.buildPythonApplication rec {
inherit version;
@@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
owner = "pyfa-org";
repo = "Pyfa";
tag = "v${version}";
hash = "sha256-2GLfI3NvhxsnxlApjRM+X+QoqkB8GE1WOgGibvK1k7M=";
hash = "sha256-kpTJ7cgS/W0mUtplERiEYJA+FszPILCI+0AVbk6MVAA=";
};
desktopItems = [
+2 -2
View File
@@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "quark-engine";
version = "25.5.1";
version = "25.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "quark-engine";
repo = "quark-engine";
tag = "v${version}";
hash = "sha256-gu9W8+LyJHEqvn7Mrvjn7XjDjObAh8zRchNbTNWkT1M=";
hash = "sha256-DAD37fzswY3c0d+ubOCYImxs4qyD4fhC3m2l0iD977A=";
};
build-system = with python3.pkgs; [ setuptools ];
+3 -3
View File
@@ -15,13 +15,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "renovate";
version = "40.33.1";
version = "40.48.0";
src = fetchFromGitHub {
owner = "renovatebot";
repo = "renovate";
tag = finalAttrs.version;
hash = "sha256-W2FoiU48rJr6o7HQW9MFNr92sag4QUGaRLbtMeM5418=";
hash = "sha256-SZKa1jIK5FIh8t/aH2o3kgSfqgNR9+rk7GzMX0Fs2dk=";
};
postPatch = ''
@@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_10.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-NEqgX3OHy9kbIhdaHiR7C7wGHZKe35it5G7kOro5RPQ=";
hash = "sha256-BjMJzITAeUspL0a/ZfhejmOdEVi6pBHD6BmQt2WIE1I=";
};
env.COREPACK_ENABLE_STRICT = 0;
+89
View File
@@ -0,0 +1,89 @@
{
lib,
flutter329,
fetchFromGitHub,
autoPatchelfHook,
copyDesktopItems,
makeDesktopItem,
runCommand,
yq,
server-box,
_experimental-update-script-combinators,
gitUpdater,
}:
flutter329.buildFlutterApplication {
pname = "server-box";
version = "1.0.1130-unstable-2025-04-25";
src = fetchFromGitHub {
owner = "lollipopkit";
repo = "flutter_server_box";
rev = "8f09085cf30f9b48209c7c3c1e9dceac5aa5eeeb";
hash = "sha256-D2FzL34FV+7FnxyEVi/Rm2qO3c9eQmCjlH/4pMWlU5s=";
};
pubspecLock = lib.importJSON ./pubspec.lock.json;
gitHashes = {
circle_chart = "sha256-BcnL/hRf+Yv2U8Nkl7pc8BtncBW+M2by86jO5IbFIRk=";
computer = "sha256-qaD6jn78zDyZBktwJ4WTQa8oCvCWQJOBDaozBVsXNb8=";
dartssh2 = "sha256-bS916CwUuOKhRyymtmvMxt7vGXmlyiLep4AZsxRJ6iU=";
fl_build = "sha256-CSKe2yEIisftM0q79HbDTghShirWg02zi9v+hD5R57g=";
fl_lib = "sha256-+eHUpn89BI7k/MbCp09gUWGMlqLBrxOy9PgL9uXnkDI=";
plain_notification_token = "sha256-Cy1/S8bAtKCBnjfDEeW4Q2nP4jtwyCstAC1GH1efu8I=";
watch_connectivity = "sha256-9TyuElr0PNoiUvbSTOakdw1/QwWp6J2GAwzVHsgYWtM=";
xterm = "sha256-LTCMaGVqehL+wFSzWd63KeTBjjU4xCyuhfD9QmQaP0Q=";
};
nativeBuildInputs = [
copyDesktopItems
autoPatchelfHook
];
desktopItems = [
(makeDesktopItem {
name = "server-box";
exec = "server-box";
icon = "server-box";
genericName = "ServerBox";
desktopName = "ServerBox";
categories = [ "Utility" ];
keywords = [
"server"
"ssh"
"sftp"
"system"
];
})
];
postInstall = ''
install -Dm0644 assets/app_icon.png $out/share/pixmaps/server-box.png
'';
passthru = {
pubspecSource =
runCommand "pubspec.lock.json"
{
nativeBuildInputs = [ yq ];
inherit (server-box) src;
}
''
cat $src/pubspec.lock | yq > $out
'';
updateScript = _experimental-update-script-combinators.sequence [
(gitUpdater { rev-prefix = "v"; })
(_experimental-update-script-combinators.copyAttrOutputToFile "server-box.pubspecSource" ./pubspec.lock.json)
];
};
meta = {
description = "Server status & toolbox";
homepage = "https://github.com/lollipopkit/flutter_server_box";
mainProgram = "ServerBox";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ emaryn ];
};
}
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -16,17 +16,17 @@
maven.buildMavenPackage rec {
pname = "sonarlint-ls";
version = "3.22.0.76129";
version = "3.23.0.76182";
src = fetchFromGitHub {
owner = "SonarSource";
repo = "sonarlint-language-server";
rev = version;
hash = "sha256-W0X22akE8hDQcuJLq4BXsAKebMb/jDvoG1i3jkA7QaM=";
hash = "sha256-kN2AR3SP/SZnD7uEDaQkzg9l4lNvBNtX7Q2HV9/fk+0=";
};
mvnJdk = jdk17;
mvnHash = "sha256-7EXa/A5E8/spd4QrBMSgKyKpnA561NstpjCHbC1EBu4=";
mvnHash = "sha256-mQc13HVgDK5V08BGB79RMVfMwlagPXGRIB72JfnQRes=";
# Disables failing tests which either need network access or are flaky.
mvnParameters = lib.escapeShellArgs [
+3 -3
View File
@@ -6,11 +6,11 @@
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "soundsource";
version = "5.8.2";
version = "5.8.3";
src = fetchurl {
url = "https://web.archive.org/web/20250424131232/https://cdn.rogueamoeba.com/soundsource/download/SoundSource.zip";
hash = "sha256-RilL2nD0pUQKCb63uip7q9kmsKVXvEPcT+GUfZKtKNM=";
url = "https://web.archive.org/web/20250601123927/https://cdn.rogueamoeba.com/soundsource/download/SoundSource.zip";
hash = "sha256-tomlsji65xVPTqX36UKf7S04M1iBxsXVJFEFqWPgBac=";
};
dontUnpack = true;
+49
View File
@@ -0,0 +1,49 @@
{
lib,
python3Packages,
fetchFromGitHub,
versionCheckHook,
}:
python3Packages.buildPythonApplication rec {
pname = "submit50";
version = "3.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cs50";
repo = "submit50";
tag = "v${version}";
hash = "sha256-i1hO9P3FGamo4b733/U7d2fiWLdnTskrHM2BXxxDePc=";
};
build-system = [
python3Packages.setuptools
];
dependencies = with python3Packages; [
lib50
packaging
pytz
requests
termcolor
];
pythonImportsCheck = [ "submit50" ];
nativeCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
# no python tests
meta = {
description = "Tool for submitting student CS50 code";
homepage = "https://cs50.readthedocs.io/submit50/";
downloadPage = "https://github.com/cs50/submit50";
changelog = "https://github.com/cs50/submit50/releases/tag/v${version}";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ethancedwards8 ];
mainProgram = "submit50";
};
}
+2 -2
View File
@@ -35,7 +35,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "sway-unwrapped";
version = "1.10.1";
version = "1.11";
inherit
enableXWayland
@@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "swaywm";
repo = "sway";
rev = finalAttrs.version;
hash = "sha256-uBtQk8uhW/i8lSbv6zwsRyiiImFBw1YCQHVWQ8jot5w=";
hash = "sha256-xMrexVDpgkGnvAAglshsh7HjvcbU2/Q6JLUd5J487qg=";
};
patches =
+3 -3
View File
@@ -31,13 +31,13 @@ let
in
buildGoModule rec {
pname = "telepresence2";
version = "2.22.4";
version = "2.22.6";
src = fetchFromGitHub {
owner = "telepresenceio";
repo = "telepresence";
rev = "v${version}";
hash = "sha256-ECuu6uMsY5vZVrMJknnd5IH0BZ2yVBTKIIC/Q8RARs8=";
hash = "sha256-YM6+vXPnkI02VwKOxzk1etpGskTjyzRmy3ro3/XXMhA=";
};
propagatedBuildInputs = [
@@ -51,7 +51,7 @@ buildGoModule rec {
export CGO_ENABLED=0
'';
vendorHash = "sha256-+l+Dtyq+9u+Lc6yF++KnX2DixVVfPX+oFUn3lq6B/1U=";
vendorHash = "sha256-tP6SepFccR35vIM6mbmyb7QumpJM34gX5DAQazTQjkM=";
ldflags = [
"-s"
+3 -3
View File
@@ -7,17 +7,17 @@
buildGoModule (finalAttrs: {
pname = "vacuum-go";
version = "0.16.13";
version = "0.17.0";
src = fetchFromGitHub {
owner = "daveshanley";
repo = "vacuum";
# using refs/tags because simple version gives: 'the given path has multiple possibilities' error
tag = "v${finalAttrs.version}";
hash = "sha256-S4YhPXPSB60infsjkI1GdPrBYb0bXoj0+rc9GINuh3Y=";
hash = "sha256-IpJI+RD5TNsYaZhf3U/VD2CqW5ebutKvZRUOrwD2rGU=";
};
vendorHash = "sha256-rzJtYxnRWtSmMPeKEbBy6I2DFEOLEJ1Uj+nPpTKIDhw=";
vendorHash = "sha256-4cYG8ilWSI+bSoEBpohN6Fr3kmsBUNmbz0iyHmiCDgw=";
env.CGO_ENABLED = 0;
ldflags = [
@@ -1,12 +1,12 @@
diff --git a/src/main/index.ts b/src/main/index.ts
index 2e0d6f7..1108c0f 100644
index 37fd471..d0a9e56 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -20,7 +20,6 @@ import { isDeckGameMode } from "./utils/steamOS";
if (IS_DEV) {
require("source-map-support").install();
} else {
@@ -18,7 +18,6 @@ import { Settings, State } from "./settings";
import { isDeckGameMode } from "./utils/steamOS";
if (!IS_DEV) {
- autoUpdater.checkForUpdatesAndNotify();
}
// Make the Vencord files use our DATA_DIR
console.log("Vesktop v" + app.getVersion());
+3 -3
View File
@@ -24,13 +24,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "vesktop";
version = "1.5.6";
version = "1.5.7";
src = fetchFromGitHub {
owner = "Vencord";
repo = "Vesktop";
rev = "v${finalAttrs.version}";
hash = "sha256-hY707k3kpfbDaRsLisVQFUeWgsxkYJ29GTdQtdeC0X4=";
hash = "sha256-2YVaDfvhmuUx2fVm9PuMPQ3Z5iu7IHJ7dgF52a1stoM=";
};
pnpmDeps = pnpm_10.fetchDeps {
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
src
patches
;
hash = "sha256-pL4pxIB+tF9Lv5eQdLilvg/T4knjzPqBMbTxoZ3RqbI=";
hash = "sha256-C05rDd5bcbR18O6ACgzS0pQdWzB99ulceOBpW+4Zbqw=";
};
nativeBuildInputs =
+3 -2
View File
@@ -18,6 +18,7 @@
gzip,
lhasa,
wrapGAppsHook3,
desktopToDarwinBundle,
}:
stdenv.mkDerivation rec {
@@ -37,7 +38,8 @@ stdenv.mkDerivation rec {
makeWrapper
pkg-config
wrapGAppsHook3
];
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ desktopToDarwinBundle ];
buildInputs = [
gtk3
bash # so patchShebangs can patch #!/bin/sh in xarchiver.tap
@@ -63,7 +65,6 @@ stdenv.mkDerivation rec {
strictDeps = true;
meta = {
broken = stdenv.hostPlatform.isDarwin;
description = "GTK frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)";
homepage = "https://github.com/ib/xarchiver";
maintainers = [ lib.maintainers.domenkozar ];
@@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitLab,
fetchpatch,
gitUpdater,
nixosTests,
cmake,
@@ -25,29 +24,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "lomiri-gallery-app";
version = "3.1.0";
version = "3.1.1";
src = fetchFromGitLab {
owner = "ubports";
repo = "development/apps/lomiri-gallery-app";
rev = "v${finalAttrs.version}";
hash = "sha256-uKGPic9XYUj0rLA05i6GjLM+n17MYgiFJMWnLXHKmIU=";
tag = "v${finalAttrs.version}";
hash = "sha256-5/mZszPEsSZqgioJ+Mc7+0gEcpUKr7n/LgyXJ20P2Zg=";
};
patches = [
# Remove when https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/merge_requests/152 merged & in release
(fetchpatch {
name = "0001-lomiri-gallery-app-bindtextdomain.patch";
url = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/commit/592eff118cb5056886b73e6698f8941c7a16f2e0.patch";
hash = "sha256-aR/Lnzvq4RuRLI75mMd4xTGMAcijm1adSAGVFZZ++No=";
})
(fetchpatch {
name = "0002-lomiri-gallery-app-C++ify-i18n.patch";
url = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/commit/a7582abbe0acef4d49c77a4395bc22dbd1707ef3.patch";
hash = "sha256-qzqTXqIYX+enoOwwV9d9fxe7tVYLuh1WkL8Ij/Qx0H0=";
})
];
postPatch = ''
# Make splash path in desktop file relative
substituteInPlace desktop/lomiri-gallery-app.desktop.in.in \
@@ -118,14 +103,25 @@ stdenv.mkDerivation (finalAttrs: {
'';
passthru = {
tests.vm = nixosTests.lomiri-gallery-app;
tests = {
inherit (nixosTests.lomiri-gallery-app)
basic
format-mp4
format-gif
format-bmp
format-jpg
format-png
;
};
updateScript = gitUpdater { rev-prefix = "v"; };
};
meta = {
description = "Photo gallery application for Ubuntu Touch devices";
homepage = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app";
changelog = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/blob/v${finalAttrs.version}/ChangeLog";
changelog = "https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/blob/${
if (!builtins.isNull finalAttrs.src.tag) then finalAttrs.src.tag else finalAttrs.src.rev
}/ChangeLog";
license = with lib.licenses; [
gpl3Only
cc-by-sa-30
@@ -188,7 +188,13 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
tests = {
# gallery app delegates to thumbnailer, tests various formats
gallery-app = nixosTests.lomiri-gallery-app;
inherit (nixosTests.lomiri-gallery-app)
format-mp4
format-gif
format-bmp
format-jpg
format-png
;
# music app relies on thumbnailer to extract embedded cover art
music-app = nixosTests.lomiri-music-app;
+3 -3
View File
@@ -33,9 +33,9 @@ let
"19.1.7".officialRelease.sha256 = "sha256-cZAB5vZjeTsXt9QHbP5xluWNQnAHByHtHnAhVDV0E6I=";
"20.1.6".officialRelease.sha256 = "sha256-PfCzECiCM+k0hHqEUSr1TSpnII5nqIxg+Z8ICjmMj0Y=";
"21.0.0-git".gitRelease = {
rev = "9e2684e4cfb0a7e30d5e49f812127d07cdda600d";
rev-version = "21.0.0-unstable-2025-06-06";
sha256 = "sha256-OtIRNU+AuUaPhAsd0Kn0odAdPJhkV/139+DR6Ls0XrE=";
rev = "90beda2aba3cac34052827c560449fcb184c7313";
rev-version = "21.0.0-unstable-2025-06-08";
sha256 = "sha256-+aTUb9Hg/upulKGLKNpqDYKES62mWkjuLZP07WGnBSc=";
};
} // llvmVersions;
@@ -4,28 +4,42 @@
buildDunePackage,
alcotest,
pkg-config,
dune-configurator,
}:
buildDunePackage rec {
pname = "bigstringaf";
version = "0.9.0";
version = "0.10.0";
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchFromGitHub {
owner = "inhabitedtype";
repo = pname;
rev = version;
hash = "sha256-HXPjnE56auy2MI6HV2XuBX/VeqsO50HFzTul17lKEqE=";
tag = version;
hash = "sha256-p1hdB3ArOd2UX7S6YvXCFbYjEiXdMDmBaC/lFQgua7Q=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
longDescription = ''
Bigstring intrinsics and fast blits based on memcpy/memmove
The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not
widely-known, sometimes misused, and so programs that use Bigstrings are slower
than they have to be. And even if a library got that part right and exposed the
intrinsics properly, the compiler doesn't have any fast blits between
Bigstrings and other string-like types.
So here they are. Go crazy.
'';
changelog = "https://github.com/inhabitedtype/bigstringaf/releases/tag/${version}";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
@@ -13,7 +13,6 @@
iconv,
pillow,
pyperclip,
pythonOlder,
rustPlatform,
rustc,
setuptools,
@@ -24,22 +23,20 @@
buildPythonPackage rec {
pname = "aardwolf";
version = "0.2.11";
version = "0.2.12";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "skelsec";
repo = "aardwolf";
rev = "0586591e948977ca5945252c893ba8f766ff8d28";
hash = "sha256-daDxkQ7N0+yS2JOLfXJq4jv+5VQNnwtqIMy2p8j+Sag=";
tag = version;
hash = "sha256-CMO3qhxYmwB9kWIiHWV/0gAfs/yCnHzpfNYLTy4wX78=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
sourceRoot = "${src.name}/aardwolf/utils/rlers";
hash = "sha256-doBraJQtekrO/ZZV9KFz7BdIgBVVWtQztUS2Gz8dDdA=";
hash = "sha256-+2hENnrG35eRgQwtCCJUux9mYEkzD2astLgOqWHrH/M=";
};
cargoRoot = "aardwolf/utils/rlers";
@@ -78,7 +75,7 @@ buildPythonPackage rec {
mainProgram = "ardpscan";
homepage = "https://github.com/skelsec/aardwolf";
changelog = "https://github.com/skelsec/aardwolf/releases/tag/${version}";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
@@ -11,7 +11,7 @@
let
pname = "bitsandbytes";
version = "0.45.1";
version = "0.46.0";
inherit (torch) cudaPackages cudaSupport;
inherit (cudaPackages) cudaMajorMinorVersion;
@@ -54,10 +54,10 @@ buildPythonPackage {
pyproject = true;
src = fetchFromGitHub {
owner = "TimDettmers";
owner = "bitsandbytes-foundation";
repo = "bitsandbytes";
tag = version;
hash = "sha256-MZ+3mUXaAhRb+rBtE+eQqT3XdtFxlWJc/CmTEwQkKSA=";
hash = "sha256-q1ltNYO5Ex6F2bfCcsekdsWjzXoal7g4n/LIHVGuj+k=";
};
# By default, which library is loaded depends on the result of `torch.cuda.is_available()`.
@@ -112,8 +112,8 @@ buildPythonPackage {
meta = {
description = "8-bit CUDA functions for PyTorch";
homepage = "https://github.com/TimDettmers/bitsandbytes";
changelog = "https://github.com/TimDettmers/bitsandbytes/releases/tag/${version}";
homepage = "https://github.com/bitsandbytes-foundation/bitsandbytes";
changelog = "https://github.com/bitsandbytes-foundation/bitsandbytes/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
@@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "bleak-esphome";
version = "2.15.1";
version = "2.16.0";
pyproject = true;
src = fetchFromGitHub {
owner = "bluetooth-devices";
repo = "bleak-esphome";
tag = "v${version}";
hash = "sha256-Q+W7i0+Qsm1wfVNC+ub9J9DOcP7D4gZkjw3j37aHhYc=";
hash = "sha256-1NqalsFUXTcVX0UVV4BMStX+EAcu0/3vEKpkq+z+KDE=";
};
postPatch = ''
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "ical";
version = "10.0.0";
version = "10.0.1";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "allenporter";
repo = "ical";
tag = version;
hash = "sha256-vEVhZ7UBftXsB5xq1LhwitV2Gl6kcR5P0ReJ+71SQFY=";
hash = "sha256-KUrsg42sNOtsmpS7rTPm1uiFU+jXbb25/Auk8Utp8Ks=";
};
build-system = [ setuptools ];
@@ -8,10 +8,11 @@
nanobind,
ninja,
pcpp,
scikit-build,
setuptools,
scikit-build-core,
typing-extensions,
# buildInputs
imath,
isl,
# tests
@@ -20,14 +21,14 @@
buildPythonPackage rec {
pname = "islpy";
version = "2025.1.5";
version = "2025.2";
pyproject = true;
src = fetchFromGitHub {
owner = "inducer";
repo = "islpy";
tag = "v${version}";
hash = "sha256-hzqxVLNKm63XliX5rDB54f6n1nJPVJJSAMmNTInbOEE=";
hash = "sha256-RMqqnhW8MibGhAhJZF/EjycFJ7E3j4aur0a6UaPyeIs=";
};
build-system = [
@@ -35,19 +36,24 @@ buildPythonPackage rec {
nanobind
ninja
pcpp
scikit-build
setuptools
scikit-build-core
typing-extensions
];
buildInputs = [ isl ];
buildInputs = [
imath
isl
];
dontUseCmakeConfigure = true;
preConfigure = ''
python ./configure.py \
--no-use-shipped-isl \
--isl-inc-dir=${lib.getDev isl}/include \
'';
pypaBuildFlags = [
"--config-setting=cmake.define.USE_SHIPPED_ISL=OFF"
"--config-setting=cmake.define.USE_SHIPPED_IMATH=OFF"
"--config-setting=cmake.define.USE_BARVINOK=OFF"
"--config-setting=cmake.define.ISL_INC_DIRS:LIST='${lib.getDev isl}/include'"
"--config-setting=cmake.define.ISL_LIB_DIRS:LIST='${lib.getLib isl}/lib'"
];
# Force resolving the package from $out to make generated ext files usable by tests
preCheck = ''
@@ -1,6 +1,5 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
@@ -116,6 +115,7 @@ buildPythonPackage rec {
# pytest.PytestUnraisableExceptionWarning: Exception ignored in: <sqlite3.Connection object at 0x115dcc9a0>
# ResourceWarning: unclosed database in <sqlite3.Connection object at 0x115dcc9a0>
"test_clean_book"
"test_clean_html"
"test_clean_html_latex"
"test_clean_latex"
];
@@ -31,14 +31,14 @@
buildPythonPackage rec {
pname = "jupytext";
version = "1.17.1";
version = "1.17.2";
pyproject = true;
src = fetchFromGitHub {
owner = "mwouts";
repo = "jupytext";
tag = "v${version}";
hash = "sha256-Rkz2rite0hKcts4+3SmFsDF6tH2kQa4d2DtyZsAx3rA=";
hash = "sha256-xMmtppXect+PRlEp2g0kJurALVvcfza+FBbZbK2SbHc=";
};
nativeBuildInputs = [
@@ -17,14 +17,14 @@
buildPythonPackage rec {
pname = "llama-cloud-services";
version = "0.6.23";
version = "0.6.28";
pyproject = true;
src = fetchFromGitHub {
owner = "run-llama";
repo = "llama_cloud_services";
tag = "v${version}";
hash = "sha256-G1qjm7GpSZDgGWys+toXiQoRJHIQUcwG6+0JK8k3XfE=";
hash = "sha256-2ANsXUOTTWhIS6/BPvlOox4KJcQI0lngPMAf3Hous7s=";
};
pythonRelaxDeps = [ "llama-cloud" ];
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "mkdocstrings-python";
version = "1.16.11";
version = "1.16.12";
pyproject = true;
src = fetchFromGitHub {
owner = "mkdocstrings";
repo = "python";
tag = version;
hash = "sha256-Vee8pNslf/nELnIeMPkuBsbMVLLcK5CyIAaKTh/OEMM=";
hash = "sha256-NL5gn8HgT0hvIlUDs//sErAaSVXvxLDJGT7nZX65ZVU=";
};
build-system = [ pdm-backend ];
@@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "python-bsblan";
version = "1.2.2";
version = "2.1.0";
pyproject = true;
disabled = pythonOlder "3.12";
@@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "liudger";
repo = "python-bsblan";
tag = "v${version}";
hash = "sha256-qzQP77bfV21g7DIdZfJCyv9FN/U6aQk9wWV9xPZFolk=";
hash = "sha256-HaB1ypC2IkSEnM5Ek583CFvwWt1nm1gWUdoh5MH09YQ=";
};
postPatch = ''
@@ -65,7 +65,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Module to control and monitor an BSBLan device programmatically";
homepage = "https://github.com/liudger/python-bsblan";
changelog = "https://github.com/liudger/python-bsblan/releases/tag/v${version}";
changelog = "https://github.com/liudger/python-bsblan/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
@@ -96,5 +96,10 @@ buildPythonPackage rec {
changelog = "https://github.com/skorch-dev/skorch/blob/master/CHANGES.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ bcdarwin ];
badPlatforms = [
# Most tests fail with:
# Fatal Python error: Segmentation fault
lib.systems.inspect.patterns.isDarwin
];
};
}
@@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "temporalio";
version = "1.11.0";
version = "1.12.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "temporalio";
repo = "sdk-python";
rev = "refs/tags/${version}";
hash = "sha256-942EmFOAYUWq58MW2rIVhDK9dHkzi62fUdOudYP94hU=";
hash = "sha256-u74zbzYNVxMi0sdiPlBoEU+wAa24JmMksz7hGvraDeM=";
fetchSubmodules = true;
};
@@ -39,7 +39,7 @@ buildPythonPackage rec {
src
cargoRoot
;
hash = "sha256-9hP+zN6jcRmRhPmcZ4Zgp61IeS7gDPfsOvweAxKHnHM=";
hash = "sha256-OIapL1+g6gIgyVzdB68PuK2K2RIr01DSm/UbCdt9kNY=";
};
cargoRoot = "temporalio/bridge";
@@ -0,0 +1,12 @@
diff --git a/requirements/cpu.txt b/requirements/cpu.txt
index 121330158..d41918883 100644
--- a/requirements/cpu.txt
+++ b/requirements/cpu.txt
@@ -20,7 +20,3 @@ datasets # for benchmark scripts
# cpu cannot use triton 3.3.0
triton==3.2.0; platform_machine == "x86_64"
-
-# Intel Extension for PyTorch, only for x86_64 CPUs
-intel-openmp==2024.2.1; platform_machine == "x86_64"
-intel_extension_for_pytorch==2.7.0; platform_machine == "x86_64"
@@ -3,8 +3,8 @@
stdenv,
python,
buildPythonPackage,
pythonRelaxDepsHook,
fetchFromGitHub,
fetchpatch,
symlinkJoin,
autoAddDriverRunpath,
@@ -15,7 +15,6 @@
packaging,
setuptools,
setuptools-scm,
wheel,
# dependencies
which,
@@ -63,6 +62,14 @@
python-json-logger,
python-multipart,
llvmPackages,
opentelemetry-sdk,
opentelemetry-api,
opentelemetry-exporter-otlp,
bitsandbytes,
flashinfer,
# internal dependency - for overriding in overlays
vllm-flash-attn ? null,
cudaSupport ? torch.cudaSupport,
cudaPackages ? { },
@@ -88,8 +95,8 @@ let
cutlass = fetchFromGitHub {
owner = "NVIDIA";
repo = "cutlass";
tag = "v3.8.0";
hash = "sha256-oIzlbKRdOh6gp6nRZ8udLSqleBFoFtgM7liCBlHZLOk=";
tag = "v3.9.2";
hash = "sha256-teziPNA9csYvhkG5t2ht8W8x5+1YGGbHm8VKx4JoxgI=";
};
flashmla = stdenv.mkDerivation {
@@ -119,36 +126,41 @@ let
'';
};
vllm-flash-attn = stdenv.mkDerivation {
vllm-flash-attn' = lib.defaultTo (stdenv.mkDerivation {
pname = "vllm-flash-attn";
# https://github.com/vllm-project/flash-attention/blob/${src.rev}/vllm_flash_attn/__init__.py
version = "2.7.2.post1";
version = "2.7.4.post1";
# grep for GIT_TAG in the following file
# https://github.com/vllm-project/vllm/blob/v${version}/cmake/external_projects/vllm_flash_attn.cmake
src = fetchFromGitHub {
owner = "vllm-project";
repo = "flash-attention";
rev = "dc9d410b3e2d6534a4c70724c2515f4def670a22";
hash = "sha256-ZQ0bOBIb+8IMmya8dmimKQ17KTBplX81IirdnBJpX5M=";
rev = "8798f27777fb57f447070301bf33a9f9c607f491";
hash = "sha256-UTUvATGN1NU/Bc8qo078q6bEgILLmlrjL7Yk2iAJhg4=";
};
dontConfigure = true;
# vllm-flash-attn normally relies on `git submodule update` to fetch cutlass
buildPhase = ''
rm -rf csrc/cutlass
ln -sf ${cutlass} csrc/cutlass
'';
# vllm-flash-attn normally relies on `git submodule update` to fetch cutlass and composable_kernel
buildPhase =
''
rm -rf csrc/cutlass
ln -sf ${cutlass} csrc/cutlass
''
+ lib.optionalString (rocmSupport) ''
rm -rf csrc/composable_kernel;
ln -sf ${rocmPackages.composable_kernel} csrc/composable_kernel
'';
installPhase = ''
cp -rva . $out
'';
};
}) vllm-flash-attn;
cpuSupport = !cudaSupport && !rocmSupport;
# https://github.com/pytorch/pytorch/blob/v2.6.0/torch/utils/cpp_extension.py#L2046-L2048
# https://github.com/pytorch/pytorch/blob/v2.7.0/torch/utils/cpp_extension.py#L2343-L2345
supportedTorchCudaCapabilities =
let
real = [
@@ -170,6 +182,11 @@ let
"9.0"
"9.0a"
"10.0"
"10.0a"
"10.1"
"10.1a"
"12.0"
"12.0a"
];
ptx = lists.map (x: "${x}+PTX") real;
in
@@ -229,7 +246,7 @@ in
buildPythonPackage rec {
pname = "vllm";
version = "0.8.3";
version = "0.9.0.1";
pyproject = true;
stdenv = torch.stdenv;
@@ -238,13 +255,19 @@ buildPythonPackage rec {
owner = "vllm-project";
repo = "vllm";
tag = "v${version}";
hash = "sha256-LiEBkVwJTT4WoCTk9pI0ykTjmv1pDMzksmFwVktoxMY=";
hash = "sha256-gNe/kdsDQno8Fd6mo29feWmbyC0c2+kljlVxY4v7R9U=";
};
patches = [
(fetchpatch {
name = "remove-unused-opentelemetry-semantic-conventions-ai-dep.patch";
url = "https://github.com/vllm-project/vllm/commit/6a5d7e45f52c3a13de43b8b4fa9033e3b342ebd2.patch";
hash = "sha256-KYthqu+6XwsYYd80PtfrMMjuRV9+ionccr7EbjE4jJE=";
})
./0002-setup.py-nix-support-respect-cmakeFlags.patch
./0003-propagate-pythonpath.patch
./0004-drop-lsmod.patch
./0005-drop-intel-reqs.patch
];
postPatch =
@@ -259,6 +282,10 @@ buildPythonPackage rec {
--replace-fail \
'set(PYTHON_SUPPORTED_VERSIONS' \
'set(PYTHON_SUPPORTED_VERSIONS "${lib.versions.majorMinor python.version}"'
# Pass build environment PYTHONPATH to vLLM's Python configuration scripts
substituteInPlace CMakeLists.txt \
--replace-fail '$PYTHONPATH' '$ENV{PYTHONPATH}'
''
+ lib.optionalString (nccl == null) ''
# On platforms where NCCL is not supported (e.g. Jetson), substitute Gloo (provided by Torch)
@@ -361,12 +388,17 @@ buildPythonPackage rec {
xformers
xgrammar
numba
opentelemetry-sdk
opentelemetry-api
opentelemetry-exporter-otlp
bitsandbytes
]
++ uvicorn.optional-dependencies.standard
++ aioprometheus.optional-dependencies.starlette
++ lib.optionals cudaSupport [
cupy
pynvml
flashinfer
];
dontUseCmakeConfigure = true;
@@ -374,7 +406,7 @@ buildPythonPackage rec {
[
(lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_CUTLASS" "${lib.getDev cutlass}")
(lib.cmakeFeature "FLASH_MLA_SRC_DIR" "${lib.getDev flashmla}")
(lib.cmakeFeature "VLLM_FLASH_ATTN_SRC_DIR" "${lib.getDev vllm-flash-attn}")
(lib.cmakeFeature "VLLM_FLASH_ATTN_SRC_DIR" "${lib.getDev vllm-flash-attn'}")
]
++ lib.optionals cudaSupport [
(lib.cmakeFeature "TORCH_CUDA_ARCH_LIST" "${gpuTargetString}")
@@ -416,15 +448,19 @@ buildPythonPackage rec {
pythonImportsCheck = [ "vllm" ];
# updates the cutlass fetcher instead
passthru.skipBulkUpdate = true;
passthru = {
# make internal dependency available to overlays
vllm-flash-attn = vllm-flash-attn';
# updates the cutlass fetcher instead
skipBulkUpdate = true;
};
meta = with lib; {
meta = {
description = "High-throughput and memory-efficient inference and serving engine for LLMs";
changelog = "https://github.com/vllm-project/vllm/releases/tag/v${version}";
homepage = "https://github.com/vllm-project/vllm";
license = licenses.asl20;
maintainers = with maintainers; [
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
happysalada
lach
];
@@ -1,9 +1,8 @@
{
lib,
babel,
buildPythonPackage,
fetchFromGitLab,
fetchpatch,
babel,
html2text,
lxml,
packaging,
@@ -20,41 +19,33 @@
setuptools,
testers,
unidecode,
termcolor,
responses,
woob,
}:
buildPythonPackage rec {
pname = "woob";
version = "3.6";
version = "3.7";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitLab {
owner = "woob";
repo = "woob";
rev = version;
hash = "sha256-M9AjV954H1w64YGCVxDEGGSnoEbmocG3zwltob6IW04=";
tag = version;
hash = "sha256-EZHzw+/BIIvmDXG4fF367wsdUTVTHWYb0d0U56ZXwOs=";
};
patches = [
(fetchpatch {
name = "no-deprecated-pkg_resources.patch";
url = "https://gitlab.com/woob/woob/-/commit/3283c4c1a935cc71acea98b2d8c88bc4bf28f643.patch";
hash = "sha256-3bRuv93ivKRxbGr52coO023DlxHZWwUeInXTPqQAeL8=";
})
];
nativeBuildInputs = [
setuptools
];
build-system = [ setuptools ];
pythonRelaxDeps = [
"packaging"
"rich"
"requests"
];
propagatedBuildInputs = [
dependencies = [
babel
python-dateutil
python-jose
@@ -68,9 +59,13 @@ buildPythonPackage rec {
requests
rich
unidecode
termcolor
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
responses
];
disabledTests = [
# require networking
@@ -85,12 +80,12 @@ buildPythonPackage rec {
version = "v${version}";
};
meta = with lib; {
meta = {
changelog = "https://gitlab.com/woob/woob/-/blob/${src.rev}/ChangeLog";
description = "Collection of applications and APIs to interact with websites";
mainProgram = "woob";
homepage = "https://woob.tech";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ DamienCassou ];
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ DamienCassou ];
};
}
+21
View File
@@ -27,6 +27,7 @@
armTrustedFirmwareRK3568,
armTrustedFirmwareRK3588,
armTrustedFirmwareS905,
opensbi,
buildPackages,
}@pkgs:
@@ -808,6 +809,26 @@ in
# sf probe; sf update $loadaddr 0 80000
};
ubootVisionFive2 =
let
opensbi_vf2 = opensbi.overrideAttrs (attrs: {
makeFlags = attrs.makeFlags ++ [
# Matches u-boot documentation: https://docs.u-boot.org/en/latest/board/starfive/visionfive2.html
"FW_TEXT_START=0x40000000"
"FW_OPTIONS=0"
];
});
in
buildUBoot {
defconfig = "starfive_visionfive2_defconfig";
extraMeta.platforms = [ "riscv64-linux" ];
OPENSBI = "${opensbi_vf2}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin";
filesToInstall = [
"spl/u-boot-spl.bin.normal.out"
"u-boot.itb"
];
};
ubootWandboard = buildUBoot {
defconfig = "wandboard_defconfig";
extraMeta.platforms = [ "armv7l-linux" ];
@@ -6,18 +6,18 @@
buildNpmPackage rec {
pname = "universal-remote-card";
version = "4.5.3";
version = "4.5.4";
src = fetchFromGitHub {
owner = "Nerwyn";
repo = "android-tv-card";
rev = version;
hash = "sha256-AxPpKp7SjeSB8VqclDJgkArC9zmjIkLQx+RBWQX0sLM=";
hash = "sha256-WRDeHUp+uLBbPRNvIuRNXhm+yAgG1hwZiO0S0FLDOFY=";
};
patches = [ ./dont-call-git.patch ];
npmDepsHash = "sha256-KFgo1sKwCLmW0Il4tK2L+giF3th+YvVUWG3n+3HkRg4=";
npmDepsHash = "sha256-F1j7/QvP3rJTFLdOdF2/0Jf6sVLZ2EUwkbtNB5/6OBE=";
installPhase = ''
runHook preInstall
+2 -3
View File
@@ -2062,7 +2062,7 @@ with pkgs;
coreboot-configurator = libsForQt5.callPackage ../tools/misc/coreboot-configurator { };
sway-unwrapped = callPackage ../by-name/sw/sway-unwrapped/package.nix {
wlroots = wlroots_0_18;
wlroots = wlroots_0_19;
};
cambrinary = python3Packages.callPackage ../applications/misc/cambrinary { };
@@ -11512,6 +11512,7 @@ with pkgs;
ubootSopine
ubootTuringRK1
ubootUtilite
ubootVisionFive2
ubootWandboard
;
@@ -12976,8 +12977,6 @@ with pkgs;
kbibtex = libsForQt5.callPackage ../applications/office/kbibtex { };
kaidan = kdePackages.callPackage ../applications/networking/instant-messengers/kaidan { };
kexi = libsForQt5.callPackage ../applications/office/kexi { };
kgraphviewer = callPackage ../applications/graphics/kgraphviewer { };