Merge commit '3ed545ab31146e607c57649936c75869d6aa9ba2' into ericson2314-cross-master

This commit is contained in:
John Ericson
2018-01-09 17:19:27 -05:00
535 changed files with 10031 additions and 6356 deletions

View File

@@ -21,11 +21,18 @@ stdenv.mkDerivation rec {
src = [ arcanist libphutil ];
buildInputs = [ php makeWrapper flex ];
unpackPhase = "true";
buildPhase = ''
unpackPhase = ''
cp -R ${libphutil} libphutil
cp -R ${arcanist} arcanist
chmod +w -R libphutil arcanist
'';
postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
substituteInPlace libphutil/support/xhpast/Makefile \
--replace "-minline-all-stringops" ""
'';
buildPhase = ''
(
cd libphutil/support/xhpast
make clean all install

View File

@@ -91,7 +91,11 @@ stdenv.mkDerivation rec {
else "-static-libgcc";
# TODO(@Ericson2314): Always pass "--target" and always targetPrefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configurePlatforms =
# TODO(@Ericson2314): Figure out what's going wrong with Arm
if hostPlatform == targetPlatform && targetPlatform.isArm
then []
else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = [
"--enable-targets=all" "--enable-64-bit-bfd"

View File

@@ -13,11 +13,14 @@ assert unicodeSupport -> ncurses.unicode && ncurses != null;
stdenv.mkDerivation rec {
name = "dialog-${version}";
version = "1.3-20160209";
version = "1.3-20171209";
src = fetchurl {
url = "ftp://invisible-island.net/dialog/${name}.tgz";
sha256 = "11rzh14xy9s99gxdi5i7fgmgihjqsv0ls0ksavkmip2y37rgf503";
urls = [
"ftp://ftp.invisible-island.net/dialog/${name}.tgz"
"https://invisible-mirror.net/archives/dialog/${name}.tgz"
];
sha256 = "1rk72as52f5br3wcr74d00wib41w65g8wvi36mfgybly251984r0";
};
buildInputs = [ ncurses ];

View File

@@ -2,12 +2,12 @@
python2.pkgs.buildPythonApplication rec {
pname = "lit";
version = "0.5.0";
version = "0.5.1";
name = "${pname}-${version}";
src = python2.pkgs.fetchPypi {
inherit pname version;
sha256 = "3ea4251e78ebeb2e07be2feb33243d1f8931d956efc96ccc2b0846ced212b58c";
sha256 = "0z651m3vkbk85y41larnsjxrszkbi58x9gzml3lb6ga7qwcrsg97";
};
# Non-standard test suite. Needs custom checkPhase.

View File

@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Source code search and cross reference engine";
homepage = http://opengrok.github.io/OpenGrok/;
homepage = https://opengrok.github.io/OpenGrok/;
license = licenses.cddl;
maintainers = [ maintainers.lethalman ];
};

View File

@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "sloccount-2.26";
src = fetchurl {
url = "http://www.dwheeler.com/sloccount/${name}.tar.gz";
url = "https://www.dwheeler.com/sloccount/${name}.tar.gz";
sha256 = "0ayiwfjdh1946asah861ah9269s5xkc8p5fv1wnxs9znyaxs4zzs";
};
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
homepage = http://www.dwheeler.com/sloccount/;
homepage = https://www.dwheeler.com/sloccount/;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
license = licenses.gpl3;
description = "Firmware uploader for the Teensy microcontroller boards";
homepage = http://www.pjrc.com/teensy/;
homepage = https://www.pjrc.com/teensy/;
maintainers = with maintainers; [ the-kenny ];
platforms = platforms.linux;
};

View File

@@ -2,22 +2,25 @@
stdenv.mkDerivation rec {
name = "universal-ctags-${version}";
version = "2017-09-22";
version = "2018-01-05";
src = fetchFromGitHub {
owner = "universal-ctags";
repo = "ctags";
rev = "b9537289952cc7b26526aaff3094599d714d1729";
sha256 = "1kbw9ycl2ddzpfs1v4rbqa4gdhw4inrisf4awyaxb7zxfxmbzk1g";
rev = "c66bdfb4db99977c1bd0568e33e60853a48dca65";
sha256 = "0fdzhr0704cj84ym00plkl5l9w83haal6i6w70lx6f4968pcliyi";
};
nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ];
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
# to generate makefile.in
autoreconfPhase = ''
./autogen.sh --tmpdir
./autogen.sh
'';
configureFlags = [ "--enable-tmpdir=/tmp" ];
postConfigure = ''
sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c
'';