Merge remote-tracking branch 'upstream/master' into wrapper-pname-support

This commit is contained in:
John Ericson
2019-11-24 17:25:07 +00:00
5772 changed files with 168373 additions and 134383 deletions
@@ -3,11 +3,11 @@
with python3Packages;
buildPythonApplication rec {
pname = "autoflake";
version = "1.3";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "0wzrvrn6279fijg8jkqbs6313f7b5ll5d22pk5s0fc1fp2wyanbb";
sha256 = "0nzr057dbmgprp4a52ymafdkdd5zp2wcqf42913xc7hhvvdbj338";
};
propagatedBuildInputs = [ pyflakes ];
@@ -0,0 +1,23 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "bingrep";
version = "0.7.0";
src = fetchFromGitHub {
owner = "m4b";
repo = pname;
# Currently doesn't tag versions so we're using the raw revision
rev = "33d56a4b020c4a3c111294fe41c613d5e8e9c7af";
sha256 = "0lg92wqknr584b44i5v4f97js56j89z7n8p2zpm8j1pfhjmgcigs";
};
cargoSha256 = "1yxm7waldhilx7wh1ag79rkp8kypb9k1px4ynmzq11r72yl2p4m7";
meta = with stdenv.lib; {
description = "Greps through binaries from various OSs and architectures, and colors them";
homepage = "https://github.com/m4b/bingrep";
license = licenses.mit;
maintainers = with maintainers; [ minijackson ];
};
}
@@ -4,8 +4,8 @@ buildRubyGem rec {
inherit ruby;
name = "${gemName}-${version}";
gemName = "brakeman";
version = "4.6.1";
source.sha256 = "04chxflc5n6q0kz93c9dc6jwqrz0mrrlpm4iqncb39yyvg4ghcbf";
version = "4.7.1";
source.sha256 = "149ny2n82hzxw4g8xnimjavs2niq14wl9kwq8zlvadavdg4g9ind";
meta = with lib; {
description = "Static analysis security scanner for Ruby on Rails";
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
version = "8.23";
version = "8.26";
pname = "checkstyle";
src = fetchurl {
url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
sha256 = "0k161c687q33rlm4r8h3f0ks5p2w8pj6kh258zdzk8kjfigfxkmx";
sha256 = "0q0jb0ip78vai2qcig51lgp9pbb4bsg9wlwjxq0gm61icbxw6vy3";
};
nativeBuildInputs = [ makeWrapper ];
@@ -0,0 +1,52 @@
{ stdenv
, fetchFromGitHub
, libelfin
, ncurses
, python3
, makeWrapper
}:
stdenv.mkDerivation rec {
pname = "coz";
version = "0.2.0";
src = fetchFromGitHub {
owner = "plasma-umass";
repo = "coz";
rev = version;
sha256 = "0a55q3s8ih1r9x6fp7wkg3n5h1yd9pcwg74k33d1r94y3j3m0znr";
};
postConfigure = ''
# This is currently hard-coded. Will be fixed in the next release.
sed -e "s|/usr/lib/|$out/lib/|" -i ./coz
'';
nativeBuildInputs = [
ncurses
makeWrapper
];
buildInputs = [
libelfin
(python3.withPackages (p: [ p.docutils ]))
];
installPhase = ''
mkdir -p $out/share/man/man1
make install prefix=$out
# fix executable includes
chmod -x $out/include/coz.h
# make sure that PYTHONPATH doesn't leak from the environment
wrapProgram $out/bin/coz \
--unset PYTHONPATH
'';
meta = {
homepage = "https://github.com/plasma-umass/coz";
description = "Coz: Causal Profiling";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ zimbatm ];
};
}
@@ -1,6 +1,6 @@
{ lib, pythonPackages, fetchFromGitHub }:
{ lib, python3Packages, fetchFromGitHub }:
pythonPackages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "cpplint";
version = "1.3.0";
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
{ stdenv, fetchFromGitHub, ocamlPackages, CoreServices, fetchpatch }:
stdenv.mkDerivation rec {
pname = "flow";
version = "0.107.0";
version = "0.112.0";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "refs/tags/v${version}";
sha256 = "1in7a006lgw4v2p0gn5sx41cn3p259vncpq0l3rz52lyfpn7ai3b";
sha256 = "1l8aahvlj9hk93snvrqm7r0mxj5iw244q72s6wallsqm7j4g967h";
};
installPhase = ''
@@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild dtoa core_kernel sedlex ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec ppx_tools_versioned visitors wtf8 ocaml-migrate-parsetree ])
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
patches = [
# Fix List.compare labeled argument. Remove when https://github.com/facebook/flow/pull/8191 is merged
(fetchpatch {
url = "https://github.com/facebook/flow/commit/1625664ec7290d4128587d96cb878571751f8881.patch";
sha256 = "18fan0d2xa6z4ilbr7ha3vhnfqlr2s6mb02sgpv8ala99b0mcgmn";
})
];
meta = with stdenv.lib; {
description = "A static type checker for JavaScript";
homepage = https://flow.org/;
@@ -23,13 +23,12 @@ in
stdenv.mkDerivation rec {
pname = "frama-c";
version = "19.0";
version = "19.1";
slang = "Potassium";
src = fetchurl {
url = "http://frama-c.com/download/frama-c-${version}-${slang}.tar.gz";
sha256 = "190n1n4k0xbycz25bn0d2gnfxd8w6scz3nlixl7w2k2jvpqlcs3n";
sha256 = "16xsc4jv3ycs5dqprpkh9isr6l2w6i4bq83msqmkdc7l7hf53vrd";
};
preConfigure = lib.optionalString stdenv.cc.isClang "configureFlagsArray=(\"--with-cpp=clang -E -C\")";
@@ -1,4 +1,5 @@
{ stdenv,
mkDerivation,
cmake,
elfutils,
extra-cmake-modules,
@@ -14,7 +15,7 @@
threadweaver,
}:
stdenv.mkDerivation rec {
mkDerivation rec {
pname = "hotspot";
version = "1.2.0";
@@ -3,10 +3,10 @@
stdenv.mkDerivation rec {
pname = "include-what-you-use";
# Also bump llvmPackages in all-packages.nix to the supported version!
version = "0.12";
version = "0.13";
src = fetchurl {
sha256 = "09b0h704fh7r4f5h92p5997cj3zk1v04bqp4jk1j1f6cmfq2z2d5";
sha256 = "1jav4qf7d303by9iy6v08w73wfwzj76i54inh90w1s34m9q44aa9";
url = "${meta.homepage}/downloads/${pname}-${version}.src.tar.gz";
};
@@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "radare2-cutter";
version = "1.8.3";
version = "1.9.0";
src = fetchFromGitHub {
owner = "radareorg";
repo = "cutter";
rev = "v${version}";
sha256 = "03f3cdckh51anx9gd1b0ndb2fg7061hqngvygf32ky29mm2m2lyv";
sha256 = "1ln55ssrasbaam267lwc2vxnm8j0c2x35qsda44xi2p8hqxslf8k";
};
postUnpack = "export sourceRoot=$sourceRoot/src";
@@ -110,22 +110,22 @@ in {
#<generated>
# DO NOT EDIT! Automatically generated by ./update.py
radare2 = generic {
version_commit = "22646";
gittap = "3.8.0";
gittip = "b4860e4eecad2053202965926f16296864b2f1e5";
rev = "3.8.0";
version = "3.8.0";
sha256 = "0rx6az2vpqy12lvzpxx9pappqj84d88daj8bis3zsffqgmhsafcd";
version_commit = "23159";
gittap = "4.0.0";
gittip = "e97047299af43e9b4e658c246816a2b48bdc087e";
rev = "4.0.0";
version = "4.0.0";
sha256 = "15b79hska3skrlbrig7fl405kmbvy4410m93lfsfmkwxs0wr9jis";
cs_ver = "4.0.1";
cs_sha256 = "0ijwxxk71nr9z91yxw20zfj4bbsbrgvixps5c7cpj163xlzlwba6";
};
r2-for-cutter = generic {
version_commit = "22265";
gittap = "3.6.0";
gittip = "ff3bb6e3b2e6a519b4c975d05758c171a5186389";
rev = "ff3bb6e3b2e6a519b4c975d05758c171a5186389";
version = "2019-06-24";
sha256 = "0vp94qzznqv87vvjbyyj6swkm6gl7byqvb1jv23i8i42zi5n7qmd";
version_commit = "22888";
gittap = "3.8.0";
gittip = "b4860e4eecad2053202965926f16296864b2f1e5";
rev = "b4860e4eecad2053202965926f16296864b2f1e5";
version = "2019-09-03";
sha256 = "0rx6az2vpqy12lvzpxx9pappqj84d88daj8bis3zsffqgmhsafcd";
cs_ver = "4.0.1";
cs_sha256 = "0ijwxxk71nr9z91yxw20zfj4bbsbrgvixps5c7cpj163xlzlwba6";
};
@@ -2,22 +2,22 @@
buildGoModule rec {
pname = "tflint";
version = "0.11.0";
version = "0.13.1";
src = fetchFromGitHub {
owner = "wata727";
owner = "terraform-linters";
repo = pname;
rev = "v${version}";
sha256 = "0aff7ckl245cyjs2rbgczkqlp2x6g4g458p4li0k1agk3m9bbq35";
sha256 = "0ivvx1nbhzijyiv9q05b5953wxga5wdskamnhfvlwpniabic3gxi";
};
modSha256 = "1facqppgpmmz2j7j77fa3mnjv2nzjxz4ya6xvyvyy92ma0ybclgh";
modSha256 = "0q1sc0bj4a29rzly4fk6m40b8i7syxa7ff9882jwi7gxjdiklch3";
subPackages = [ "." ];
meta = with lib; {
description = "Terraform linter focused on possible errors, best practices, and so on";
homepage = "https://github.com/wata727/tflint";
homepage = "https://github.com/terraform-linters/tflint";
license = licenses.mpl20;
maintainers = [ maintainers.marsam ];
};
@@ -8,15 +8,13 @@ stdenv.mkDerivation rec {
sha256 = "1ccawxrni8brcvwhygy12iprkvz409hbr9xkk1bd03gnm2fplz21";
};
# Perl is needed for `cg_annotate'.
nativeBuildInputs = [ perl ];
outputs = [ "out" "dev" "man" "doc" ];
hardeningDisable = [ "stackprotector" ];
# GDB is needed to provide a sane default for `--db-command'.
buildInputs = [ gdb ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
# Perl is needed for `callgrind_{annotate,control}'.
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
enableParallelBuilding = true;
separateDebugInfo = stdenv.isLinux;