unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH]:gnu:add ne:the nice editor
@ 2018-11-10 16:03 guy fleury
  2018-11-10 19:25 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: guy fleury @ 2018-11-10 16:03 UTC (permalink / raw)
  Cc: guix-devel

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

hi all,

This patch was sent to guix-patches but i read in the web site that
since 2017 guix-devel replace it to submit patch.


guy

[-- Attachment #2: 0001-gnu-add-ne-the-nice-editor.patch --]
[-- Type: text/x-patch, Size: 1975 bytes --]

From 1ec45eaa225e7203a98b36cddb7d42db418b773b Mon Sep 17 00:00:00 2001
From: guy fleury <hoonandon@gmail.com>
Date: Sat, 10 Nov 2018 10:51:17 +0200
Subject: [PATCH] gnu:add ne:the nice editor

---
 gnu/packages/text-editors.scm | 36 +++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 0c60d202a..85e95d48d 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -343,3 +343,39 @@ team.")
      "@code{ghostwriter} provides a relaxing, distraction-free writing
 environment with Markdown markup.")
     (license license:gpl3+)))           ;icons/* under CC-BY-SA3
+
+(define-public ne
+  (package
+    (name "ne")
+    (version "3.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://ne.di.unimi.it/ne-" version
+                                  ".tar.gz"))
+              (sha256
+              (base32
+              "06qk3cqxyn098i1yn686bigpgh8vrrnj0qpkrgs6zwnq42s1y0d2"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; use lncurses instead of lcurses
+               '(begin
+                  (substitute* "src/makefile"
+                    (("-lcurses")
+                     "-lncurses"))
+                  #t))))
+    (build-system gnu-build-system)
+    (arguments
+       `(#:tests? #f
+          #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
+                   "CC=gcc")
+         #:parallel-build? #f
+         #:phases (modify-phases %standard-phases
+                                 (delete 'configure))))       
+    (inputs
+     `(("ncurses" ,ncurses)))
+    (synopsis "ne, the nice editor")
+    (description
+   "ne is a free text editor based on the POSIX standard,
+    it is easy to use it and fully configurable") 
+    (home-page "http://ne.di.unimi.it/ne")
+    (license license:gpl3+)))
-- 
2.19.0


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

end of thread, other threads:[~2018-11-10 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-10 16:03 [PATCH]:gnu:add ne:the nice editor guy fleury
2018-11-10 19:25 ` Ricardo Wurmus
2018-11-10 19:44   ` Guy fleury

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).