Unverified Commit f67cf4cf authored by Sammy Etur's avatar Sammy Etur
Browse files

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: default avatarPol Dellaiera <pol.dellaiera@protonmail.com>

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

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

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

Co-authored-by: default avatarPol Dellaiera <pol.dellaiera@protonmail.com>
parent ab36ef17
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
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",
+6 −5
Original line number Diff line number Diff line
@@ -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;