From af4569095f457998f020b9620110919f6f2ac106 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 23 Jun 2016 13:48:45 +0200 Subject: gnu: Add GNU Diction. * gnu/packages/dictionaries.scm (diction): New variable. --- gnu/packages/dictionaries.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index 5aea716150..931db626d8 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014, 2015 Ludovic Courtès +;;; Copyright © 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2016 Sou Bunnbu ;;; @@ -22,6 +22,7 @@ (define-module (gnu packages dictionaries) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (gnu packages base) #:use-module (gnu packages texinfo) @@ -115,3 +116,25 @@ (define-public gcide http://gcide.gnu.org.ua/") (home-page "http://gcide.gnu.org.ua/") (license gpl3+))) + +(define-public diction + ;; Not quite a dictionary, not quite a spell checker either… + (package + (name "diction") + (version "1.11") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/diction/diction-" + version ".tar.gz")) + (sha256 + (base32 + "1xi4l1x1vvzmzmbhpx0ghmfnwwrhabjwizrpyylmy3fzinzz3him")))) + (build-system gnu-build-system) + (synopsis "Identifies wordy and commonly misused phrases") + (description + "A package providing two classic Unix commands, style and diction. +Diction is used to identify wordy and commonly misused phrases in a +body of text. Style instead analyzes surface aspects of a written +work, such as sentence length and other readability measures.") + (home-page "https://www.gnu.org/software/diction/") + (license gpl3+))) -- cgit v1.2.3