Merge branch 'master' into staging-next
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
{ stdenv, lib, fetchurl, fetchpatch, runCommand, makeWrapper
|
||||
, jdk, zip, unzip, bash, writeCBin, coreutils
|
||||
, which, python, perl, gnused, gnugrep, findutils
|
||||
# Apple dependencies
|
||||
, cctools, clang, libcxx, CoreFoundation, CoreServices, Foundation
|
||||
# Allow to independently override the jdks used to build and run respectively
|
||||
, buildJdk ? jdk, runJdk ? jdk
|
||||
# Always assume all markers valid (don't redownload dependencies).
|
||||
# Also, don't clean up environment variables.
|
||||
, enableNixHacks ? false
|
||||
# Apple dependencies
|
||||
, cctools, clang, libcxx, CoreFoundation, CoreServices, Foundation
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -26,7 +28,7 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "0.16.0";
|
||||
version = "0.16.1";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/bazelbuild/bazel/";
|
||||
@@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
|
||||
sha256 = "1ca9pncnj6v4r1kvgxys7607wpz4d2ic6g0i7lpsc2zg2qwmjc67";
|
||||
sha256 = "0v5kcz8q9vzf4cpmlx8k2gg0dsr8mj0jmx9a44pwb0kc6na6pih9";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
@@ -152,7 +154,7 @@ stdenv.mkDerivation rec {
|
||||
+ genericPatches;
|
||||
|
||||
buildInputs = [
|
||||
jdk
|
||||
buildJdk
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -190,7 +192,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv output/bazel $out/bin
|
||||
wrapProgram "$out/bin/bazel" --set JAVA_HOME "${jdk}"
|
||||
wrapProgram "$out/bin/bazel" --set JAVA_HOME "${runJdk}"
|
||||
mkdir -p $out/share/bash-completion/completions $out/share/zsh/site-functions
|
||||
mv output/bazel-complete.bash $out/share/bash-completion/completions/bazel
|
||||
cp scripts/zsh_completion/_bazel $out/share/zsh/site-functions/
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bear-${version}";
|
||||
version = "2.3.12";
|
||||
version = "2.3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rizsotto";
|
||||
repo = "Bear";
|
||||
rev = version;
|
||||
sha256 = "1zzz2yiiny9pm4h6ayb82xzxc2j5djcpf8va2wagcw92m7w6miqw";
|
||||
sha256 = "0imvvs22gyr1v6ydgp5yn2nq8fb8llmz0ra1m733ikjaczl3jm7z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, mono, makeWrapper
|
||||
, targetVersion ? "4.5" }:
|
||||
|
||||
let
|
||||
version = "2015-11-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nant";
|
||||
repo = "nant";
|
||||
rev = "19bec6eca205af145e3c176669bbd57e1712be2a";
|
||||
sha256 = "11l5y76csn686p8i3kww9s0sxy659ny9l64krlqg3y2nxaz0fk6l";
|
||||
};
|
||||
|
||||
nant-bootstrapped = stdenv.mkDerivation {
|
||||
name = "nant-bootstrapped-${version}";
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ mono makeWrapper ];
|
||||
|
||||
buildFlags = "bootstrap";
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/nant-bootstrap
|
||||
cp -r bootstrap/* $out/lib/nant-bootstrap
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper "${mono}/bin/mono" $out/bin/nant \
|
||||
--add-flags "$out/lib/nant-bootstrap/NAnt.exe"
|
||||
'';
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "nant-${version}";
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ mono makeWrapper nant-bootstrapped ];
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
buildPhase = ''
|
||||
nant -t:mono-${targetVersion}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/nant
|
||||
cp -r build/mono-${targetVersion}.unix/nant-debug/bin/* $out/lib/nant/
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper "${mono}/bin/mono" $out/bin/nant \
|
||||
--add-flags "$out/lib/nant/NAnt.exe"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://nant.sourceforge.net;
|
||||
description = "NAnt is a free .NET build tool";
|
||||
|
||||
longDescription = ''
|
||||
NAnt is a free .NET build tool. In theory it is kind of like make without
|
||||
make's wrinkles. In practice it's a lot like Ant.
|
||||
'';
|
||||
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ zohl ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ in buildPythonApplication rec {
|
||||
|
||||
prePatch = ''
|
||||
sed -E -i "s/'([[:alnum:].-]+)[=><][[:digit:]=><.,]*'/'\\1'/g" setup.py
|
||||
substituteInPlace setup.py --replace "requests[security]<2.19,>=2.5.0" "requests[security]<2.20,>=2.5.0"
|
||||
'';
|
||||
|
||||
# Unnecessary, and causes some really weird behavior around .class files, which
|
||||
|
||||
Reference in New Issue
Block a user