summary refs log tree commit diff
path: root/gnu/packages/textutils.scm
diff options
context:
space:
mode:
authorkiasoc5 <kiasoc5@disroot.org>2022-09-07 23:51:17 -0400
committerChristopher Baines <mail@cbaines.net>2022-09-12 14:22:49 +0100
commit08199c69d4b3d20c9ea4ea56e69679d0df6fccf2 (patch)
treeb11e137e382303470d8d9bc8bab868442b9a9671 /gnu/packages/textutils.scm
parent0a982a19bf82aa9137e598df8292015de29429bb (diff)
downloadguix-08199c69d4b3d20c9ea4ea56e69679d0df6fccf2.tar.gz
gnu: Add txt2tags.
* gnu/packages/textutils.scm (txt2tags): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r--gnu/packages/textutils.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 7898d520f0..2264e3ccb6 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -68,6 +68,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-check)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages ruby)
@@ -972,6 +973,25 @@ source code.")
 and Cython.")
       (license license:expat))))
 
+(define-public txt2tags
+  (package
+    (name "txt2tags")
+    (version "3.7")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "txt2tags" version))
+              (sha256
+               (base32
+                "12hpnvdy7dgarq6ini9jp7dp2zcmvpax04zbl3jb84kd423r75i7"))))
+    (build-system python-build-system)
+    (native-inputs (list python-tox))
+    (home-page "https://txt2tags.org")
+    (synopsis "Convert between markup languages")
+    (description
+     "txt2tags is a document generator.  It reads a text file with minimal
+markup and converts it to multiple formats.")
+    (license license:gpl2)))
+
 (define-public go-github.com-mattn-go-runewidth
   (let ((commit "703b5e6b11ae25aeb2af9ebb5d5fdf8fa2575211")
         (version "0.0.4")