svn path=/nixpkgs/trunk/; revision=14311

This commit is contained in:
Eelco Dolstra 2009-03-03 13:47:46 +00:00
parent fcad0b0a5a
commit 94b0227aad

View File

@ -64,10 +64,18 @@ interpretation:</para>
<varlistentry> <varlistentry>
<term><varname>description</varname></term> <term><varname>description</varname></term>
<listitem><para>A short (one-line) description of the package. <listitem><para>A short (one-line) description of the package.
Dont include a period at the end. This is shown by This is shown by <command>nix-env -q --description</command> and
<command>nix-env -q --description</command> and also on the also on the Nixpkgs release pages.</para>
Nixpkgs release pages. Example: <literal>"A program that produces
a familiar, friendly greeting"</literal></para></listitem> <para>Dont include a period at the end. Dont include newline
characters. Capitalise the first character. For brevity, dont
repeat the name of package — just describe what it does.</para>
<para>Wrong: <literal>"libpng is a library that allows you to decode PNG images."</literal></para>
<para>Right: <literal>"A library for decoding PNG images"</literal></para>
</listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>