summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2016-03-05 18:33:53 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2016-03-05 19:09:02 +0100
commit757a1f7fe9e99078c7e849c83e3f011519c2a49f (patch)
tree8a17fe1dfebe4968f0e6d5038c49c5e7827c357f /pkgs/development/tools
parent1ff8a6b6c44761c0c0a5b0ffb2f32ea6ba5cea20 (diff)
downloadnixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.tar
nixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.tar.gz
nixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.tar.bz2
nixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.tar.lz
nixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.tar.xz
nixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.tar.zst
nixlib-757a1f7fe9e99078c7e849c83e3f011519c2a49f.zip
cppcheck: 1.69 -> 1.72
Also add myself to the list of maintainers
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/analysis/cppcheck/default.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/development/tools/analysis/cppcheck/default.nix b/pkgs/development/tools/analysis/cppcheck/default.nix
index 53397786dc49..5955f34b58e9 100644
--- a/pkgs/development/tools/analysis/cppcheck/default.nix
+++ b/pkgs/development/tools/analysis/cppcheck/default.nix
@@ -1,15 +1,15 @@
 { stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45 }:
 
 let
-  name = "cppcheck";
-  version = "1.69";
+  pname = "cppcheck";
+  version = "1.72";
 in
-stdenv.mkDerivation {
-  name = "${name}-${version}";
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
 
   src = fetchurl {
-    url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
-    sha256 = "0bjkqy4c6ph6nzparcnbxrdn52i3hiind4jc99v2kvsq281wimab";
+    url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
+    sha256 = "085lm8v7biixy6rykq836gfy91jcccpz9qpk8i9x339dzy2b2q4l";
   };
 
   buildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
@@ -22,15 +22,15 @@ stdenv.mkDerivation {
     cp cppcheck.1 $out/share/man/man1/cppcheck.1
   '';
 
-  meta = {
+  meta = with stdenv.lib; {
     description = "A static analysis tool for C/C++ code";
     longDescription = ''
       Check C/C++ code for memory leaks, mismatching
       allocation-deallocation, buffer overruns and more.
     '';
     homepage = http://cppcheck.sourceforge.net/;
-    license = stdenv.lib.licenses.gpl3Plus;
-    platforms = stdenv.lib.platforms.unix;
-    maintainers = [ stdenv.lib.maintainers.simons ];
+    license = licenses.gpl3Plus;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ simons joachifm ];
   };
 }