GNU bug report logs - #76635
[PATCH v2] gnu: Add dte.

Previous Next

Package: guix-patches;

Reported by: ashish.is <at> lostca.se

Date: Fri, 28 Feb 2025 09:45:04 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 76635 <at> debbugs.gnu.org (full text, mbox):

From: ashish.is <at> lostca.se
To: iyzsong <at> envs.net
Cc: 76635 <at> debbugs.gnu.org, Ashish SHUKLA <ashish.is <at> lostca.se>
Subject: [PATCH v2] gnu: Add dte.
Date: Wed,  5 Mar 2025 15:07:34 +0100
From: Ashish SHUKLA <ashish.is <at> lostca.se>

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

Change-Id: I1fdee33377b055a43cf61364f43a6dcbaf04a024
---
Hi,

Thanks for taking time to review.

 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 e96fceb510..d32ba3b7b1 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -37,6 +37,7 @@
 ;;; Copyright © 2024 Murilo <murilo <at> disroot.org>
 ;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010 <at> zohomail.in>
 ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2025 Ashish SHUKLA <ashish.is <at> lostca.se>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -104,6 +105,7 @@ (define-module (gnu packages text-editors)
   #: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 @@ (define-public xnedit
      "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)))

base-commit: cc71a8e8ea21584353e22771be643bdaadfa0c12
-- 
2.48.1





This bug report was last modified 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.