Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+5 -4
+5 -4
pkgs/development/tools/analysis/splint/default.nix
··· 14 14 15 15 doCheck = true; 16 16 17 - meta = { 17 + meta = with stdenv.lib; { 18 18 homepage = http://splint.org/; 19 - description = "Splint, an annotation-assisted lightweight static analyzer for C"; 19 + description = "Annotation-assisted lightweight static analyzer for C"; 20 20 21 21 longDescription = '' 22 22 Splint is a tool for statically checking C programs for security ··· 26 26 checking than can be done by any standard lint. 27 27 ''; 28 28 29 - license = "GPLv2+"; 29 + license = licenses.gpl2Plus; 30 + platforms = platforms.linux; 30 31 }; 31 - } 32 + }