summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/splint
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-08-06 21:20:47 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-08-06 21:20:47 +0200
commitd0748afc5ea9f66b77563293f8cf31e25e8a53be (patch)
treed7f18b1653f343301c794595e0c0d369328c4b92 /pkgs/development/tools/analysis/splint
parentd435b392014678f6d95951730a8db51203708486 (diff)
downloadnixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.tar
nixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.tar.gz
nixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.tar.bz2
nixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.tar.lz
nixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.tar.xz
nixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.tar.zst
nixpkgs-d0748afc5ea9f66b77563293f8cf31e25e8a53be.zip
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
Diffstat (limited to 'pkgs/development/tools/analysis/splint')
-rw-r--r--pkgs/development/tools/analysis/splint/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/tools/analysis/splint/default.nix b/pkgs/development/tools/analysis/splint/default.nix
index cb804b9e6b0..e8a056bca5a 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
+}