mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-06 13:23:41 +00:00
Merge master into haskell-updates
This commit is contained in:
11
lib/cli.nix
11
lib/cli.nix
@@ -90,7 +90,16 @@ rec {
|
||||
mkOption ?
|
||||
k: v: if v == null
|
||||
then []
|
||||
else [ (mkOptionName k) (lib.generators.mkValueStringDefault {} v) ]
|
||||
else if optionValueSeparator == null then
|
||||
[ (mkOptionName k) (lib.generators.mkValueStringDefault {} v) ]
|
||||
else
|
||||
[ "${mkOptionName k}${optionValueSeparator}${lib.generators.mkValueStringDefault {} v}" ],
|
||||
|
||||
# how to separate an option from its flag;
|
||||
# by default, there is no separator, so option `-c` and value `5`
|
||||
# would become ["-c" "5"].
|
||||
# This is useful if the command requires equals, for example, `-c=5`.
|
||||
optionValueSeparator ? null
|
||||
}:
|
||||
options:
|
||||
let
|
||||
|
||||
@@ -1639,6 +1639,27 @@ runTests {
|
||||
];
|
||||
};
|
||||
|
||||
testToGNUCommandLineSeparator = {
|
||||
expr = cli.toGNUCommandLine { optionValueSeparator = "="; } {
|
||||
data = builtins.toJSON { id = 0; };
|
||||
X = "PUT";
|
||||
retry = 3;
|
||||
retry-delay = null;
|
||||
url = [ "https://example.com/foo" "https://example.com/bar" ];
|
||||
silent = false;
|
||||
verbose = true;
|
||||
};
|
||||
|
||||
expected = [
|
||||
"-X=PUT"
|
||||
"--data={\"id\":0}"
|
||||
"--retry=3"
|
||||
"--url=https://example.com/foo"
|
||||
"--url=https://example.com/bar"
|
||||
"--verbose"
|
||||
];
|
||||
};
|
||||
|
||||
testToGNUCommandLineShell = {
|
||||
expr = cli.toGNUCommandLineShell {} {
|
||||
data = builtins.toJSON { id = 0; };
|
||||
|
||||
@@ -1787,6 +1787,12 @@
|
||||
githubId = 816777;
|
||||
name = "Ashley Gillman";
|
||||
};
|
||||
ashgoldofficial = {
|
||||
email = "ashley.goldwater@gmail.com";
|
||||
github = "ASHGOLDOFFICIAL";
|
||||
githubId = 104313094;
|
||||
name = "Andrey Shaat";
|
||||
};
|
||||
ashkitten = {
|
||||
email = "ashlea@protonmail.com";
|
||||
github = "ashkitten";
|
||||
@@ -12443,6 +12449,11 @@
|
||||
githubId = 18661391;
|
||||
name = "Malte Janz";
|
||||
};
|
||||
malteneuss = {
|
||||
github = "malteneuss";
|
||||
githubId = 5301202;
|
||||
name = "Malte Neuss";
|
||||
};
|
||||
malte-v = {
|
||||
email = "nixpkgs@mal.tc";
|
||||
github = "malte-v";
|
||||
|
||||
@@ -139,6 +139,8 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
|
||||
|
||||
- [ollama](https://ollama.ai), server for running large language models locally.
|
||||
|
||||
- [nextjs-ollama-llm-ui](https://github.com/jakobhoeg/nextjs-ollama-llm-ui), light-weight frontend server to chat with Ollama models through a web app.
|
||||
|
||||
- [ownCloud Infinite Scale Stack](https://owncloud.com/infinite-scale-4-0/), a modern and scalable rewrite of ownCloud.
|
||||
|
||||
- [PhotonVision](https://photonvision.org/), a free, fast, and easy-to-use computer vision solution for the FIRST® Robotics Competition.
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
|
||||
## Backward Incompatibilities {#sec-release-24.11-incompatibilities}
|
||||
|
||||
- Create the first release note entry in this section!
|
||||
- `nvimpager` was updated to version 0.13.0, which changes the order of user and
|
||||
nvimpager settings: user commands in `-c` and `--cmd` now override the
|
||||
respective default settings because they are executed later.
|
||||
|
||||
## Other Notable Changes {#sec-release-24.11-notable-changes}
|
||||
|
||||
|
||||
@@ -285,7 +285,7 @@ in
|
||||
KERNEL=="nvidia_uvm", RUN+="${pkgs.runtimeShell} -c 'mknod -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 1'"
|
||||
'';
|
||||
hardware.opengl = {
|
||||
extraPackages = [ nvidia_x11.out ];
|
||||
extraPackages = [ nvidia_x11.out nvidia_x11.settings.libXNVCtrl ];
|
||||
extraPackages32 = [ nvidia_x11.lib32 ];
|
||||
};
|
||||
environment.systemPackages = [ nvidia_x11.bin ];
|
||||
|
||||
@@ -1399,6 +1399,7 @@
|
||||
./services/web-apps/netbox.nix
|
||||
./services/web-apps/nextcloud.nix
|
||||
./services/web-apps/nextcloud-notify_push.nix
|
||||
./services/web-apps/nextjs-ollama-llm-ui.nix
|
||||
./services/web-apps/nexus.nix
|
||||
./services/web-apps/nifi.nix
|
||||
./services/web-apps/node-red.nix
|
||||
|
||||
@@ -4,6 +4,8 @@ let
|
||||
cfg = config.programs.steam;
|
||||
gamescopeCfg = config.programs.gamescope;
|
||||
|
||||
extraCompatPaths = lib.makeSearchPathOutput "steamcompattool" "" cfg.extraCompatPackages;
|
||||
|
||||
steam-gamescope = let
|
||||
exports = builtins.attrValues (builtins.mapAttrs (n: v: "export ${n}=${v}") cfg.gamescopeSession.env);
|
||||
in
|
||||
@@ -42,7 +44,7 @@ in {
|
||||
'';
|
||||
apply = steam: steam.override (prev: {
|
||||
extraEnv = (lib.optionalAttrs (cfg.extraCompatPackages != [ ]) {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = lib.makeSearchPathOutput "steamcompattool" "" cfg.extraCompatPackages;
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = extraCompatPaths;
|
||||
}) // (lib.optionalAttrs cfg.extest.enable {
|
||||
LD_PRELOAD = "${pkgs.pkgsi686Linux.extest}/lib/libextest.so";
|
||||
}) // (prev.extraEnv or {});
|
||||
@@ -139,6 +141,11 @@ in {
|
||||
Load the extest library into Steam, to translate X11 input events to
|
||||
uinput events (e.g. for using Steam Input on Wayland)
|
||||
'';
|
||||
|
||||
protontricks = {
|
||||
enable = lib.mkEnableOption "protontricks, a simple wrapper for running Winetricks commands for Proton-enabled games";
|
||||
package = lib.mkPackageOption pkgs "protontricks" { };
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
@@ -169,7 +176,8 @@ in {
|
||||
environment.systemPackages = [
|
||||
cfg.package
|
||||
cfg.package.run
|
||||
] ++ lib.optional cfg.gamescopeSession.enable steam-gamescope;
|
||||
] ++ lib.optional cfg.gamescopeSession.enable steam-gamescope
|
||||
++ lib.optional cfg.protontricks.enable (cfg.protontricks.package.override { inherit extraCompatPaths; });
|
||||
|
||||
networking.firewall = lib.mkMerge [
|
||||
(lib.mkIf (cfg.remotePlay.openFirewall || cfg.localNetworkGameTransfers.openFirewall) {
|
||||
|
||||
@@ -138,7 +138,7 @@ in
|
||||
after = [ "network.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = let
|
||||
args = cli.toGNUCommandLineShell { } (foldr (a: b: a // b) { } [
|
||||
args = cli.toGNUCommandLineShell { optionValueSeparator = "="; } (foldr (a: b: a // b) { } [
|
||||
{
|
||||
inherit (cfg) device port configpath scanconfig readonly;
|
||||
foreground = true;
|
||||
|
||||
@@ -83,6 +83,15 @@ in
|
||||
} ++ (lib.mapAttrsToList (vhost: conf: {
|
||||
virtualHosts.${vhost} = {
|
||||
locations = {
|
||||
"/".extraConfig = ''
|
||||
# pass information via X-User and X-Email headers to backend, requires running with --set-xauthrequest flag
|
||||
proxy_set_header X-User $user;
|
||||
proxy_set_header X-Email $email;
|
||||
|
||||
# if you enabled --cookie-refresh, this is needed for it to work with auth_request
|
||||
add_header Set-Cookie $auth_cookie;
|
||||
'';
|
||||
|
||||
"/oauth2/auth" = let
|
||||
maybeQueryArg = name: value:
|
||||
if value == null then null
|
||||
@@ -102,6 +111,7 @@ in
|
||||
proxy_pass_request_body off;
|
||||
'';
|
||||
};
|
||||
|
||||
"@redirectToAuth2ProxyLogin" = {
|
||||
return = "307 https://${cfg.domain}/oauth2/start?rd=$scheme://$host$request_uri";
|
||||
extraConfig = ''
|
||||
@@ -114,16 +124,10 @@ in
|
||||
auth_request /oauth2/auth;
|
||||
error_page 401 = @redirectToAuth2ProxyLogin;
|
||||
|
||||
# pass information via X-User and X-Email headers to backend,
|
||||
# requires running with --set-xauthrequest flag
|
||||
# set variables being used in locations."/".extraConfig
|
||||
auth_request_set $user $upstream_http_x_auth_request_user;
|
||||
auth_request_set $email $upstream_http_x_auth_request_email;
|
||||
proxy_set_header X-User $user;
|
||||
proxy_set_header X-Email $email;
|
||||
|
||||
# if you enabled --cookie-refresh, this is needed for it to work with auth_request
|
||||
auth_request_set $auth_cookie $upstream_http_set_cookie;
|
||||
add_header Set-Cookie $auth_cookie;
|
||||
'';
|
||||
};
|
||||
}) cfg.virtualHosts)));
|
||||
|
||||
@@ -427,10 +427,6 @@ in
|
||||
PrivateTmp = true;
|
||||
CacheDirectory = "frigate";
|
||||
CacheDirectoryMode = "0750";
|
||||
|
||||
BindPaths = [
|
||||
"/migrations:${cfg.package}/share/frigate/migrations:ro"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
87
nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix
Normal file
87
nixos/modules/services/web-apps/nextjs-ollama-llm-ui.nix
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.services.nextjs-ollama-llm-ui;
|
||||
# we have to override the URL to a Ollama service here, because it gets baked into the web app.
|
||||
nextjs-ollama-llm-ui = cfg.package.override { ollamaUrl = "https://ollama.lambdablob.com"; };
|
||||
in
|
||||
{
|
||||
options = {
|
||||
services.nextjs-ollama-llm-ui = {
|
||||
enable = lib.mkEnableOption ''
|
||||
Simple Ollama web UI service; an easy to use web frontend for a Ollama backend service.
|
||||
Run state-of-the-art AI large language models (LLM) similar to ChatGPT locally with privacy
|
||||
on your personal computer.
|
||||
This service is stateless and doesn't store any data on the server; all data is kept
|
||||
locally in your web browser.
|
||||
See https://github.com/jakobhoeg/nextjs-ollama-llm-ui.
|
||||
|
||||
Required: You need the Ollama backend service running by having
|
||||
"services.nextjs-ollama-llm-ui.ollamaUrl" point to the correct url.
|
||||
You can host such a backend service with NixOS through "services.ollama".
|
||||
'';
|
||||
package = lib.mkPackageOption pkgs "nextjs-ollama-llm-ui" { };
|
||||
|
||||
hostname = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "127.0.0.1";
|
||||
example = "ui.example.org";
|
||||
description = ''
|
||||
The hostname under which the Ollama UI interface should be accessible.
|
||||
By default it uses localhost/127.0.0.1 to be accessible only from the local machine.
|
||||
Change to "0.0.0.0" to make it directly accessible from the local network.
|
||||
|
||||
Note: You should keep it at 127.0.0.1 and only serve to the local
|
||||
network or internet from a (home) server behind a reverse-proxy and secured encryption.
|
||||
See https://wiki.nixos.org/wiki/Nginx for instructions on how to set up a reverse-proxy.
|
||||
'';
|
||||
};
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
default = 3000;
|
||||
example = 3000;
|
||||
description = ''
|
||||
The port under which the Ollama UI interface should be accessible.
|
||||
'';
|
||||
};
|
||||
|
||||
ollamaUrl = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "127.0.0.1:11434";
|
||||
example = "https://ollama.example.org";
|
||||
description = ''
|
||||
The address (including host and port) under which we can access the Ollama backend server.
|
||||
!Note that if the the UI service is running under a domain "https://ui.example.org",
|
||||
the Ollama backend service must allow "CORS" requests from this domain, e.g. by adding
|
||||
"services.ollama.environment.OLLAMA_ORIGINS = [ ... "https://ui.example.org" ];"!
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemd.services = {
|
||||
|
||||
nextjs-ollama-llm-ui = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "Nextjs Ollama LLM Ui.";
|
||||
after = [ "network.target" ];
|
||||
environment = {
|
||||
HOSTNAME = cfg.hostname;
|
||||
PORT = toString cfg.port;
|
||||
NEXT_PUBLIC_OLLAMA_URL = cfg.ollamaUrl;
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe nextjs-ollama-llm-ui}";
|
||||
DynamicUser = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
meta.maintainers = with lib.maintainers; [ malteneuss ];
|
||||
}
|
||||
@@ -616,6 +616,7 @@ in {
|
||||
# TODO: put in networking.nix after the test becomes more complete
|
||||
networkingProxy = handleTest ./networking-proxy.nix {};
|
||||
nextcloud = handleTest ./nextcloud {};
|
||||
nextjs-ollama-llm-ui = runTest ./web-apps/nextjs-ollama-llm-ui.nix;
|
||||
nexus = handleTest ./nexus.nix {};
|
||||
# TODO: Test nfsv3 + Kerberos
|
||||
nfs3 = handleTest ./nfs { version = 3; };
|
||||
|
||||
22
nixos/tests/web-apps/nextjs-ollama-llm-ui.nix
Normal file
22
nixos/tests/web-apps/nextjs-ollama-llm-ui.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
name = "nextjs-ollama-llm-ui";
|
||||
meta.maintainers = with lib.maintainers; [ malteneuss ];
|
||||
|
||||
nodes.machine =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.nextjs-ollama-llm-ui = {
|
||||
enable = true;
|
||||
port = 8080;
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
# Ensure the service is started and reachable
|
||||
machine.wait_for_unit("nextjs-ollama-llm-ui.service")
|
||||
machine.wait_for_open_port(8080)
|
||||
machine.succeed("curl --fail http://127.0.0.1:8080")
|
||||
'';
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
{ lib, fetchFromGitHub
|
||||
, pkg-config, meson ,ninja
|
||||
, python3Packages
|
||||
, gdk-pixbuf, glib, gobject-introspection, gtk3
|
||||
, libnotify
|
||||
, wrapGAppsHook3 }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "mpdevil";
|
||||
version = "1.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SoongNoonien";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-ooNZSsVtIeueqgj9hR9OZp08qm8gGokiq8IU3U/ZV5w=";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
|
||||
nativeBuildInputs = [
|
||||
glib.dev gobject-introspection gtk3 pkg-config meson ninja wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf glib libnotify
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
beautifulsoup4 distutils-extra mpd2 notify-py pygobject3 requests
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
glib-compile-schemas $out/share/glib-2.0/schemas
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
# Prevent double wrapping.
|
||||
dontWrapGApps = true;
|
||||
# Otherwise wrapGAppsHook3 do not pick up the dependencies correctly.
|
||||
strictDeps = false;
|
||||
# There aren't any checks.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple music browser for MPD";
|
||||
homepage = "https://github.com/SoongNoonien/mpdevil";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ apfelkuchen6 ];
|
||||
mainProgram = "mpdevil";
|
||||
};
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
pkg-config,
|
||||
python3,
|
||||
rustPlatform,
|
||||
stdenv,
|
||||
lib,
|
||||
wayland,
|
||||
xorg,
|
||||
@@ -18,6 +19,7 @@
|
||||
gsettings-desktop-schemas,
|
||||
glib,
|
||||
libxkbcommon,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -34,56 +36,62 @@ rustPlatform.buildRustPackage {
|
||||
hash = "sha256-WfoYQku1NFhvWyqeSVKtsMMEyUA97YFD7cvdn4XYIPI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
jre_minimal
|
||||
makeWrapper
|
||||
pkg-config
|
||||
python3
|
||||
wrapGAppsHook3
|
||||
];
|
||||
nativeBuildInputs =
|
||||
[ jre_minimal ]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
makeWrapper
|
||||
pkg-config
|
||||
python3
|
||||
wrapGAppsHook3
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [ rustPlatform.bindgenHook ];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
cairo
|
||||
gtk3
|
||||
openssl
|
||||
wayland
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
xorg.libXi
|
||||
xorg.libxcb
|
||||
xorg.libXrender
|
||||
vulkan-loader
|
||||
udev
|
||||
];
|
||||
buildInputs =
|
||||
lib.optionals stdenv.isLinux [
|
||||
alsa-lib
|
||||
cairo
|
||||
gtk3
|
||||
openssl
|
||||
wayland
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXrandr
|
||||
xorg.libXi
|
||||
xorg.libxcb
|
||||
xorg.libXrender
|
||||
vulkan-loader
|
||||
udev
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
preFixup = lib.optionalString stdenv.isLinux ''
|
||||
patchelf $out/bin/ruffle_desktop \
|
||||
--add-needed libxkbcommon-x11.so \
|
||||
--add-needed libwayland-client.so \
|
||||
--add-rpath ${libxkbcommon}/lib:${wayland}/lib
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
# This name is too generic
|
||||
mv $out/bin/exporter $out/bin/ruffle_exporter
|
||||
postFixup =
|
||||
''
|
||||
# This name is too generic
|
||||
mv $out/bin/exporter $out/bin/ruffle_exporter
|
||||
''
|
||||
+ lib.optionalString stdenv.isLinux ''
|
||||
vulkanWrapperArgs+=(
|
||||
--prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
|
||||
)
|
||||
|
||||
vulkanWrapperArgs+=(
|
||||
--prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
|
||||
)
|
||||
wrapProgram $out/bin/ruffle_exporter \
|
||||
"''${vulkanWrapperArgs[@]}"
|
||||
|
||||
wrapProgram $out/bin/ruffle_exporter \
|
||||
"''${vulkanWrapperArgs[@]}"
|
||||
|
||||
wrapProgram $out/bin/ruffle_desktop \
|
||||
"''${vulkanWrapperArgs[@]}" \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
'';
|
||||
wrapProgram $out/bin/ruffle_desktop \
|
||||
"''${vulkanWrapperArgs[@]}" \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
'';
|
||||
|
||||
cargoBuildFlags = [ "--workspace" ];
|
||||
|
||||
@@ -109,7 +117,7 @@ rustPlatform.buildRustPackage {
|
||||
govanify
|
||||
jchw
|
||||
];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
mainProgram = "ruffle_desktop";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -135,7 +135,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
inherit nixos-icons;
|
||||
inherit (perlPackages) ImageMagick;
|
||||
inherit (python3.pkgs) img2pdf;
|
||||
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
pkg-config = testers.hasPkgConfigModules {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = lib.head (lib.splitString "-" finalAttrs.version);
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
stable = {
|
||||
chromedriver = {
|
||||
hash_darwin = "sha256-DX0J3xeOK4Dy4BAjbrbu1rnIkmF8nlmy9tMaQhLsFcU=";
|
||||
hash_darwin = "sha256-1gi+hWrVL+mBB8pHMXnX/8kzRCQqGuut/+wO/9yBABs=";
|
||||
hash_darwin_aarch64 =
|
||||
"sha256-hRJeaeQS30srO5M1Gi43VYR/KrjNAhH0XozkEzvcbA0=";
|
||||
hash_linux = "sha256-CcBQhIsK7mL7VNJCs6ynhrQeXPuB793DysyV1nj90mM=";
|
||||
version = "125.0.6422.76";
|
||||
"sha256-skYFjXBvv+2u/K770Dd3uxFYFer6GGx/EgWfAgzE9pI=";
|
||||
hash_linux = "sha256-67rXlDJeDSpcpEhNQq0rVS2bSWPy3GXVnTo6dwKAnZU=";
|
||||
version = "125.0.6422.78";
|
||||
};
|
||||
deps = {
|
||||
gn = {
|
||||
@@ -15,8 +15,8 @@
|
||||
version = "2024-04-10";
|
||||
};
|
||||
};
|
||||
hash = "sha256-m7WeRloS6tGH2AwhkNicpqThUQmS+9w2xFS2dbmu1vw=";
|
||||
version = "125.0.6422.76";
|
||||
hash = "sha256-EA8TzemtndFb8qAp4XWNjwWmNRz/P4Keh3k1Cn9qLEU=";
|
||||
version = "125.0.6422.112";
|
||||
};
|
||||
ungoogled-chromium = {
|
||||
deps = {
|
||||
@@ -27,11 +27,11 @@
|
||||
version = "2024-04-10";
|
||||
};
|
||||
ungoogled-patches = {
|
||||
hash = "sha256-bGc8hQnuiGot0kThSAi4AFAwmvrNPs1bR7oZx2XoAGo=";
|
||||
rev = "125.0.6422.76-1";
|
||||
hash = "sha256-vHnXIrDdHGIe8byb41CiEWq3FPTecKg006dU7+iESKA=";
|
||||
rev = "125.0.6422.112-1";
|
||||
};
|
||||
};
|
||||
hash = "sha256-m7WeRloS6tGH2AwhkNicpqThUQmS+9w2xFS2dbmu1vw=";
|
||||
version = "125.0.6422.76";
|
||||
hash = "sha256-EA8TzemtndFb8qAp4XWNjwWmNRz/P4Keh3k1Cn9qLEU=";
|
||||
version = "125.0.6422.112";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubernetes-helm";
|
||||
version = "3.15.0";
|
||||
version = "3.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "helm";
|
||||
repo = "helm";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0YBpxXM/+mU0y1lf/h3xFbF5nfbjk6D9qT10IMR9XUY=";
|
||||
sha256 = "sha256-DTHohUkL4ophYeXSZ/acle6Ruum9IIHxnu7gvPOOaYY=";
|
||||
};
|
||||
vendorHash = "sha256-VPahAeeRz3fk1475dlCofiLVAKXMhpvspENmQmlPyPM=";
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubebuilder";
|
||||
version = "3.15.0";
|
||||
version = "3.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kubernetes-sigs";
|
||||
repo = "kubebuilder";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-YaISsW+USP9M4Mblluo+SXSwGspiTiiPFA3VvLmhqaQ=";
|
||||
hash = "sha256-Fc9EzzOULRfzQENHd/7aXWqLeoPjNsseqpZETNGvV6U=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-g9QjalRLc2NUsyd7Do1PWw9oD9ATuJGMRaqSaC6AcD0=";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubecolor";
|
||||
version = "0.3.2";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9fL1zuhQ1B8QpJXcGVxg8mqIQoM5ZhwuE000rDcrrw0=";
|
||||
sha256 = "sha256-VGpyYc6YmRr58OSRQvWTo4f8ku8L1/gn0ilbQSotO2k=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Gzz+mCEMQCcLwTiGMB8/nXk7HDAEGkEapC/VOyXrn/Q=";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "stern";
|
||||
version = "1.29.0";
|
||||
version = "1.30.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stern";
|
||||
repo = "stern";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-8Tvhul7GwVbRJqJenbYID8OY5zGzFhIormUwEtLE0Lw=";
|
||||
sha256 = "sha256-sqRPX+NC58mQi0wvs3u3Lb81LBntaY1FzzlY1TIiz18=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-RLcF7KfKtkwB+nWzaQb8Va9pau+TS2uE9AmJ0aFNsik=";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "flexget";
|
||||
version = "3.11.33";
|
||||
version = "3.11.34";
|
||||
pyproject = true;
|
||||
|
||||
# Fetch from GitHub in order to use `requirements.in`
|
||||
@@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
owner = "Flexget";
|
||||
repo = "Flexget";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kgTlz3cUztIUKKqmUpUpEwu5qyjE0fCarG/EKJ1PoPc=";
|
||||
hash = "sha256-g5TmjR3N/21JgXoRy56PN5A+Jbow2DFaAu0ammLtPxw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"version" = "1.11.66";
|
||||
"version" = "1.11.67";
|
||||
"hashes" = {
|
||||
"desktopSrcHash" = "sha256-QrFk6NIHvWgQuJz33CEU6rwmgtGZ9w3L9vqj/rdCkE8=";
|
||||
"desktopYarnHash" = "1kin5z6cjgsljdhh5f4fq2782ld86pza6hz58rq1zwbd187nzbwz";
|
||||
"webSrcHash" = "sha256-xWaK2tHsuZmiwp7HExX83zKL8Z0ScRCEOnfxePWk2KI=";
|
||||
"webYarnHash" = "1ykjpsg4d4kykd6w7c0yjyg8ljpc9czzwjx7ab27i84ys6pknx3q";
|
||||
"desktopSrcHash" = "sha256-oM4/PKydmIBp2zVbzJRbVYnklYO2IHH7ZBV4MfLxnQo=";
|
||||
"desktopYarnHash" = "04dbsacigq5jrh7gpyxj31grwzsg58cy6d4y7k3hmcwd4gj68iid";
|
||||
"webSrcHash" = "sha256-faJiuAmEIEkNrwjgU06XT9J2NxJrJNIsPb1K5WXR0Lc=";
|
||||
"webYarnHash" = "14sy3by840gbxqyvhwaj5k07hvhcsj300s39qjfsg1sx9fnfzck3";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "signalbackup-tools";
|
||||
version = "20240514";
|
||||
version = "20240521";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bepaald";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-3coP4Bia/a2xbeHQBUq2rXPEPzWEX9hJX1kb1wh60FA=";
|
||||
hash = "sha256-aNiOqY1qRdPQl02Pr+A9OQgh0zHJnk8XaxdapQ/TwmE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "twitch-tui";
|
||||
version = "2.6.9";
|
||||
version = "2.6.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Xithrius";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-c5wDneX7p3kOhARaDISHFdPpo4Bs1KbRdShp2cjI6wQ=";
|
||||
hash = "sha256-RJ/+yXbCS8DkdvblBYlxE4sStpTQcGQZXWAApdL7/2o=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-4kz8s5cQDSPZEyHB7+A5q+PrvSr/jAyjfLw+uhThFxQ=";
|
||||
cargoHash = "sha256-lI0HR0iNA2C0kf+oBLxxjcOhsf70wCo3tKPMAC76EZM=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "protonmail-bridge";
|
||||
version = "3.11.0";
|
||||
version = "3.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonMail";
|
||||
repo = "proton-bridge";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-V2PevO9jhtKMrFVlviKPwcApP4ZTRbCLVoPx0gGNosU=";
|
||||
hash = "sha256-PM162vj1Q336fM5z6KoBgtujz9UgESIxUW3Lw8AEYTw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qi6ME74pJH/wgDh0xp/Rsc9hPd3v3L/M8pBQJzNieK8=";
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "wdt";
|
||||
version = "1.27.1612021-unstable-2024-02-05";
|
||||
version = "1.27.1612021-unstable-2024-05-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "wdt";
|
||||
rev = "d94b2d5df6f1c803f9f3b8ed9247b752fa853865";
|
||||
sha256 = "sha256-9TeJbZZq9uQ6KaEBFGDyIGcXgxi2y1aj55vxv5dAIzw=";
|
||||
rev = "6263fee3bebc8bb0012e095723170f70b99ff67d";
|
||||
sha256 = "sha256-CxwRfjPkR7d+Poe+8+TbBGcsK90EwupCyLqUkxUlITs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "morgen";
|
||||
version = "3.4.2";
|
||||
version = "3.4.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.todesktop.com/210203cqcj00tw1/versions/${version}/linux/deb";
|
||||
hash = "sha256-N9G9yfUhKZd3dcsyBKODL6vnMqQgLk2DRQ+YZAYdPks=";
|
||||
hash = "sha256-QxbvD18yoIidiDoU7FsCpdgYZolp8LRx93d1GTjtnfA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -52,13 +52,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sdrangel";
|
||||
version = "7.20.1";
|
||||
version = "7.21.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "f4exb";
|
||||
repo = "sdrangel";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-8v00JiPRCFqg+6wEZw5BrsHMvUYweigbroBHKQGOlHI=";
|
||||
hash = "sha256-TbOGuxFFBSjva1dbZxd2oQJs6X43QWYSU6VjlXKlDfk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
let
|
||||
pname = "gfold";
|
||||
version = "4.4.1";
|
||||
version = "4.5.0";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
@@ -20,10 +20,10 @@ rustPlatform.buildRustPackage {
|
||||
owner = "nickgerace";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-KKuWPitm7oD2mXPSu2rbOyzwJ9JJ23LBQIIkkPHm1w4=";
|
||||
sha256 = "sha256-7wTU+yVp/GO1H1MbgZKO0OwqSC2jbHO0lU8aa0tHLTY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wDUOYK9e0i600UnJ0w0FPI2GhTa/QTq/2+ICiDWrmEU=";
|
||||
cargoHash = "sha256-idzw5dfCCvujvYr7DG0oOzQUIcbACtiIZLoA4MEClzY=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "git-delete-merged-branches";
|
||||
version = "7.4.0";
|
||||
version = "7.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hartwork";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-17uFV3pjklqVW5ofeR54mgMh+q3uUCdqZG00Cc+4zFQ=";
|
||||
sha256 = "sha256-1CUwac2TPU5s1uLS1zPvtXZEGCWYwm1y935jqbI173Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-machete";
|
||||
version = "3.25.2";
|
||||
version = "3.25.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "virtuslab";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-uTbDrSR2Aqeq73PI0dghCkOQS7QPFb/I9Yrl3wIH9ZQ=";
|
||||
hash = "sha256-2XWQK0dXJeQJsB2FUsLoOA4SIoterb1WGXqYi1JHPQY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
@@ -18,16 +18,16 @@ let
|
||||
gix = "${stdenv.hostPlatform.emulator buildPackages} $out/bin/gix";
|
||||
in rustPlatform.buildRustPackage rec {
|
||||
pname = "gitoxide";
|
||||
version = "0.35.0";
|
||||
version = "0.36.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Byron";
|
||||
repo = "gitoxide";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Sl7nNYoiCdTZ50tIfJcq5x9KOBkgJsb5bq09chWbyQc=";
|
||||
hash = "sha256-HXuMcLY5BAC2dODlI6sgwCyGEBDW6ojlHRCBnIQ6P6A=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-G1NWRkhcmFrcHaIxQ7nzvRejPZUuZQDiNonZykkt4qM=";
|
||||
cargoHash = "sha256-v+HVrYMPwbD0RDyxufv11KOnWGbTljpbx6ZlSJ46Olk=";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config installShellFiles ];
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, hyprland
|
||||
, fetchpatch
|
||||
}:
|
||||
let
|
||||
mkHyprlandPlugin = hyprland:
|
||||
@@ -24,15 +25,27 @@ let
|
||||
hy3 = { fetchFromGitHub, cmake, hyprland }:
|
||||
mkHyprlandPlugin hyprland {
|
||||
pluginName = "hy3";
|
||||
version = "0.39.1";
|
||||
version = "0.40.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "outfoxxed";
|
||||
repo = "hy3";
|
||||
rev = "hl0.39.1";
|
||||
hash = "sha256-PqVld+oFziSt7VZTNBomPyboaMEAIkerPQFwNJL/Wjw=";
|
||||
rev = "hl0.40.0";
|
||||
hash = "sha256-Y9bIML3C5xyKKv+Yel4LUfSkScwGunOVZkg+Z1dPwHI=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/outfoxxed/hy3/commit/33c8d761ff1c1d2264f7549a7bcfc010929d153c.patch";
|
||||
hash = "sha256-GcLQ38IVGB6VFMviKqWAM9ayjC2lpWekx3kqrnwsLhk=";
|
||||
})
|
||||
|
||||
(fetchpatch {
|
||||
url = "https://github.com/outfoxxed/hy3/commit/400930e0391a0e13ebbc6a3b9fe162e00aaad89a.patch";
|
||||
hash = "sha256-DVrZSkXE4uKrAceGpUZklqrVRzV1CpNRgjpq0uOz0jk=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ablog";
|
||||
version = "0.11.8";
|
||||
version = "0.11.10";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PpNBfa4g14l8gm9+PxOFc2NDey031D7Ohutx2OGUeak=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sunpy";
|
||||
repo = "ablog";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8NyFLGtMJLUkojEhWpWNZz3zlfgGVgSvgk4dDEz1jzs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
@@ -31,6 +34,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
defusedxml
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
@@ -39,6 +43,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "ABlog for blogging with Sphinx";
|
||||
mainProgram = "ablog";
|
||||
34
pkgs/by-name/ar/ark-pixel-font/limit-builds.patch
Normal file
34
pkgs/by-name/ar/ark-pixel-font/limit-builds.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
diff --git a/build.py b/build.py
|
||||
index 48bc757d..88b9ed9b 100644
|
||||
--- a/build.py
|
||||
+++ b/build.py
|
||||
@@ -1,6 +1,5 @@
|
||||
from scripts import configs
|
||||
from scripts.configs import path_define
|
||||
-from scripts.services import publish_service, info_service, template_service, image_service
|
||||
from scripts.services.font_service import DesignContext, FontContext
|
||||
from scripts.utils import fs_util
|
||||
|
||||
@@ -21,21 +20,6 @@ def main():
|
||||
font_context.make_pcf()
|
||||
font_context.make_otc()
|
||||
font_context.make_ttc()
|
||||
- publish_service.make_release_zips(font_config, width_mode)
|
||||
- info_service.make_info_file(design_context, width_mode)
|
||||
- info_service.make_alphabet_txt_file(design_context, width_mode)
|
||||
- template_service.make_alphabet_html_file(design_context, width_mode)
|
||||
- template_service.make_demo_html_file(design_context)
|
||||
- image_service.make_preview_image_file(font_config)
|
||||
- template_service.make_index_html_file()
|
||||
- template_service.make_playground_html_file()
|
||||
- image_service.make_readme_banner()
|
||||
- image_service.make_github_banner()
|
||||
- image_service.make_itch_io_banner()
|
||||
- image_service.make_itch_io_background()
|
||||
- image_service.make_itch_io_cover()
|
||||
- image_service.make_afdian_cover()
|
||||
-
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
@@ -28,10 +28,15 @@ python312Packages.buildPythonPackage rec {
|
||||
gitpython
|
||||
];
|
||||
|
||||
# By default build.py builds a LOT of extraneous artifacts we don't need.
|
||||
patches = [ ./limit-builds.patch ];
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
python build.py
|
||||
# Too much debug output would break Hydra, so this jankness has to be here for it to build at all.
|
||||
# I wish there's a builtin way to set the log level without modifying the script itself...
|
||||
python3 build.py 2>&1 >/dev/null | grep -E '^(INFO|WARN|ERROR)'
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
@@ -43,6 +48,9 @@ python312Packages.buildPythonPackage rec {
|
||||
install -Dm444 build/outputs/*.otf -t $out/share/fonts/opentype
|
||||
install -Dm444 build/outputs/*.ttf -t $out/share/fonts/truetype
|
||||
install -Dm444 build/outputs/*.woff2 -t $out/share/fonts/woff2
|
||||
install -Dm444 build/outputs/*.pcf -t $out/share/fonts/pcf
|
||||
install -Dm444 build/outputs/*.otc -t $out/share/fonts/otc
|
||||
install -Dm444 build/outputs/*.ttc -t $out/share/fonts/ttc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
193
pkgs/by-name/ba/basedpyright/package-lock.json
generated
Normal file
193
pkgs/by-name/ba/basedpyright/package-lock.json
generated
Normal file
@@ -0,0 +1,193 @@
|
||||
{
|
||||
"name": "pyright-root",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pyright-root",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"glob": "^7.2.3",
|
||||
"jsonc-parser": "^3.2.1"
|
||||
}
|
||||
},
|
||||
"node_modules/balanced-match": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
|
||||
},
|
||||
"node_modules/brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"node_modules/concat-map": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
|
||||
},
|
||||
"node_modules/fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
|
||||
},
|
||||
"node_modules/glob": {
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
|
||||
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
|
||||
"dependencies": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.1.1",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
|
||||
"dependencies": {
|
||||
"once": "^1.3.0",
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"node_modules/inherits": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||
},
|
||||
"node_modules/jsonc-parser": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.1.tgz",
|
||||
"integrity": "sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA=="
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/once": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
||||
"dependencies": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"node_modules/path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/wrappy": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"balanced-match": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
|
||||
},
|
||||
"fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.2.3",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
|
||||
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.1.1",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
|
||||
"requires": {
|
||||
"once": "^1.3.0",
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"inherits": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
|
||||
},
|
||||
"jsonc-parser": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.1.tgz",
|
||||
"integrity": "sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA=="
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
},
|
||||
"once": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||
"integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg=="
|
||||
},
|
||||
"wrappy": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
|
||||
}
|
||||
}
|
||||
}
|
||||
89
pkgs/by-name/ba/basedpyright/package.nix
Normal file
89
pkgs/by-name/ba/basedpyright/package.nix
Normal file
@@ -0,0 +1,89 @@
|
||||
{
|
||||
lib,
|
||||
nix-update-script,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
runCommand,
|
||||
jq,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.12.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "detachhead";
|
||||
repo = "basedpyright";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-n4jiKxkXGCKJkuXSsUktsiJQuCcZ+D/RJH/ippnOVw8=";
|
||||
};
|
||||
|
||||
patchedPackageJSON = runCommand "package.json" { } ''
|
||||
${jq}/bin/jq '
|
||||
.devDependencies |= with_entries(select(.key == "glob" or .key == "jsonc-parser"))
|
||||
| .scripts = { }
|
||||
' ${src}/package.json > $out
|
||||
'';
|
||||
|
||||
pyright-root = buildNpmPackage {
|
||||
pname = "pyright-root";
|
||||
inherit version src;
|
||||
npmDepsHash = "sha256-63kUhKrxtJhwGCRBnxBfOFXs2ARCNn+OOGu6+fSJey4=";
|
||||
dontNpmBuild = true;
|
||||
postPatch = ''
|
||||
cp ${patchedPackageJSON} ./package.json
|
||||
cp ${./package-lock.json} ./package-lock.json
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp -r . "$out"
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
|
||||
pyright-internal = buildNpmPackage {
|
||||
pname = "pyright-internal";
|
||||
inherit version src;
|
||||
sourceRoot = "${src.name}/packages/pyright-internal";
|
||||
npmDepsHash = "sha256-ba7GzkKrXps4W1ptv+j9fMMXwpi30ymbqgIJ64PaZ1g=";
|
||||
dontNpmBuild = true;
|
||||
# FIXME: Remove this flag when TypeScript 5.5 is released
|
||||
npmFlags = [ "--legacy-peer-deps" ];
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cp -r . "$out"
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
in
|
||||
buildNpmPackage rec {
|
||||
pname = "basedpyright";
|
||||
inherit version src;
|
||||
|
||||
sourceRoot = "${src.name}/packages/pyright";
|
||||
npmDepsHash = "sha256-9V1T6w1G1SZi19dgRaFmv+Vy71hmQR+L6cDjQZJrGy8=";
|
||||
|
||||
postPatch = ''
|
||||
chmod +w ../../
|
||||
ln -s ${pyright-root}/node_modules ../../node_modules
|
||||
chmod +w ../pyright-internal
|
||||
ln -s ${pyright-internal}/node_modules ../pyright-internal/node_modules
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv "$out/bin/pyright" "$out/bin/basedpyright"
|
||||
mv "$out/bin/pyright-langserver" "$out/bin/basedpyright-langserver"
|
||||
'';
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/detachhead/basedpyright/releases/tag/${version}";
|
||||
description = "Type checker for the Python language";
|
||||
homepage = "https://github.com/detachhead/basedpyright";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "basedpyright";
|
||||
maintainers = with lib.maintainers; [ kiike ];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, getopt
|
||||
, ksh
|
||||
, bc
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, llvmPackages, elfutils, bcc
|
||||
, libbpf, libbfd, libopcodes
|
||||
, cereal, asciidoctor
|
||||
|
||||
@@ -27,13 +27,13 @@ let
|
||||
in
|
||||
buildNpmPackage' rec {
|
||||
pname = "bruno";
|
||||
version = "1.17.0";
|
||||
version = "1.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "usebruno";
|
||||
repo = "bruno";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-z4KL6CX1jtuC4lxqYA6Mg1zPSc9/OpRb530jPIQK3Is=";
|
||||
hash = "sha256-vYN245vMt/NjISaaFSXOkELONVld6knaKbi5FiN/0tA=";
|
||||
|
||||
postFetch = ''
|
||||
${lib.getExe npm-lockfile-fix} $out/package-lock.json
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
name = "cano";
|
||||
version = "0-unstable-2024-31-3";
|
||||
version = "0.1.0-alpha";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CobbCoding1";
|
||||
repo = "Cano";
|
||||
rev = "6b3488545b4180f20a7fa892fb0ee719e9298ddc";
|
||||
hash = "sha256-qFo0szZVGLUf7c7KdEIofcieWZqtM6kQE6D8afrZ+RU=";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-BKbBDN7xZwlNzw7UFgX+PD9UXbr9FtELo+PlbfSHyRY=";
|
||||
};
|
||||
|
||||
buildInputs = [ gnumake ncurses ];
|
||||
|
||||
@@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec {
|
||||
[
|
||||
d.CoreServices
|
||||
d.Security
|
||||
d.SystemConfiguration
|
||||
]
|
||||
);
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, dbus
|
||||
, file
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
};
|
||||
hash = selectSystem {
|
||||
x86_64-linux = "sha256-q6VIr55hXn47kZrE2i6McEOfp2FBOvwB0CcUnRHFMZs=";
|
||||
aarch64-linux = "sha256-CQg2+p1P+Bg1uFM1PMTWtweS0TNElXTP7tI7D5WxixM=";
|
||||
aarch64-linux = "sha256-Xn3X1C31UALBAsZIGyMWdp0HNhJEm5N+7Go7nMs8W64=";
|
||||
};
|
||||
in
|
||||
fetchurl {
|
||||
@@ -61,6 +61,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://dbeaver.io/";
|
||||
description = "Universal SQL Client for developers, DBA and analysts. Supports MySQL, PostgreSQL, MariaDB, SQLite, and more";
|
||||
|
||||
25
pkgs/by-name/db/dbeaver-bin/update.sh
Executable file
25
pkgs/by-name/db/dbeaver-bin/update.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -I nixpkgs=./. -i bash -p curl jq
|
||||
|
||||
latestVersion=$(curl "https://api.github.com/repos/dbeaver/dbeaver/tags" | jq -r '.[0].name')
|
||||
currentVersion=$(nix-instantiate --eval -E "with import ./. {}; dbeaver-bin.version" | tr -d '"')
|
||||
|
||||
echo "latest version: $latestVersion"
|
||||
echo "current version: $currentVersion"
|
||||
|
||||
if [[ "$latestVersion" == "$currentVersion" ]]; then
|
||||
echo "package is up-to-date"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for i in \
|
||||
"x86_64-linux linux.gtk.x86_64-nojdk.tar.gz" \
|
||||
"aarch64-linux linux.gtk.aarch64-nojdk.tar.gz"
|
||||
do
|
||||
set -- $i
|
||||
prefetch=$(nix-prefetch-url "https://github.com/dbeaver/dbeaver/releases/download/$latestVersion/dbeaver-ce-$latestVersion-$2")
|
||||
hash=$(nix-hash --type sha256 --to-sri $prefetch)
|
||||
|
||||
update-source-version dbeaver-bin 0 "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" --system=$1
|
||||
update-source-version dbeaver-bin $latestVersion $hash --system=$1
|
||||
done
|
||||
@@ -1,7 +1,6 @@
|
||||
{ buildGoModule
|
||||
, dependabot-cli
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
, lib
|
||||
, testers
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, ldc
|
||||
, curl
|
||||
}:
|
||||
|
||||
@@ -47,13 +47,13 @@ let
|
||||
in
|
||||
stdenv'.mkDerivation (finalAttrs: {
|
||||
pname = "fastfetch";
|
||||
version = "2.13.1";
|
||||
version = "2.13.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastfetch-cli";
|
||||
repo = "fastfetch";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-AB7GxeKLD+xdnFEA/STD7CFazsybYGtX10Q/Q4MRTrU=";
|
||||
hash = "sha256-Wt+HFl+HJKMzC8O0JslVLpHFrmVVSBpac79TsKVpz+k=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
37
pkgs/by-name/fc/fcast-client/package.nix
Normal file
37
pkgs/by-name/fc/fcast-client/package.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitLab,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fcast-client";
|
||||
version = "0.1.0-unstable-2024-05-23";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.futo.org";
|
||||
owner = "videostreaming";
|
||||
repo = "fcast";
|
||||
rev = "cc07f95d2315406fcacf67cb3abb98efff5df5d9";
|
||||
hash = "sha256-vsD4xgrC5KbnZT6hPX3fi3M/CH39LtoRfa6nYD0iFew=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/clients/terminal";
|
||||
cargoHash = "sha256-VVG7AbwbbgCANMcFYNAIF76MQr7Fkmq5HXPxL3MnEhI=";
|
||||
|
||||
meta = {
|
||||
description = "FCast Client Terminal, a terminal open-source media streaming client";
|
||||
homepage = "https://fcast.org/";
|
||||
license = lib.licenses.gpl3;
|
||||
longDescription = ''
|
||||
FCast is a protocol designed for wireless streaming of audio and video
|
||||
content between devices. Unlike alternative protocols like Chromecast and
|
||||
AirPlay, FCast is an open source protocol that allows for custom receiver
|
||||
implementations, enabling third-party developers to create their own
|
||||
receiver devices or integrate the FCast protocol into their own apps.
|
||||
'';
|
||||
mainProgram = "fcast-client";
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -23,16 +23,16 @@ in
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ff2mpv-rust";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ryze312";
|
||||
repo = "ff2mpv-rust";
|
||||
rev = version;
|
||||
hash = "sha256-lQ1VRz/1HYZ3Il/LNNL+Jr6zFvGyxw9rUuzCCA1DZYo=";
|
||||
hash = "sha256-hAhHfNiHzrzACrijpVkzpXqrqGYKI3HIJZtUuTrRIcQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-cbueToB7zDHV4k9K8RusHjnMR0ElXsPEfuqHYli25nc=";
|
||||
cargoHash = "sha256-EKmysiq1NTv1aQ1DZGS8bziY4lRr+KssBgXa8MO76Ac=";
|
||||
|
||||
postInstall = ''
|
||||
$out/bin/ff2mpv-rust manifest > manifest.json
|
||||
|
||||
64
pkgs/by-name/hd/hdos/package.nix
Normal file
64
pkgs/by-name/hd/hdos/package.nix
Normal file
@@ -0,0 +1,64 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
makeWrapper,
|
||||
# TODO: for jre 17+, we'll need a workaroud:
|
||||
# https://gitlab.com/hdos/issues/-/issues/2004
|
||||
openjdk11,
|
||||
makeDesktopItem,
|
||||
copyDesktopItems,
|
||||
libGL,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "hdos";
|
||||
version = "8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.hdos.dev/launcher/v${finalAttrs.version}/hdos-launcher.jar";
|
||||
hash = "sha256-00ddeR+ov6Tjrn+pscXoao4C0ek/iP9Hdlgq946pL8A=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
desktop = makeDesktopItem {
|
||||
name = "HDOS";
|
||||
type = "Application";
|
||||
exec = "hdos";
|
||||
icon = fetchurl {
|
||||
url = "https://raw.githubusercontent.com/flathub/dev.hdos.HDOS/8e17cbecb06548fde2c023032e89ddf30befeabc/dev.hdos.HDOS.png";
|
||||
hash = "sha256-pqLNJ0g7GCPotgEPfw2ZZOqapaCRAsJxB09INp6Y6gM=";
|
||||
};
|
||||
comment = "HDOS is a client for Old School RuneScape that emulates the era of 2008-2011 RuneScape HD";
|
||||
desktopName = "HDOS";
|
||||
genericName = "Oldschool Runescape";
|
||||
categories = [ "Game" ];
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
copyDesktopItems
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
makeWrapper ${lib.getExe openjdk11} $out/bin/hdos \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libGL ]}" \
|
||||
--add-flags "-jar $src"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
desktopItems = [ finalAttrs.desktop ];
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = {
|
||||
description = "High Detail Old School Runescape Client";
|
||||
homepage = "https://hdos.dev";
|
||||
changelog = "https://hdos.dev/changelog";
|
||||
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
|
||||
license = lib.licenses.unfree;
|
||||
platforms = openjdk11.meta.platforms;
|
||||
maintainers = [ lib.maintainers.misterio77 ];
|
||||
};
|
||||
})
|
||||
7
pkgs/by-name/hd/hdos/update.sh
Executable file
7
pkgs/by-name/hd/hdos/update.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p common-updater-scripts findutils
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
version="$(curl -s https://cdn.hdos.dev/client/getdown.txt | grep 'launcher.version = ' | cut -d '=' -f2 | xargs)"
|
||||
update-source-version hdos "$version"
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, expat
|
||||
, flac
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
, cmake
|
||||
, llvm
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, mbedtls
|
||||
, gtk3
|
||||
, pkg-config
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
# SolidPython is an unmaintained library with old dependencies.
|
||||
{ buildPythonPackage
|
||||
, callPackage
|
||||
, fetchFromGitHub
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, lib
|
||||
, pythonRelaxDepsHook
|
||||
|
||||
, poetry-core
|
||||
, prettytable
|
||||
, pypng
|
||||
, ply
|
||||
, setuptools
|
||||
, euclid3
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kor";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "yonahd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OZSec1S583jVGqSET0y4WhKxWf9CyLKuhEwu39Zg9vE=";
|
||||
hash = "sha256-4l19/vIvcgt7g3o6IWGHhIsXurAy6Ts4fJjs8OMZalk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-4XcmaW4H+IgZZx3PuG0aimqSG1eUnRtcbebKXuencnQ=";
|
||||
vendorHash = "sha256-NPmsXS7P+pCF97N8x3nQhCRoHJLMO5plNtcUqxxexVE=";
|
||||
|
||||
preCheck = ''
|
||||
HOME=$(mktemp -d)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{ lib
|
||||
, fetchzip
|
||||
, fetchpatch
|
||||
, stdenv
|
||||
, gettext
|
||||
, libtool
|
||||
|
||||
38
pkgs/by-name/li/libclipboard/package.nix
Normal file
38
pkgs/by-name/li/libclipboard/package.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
libxcb,
|
||||
libXau,
|
||||
libXdmcp,
|
||||
darwin,
|
||||
lib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
name = "libclipboard";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jtanx";
|
||||
repo = "libclipboard";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-553hNG8QUlt/Aff9EKYr6w279ELr+2MX7nh1SKIklhA=";
|
||||
};
|
||||
|
||||
buildInputs = [ libxcb libXau libXdmcp ]
|
||||
++ lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Cocoa ];
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
meta = {
|
||||
description = "Lightweight cross-platform clipboard library";
|
||||
homepage = "https://jtanx.github.io/libclipboard";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.sigmanificient ];
|
||||
};
|
||||
})
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libcpuid";
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, stdenv
|
||||
, zlib
|
||||
, openssl
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
atf,
|
||||
libiconvReal,
|
||||
meson,
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libui-ng";
|
||||
version = "4.1-unstable-2024-05-03";
|
||||
version = "4.1-unstable-2024-05-19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libui-ng";
|
||||
repo = "libui-ng";
|
||||
rev = "56f1ad65f0f32bb1eb67a268cca4658fbe4567c1";
|
||||
hash = "sha256-wo4iS/a1ErdipFDPYKvaGpO/JGtk6eU/qMLC4eUoHnA=";
|
||||
rev = "49b04c4cf8ae4d3e38e389f446ef75170eb62762";
|
||||
hash = "sha256-W9LnUBUKwx1x3+BEeUanisBGR2Q4dnbcMM5k8mCondM=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "licensure";
|
||||
version = "0.3.2";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chasinglogic";
|
||||
repo = "licensure";
|
||||
rev = version;
|
||||
hash = "sha256-rOD2H9TEoZ8JCjlg6feNQiAjvroVGqrlOkDHNZKXDoE=";
|
||||
hash = "sha256-y72+k3AaR6iT99JJpGs6WZAEyG6CrOZHLqKRj19gLs0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ku0SI14pZmbhzE7RnK5kJY6tSMjRVKEMssC9e0Hq6hc=";
|
||||
cargoHash = "sha256-75UNzC+8qjm0A82N63i8YY92wCNQccrS3kIqDlR8pkc=";
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl git gitls ];
|
||||
|
||||
|
||||
40
pkgs/by-name/ls/lse/package.nix
Normal file
40
pkgs/by-name/ls/lse/package.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
bash,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lse";
|
||||
version = "4.14nw";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diego-treitos";
|
||||
repo = "linux-smart-enumeration";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-qGLmrbyeyhHG6ONs7TJLTm68xpvxB1iAnMUApfTSqEk=";
|
||||
};
|
||||
|
||||
buildInputs = [ bash ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp lse.sh $out/bin/lse.sh
|
||||
wrapProgram $out/bin/lse.sh \
|
||||
--prefix PATH : ${lib.makeBinPath [ bash ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Linux enumeration tool with verbosity levels";
|
||||
homepage = "https://github.com/diego-treitos/linux-smart-enumeration";
|
||||
changelog = "https://github.com/diego-treitos/linux-smart-enumeration/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "lse.sh";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lxd-ui";
|
||||
version = "0.8";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "canonical";
|
||||
repo = "lxd-ui";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-oD/GPm84oFXHcZ8vTUzNgQinrHwNuvpeVjsrp8ibIZY=";
|
||||
hash = "sha256-XLHLWD7iH4A5+MaFYiMILnjPGN565gBRpimFoOJMRtI=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, glfw
|
||||
, darwin
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
, makeWrapper
|
||||
, writeText
|
||||
, shellspec
|
||||
, fetchpatch
|
||||
# usage:
|
||||
# pkgs.mommy.override {
|
||||
# mommySettings.sweetie = "catgirl";
|
||||
|
||||
879
pkgs/by-name/ne/nextjs-ollama-llm-ui/0001-update-nextjs.patch
Normal file
879
pkgs/by-name/ne/nextjs-ollama-llm-ui/0001-update-nextjs.patch
Normal file
@@ -0,0 +1,879 @@
|
||||
diff --git a/package-lock.json b/package-lock.json
|
||||
index 11dfbf6..b9470d0 100644
|
||||
--- a/package-lock.json
|
||||
+++ b/package-lock.json
|
||||
@@ -30,7 +30,7 @@
|
||||
"framer-motion": "^11.0.3",
|
||||
"langchain": "^0.1.13",
|
||||
"lucide-react": "^0.322.0",
|
||||
- "next": "14.1.0",
|
||||
+ "next": "^14.2.3",
|
||||
"next-themes": "^0.2.1",
|
||||
"react": "^18",
|
||||
"react-code-blocks": "^0.1.6",
|
||||
@@ -40,6 +40,7 @@
|
||||
"react-resizable-panels": "^2.0.3",
|
||||
"react-textarea-autosize": "^8.5.3",
|
||||
"remark-gfm": "^4.0.0",
|
||||
+ "sharp": "^0.33.4",
|
||||
"sonner": "^1.4.0",
|
||||
"tailwind-merge": "^2.2.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
@@ -139,6 +140,15 @@
|
||||
"node": ">=6.9.0"
|
||||
}
|
||||
},
|
||||
+ "node_modules/@emnapi/runtime": {
|
||||
+ "version": "1.1.1",
|
||||
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.1.1.tgz",
|
||||
+ "integrity": "sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==",
|
||||
+ "optional": true,
|
||||
+ "dependencies": {
|
||||
+ "tslib": "^2.4.0"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/@emoji-mart/data": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@emoji-mart/data/-/data-1.1.2.tgz",
|
||||
@@ -304,6 +314,437 @@
|
||||
"integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==",
|
||||
"dev": true
|
||||
},
|
||||
+ "node_modules/@img/sharp-darwin-arm64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-p0suNqXufJs9t3RqLBO6vvrgr5OhgbWp76s5gTRvdmxmuv9E1rcaqGUsl3l4mKVmXPkTkTErXediAui4x+8PSA==",
|
||||
+ "cpu": [
|
||||
+ "arm64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "darwin"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.26",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-darwin-arm64": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-darwin-x64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-0l7yRObwtTi82Z6ebVI2PnHT8EB2NxBgpK2MiKJZJ7cz32R4lxd001ecMhzzsZig3Yv9oclvqqdV93jo9hy+Dw==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "darwin"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.26",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-darwin-x64": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.2.tgz",
|
||||
+ "integrity": "sha512-tcK/41Rq8IKlSaKRCCAuuY3lDJjQnYIW1UXU1kxcEKrfL8WR7N6+rzNoOxoQRJWTAECuKwgAHnPvqXGN8XfkHA==",
|
||||
+ "cpu": [
|
||||
+ "arm64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "darwin"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "macos": ">=11",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-darwin-x64": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.2.tgz",
|
||||
+ "integrity": "sha512-Ofw+7oaWa0HiiMiKWqqaZbaYV3/UGL2wAPeLuJTx+9cXpCRdvQhCLG0IH8YGwM0yGWGLpsF4Su9vM1o6aer+Fw==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "darwin"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "macos": ">=10.13",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-linux-arm": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.2.tgz",
|
||||
+ "integrity": "sha512-iLWCvrKgeFoglQxdEwzu1eQV04o8YeYGFXtfWU26Zr2wWT3q3MTzC+QTCO3ZQfWd3doKHT4Pm2kRmLbupT+sZw==",
|
||||
+ "cpu": [
|
||||
+ "arm"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.28",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-linux-arm64": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.2.tgz",
|
||||
+ "integrity": "sha512-x7kCt3N00ofFmmkkdshwj3vGPCnmiDh7Gwnd4nUwZln2YjqPxV1NlTyZOvoDWdKQVDL911487HOueBvrpflagw==",
|
||||
+ "cpu": [
|
||||
+ "arm64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.26",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-linux-s390x": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.2.tgz",
|
||||
+ "integrity": "sha512-cmhQ1J4qVhfmS6szYW7RT+gLJq9dH2i4maq+qyXayUSn9/3iY2ZeWpbAgSpSVbV2E1JUL2Gg7pwnYQ1h8rQIog==",
|
||||
+ "cpu": [
|
||||
+ "s390x"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.28",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-linux-x64": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.2.tgz",
|
||||
+ "integrity": "sha512-E441q4Qdb+7yuyiADVi5J+44x8ctlrqn8XgkDTwr4qPJzWkaHwD489iZ4nGDgcuya4iMN3ULV6NwbhRZJ9Z7SQ==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.26",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.2.tgz",
|
||||
+ "integrity": "sha512-3CAkndNpYUrlDqkCM5qhksfE+qSIREVpyoeHIU6jd48SJZViAmznoQQLAv4hVXF7xyUB9zf+G++e2v1ABjCbEQ==",
|
||||
+ "cpu": [
|
||||
+ "arm64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "musl": ">=1.2.2",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
|
||||
+ "version": "1.0.2",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.2.tgz",
|
||||
+ "integrity": "sha512-VI94Q6khIHqHWNOh6LLdm9s2Ry4zdjWJwH56WoiJU7NTeDwyApdZZ8c+SADC8OH98KWNQXnE01UdJ9CSfZvwZw==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "musl": ">=1.2.2",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-linux-arm": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.4.tgz",
|
||||
+ "integrity": "sha512-RUgBD1c0+gCYZGCCe6mMdTiOFS0Zc/XrN0fYd6hISIKcDUbAW5NtSQW9g/powkrXYm6Vzwd6y+fqmExDuCdHNQ==",
|
||||
+ "cpu": [
|
||||
+ "arm"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.28",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-linux-arm": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-linux-arm64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-2800clwVg1ZQtxwSoTlHvtm9ObgAax7V6MTAB/hDT945Tfyy3hVkmiHpeLPCKYqYR1Gcmv1uDZ3a4OFwkdBL7Q==",
|
||||
+ "cpu": [
|
||||
+ "arm64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.26",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-linux-arm64": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-linux-s390x": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.4.tgz",
|
||||
+ "integrity": "sha512-h3RAL3siQoyzSoH36tUeS0PDmb5wINKGYzcLB5C6DIiAn2F3udeFAum+gj8IbA/82+8RGCTn7XW8WTFnqag4tQ==",
|
||||
+ "cpu": [
|
||||
+ "s390x"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.31",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-linux-s390x": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-linux-x64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-GoR++s0XW9DGVi8SUGQ/U4AeIzLdNjHka6jidVwapQ/JebGVQIpi52OdyxCNVRE++n1FCLzjDovJNozif7w/Aw==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "glibc": ">=2.26",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-linux-x64": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-linuxmusl-arm64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-nhr1yC3BlVrKDTl6cO12gTpXMl4ITBUZieehFvMntlCXFzH2bvKG76tBL2Y/OqhupZt81pR7R+Q5YhJxW0rGgQ==",
|
||||
+ "cpu": [
|
||||
+ "arm64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "musl": ">=1.2.2",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-linuxmusl-arm64": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-linuxmusl-x64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-uCPTku0zwqDmZEOi4ILyGdmW76tH7dm8kKlOIV1XC5cLyJ71ENAAqarOHQh0RLfpIpbV5KOpXzdU6XkJtS0daw==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "linux"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "musl": ">=1.2.2",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-libvips-linuxmusl-x64": "1.0.2"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-wasm32": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.4.tgz",
|
||||
+ "integrity": "sha512-Bmmauh4sXUsUqkleQahpdNXKvo+wa1V9KhT2pDA4VJGKwnKMJXiSTGphn0gnJrlooda0QxCtXc6RX1XAU6hMnQ==",
|
||||
+ "cpu": [
|
||||
+ "wasm32"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "dependencies": {
|
||||
+ "@emnapi/runtime": "^1.1.1"
|
||||
+ },
|
||||
+ "engines": {
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-win32-ia32": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.4.tgz",
|
||||
+ "integrity": "sha512-99SJ91XzUhYHbx7uhK3+9Lf7+LjwMGQZMDlO/E/YVJ7Nc3lyDFZPGhjwiYdctoH2BOzW9+TnfqcaMKt0jHLdqw==",
|
||||
+ "cpu": [
|
||||
+ "ia32"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "win32"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
+ "node_modules/@img/sharp-win32-x64": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.4.tgz",
|
||||
+ "integrity": "sha512-3QLocdTRVIrFNye5YocZl+KKpYKP+fksi1QhmOArgx7GyhIbQp/WrJRu176jm8IxromS7RIkzMiMINVdBtC8Aw==",
|
||||
+ "cpu": [
|
||||
+ "x64"
|
||||
+ ],
|
||||
+ "optional": true,
|
||||
+ "os": [
|
||||
+ "win32"
|
||||
+ ],
|
||||
+ "engines": {
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0",
|
||||
+ "npm": ">=9.6.5",
|
||||
+ "pnpm": ">=7.1.0",
|
||||
+ "yarn": ">=3.2.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/@isaacs/cliui": {
|
||||
"version": "8.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
||||
@@ -800,9 +1241,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/env": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/env/-/env-14.1.0.tgz",
|
||||
- "integrity": "sha512-Py8zIo+02ht82brwwhTg36iogzFqGLPXlRGKQw5s+qP/kMNc4MAyDeEwBKDijk6zTIbegEgu8Qy7C1LboslQAw=="
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.3.tgz",
|
||||
+ "integrity": "sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA=="
|
||||
},
|
||||
"node_modules/@next/eslint-plugin-next": {
|
||||
"version": "14.1.0",
|
||||
@@ -814,9 +1255,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-darwin-arm64": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.1.0.tgz",
|
||||
- "integrity": "sha512-nUDn7TOGcIeyQni6lZHfzNoo9S0euXnu0jhsbMOmMJUBfgsnESdjN97kM7cBqQxZa8L/bM9om/S5/1dzCrW6wQ==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.3.tgz",
|
||||
+ "integrity": "sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -829,9 +1270,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-darwin-x64": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.1.0.tgz",
|
||||
- "integrity": "sha512-1jgudN5haWxiAl3O1ljUS2GfupPmcftu2RYJqZiMJmmbBT5M1XDffjUtRUzP4W3cBHsrvkfOFdQ71hAreNQP6g==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.3.tgz",
|
||||
+ "integrity": "sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -844,9 +1285,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-arm64-gnu": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.1.0.tgz",
|
||||
- "integrity": "sha512-RHo7Tcj+jllXUbK7xk2NyIDod3YcCPDZxj1WLIYxd709BQ7WuRYl3OWUNG+WUfqeQBds6kvZYlc42NJJTNi4tQ==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.3.tgz",
|
||||
+ "integrity": "sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -859,9 +1300,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-arm64-musl": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.1.0.tgz",
|
||||
- "integrity": "sha512-v6kP8sHYxjO8RwHmWMJSq7VZP2nYCkRVQ0qolh2l6xroe9QjbgV8siTbduED4u0hlk0+tjS6/Tuy4n5XCp+l6g==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.3.tgz",
|
||||
+ "integrity": "sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -874,9 +1315,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-x64-gnu": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.1.0.tgz",
|
||||
- "integrity": "sha512-zJ2pnoFYB1F4vmEVlb/eSe+VH679zT1VdXlZKX+pE66grOgjmKJHKacf82g/sWE4MQ4Rk2FMBCRnX+l6/TVYzQ==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.3.tgz",
|
||||
+ "integrity": "sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -889,9 +1330,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-linux-x64-musl": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.1.0.tgz",
|
||||
- "integrity": "sha512-rbaIYFt2X9YZBSbH/CwGAjbBG2/MrACCVu2X0+kSykHzHnYH5FjHxwXLkcoJ10cX0aWCEynpu+rP76x0914atg==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.3.tgz",
|
||||
+ "integrity": "sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -904,9 +1345,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-arm64-msvc": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.1.0.tgz",
|
||||
- "integrity": "sha512-o1N5TsYc8f/HpGt39OUQpQ9AKIGApd3QLueu7hXk//2xq5Z9OxmV6sQfNp8C7qYmiOlHYODOGqNNa0e9jvchGQ==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.3.tgz",
|
||||
+ "integrity": "sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
@@ -919,9 +1360,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-ia32-msvc": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.1.0.tgz",
|
||||
- "integrity": "sha512-XXIuB1DBRCFwNO6EEzCTMHT5pauwaSj4SWs7CYnME57eaReAKBXCnkUE80p/pAZcewm7hs+vGvNqDPacEXHVkw==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.3.tgz",
|
||||
+ "integrity": "sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
@@ -934,9 +1375,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@next/swc-win32-x64-msvc": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.1.0.tgz",
|
||||
- "integrity": "sha512-9WEbVRRAqJ3YFVqEZIxUqkiO8l1nool1LmNxygr5HWF8AcSYsEpneUDhmjUVJEzO2A04+oPtZdombzzPPkTtgg==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.3.tgz",
|
||||
+ "integrity": "sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
@@ -1810,11 +2251,17 @@
|
||||
"integrity": "sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA==",
|
||||
"dev": true
|
||||
},
|
||||
+ "node_modules/@swc/counter": {
|
||||
+ "version": "0.1.3",
|
||||
+ "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
|
||||
+ "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
|
||||
+ },
|
||||
"node_modules/@swc/helpers": {
|
||||
- "version": "0.5.2",
|
||||
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.2.tgz",
|
||||
- "integrity": "sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==",
|
||||
+ "version": "0.5.5",
|
||||
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz",
|
||||
+ "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",
|
||||
"dependencies": {
|
||||
+ "@swc/counter": "^0.1.3",
|
||||
"tslib": "^2.4.0"
|
||||
}
|
||||
},
|
||||
@@ -2930,6 +3377,18 @@
|
||||
"periscopic": "^3.1.0"
|
||||
}
|
||||
},
|
||||
+ "node_modules/color": {
|
||||
+ "version": "4.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
|
||||
+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
|
||||
+ "dependencies": {
|
||||
+ "color-convert": "^2.0.1",
|
||||
+ "color-string": "^1.9.0"
|
||||
+ },
|
||||
+ "engines": {
|
||||
+ "node": ">=12.5.0"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/color-convert": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
||||
@@ -2946,6 +3405,15 @@
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
||||
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
||||
},
|
||||
+ "node_modules/color-string": {
|
||||
+ "version": "1.9.1",
|
||||
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
||||
+ "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
|
||||
+ "dependencies": {
|
||||
+ "color-name": "^1.0.0",
|
||||
+ "simple-swizzle": "^0.2.2"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/combined-stream": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
||||
@@ -3152,6 +3620,14 @@
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
+ "node_modules/detect-libc": {
|
||||
+ "version": "2.0.3",
|
||||
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
|
||||
+ "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
|
||||
+ "engines": {
|
||||
+ "node": ">=8"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/detect-node-es": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
|
||||
@@ -4677,6 +5153,11 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
+ "node_modules/is-arrayish": {
|
||||
+ "version": "0.3.2",
|
||||
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
||||
+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
|
||||
+ },
|
||||
"node_modules/is-async-function": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz",
|
||||
@@ -6676,12 +7157,12 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/next": {
|
||||
- "version": "14.1.0",
|
||||
- "resolved": "https://registry.npmjs.org/next/-/next-14.1.0.tgz",
|
||||
- "integrity": "sha512-wlzrsbfeSU48YQBjZhDzOwhWhGsy+uQycR8bHAOt1LY1bn3zZEcDyHQOEoN3aWzQ8LHCAJ1nqrWCc9XF2+O45Q==",
|
||||
+ "version": "14.2.3",
|
||||
+ "resolved": "https://registry.npmjs.org/next/-/next-14.2.3.tgz",
|
||||
+ "integrity": "sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==",
|
||||
"dependencies": {
|
||||
- "@next/env": "14.1.0",
|
||||
- "@swc/helpers": "0.5.2",
|
||||
+ "@next/env": "14.2.3",
|
||||
+ "@swc/helpers": "0.5.5",
|
||||
"busboy": "1.6.0",
|
||||
"caniuse-lite": "^1.0.30001579",
|
||||
"graceful-fs": "^4.2.11",
|
||||
@@ -6695,18 +7176,19 @@
|
||||
"node": ">=18.17.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
- "@next/swc-darwin-arm64": "14.1.0",
|
||||
- "@next/swc-darwin-x64": "14.1.0",
|
||||
- "@next/swc-linux-arm64-gnu": "14.1.0",
|
||||
- "@next/swc-linux-arm64-musl": "14.1.0",
|
||||
- "@next/swc-linux-x64-gnu": "14.1.0",
|
||||
- "@next/swc-linux-x64-musl": "14.1.0",
|
||||
- "@next/swc-win32-arm64-msvc": "14.1.0",
|
||||
- "@next/swc-win32-ia32-msvc": "14.1.0",
|
||||
- "@next/swc-win32-x64-msvc": "14.1.0"
|
||||
+ "@next/swc-darwin-arm64": "14.2.3",
|
||||
+ "@next/swc-darwin-x64": "14.2.3",
|
||||
+ "@next/swc-linux-arm64-gnu": "14.2.3",
|
||||
+ "@next/swc-linux-arm64-musl": "14.2.3",
|
||||
+ "@next/swc-linux-x64-gnu": "14.2.3",
|
||||
+ "@next/swc-linux-x64-musl": "14.2.3",
|
||||
+ "@next/swc-win32-arm64-msvc": "14.2.3",
|
||||
+ "@next/swc-win32-ia32-msvc": "14.2.3",
|
||||
+ "@next/swc-win32-x64-msvc": "14.2.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@opentelemetry/api": "^1.1.0",
|
||||
+ "@playwright/test": "^1.41.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"sass": "^1.3.0"
|
||||
@@ -6715,6 +7197,9 @@
|
||||
"@opentelemetry/api": {
|
||||
"optional": true
|
||||
},
|
||||
+ "@playwright/test": {
|
||||
+ "optional": true
|
||||
+ },
|
||||
"sass": {
|
||||
"optional": true
|
||||
}
|
||||
@@ -7928,13 +8413,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/semver": {
|
||||
- "version": "7.5.4",
|
||||
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
|
||||
- "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
|
||||
- "dev": true,
|
||||
- "dependencies": {
|
||||
- "lru-cache": "^6.0.0"
|
||||
- },
|
||||
+ "version": "7.6.2",
|
||||
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz",
|
||||
+ "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==",
|
||||
"bin": {
|
||||
"semver": "bin/semver.js"
|
||||
},
|
||||
@@ -7942,18 +8423,6 @@
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
- "node_modules/semver/node_modules/lru-cache": {
|
||||
- "version": "6.0.0",
|
||||
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
||||
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
||||
- "dev": true,
|
||||
- "dependencies": {
|
||||
- "yallist": "^4.0.0"
|
||||
- },
|
||||
- "engines": {
|
||||
- "node": ">=10"
|
||||
- }
|
||||
- },
|
||||
"node_modules/seroval": {
|
||||
"version": "1.0.4",
|
||||
"resolved": "https://registry.npmjs.org/seroval/-/seroval-1.0.4.tgz",
|
||||
@@ -8010,6 +8479,45 @@
|
||||
"resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz",
|
||||
"integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ=="
|
||||
},
|
||||
+ "node_modules/sharp": {
|
||||
+ "version": "0.33.4",
|
||||
+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.4.tgz",
|
||||
+ "integrity": "sha512-7i/dt5kGl7qR4gwPRD2biwD2/SvBn3O04J77XKFgL2OnZtQw+AG9wnuS/csmu80nPRHLYE9E41fyEiG8nhH6/Q==",
|
||||
+ "hasInstallScript": true,
|
||||
+ "dependencies": {
|
||||
+ "color": "^4.2.3",
|
||||
+ "detect-libc": "^2.0.3",
|
||||
+ "semver": "^7.6.0"
|
||||
+ },
|
||||
+ "engines": {
|
||||
+ "libvips": ">=8.15.2",
|
||||
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||
+ },
|
||||
+ "funding": {
|
||||
+ "url": "https://opencollective.com/libvips"
|
||||
+ },
|
||||
+ "optionalDependencies": {
|
||||
+ "@img/sharp-darwin-arm64": "0.33.4",
|
||||
+ "@img/sharp-darwin-x64": "0.33.4",
|
||||
+ "@img/sharp-libvips-darwin-arm64": "1.0.2",
|
||||
+ "@img/sharp-libvips-darwin-x64": "1.0.2",
|
||||
+ "@img/sharp-libvips-linux-arm": "1.0.2",
|
||||
+ "@img/sharp-libvips-linux-arm64": "1.0.2",
|
||||
+ "@img/sharp-libvips-linux-s390x": "1.0.2",
|
||||
+ "@img/sharp-libvips-linux-x64": "1.0.2",
|
||||
+ "@img/sharp-libvips-linuxmusl-arm64": "1.0.2",
|
||||
+ "@img/sharp-libvips-linuxmusl-x64": "1.0.2",
|
||||
+ "@img/sharp-linux-arm": "0.33.4",
|
||||
+ "@img/sharp-linux-arm64": "0.33.4",
|
||||
+ "@img/sharp-linux-s390x": "0.33.4",
|
||||
+ "@img/sharp-linux-x64": "0.33.4",
|
||||
+ "@img/sharp-linuxmusl-arm64": "0.33.4",
|
||||
+ "@img/sharp-linuxmusl-x64": "0.33.4",
|
||||
+ "@img/sharp-wasm32": "0.33.4",
|
||||
+ "@img/sharp-win32-ia32": "0.33.4",
|
||||
+ "@img/sharp-win32-x64": "0.33.4"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/shebang-command": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
|
||||
@@ -8054,6 +8562,14 @@
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
+ "node_modules/simple-swizzle": {
|
||||
+ "version": "0.2.2",
|
||||
+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
||||
+ "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
|
||||
+ "dependencies": {
|
||||
+ "is-arrayish": "^0.3.1"
|
||||
+ }
|
||||
+ },
|
||||
"node_modules/slash": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
|
||||
@@ -9369,12 +9885,6 @@
|
||||
"node": ">=0.4"
|
||||
}
|
||||
},
|
||||
- "node_modules/yallist": {
|
||||
- "version": "4.0.0",
|
||||
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
||||
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
||||
- "dev": true
|
||||
- },
|
||||
"node_modules/yaml": {
|
||||
"version": "2.3.4",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
|
||||
diff --git a/package.json b/package.json
|
||||
index 4185096..4ab1c58 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -31,7 +31,7 @@
|
||||
"framer-motion": "^11.0.3",
|
||||
"langchain": "^0.1.13",
|
||||
"lucide-react": "^0.322.0",
|
||||
- "next": "14.1.0",
|
||||
+ "next": "^14.2.3",
|
||||
"next-themes": "^0.2.1",
|
||||
"react": "^18",
|
||||
"react-code-blocks": "^0.1.6",
|
||||
@@ -41,6 +41,7 @@
|
||||
"react-resizable-panels": "^2.0.3",
|
||||
"react-textarea-autosize": "^8.5.3",
|
||||
"remark-gfm": "^4.0.0",
|
||||
+ "sharp": "^0.33.4",
|
||||
"sonner": "^1.4.0",
|
||||
"tailwind-merge": "^2.2.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
--
|
||||
2.42.0
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
|
||||
index 647ed68..b08088e 100644
|
||||
--- a/src/app/layout.tsx
|
||||
+++ b/src/app/layout.tsx
|
||||
@@ -1,10 +1,10 @@
|
||||
import type { Metadata } from "next";
|
||||
-import { Inter } from "next/font/google";
|
||||
+import localFont from "next/font/local";
|
||||
import "./globals.css";
|
||||
import { ThemeProvider } from "@/providers/theme-provider";
|
||||
import { Toaster } from "@/components/ui/sonner"
|
||||
|
||||
-const inter = Inter({ subsets: ["latin"] });
|
||||
+const inter = localFont({ src: './Inter.ttf' });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Ollama UI",
|
||||
--
|
||||
2.42.0
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
diff --git a/next.config.mjs b/next.config.mjs
|
||||
index dc34f1a..f6f90c4 100644
|
||||
--- a/next.config.mjs
|
||||
+++ b/next.config.mjs
|
||||
@@ -1,6 +1,7 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
- webpack: (config, { isServer }) => {
|
||||
+ output: 'standalone',
|
||||
+ webpack: (config, { isServer }) => {
|
||||
// Fixes npm packages that depend on `fs` module
|
||||
if (!isServer) {
|
||||
config.resolve.fallback = {
|
||||
--
|
||||
2.42.0
|
||||
|
||||
101
pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix
Normal file
101
pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix
Normal file
@@ -0,0 +1,101 @@
|
||||
{
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
inter,
|
||||
nixosTests,
|
||||
lib,
|
||||
# This is a app can only be used in a browser and starts a web server only accessible at
|
||||
# localhost/127.0.0.1 from the local computer at the given port.
|
||||
defaultHostname ? "127.0.0.1",
|
||||
defaultPort ? 3000,
|
||||
# Where to find the Ollama service; this url gets baked into the Nix package
|
||||
ollamaUrl ? "http://127.0.0.1:11434",
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.0.1";
|
||||
in
|
||||
buildNpmPackage {
|
||||
pname = "nextjs-ollama-llm-ui";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jakobhoeg";
|
||||
repo = "nextjs-ollama-llm-ui";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-pZJgiopm0VGwaZxsNcyRawevvzEcK1j5WhngX1Pn6YE=";
|
||||
};
|
||||
npmDepsHash = "sha256-wtHOW0CyEOszgiZwDkF2/cSxbw6WFRLbhDnd2FlY70E=";
|
||||
|
||||
patches = [
|
||||
# Update to a newer nextjs version that buildNpmPackage is able to build.
|
||||
# Remove at nextjs update.
|
||||
./0001-update-nextjs.patch
|
||||
# nextjs tries to download google fonts from the internet during buildPhase and fails in Nix sandbox.
|
||||
# We patch the code to expect a local font from src/app/Inter.ttf that we load from Nixpkgs in preBuild phase.
|
||||
./0002-use-local-google-fonts.patch
|
||||
# Modify next.config.js to produce a production "standalone" output at .next/standalone.
|
||||
# This output is easy to package with Nix and run with "node .next/standalone/server.js" later.
|
||||
./0003-add-standalone-output.patch
|
||||
];
|
||||
|
||||
# Adjust buildNpmPackage phases with nextjs quirk workarounds.
|
||||
# These are adapted from
|
||||
# https://github.com/NixOS/nixpkgs/blob/485125d667747f971cfcd1a1cfb4b2213a700c79/pkgs/servers/homepage-dashboard/default.nix
|
||||
#######################3
|
||||
preBuild = ''
|
||||
# We have to pass and bake in the Ollama URL into the package
|
||||
echo "NEXT_PUBLIC_OLLAMA_URL=${ollamaUrl}" > .env
|
||||
|
||||
# Replace the googleapis.com Inter font with a local copy from nixpkgs
|
||||
cp "${inter}/share/fonts/truetype/InterVariable.ttf" src/app/Inter.ttf
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
# Add a shebang to the server js file, then patch the shebang to use a nixpkgs nodejs binary.
|
||||
sed -i '1s|^|#!/usr/bin/env node\n|' .next/standalone/server.js
|
||||
patchShebangs .next/standalone/server.js
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{share,bin}
|
||||
|
||||
cp -r .next/standalone $out/share/homepage/
|
||||
cp -r .env $out/share/homepage/
|
||||
cp -r public $out/share/homepage/public
|
||||
|
||||
mkdir -p $out/share/homepage/.next
|
||||
cp -r .next/static $out/share/homepage/.next/static
|
||||
|
||||
chmod +x $out/share/homepage/server.js
|
||||
|
||||
# we set a default port to support "nix run ..."
|
||||
makeWrapper $out/share/homepage/server.js $out/bin/nextjs-ollama-llm-ui \
|
||||
--set-default PORT ${toString defaultPort} \
|
||||
--set-default HOSTNAME ${defaultHostname}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
doDist = false;
|
||||
#######################
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
inherit (nixosTests) nextjs-ollama-llm-ui;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Simple chat web interface for Ollama LLMs.";
|
||||
changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/v${version}";
|
||||
mainProgram = "nextjs-ollama-llm-ui";
|
||||
homepage = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ malteneuss ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -25,7 +25,7 @@ in
|
||||
|
||||
ps.buildPythonApplication rec {
|
||||
pname = "normcap";
|
||||
version = "0.5.7";
|
||||
version = "0.5.8";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = ps.pythonOlder "3.9";
|
||||
@@ -34,7 +34,7 @@ ps.buildPythonApplication rec {
|
||||
owner = "dynobo";
|
||||
repo = "normcap";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JeecX7rxM3T2WqGFwANI5+HQFWCLLA8ESHy8mEKYUmc=";
|
||||
hash = "sha256-iMlW8oEt4OSipJaQ2XzBZeBVqiZP/C1sM0f5LYjv7/A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "nuclei-templates";
|
||||
version = "9.8.6";
|
||||
version = "9.8.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "projectdiscovery";
|
||||
repo = "nuclei-templates";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-3hJfWSBciJ/UutVBIGisptcxmtWfvSfTbx55cyWxs4k=";
|
||||
hash = "sha256-Masj0v9WGcLJKd/43T4klwyIM2uqhvuLSW5PBuKzsQg=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, protobuf
|
||||
, go-protobuf
|
||||
, pkg-config
|
||||
, libnetfilter_queue
|
||||
, libnfnetlink
|
||||
, lib
|
||||
, coreutils
|
||||
, iptables
|
||||
, makeWrapper
|
||||
, protoc-gen-go-grpc
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
darwin,
|
||||
dlib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
hdf5,
|
||||
hmat-oss,
|
||||
ipopt,
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "patch2pr";
|
||||
version = "0.24.0";
|
||||
version = "0.25.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluekeyes";
|
||||
repo = "patch2pr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ot/PECNRuhJUYX1woektKC6VEV+rLKiSnCVCLIRhSUo=";
|
||||
hash = "sha256-mS7Yz1RPeA/pms3gGQ1oEjtzH9miIOWlf6YrrIoJk94=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-K2qYfS0A1gOo2n3pBy00oLbd1/q/p5N8RoId+OP1Jmw=";
|
||||
vendorHash = "sha256-XJC4rJI+adqiyFfiuyTbrAoWDiTThz7vjDZQrchDEiA=";
|
||||
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildBazelPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
bazel_6,
|
||||
jdk,
|
||||
elfutils,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, makeWrapper
|
||||
, perl
|
||||
# Needed if you want to use it for a perl script with dependencies.
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
php.buildComposerProject (finalAttrs: {
|
||||
pname = "phpdocumentor";
|
||||
version = "3.4.3";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "phpDocumentor";
|
||||
repo = "phpDocumentor";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-NCBCwQ8im6ttFuQBaG+bzmtinf+rqNnbogcK8r60dCM=";
|
||||
hash = "sha256-//erxY9ryJne/HZLB1l4SwF3EsQ1vmgSe4pZ5xSieIU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/TJ/CahmOWcRBlAsJDzWcfhlDd+ypRapruFT0Dvlb1w=";
|
||||
vendorHash = "sha256-VNlAzWueF7ZXBpr9RrJghMPrAUof7f1DCh1osFIwFfs=";
|
||||
|
||||
# Needed because of the unbound version constraint on phpdocumentor/json-path
|
||||
composerStrictValidation = false;
|
||||
|
||||
60
pkgs/by-name/pl/plattenalbum/package.nix
Normal file
60
pkgs/by-name/pl/plattenalbum/package.nix
Normal file
@@ -0,0 +1,60 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
gobject-introspection,
|
||||
wrapGAppsHook4,
|
||||
desktop-file-utils,
|
||||
libadwaita,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "plattenalbum";
|
||||
version = "2.1.0";
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SoongNoonien";
|
||||
repo = "plattenalbum";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vRBlShbNuPpL29huhzYSuUcMJmSLljO4nc6cSAp3NB4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
gobject-introspection
|
||||
wrapGAppsHook4
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [ libadwaita ];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
pygobject3
|
||||
mpd2
|
||||
];
|
||||
|
||||
dontWrapGApps = true;
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=(''${gappsWrapperArgs[@]})
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A client for the Music Player Daemon (originally named mpdevil)";
|
||||
homepage = "https://github.com/SoongNoonien/plattenalbum";
|
||||
changelog = "https://github.com/SoongNoonien/plattenalbum/releases/tag/v${version}";
|
||||
license = with lib.licenses; [
|
||||
gpl3Only
|
||||
cc0
|
||||
];
|
||||
mainProgram = "plattenalbum";
|
||||
maintainers = with lib.maintainers; [ aleksana ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
30
pkgs/by-name/ra/rasm/package.nix
Normal file
30
pkgs/by-name/ra/rasm/package.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rasm";
|
||||
version = "2.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EdouardBERGE";
|
||||
repo = "rasm";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cG/RZqZRS5uuXlQo7hylCEfbXXLBa68NXsr1iQCjhNc=";
|
||||
};
|
||||
|
||||
# by default the EXEC variable contains `rasm.exe`
|
||||
makeFlags = [ "EXEC=rasm" ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dt $out/bin rasm
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://rasm.wikidot.com/english-index:home";
|
||||
description = "Z80 assembler";
|
||||
mainProgram = "rasm";
|
||||
# use -n option to display all licenses
|
||||
license = licenses.mit; # expat version
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, requireFile
|
||||
, fetchpatch
|
||||
, runCommand
|
||||
, rcu
|
||||
, testers
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "reactphysics3d";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitea, fetchurl, fetchpatch, lua, jemalloc, pkg-config, nixosTests
|
||||
{ lib, stdenv, fetchFromGitea, fetchurl, lua, jemalloc, pkg-config, nixosTests
|
||||
, tcl, which, ps, getconf
|
||||
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
|
||||
# dependency ordering is broken at the moment when building with openssl
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fetchpatch2
|
||||
, nixosTests
|
||||
}:
|
||||
let
|
||||
|
||||
66
pkgs/by-name/sh/share-preview/package.nix
Normal file
66
pkgs/by-name/sh/share-preview/package.nix
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
rustc,
|
||||
cargo,
|
||||
wrapGAppsHook4,
|
||||
desktop-file-utils,
|
||||
libadwaita,
|
||||
openssl,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "share-preview";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rafaelmardojai";
|
||||
repo = "share-preview";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-FqualaTkirB+gBcgkThQpSBHhM4iaXkiGujwBUnUX0E=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (finalAttrs) src;
|
||||
name = "share-preview-${finalAttrs.version}";
|
||||
hash = "sha256-Gh6bQZD1mlkj3XeGp+fF/NShC4PZCZSEqymrsSdX4Ec=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
rustPlatform.cargoSetupHook
|
||||
rustc
|
||||
cargo
|
||||
wrapGAppsHook4
|
||||
desktop-file-utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Foundation
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (
|
||||
lib.optionals stdenv.isDarwin [ "-Wno-error=incompatible-function-pointer-types" ]
|
||||
);
|
||||
|
||||
meta = {
|
||||
description = "Preview and debug websites metadata tags for social media share";
|
||||
homepage = "https://apps.gnome.org/SharePreview";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "share-preview";
|
||||
maintainers = with lib.maintainers; [ aleksana ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, cmake
|
||||
, expat
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "soju";
|
||||
version = "0.7.0";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~emersion";
|
||||
repo = "soju";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nzaYa4h+UZcP6jqFHxVjgQ/F3q9aOeOPgVKFWBy6Fag=";
|
||||
hash = "sha256-K7Dgc1HQ6+GnjraQNcK9LOFxUIoKKWro1mWKDZFwLiE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-JLght6bOrtc/VP3tfQboASa68VL2GGBTdK02DOC5EQk=";
|
||||
vendorHash = "sha256-4Yl87Gk/HykjIyNpRfgthLf6b+v7kxmONIhYBWVXi0I=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
@@ -50,6 +50,6 @@ buildGoModule rec {
|
||||
homepage = "https://soju.im";
|
||||
changelog = "https://git.sr.ht/~emersion/soju/refs/${src.rev}";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ azahi malte-v ];
|
||||
maintainers = with maintainers; [ azahi malte-v jtbx ];
|
||||
};
|
||||
}
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "stirling-pdf";
|
||||
version = "0.23.1";
|
||||
version = "0.24.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Stirling-Tools";
|
||||
repo = "Stirling-PDF";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-71caSM4J0sNMqWX0ok8aO3wdpVcjfrn/yVGLWeO5fOk=";
|
||||
hash = "sha256-QYoQaRerXLjF3D4S+HSTeaLz12Kxo2emBxSEpWVXUS0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "sha256-8suWAX1+GGMvMUaymZnze7cBL701P/381dGqnyfha7s=";
|
||||
outputHash = "sha256-w1H1YgMyVjd/9lSRt8zZCRgcYDXarr/C+KBrsjI/jYY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, meson, ninja, pkg-config, scdoc, wayland-scanner
|
||||
, wayland, wayland-protocols, libxkbcommon, cairo, gdk-pixbuf, pam
|
||||
}:
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, rustPlatform
|
||||
, cmake
|
||||
, pkg-config
|
||||
|
||||
@@ -23,13 +23,13 @@ assert lib.elem lineEditingLibrary [
|
||||
];
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "trealla";
|
||||
version = "2.52.6";
|
||||
version = "2.52.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trealla-prolog";
|
||||
repo = "trealla";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-JTyXpaoHpf10fUNxx+qllhS0D9rfOP64BpjLQ9bob8k=";
|
||||
hash = "sha256-fehgNWCH/c0wbnlTpydA9K8FPnvSFpcwum1ThngikGY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
|
||||
@@ -3,16 +3,19 @@
|
||||
, darwin
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, libiconv
|
||||
, openssl
|
||||
, pkg-config
|
||||
, python3Packages
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "uv";
|
||||
version = "0.1.45";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astral-sh";
|
||||
@@ -21,7 +24,7 @@ rustPlatform.buildRustPackage rec {
|
||||
hash = "sha256-PJeUndpD7jHcpM66dMIyXpDx95Boc01rzovS0Y7io7w=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"async_zip-0.0.17" = "sha256-Q5fMDJrQtob54CTII3+SXHeozy5S5s3iLOzntevdGOs=";
|
||||
@@ -33,14 +36,19 @@ rustPlatform.buildRustPackage rec {
|
||||
cmake
|
||||
installShellFiles
|
||||
pkg-config
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.maturinBuildHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libiconv
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
cargoBuildFlags = [ "--package" "uv" ];
|
||||
|
||||
# Tests require network access
|
||||
@@ -58,6 +66,10 @@ rustPlatform.buildRustPackage rec {
|
||||
--zsh <($out/bin/uv --generate-shell-completion zsh)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"uv"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"darwin": {
|
||||
"hash": "sha256-XRwnT73kCv4mO2DKkuFQ8qwpIIH9iyRTrJEZUi6tscU=",
|
||||
"version": "0.2024.05.14.08.01.stable_04"
|
||||
"hash": "sha256-cK82M7vOjtDdfWbaYzbHHkcqwF8L3crVA9jJotnPpX4=",
|
||||
"version": "0.2024.05.21.16.09.stable_02"
|
||||
},
|
||||
"linux": {
|
||||
"hash": "sha256-16ZMzvdkAAf9xSiL7TCaiJwEMd+jbOYIL/xiF2Todbw=",
|
||||
"version": "0.2024.05.14.08.01.stable_04"
|
||||
"hash": "sha256-chIrRzsxjFYS4UFYCTy04cdwSyCq/+/WiKBAmV9OdLs=",
|
||||
"version": "0.2024.05.21.16.09.stable_02"
|
||||
}
|
||||
}
|
||||
|
||||
64
pkgs/by-name/wi/wildcard/package.nix
Normal file
64
pkgs/by-name/wi/wildcard/package.nix
Normal file
@@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, blueprint-compiler
|
||||
, cargo
|
||||
, desktop-file-utils
|
||||
, fetchFromGitLab
|
||||
, libadwaita
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, stdenv
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wildcard";
|
||||
version = "0.3.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "World";
|
||||
repo = "Wildcard";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-jOv0l1vnfDePWF7SAbsBFipPAONliPdc47xj79BJ+rc=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (finalAttrs) src;
|
||||
hash = "sha256-8jNNCcZRoLyOHdaWmYTOGD7Nf7NkmJ1MIxBXLJGrm5Y=";
|
||||
name = "wildcard-${finalAttrs.version}";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
blueprint-compiler
|
||||
cargo
|
||||
desktop-file-utils
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
rustPlatform.cargoSetupHook
|
||||
rustc
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libadwaita
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Test your regular expressions";
|
||||
longDescription = ''
|
||||
Wildcard gives you a nice and simple to use interface to test/practice regular expressions.
|
||||
'';
|
||||
homepage = "https://gitlab.gnome.org/World/Wildcard";
|
||||
downloadPage = "https://gitlab.gnome.org/World/Wildcard/-/releases/v${finalAttrs.version}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ aleksana ];
|
||||
mainProgram = "wildcard";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user