git.iko.soy/typeable/nixpkgs
on master help sign in
cppcheck: 1.69 -> 1.72

Also add myself to the list of maintainers

commit757a1f7fe9e99078c7e849c83e3f011519c2a49f authorJoachim Fasting <joachifm@fastmail.fm> dateSat 5 Mar 2016, 18:33 (11 years ago) parent1ff8a6b
1 file changed+10−10
pkgs/development/tools/analysis/cppcheck/default.nix+10−10
pkgs/development/tools/analysis/cppcheck/default.nix+10−10
@@ -1,15 +1,15 @@
11{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45 }:
22
33let
4− name = "cppcheck";
5− version = "1.69";
4+ pname = "cppcheck";
5+ version = "1.72";
66in
7−stdenv.mkDerivation {
8− name = "${name}-${version}";
7+stdenv.mkDerivation rec {
8+ name = "${pname}-${version}";
99
1010 src = fetchurl {
11− url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
12− sha256 = "0bjkqy4c6ph6nzparcnbxrdn52i3hiind4jc99v2kvsq281wimab";
11+ url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
12+ sha256 = "085lm8v7biixy6rykq836gfy91jcccpz9qpk8i9x339dzy2b2q4l";
1313 };
1414
1515 buildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
@@ -22,15 +22,15 @@ stdenv.mkDerivation {
2222 cp cppcheck.1 $out/share/man/man1/cppcheck.1
2323 '';
2424
25− meta = {
25+ meta = with stdenv.lib; {
2626 description = "A static analysis tool for C/C++ code";
2727 longDescription = ''
2828 Check C/C++ code for memory leaks, mismatching
2929 allocation-deallocation, buffer overruns and more.
3030 '';
3131 homepage = http://cppcheck.sourceforge.net/;
32− license = stdenv.lib.licenses.gpl3Plus;
33− platforms = stdenv.lib.platforms.unix;
34− maintainers = [ stdenv.lib.maintainers.simons ];
32+ license = licenses.gpl3Plus;
33+ platforms = platforms.unix;
34+ maintainers = with maintainers; [ simons joachifm ];
3535 };
3636}