571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
24 lines
689 B
Nix
24 lines
689 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "diction";
|
|
version = "1.13";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.moria.de/~michael/diction/${pname}-${version}.tar.gz";
|
|
sha256 = "08fi971b8qa4xycxbgb42i6b5ms3qx9zpp5hwpbxy2vypfs0wph9";
|
|
};
|
|
|
|
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 = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|