From f70d678ec46dde4956c2cd92c5f2a84c37ca194e Mon Sep 17 00:00:00 2001 From: Wander Nauta Date: Tue, 8 Mar 2016 11:39:58 +0100 Subject: [PATCH] diction: init at 1.11 --- pkgs/tools/text/diction/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/tools/text/diction/default.nix diff --git a/pkgs/tools/text/diction/default.nix b/pkgs/tools/text/diction/default.nix new file mode 100644 index 00000000000..51366c36bc6 --- /dev/null +++ b/pkgs/tools/text/diction/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "diction-1.11"; + + src = fetchurl { + url = "mirror://gnu/diction/${name}.tar.gz"; + sha256 = "1xi4l1x1vvzmzmbhpx0ghmfnwwrhabjwizrpyylmy3fzinzz3him"; + }; + + meta = { + description = "GNU style and diction utilities"; + longDescription = '' + Diction and style are two old standard Unix commands. Diction identifies + wordy and commonly misused phrases. Style analyses surface + characteristics of a document, including sentence length and other + readability measures. + ''; + license = stdenv.lib.licenses.gpl3Plus; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index edaab187b4c..331879971e3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1384,6 +1384,8 @@ let di = callPackage ../tools/system/di { }; + diction = callPackage ../tools/text/diction { }; + diffoscope = callPackage ../tools/misc/diffoscope { jdk = jdk7; pythonPackages = python3Packages;