unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: boogs via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 75237@debbugs.gnu.org
Subject: bug#75237: Packaging ghostty terminal
Date: Tue, 31 Dec 2024 22:07:41 -0500	[thread overview]
Message-ID: <8734i3nsea.fsf@venatores.group> (raw)

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

Hi,
I'm looking to package the ghostty terminal (https://ghostty.org/docs/install/build) but I ran into an issue with the zig build system pertaining to the dependencies?

I've attached the package definition including the error output below. I would appreciate some pointers here please.


[-- Attachment #2: packages.scm --]
[-- Type: text/plain, Size: 1669 bytes --]

(define-module (boogs packages)
  #:use-module (guix build-system zig)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (gnu packages glib)
  #:use-module (gnu packages zig-xyz)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages zig)
  #:use-module (srfi srfi-1))

(define-public ghostty
  (let* ((version "1.0.0")
         (commit (string-append "v" version)))
    (package
      (name "ghostty")
      (version version)
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/ghostty-org/ghostty.git")
               (commit commit)))
         (file-name (git-file-name name version))
         (sha256
          (base32
           "0cs1n7qddy2487hbw72v0h23ybdmp25cag00q46pk0czi5kkawh0"))))
      (build-system zig-build-system)
      (arguments
       (list #:zig zig-0.13
             #:install-source? #f))
      (native-inputs
       (list gtk
             libadwaita
             pkg-config
             zig))
      (home-page "https://www.ghossty.org/")
      (synopsis "Fast, feature-rich, and cross-platform terminal
  emulator that uses platform-native UI and GPU acceleration.")
      (description
       "Ghostty is a terminal emulator that differentiates itself by
  being fast, feature-rich, and native. While there are many excellent
  terminal emulators available, they all force you to choose between
  speed, features, or native UIs. Ghostty provides all three.")
      (license expat))))

ghostty

[-- Attachment #3: bug-ghostty-1.0.0.drv.gz --]
[-- Type: application/octet-stream, Size: 13948 bytes --]

[-- Attachment #4: Type: text/plain, Size: 12 bytes --]



-- 
boogs

             reply	other threads:[~2025-01-01 13:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-01  3:07 boogs via Bug reports for GNU Guix [this message]
2025-01-01 13:44 ` bug#75237: Packaging ghostty terminal Murilo via Bug reports for GNU Guix
2025-01-01 18:12   ` boogs via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8734i3nsea.fsf@venatores.group \
    --to=bug-guix@gnu.org \
    --cc=75237@debbugs.gnu.org \
    --cc=boogs@venatores.group \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).