cppcheck: 1.69 -> 1.72

Also add myself to the list of maintainers
This commit is contained in:
Joachim Fasting 2016-03-05 18:33:53 +01:00
parent 1ff8a6b6c4
commit 757a1f7fe9

View File

@ -1,15 +1,15 @@
{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45 }: { stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45 }:
let let
name = "cppcheck"; pname = "cppcheck";
version = "1.69"; version = "1.72";
in in
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "${name}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2"; url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
sha256 = "0bjkqy4c6ph6nzparcnbxrdn52i3hiind4jc99v2kvsq281wimab"; sha256 = "085lm8v7biixy6rykq836gfy91jcccpz9qpk8i9x339dzy2b2q4l";
}; };
buildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ]; buildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
@ -22,15 +22,15 @@ stdenv.mkDerivation {
cp cppcheck.1 $out/share/man/man1/cppcheck.1 cp cppcheck.1 $out/share/man/man1/cppcheck.1
''; '';
meta = { meta = with stdenv.lib; {
description = "A static analysis tool for C/C++ code"; description = "A static analysis tool for C/C++ code";
longDescription = '' longDescription = ''
Check C/C++ code for memory leaks, mismatching Check C/C++ code for memory leaks, mismatching
allocation-deallocation, buffer overruns and more. allocation-deallocation, buffer overruns and more.
''; '';
homepage = http://cppcheck.sourceforge.net/; homepage = http://cppcheck.sourceforge.net/;
license = stdenv.lib.licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ]; maintainers = with maintainers; [ simons joachifm ];
}; };
} }