From: ng0 <ng0@pragmatique.xyz>
To: 27156@debbugs.gnu.org
Subject: bug#27156: smu
Date: Wed, 31 May 2017 01:03:38 +0000 [thread overview]
Message-ID: <20170531010338.rqqybm6a2iuhzb3k@abyayala> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 298 bytes --]
This adds smu (simple markup).
I've been using this in production for a while.
Does it belong in markdown.scm? Technicaly it is not markdown,
but it's the closest I could find when I moved it from my
package repo to the guix repo.
--
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
[-- Attachment #1.2: 0001-gnu-Add-smu.patch --]
[-- Type: text/plain, Size: 2540 bytes --]
From fe4b59d8525250e6e59334225bd5fa0432d1e7e3 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@no-reply.pragmatique.xyz>
Date: Tue, 30 May 2017 13:56:26 +0000
Subject: [PATCH] gnu: Add smu.
* gnu/packages/markdown.scm (smu): New variable.
---
gnu/packages/markdown.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/markdown.scm b/gnu/packages/markdown.scm
index 4a020198e..3cfd211b5 100644
--- a/gnu/packages/markdown.scm
+++ b/gnu/packages/markdown.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
;;; Copyright © 2015 David Thompson <davet@gnu.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017 ng0 <ng0@no-reply.pragmatique.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -130,3 +131,39 @@ for parsing and rendering CommonMark.")
;; licensed. The CommonMark specification is Creative Commons CC-BY-SA 4.0
;; licensed. See 'COPYING' in the source distribution for more information.
(license (list bsd-2 expat cc-by-sa4.0))))
+
+(define-public smu
+ (package
+ (name "smu")
+ (version "1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/Gottox/smu/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0iazl45rkz8ngsb5hpykl76w0ngvdvqqhym1qz5wykgmrzk293rp"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags (list "CC=gcc"
+ (string-append "PREFIX="
+ (assoc-ref %outputs "out")))
+ #:tests? #f ;No tests included
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://github.com/Gottox/smu")
+ (synopsis "Simple markup")
+ (description
+ "Smu is a very simple and minimal markup language. It is
+designed for using in wiki-like environments. Smu makes it very
+easy to write your documents on the fly and convert them into HTML.
+Smu is capable to parse very large documents. As long as you avoid an huge
+amount of indents it scales just great.
+
+Smu was started as a rewrite of Markdown but became something more
+lightweight and consistent. The biggest difference between Markdown
+and smu is that smu doesn't support reference style links.")
+ (license x11)))
--
2.13.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2017-05-31 1:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 1:03 ng0 [this message]
2017-06-02 22:35 ` bug#27156: smu Marius Bakke
2017-06-03 19:54 ` ng0
2017-06-08 18:34 ` ng0
2017-06-09 22:15 ` Marius Bakke
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=20170531010338.rqqybm6a2iuhzb3k@abyayala \
--to=ng0@pragmatique.xyz \
--cc=27156@debbugs.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).