all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26895: Add the micro editor 'e3'
@ 2017-05-12  8:53 ng0
  2017-05-12 22:48 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: ng0 @ 2017-05-12  8:53 UTC (permalink / raw)
  To: 26895

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

This patch adds the microeditor e3 written in asm.
This message was written using e3, if the package definition
has a mistake it happened while transfering it from my
guix_package_path.
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

[-- Attachment #2: 0001-gnu-Add-e3.patch --]
[-- Type: text/plain, Size: 2727 bytes --]

From 0d11757fb9fc22aa2928e61b5ad29cce8eb1ec8c Mon Sep 17 00:00:00 2001
From: ng0 <ng0@no-reply.pragmatique.xyz>
Date: Thu, 11 May 2017 21:51:54 +0000
Subject: [PATCH] gnu: Add e3.

* gnu/packages/text-editors.scm (e3): New variable.
---
 gnu/packages/text-editors.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 920868b52..e02a2e024 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
 ;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
+;;; Copyright © 2017 ng0 <ng0@no-reply.pragmatique.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,6 +28,7 @@
   #:use-module (guix build-system gnu)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
+  #:use-module (gnu packages assembly)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages gcc)
@@ -189,3 +191,36 @@ development focuses on keeping weight down to a minimum, only the most essential
 features are implemented in the editor.  Leafpad is simple to use, is easily
 compiled, requires few libraries, and starts up quickly. ")
     (license license:gpl2+)))
+
+(define-public e3
+  (package
+    (name "e3")
+    (version "2.82")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://sites.google.com/site/e3editor/Home/"
+                           "e3-" version ".tgz"))
+       (sha256
+        (base32
+         "0919kadkas020maqq37852isnzp053q2fnws2zh3mz81d1jiviak"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags (list (string-append "PREFIX="
+                                         (assoc-ref %outputs "out")))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (inputs
+     `(("nasm" ,nasm)))
+    (home-page "https://sites.google.com/site/e3editor/")
+    (synopsis "Very tiny editor in ASM")
+    (description
+     "e3 is a micro text editor with an executable code size between
+3800 and 35000 bytes.  Except for 'syntax highlighting', the e3 binary
+supports all of the basic functions one expects plus built in arithmetic
+calculations.  UTF-8 coding of unicode characters is supported aswell.
+e3 can use Wordstar-, EMACS-, Pico, Nedit or vi-like key bindings.
+e3 can be used on 16,32, and 64 bit CPUs.")
+    (license license:gpl2+)))
\ No newline at end of file
-- 
2.12.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#26895: Add the micro editor 'e3'
  2017-05-12  8:53 bug#26895: Add the micro editor 'e3' ng0
@ 2017-05-12 22:48 ` Ludovic Courtès
  2017-05-12 23:25   ` ng0
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-05-12 22:48 UTC (permalink / raw)
  To: 26895-done

Hi ng0,

ng0 <ng0@pragmatique.xyz> skribis:

> From 0d11757fb9fc22aa2928e61b5ad29cce8eb1ec8c Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@no-reply.pragmatique.xyz>
> Date: Thu, 11 May 2017 21:51:54 +0000
> Subject: [PATCH] gnu: Add e3.
>
> * gnu/packages/text-editors.scm (e3): New variable.

I added a snippet to remove the bin/ directory (which contains pre-built
binaries), added a ‘supported-systems’ field, changed ‘inputs’ to
‘native-inputs’, made a couple of cosmetic changes, and committed.  :-)

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26895: Add the micro editor 'e3'
  2017-05-12 22:48 ` Ludovic Courtès
@ 2017-05-12 23:25   ` ng0
  0 siblings, 0 replies; 3+ messages in thread
From: ng0 @ 2017-05-12 23:25 UTC (permalink / raw)
  To: 26895

Ludovic Courtès transcribed 0.6K bytes:
> Hi ng0,
> 
> ng0 <ng0@pragmatique.xyz> skribis:
> 
> > From 0d11757fb9fc22aa2928e61b5ad29cce8eb1ec8c Mon Sep 17 00:00:00 2001
> > From: ng0 <ng0@no-reply.pragmatique.xyz>
> > Date: Thu, 11 May 2017 21:51:54 +0000
> > Subject: [PATCH] gnu: Add e3.
> >
> > * gnu/packages/text-editors.scm (e3): New variable.
> 
> I added a snippet to remove the bin/ directory (which contains pre-built
> binaries), 

Oh, I missed that. Thanks!

> added a ‘supported-systems’ field, changed ‘inputs’ to
> ‘native-inputs’, made a couple of cosmetic changes, and committed.  :-)
> 
> Thanks!
> 
> Ludo’.
> 
> 
> 

-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-12 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-12  8:53 bug#26895: Add the micro editor 'e3' ng0
2017-05-12 22:48 ` Ludovic Courtès
2017-05-12 23:25   ` ng0

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.