Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-10-08 11:56:52 +02:00
366 changed files with 7208 additions and 3820 deletions
@@ -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 ];
};
}
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "flow";
version = "0.108.0";
version = "0.109.0";
src = fetchFromGitHub {
owner = "facebook";
repo = "flow";
rev = "refs/tags/v${version}";
sha256 = "13irr1hkv7mxvq57pywmjmqdf5fv359vl5d19w3sra3rqg7vi3ws";
sha256 = "0wfhy7r85s2bxhfkmcdp7p1gaqjxr4yzay52k680hv6ghhay2318";
};
installPhase = ''