splint: improve meta attributes

- don't repeat package name in description
- prefer licenses.gpl2Plus over free form "GPLv2+" license name
- add platform attribute so that splint will be available in the channel
This commit is contained in:
Bjørn Forsman 2013-08-06 21:20:47 +02:00
parent d435b39201
commit d0748afc5e

View File

@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = {
meta = with stdenv.lib; {
homepage = http://splint.org/;
description = "Splint, an annotation-assisted lightweight static analyzer for C";
description = "Annotation-assisted lightweight static analyzer for C";
longDescription = ''
Splint is a tool for statically checking C programs for security
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
checking than can be done by any standard lint.
'';
license = "GPLv2+";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
}