From d0748afc5ea9f66b77563293f8cf31e25e8a53be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Tue, 6 Aug 2013 21:20:47 +0200 Subject: [PATCH] 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 --- pkgs/development/tools/analysis/splint/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/analysis/splint/default.nix b/pkgs/development/tools/analysis/splint/default.nix index cb804b9e6b0d..e8a056bca5a7 100644 --- a/pkgs/development/tools/analysis/splint/default.nix +++ b/pkgs/development/tools/analysis/splint/default.nix @@ -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; }; -} \ No newline at end of file +}