~ruther/guix-local

db96f3b5af34171467969c38e4534dd40ad20a94 — Andrew Wong 11 months ago 0cf6adf
gnu: Add typstwriter.

* gnu/packages/text-editors.scm (typstwriter): New variable.

Change-Id: I3dad423478d5b3fb81b092a6ab4a554ad0ed0b1b
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Modified-by: Hilton Chain <hako@ultrarare.space>
1 files changed, 32 insertions(+), 0 deletions(-)

M gnu/packages/text-editors.scm
M gnu/packages/text-editors.scm => gnu/packages/text-editors.scm +32 -0
@@ 39,6 39,7 @@
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
;;; Copyright © 2025 Marc Coquand <marc@coquand.email>
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 69,6 70,7 @@
  #:use-module (guix build-system glib-or-gtk)
  #:use-module (guix build-system meson)
  #:use-module (guix build-system python)
  #:use-module (guix build-system pyproject)
  #:use-module (guix build-system qt)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)


@@ 114,10 116,12 @@
  #:use-module (gnu packages perl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages python)
  #:use-module (gnu packages python-build)
  #:use-module (gnu packages python-web)
  #:use-module (gnu packages python-xyz)
  #:use-module (gnu packages qt)
  #:use-module (gnu packages regex)
  #:use-module (gnu packages rust-apps)
  #:use-module (gnu packages sdl)
  #:use-module (gnu packages slang)
  #:use-module (gnu packages sqlite)


@@ 1358,6 1362,34 @@ The basic features of Text Pieces are:
@end itemize")
    (license license:gpl3)))

(define-public typstwriter
  (package
    (name "typstwriter")
    (version "0.3")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "typstwriter" version))
       (sha256
        (base32 "0whx593xi5pv9wqzzd6xa97pln5b0j629s3qnfs80v06p2r5ghs6"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #f))
    (native-inputs
     ;; TODO: Add the following dependencies and enable tests once this package
     ;; is merged into master.
     ;; python-fpdf python-pytest python-pytest-qt
     (list python-flit-core))
    (inputs
     (list python-platformdirs python-pygments python-pyside-6 python-qtpy))
    (propagated-inputs (list typst))
    (home-page "https://github.com/Bzero/typstwriter")
    (synopsis "Integrated editor for Typst typesetting system")
    (description
     "Typstwriter is an integrated editor for the Typst typesetting system,
including syntax highlighting and compiler output as well as file-system and
document views presented in a clean, friendly Qt graphical interface.")
    (license license:expat)))

(define-public scintilla
  (package
    (name "scintilla")