Merge branch 'master' into closure-size

This commit is contained in:
Vladimír Čunát
2016-02-14 08:33:51 +01:00
671 changed files with 37363 additions and 16671 deletions
@@ -5,7 +5,7 @@ with rustPlatform;
with ((import ./common.nix) {
inherit stdenv rustc;
version = "0.7.0";
version = "0.8.0";
});
buildRustPackage rec {
@@ -15,10 +15,10 @@ buildRustPackage rec {
src = fetchgit {
url = "git://github.com/rust-lang/cargo";
rev = "refs/tags/${version}";
sha256 = "139rv7d6mk31klbnccmn573i05ygjrnflag6c3qwc075i62yfmx6";
sha256 = "02z0b6hpygjjfbskg22ggrhdv2nasrgf8x1fd8y0qzg4krx2czlh";
};
depsSha256 = "07p244bcw3aa1hfbsz6q89pyl8ypkw9zp1r8cvd131w890w9ab4b";
depsSha256 = "1gwc5ygs3h8jxs506xmbj1xzaqpb3kmg3pkxg9j9yqy616jw6rcn";
buildInputs = [ file curl pkgconfig python openssl cmake zlib makeWrapper ];
@@ -35,11 +35,11 @@ rec {
};
gradleLatest = gradleGen rec {
name = "gradle-2.10";
name = "gradle-2.11";
src = fetchurl {
url = "http://services.gradle.org/distributions/${name}-bin.zip";
sha256 = "66406247f745fc6f05ab382d3f8d3e120c339f34ef54b86f6dc5f6efc18fbb13";
sha256 = "1mhydg6mj9y7qr2s9bkdaijkjrq7nf6rqix415izvjan4c43fx4d";
};
};
@@ -0,0 +1,69 @@
{ fetchurl, 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;
buildInputs = [ pkgconfig 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;
buildInputs = [ pkgconfig 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;
};
}
@@ -0,0 +1,31 @@
{ lib, stdenv, fetchurl, python2 }:
stdenv.mkDerivation rec {
name = "waf-${version}";
version = "1.8.19";
src = fetchurl {
url = "https://waf.io/waf-${version}.tar.bz2";
sha256 = "e5df90556d1f70aca82bb5c5f46aa68d2377bae16b0db044eaa0559df8668c6f";
};
buildInputs = [ python2 ];
configurePhase = ''
python waf-light configure
'';
buildPhase = ''
python waf-light build
'';
installPhase = ''
install waf $out
'';
meta = {
description = "Meta build system";
homepage = "https://waf.io/";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ ];
};
}