This is an automated email from the git hooks/post-receive script.

andreas pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7770c84d11 gnu: Add dte.
7770c84d11 is described below

commit 7770c84d118cc585b7448d4e635a3eb04329a7cb
Author: Ashish SHUKLA <[email protected]>
AuthorDate: Wed Mar 5 15:07:34 2025 +0100

    gnu: Add dte.
    
    * gnu/packages/text-editors.scm (dte): New variable.
    
    Change-Id: I1fdee33377b055a43cf61364f43a6dcbaf04a024
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/text-editors.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 33462748fc..9a72c74cac 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2024 Murilo <[email protected]>
 ;;; Copyright © 2025 Ashvith Shetty <[email protected]>
 ;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
+;;; Copyright © 2025 Ashish SHUKLA <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -104,6 +105,7 @@
   #:use-module (gnu packages image)
   #:use-module (gnu packages lesstif)
   #:use-module (gnu packages libbsd)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages lisp-check)
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages llvm)
@@ -1898,3 +1900,35 @@ highlighting for dozens of languages.  Jed is very small 
and fast.")
      "XNEdit is a fast and classic X11 text editor, based on NEdit,
 with full unicode support and antialiased text rendering.")
     (license license:gpl2+)))
+
+(define-public dte
+  (package
+    (name "dte")
+    (version "1.11.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.com/craigbarnes/dte";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1q43jvhj6r1ws58ngpcq8mzj4di7mj2a4bmigk9zy0f3riagnlv1"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list util-linux))
+    (arguments
+     (list
+      #:make-flags
+      #~(list (string-append "CC=" #$(cc-for-target))
+              (string-append "prefix=" #$output))
+      #:phases
+      #~(modify-phases %standard-phases
+          (delete 'configure))))
+    (home-page "https://craigbarnes.gitlab.io/dte/";)
+    (synopsis "Small and easy to use console text editor")
+    (description
+     "@command{dte} is a portable console text editor with features like 
multiple buffers/tabs,
+syntax highlighting, customizable color scheme (including support for 24-bit 
true
+colours), kitty keyboard protocol, editorconfig support, amongst other 
features.")
+    (license license:gpl2)))

Reply via email to