Files
nixpkgs/pkgs/by-name/di/diction/package.nix
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

29 lines
773 B
Nix

{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "diction";
version = "1.14";
src = fetchurl {
url = "https://www.moria.de/~michael/comp/diction/diction-${finalAttrs.version}.tar.gz";
hash = "sha256-2gEvs6XLplZtI4zahpsM7NvvBFJ4DE02gQCoQEcv1/w=";
};
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.
'';
homepage = "https://www.moria.de/~michael/comp/";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.unix;
};
})