summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-04-29 11:33:28 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-04-29 11:33:28 -0500
commit1fe28a11327ad7695ee9f023c74bd47894494bcb (patch)
treee9709816cebecf2e31a36ffcb3e1f0e607175bdc /pkgs/tools/text
parent85aafda509b626e68595facba1aeb7da336ce537 (diff)
parent182acabbae644182ee6dafc9779e63abd7991f8c (diff)
downloadnixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar
nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.gz
nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.bz2
nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.lz
nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.xz
nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.tar.zst
nixlib-1fe28a11327ad7695ee9f023c74bd47894494bcb.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/aha/default.nix30
-rw-r--r--pkgs/tools/text/grin/default.nix2
-rw-r--r--pkgs/tools/text/html2text/default.nix2
3 files changed, 32 insertions, 2 deletions
diff --git a/pkgs/tools/text/aha/default.nix b/pkgs/tools/text/aha/default.nix
new file mode 100644
index 000000000000..a0be19607ea5
--- /dev/null
+++ b/pkgs/tools/text/aha/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub }:
+
+let version = "0.4.8"; in
+stdenv.mkDerivation rec {
+  name = "aha-${version}";
+
+  src = fetchFromGitHub {
+    sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
+    rev = version;
+    repo = "aha";
+    owner = "theZiz";
+  };
+
+  meta = with stdenv.lib; {
+    inherit version;
+    description = "ANSI HTML Adapter";
+    longDescription = ''
+      aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
+    '';
+    homepage = https://github.com/theZiz/aha;
+    downloadPage = https://github.com/theZiz/aha/releases;
+    license = with licenses; [ lgpl2Plus mpl11 ];
+    platforms = with platforms; linux;
+    maintainers = with maintainers; [ nckx ];
+  };
+
+  makeFlags = "PREFIX=$(out)";
+
+  enableParallelBuilding = true;
+}
diff --git a/pkgs/tools/text/grin/default.nix b/pkgs/tools/text/grin/default.nix
index da7799900a35..2ea4a9501452 100644
--- a/pkgs/tools/text/grin/default.nix
+++ b/pkgs/tools/text/grin/default.nix
@@ -14,7 +14,7 @@ pythonPackages.buildPythonPackage rec {
 
   meta = {
     homepage = https://pypi.python.org/pypi/grin;
-    description = "A grep program configured the way I like it.";
+    description = "A grep program configured the way I like it";
     platform = stdenv.lib.platforms.all;
     maintainers = [ stdenv.lib.maintainers.sjagoe ];
   };
diff --git a/pkgs/tools/text/html2text/default.nix b/pkgs/tools/text/html2text/default.nix
index 27de591d8896..8fd0bea2254c 100644
--- a/pkgs/tools/text/html2text/default.nix
+++ b/pkgs/tools/text/html2text/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation {
   '';
 
   meta = {
-    description = "html2text is a command line utility, written in C++, that converts HTML documents into plain text.";
+    description = "A command line utility, written in C++, that converts HTML documents into plain text";
     homepage = http://www.mbayer.de/html2text/;
     license = stdenv.lib.licenses.gpl2Plus;
     platforms = stdenv.lib.platforms.linux;