diff options
author | Austin Seipp <aseipp@pobox.com> | 2015-06-14 14:27:46 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2015-06-14 14:28:00 -0500 |
commit | 1ee742b0ef2904788e1775d73de42c00492e8c4f (patch) | |
tree | 2c7d8c1b18ee013d193964f43c8835181485bca7 | |
parent | 23393964bb7d166694adf7c07dccac57d69c3aea (diff) | |
download | nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.tar nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.tar.gz nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.tar.bz2 nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.tar.lz nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.tar.xz nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.tar.zst nixpkgs-1ee742b0ef2904788e1775d73de42c00492e8c4f.zip |
nixpkgs: afl 1.80b -> 1.83b
Signed-off-by: Austin Seipp <aseipp@pobox.com>
-rw-r--r-- | pkgs/development/tools/analysis/infer/default.nix | 33 | ||||
-rw-r--r-- | pkgs/tools/security/afl/default.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 37 insertions, 2 deletions
diff --git a/pkgs/development/tools/analysis/infer/default.nix b/pkgs/development/tools/analysis/infer/default.nix new file mode 100644 index 00000000000..35dbd08a870 --- /dev/null +++ b/pkgs/development/tools/analysis/infer/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, python }: + +stdenv.mkDerivation rec { + name = "infer-${version}"; + version = "0.1.0"; + + src = fetchurl { + url = "https://github.com/facebook/infer/releases/download/v${version}/infer-linux64-v${version}.tar.xz"; + sha256 = "1kppiayzqwmm13aq8x1jxd3j4jywh3h37jxrgyipz8li1ddpdq3m"; + }; + + buildInputs = [ python ]; + buildPhase = "true"; + installPhase = '' + mkdir -p $out/libexec $out/bin; + cp -R facebook-clang-plugin $out/libexec + cp -R infer $out/libexec + for x in `ls $out/libexec/infer/infer/bin`; do + ln -s $out/libexec/infer/infer/bin/$x $out/bin/$x; + done + ''; + fixupPhase = '' + patchShebangs $out + ''; + + meta = { + description = "Scalable static analyzer for Java, C and Objective-C"; + homepage = http://fbinfer.com; + license = stdenv.lib.licenses.bsd3; + maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; + platforms = [ "x86_64-linux" ]; + }; +} diff --git a/pkgs/tools/security/afl/default.nix b/pkgs/tools/security/afl/default.nix index 2aed8df3260..ff9798b3f75 100644 --- a/pkgs/tools/security/afl/default.nix +++ b/pkgs/tools/security/afl/default.nix @@ -9,11 +9,11 @@ let in stdenv.mkDerivation rec { name = "afl-${version}"; - version = "1.80b"; + version = "1.83b"; src = fetchurl { url = "http://lcamtuf.coredump.cx/afl/releases/${name}.tgz"; - sha256 = "008l2qirwlf40yhlrybcpglsil9nw8498qcjmvrnvvq31piwyhp0"; + sha256 = "1zkf9vdhmm1h0flxl1ybmw41amgh9cyh4hyb18jp972lgd9q642v"; }; # Note: libcgroup isn't needed for building, just for the afl-cgroup diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 000027a9125..7db22233024 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5302,6 +5302,8 @@ let csslint = callPackage ../development/web/csslint { }; + infer = callPackage ../development/tools/analysis/infer { }; + libcxx = llvmPackages.libcxx; libcxxabi = llvmPackages.libcxxabi; |