From: guy fleury <hoonandon@gmail.com>
Cc: guix-devel@gnu.org
Subject: [PATCH]:gnu:add ne:the nice editor
Date: Sat, 10 Nov 2018 18:03:43 +0200 [thread overview]
Message-ID: <5135a6a8e10b388311ff8bd124ce72a3e6fb0900.camel@gmail.com> (raw)
[-- 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
next reply other threads:[~2018-11-10 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-10 16:03 guy fleury [this message]
2018-11-10 19:25 ` [PATCH]:gnu:add ne:the nice editor Ricardo Wurmus
2018-11-10 19:44 ` Guy fleury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5135a6a8e10b388311ff8bd124ce72a3e6fb0900.camel@gmail.com \
--to=hoonandon@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).