nextjs-ollama-llm-ui: 1.1.0 -> 1.2.0

https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/v.1.2.0

nextjs-ollama-llm-ui: fix github fetch url

owner miss the tag name with a extra '.' on top. Should be take care for
futures upgrade

nextjs-ollama-llm-ui: fix font patch

Update pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>

Update pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>

Update pkgs/by-name/ne/nextjs-ollama-llm-ui/package.nix

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
Sammy Etur 2025-02-04 15:17:25 +01:00
parent ab36ef17c8
commit f67cf4cf2b
No known key found for this signature in database
2 changed files with 13 additions and 12 deletions

View File

@ -1,18 +1,18 @@
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
--- a/src/app/(chat)/layout.tsx
+++ b/src/app/(chat)/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 "../globals.css";
import { ThemeProvider } from "@/providers/theme-provider";
import { Toaster } from "@/components/ui/sonner"
import { Toaster } from "@/components/ui/sonner";
-const inter = Inter({ subsets: ["latin"] });
+const inter = localFont({ src: './Inter.ttf' });
+const inter = localFont({ src: '../Inter.ttf' });
export const metadata: Metadata = {
title: "Ollama UI",
--

View File

@ -14,7 +14,8 @@
}:
let
version = "1.1.0";
version = "1.2.0";
tag = "v.${version}";
in
buildNpmPackage {
pname = "nextjs-ollama-llm-ui";
@ -23,10 +24,10 @@ buildNpmPackage {
src = fetchFromGitHub {
owner = "jakobhoeg";
repo = "nextjs-ollama-llm-ui";
rev = "v${version}";
hash = "sha256-IA7g96u5QY8cOuTbJEWw7+U+hSFBzIQVk4Kv3qHKAdM=";
inherit tag;
hash = "sha256-hgLeTWtnyxGMkMsAGBbaM2yeS/H8AStMPR2bjLdjwEc=";
};
npmDepsHash = "sha256-3M0BZ9KZZ0ONwvTLycfMR8skMQf8mzjeqYCwJY4l040=";
npmDepsHash = "sha256-9+A+85IK4zmMGlBsVoLg7RnST72AhAM6xPGnBZLgLTk=";
patches = [
# nextjs tries to download google fonts from the internet during buildPhase and fails in Nix sandbox.
@ -91,7 +92,7 @@ buildNpmPackage {
meta = {
description = "Simple chat web interface for Ollama LLMs";
changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/v${version}";
changelog = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui/releases/tag/${tag}";
mainProgram = "nextjs-ollama-llm-ui";
homepage = "https://github.com/jakobhoeg/nextjs-ollama-llm-ui";
license = lib.licenses.mit;