Skip to content

Commit

Permalink
cppcheck: 0.76.1 -> 0.78 (#24937)
Browse files Browse the repository at this point in the history
* cppcheck: 0.76.1 -> 0.78

* cppcheck: enable rule-file support
  • Loading branch information
layus authored and Mic92 committed Apr 16, 2017
1 parent 787c406 commit 605ce9b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/development/tools/analysis/cppcheck/default.nix
@@ -1,18 +1,19 @@
{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45 }:
{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre }:

stdenv.mkDerivation rec {
pname = "cppcheck";
version = "1.76.1";
version = "1.78";
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
sha256 = "1l46bmzm5syfr9m5l0bqkj8lcyrynhw8gjf95s4fwhp2b7f0zisv";
sha256 = "1cc60y2vjq4g88183jkan91ybzqy0n6p5ncs8z5rh6rjsvvrc9p4";
};

buildInputs = [ pcre ];
nativeBuildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];

makeFlags = ''PREFIX=$(out) CFGDIR=$(out)/cfg'';
makeFlags = ''PREFIX=$(out) CFGDIR=$(out)/cfg HAVE_RULES=yes'';

outputs = [ "out" "man" ];

Expand Down

0 comments on commit 605ce9b

Please sign in to comment.