Merge branch 'master' into staging-next
Hydra: ?compare=1473892
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.77.0";
|
||||
version = "0.79.0";
|
||||
name = "flow-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "flow";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wcbqw5vwb3wsz9dkhi2k159ms98kn1nw3g9lc2j9w1m8ki41lql";
|
||||
sha256 = "1m8239jl0kmpgmk81mak6k3hmmikji6bb3v0zaknb1z3jl8aa1wb";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -4,7 +4,7 @@ let
|
||||
|
||||
dubBuild = stdenv.mkDerivation rec {
|
||||
name = "dubBuild-${version}";
|
||||
version = "1.8.1";
|
||||
version = "1.10.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -12,7 +12,7 @@ let
|
||||
owner = "dlang";
|
||||
repo = "dub";
|
||||
rev = "v${version}";
|
||||
sha256 = "16r7x4jsfv5fjssvs6mwj8ymr6fjpvbkjhpr4f4368sjr5iyfad6";
|
||||
sha256 = "02xxpfcjs427jqbwz0vh5vl3bh62ys65zmi9gpa3svzqffyx13n4";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
@@ -51,40 +51,45 @@ let
|
||||
|
||||
# Need to test in a fixed-output derivation, otherwise the
|
||||
# network tests would fail if sandbox mode is enabled.
|
||||
dubUnittests = stdenv.mkDerivation rec {
|
||||
name = "dubUnittests-${version}";
|
||||
version = dubBuild.version;
|
||||
# Disable tests on Darwin for now because they don't work
|
||||
# reliably there.
|
||||
dubUnittests = if !stdenv.hostPlatform.isDarwin then
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dubUnittests-${version}";
|
||||
version = dubBuild.version;
|
||||
|
||||
enableParallelBuilding = dubBuild.enableParallelBuilding;
|
||||
preferLocalBuild = true;
|
||||
inputString = dubBuild.outPath;
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = builtins.hashString "sha256" inputString;
|
||||
enableParallelBuilding = dubBuild.enableParallelBuilding;
|
||||
preferLocalBuild = true;
|
||||
inputString = dubBuild.outPath;
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = builtins.hashString "sha256" inputString;
|
||||
|
||||
src = dubBuild.src;
|
||||
|
||||
postUnpack = dubBuild.postUnpack;
|
||||
postPatch = dubBuild.postPatch;
|
||||
src = dubBuild.src;
|
||||
|
||||
postUnpack = dubBuild.postUnpack;
|
||||
postPatch = dubBuild.postPatch;
|
||||
|
||||
nativeBuildInputs = dubBuild.nativeBuildInputs;
|
||||
buildInputs = dubBuild.buildInputs;
|
||||
nativeBuildInputs = dubBuild.nativeBuildInputs;
|
||||
buildInputs = dubBuild.buildInputs;
|
||||
|
||||
buildPhase = ''
|
||||
# Can't use dub from dubBuild directly because one unittest
|
||||
# (issue895-local-configuration) needs to generate a config
|
||||
# file under ../etc relative to the dub location.
|
||||
cp ${dubBuild}/bin/dub bin/
|
||||
export DUB=$NIX_BUILD_TOP/source/bin/dub
|
||||
export PATH=$PATH:$NIX_BUILD_TOP/source/bin/
|
||||
export DC=${dmd.out}/bin/dmd
|
||||
export HOME=$TMP
|
||||
./test/run-unittest.sh
|
||||
'';
|
||||
buildPhase = ''
|
||||
# Can't use dub from dubBuild directly because one unittest
|
||||
# (issue895-local-configuration) needs to generate a config
|
||||
# file under ../etc relative to the dub location.
|
||||
cp ${dubBuild}/bin/dub bin/
|
||||
export DUB=$NIX_BUILD_TOP/source/bin/dub
|
||||
export PATH=$PATH:$NIX_BUILD_TOP/source/bin/
|
||||
export DC=${dmd.out}/bin/dmd
|
||||
export HOME=$TMP
|
||||
./test/run-unittest.sh
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
echo -n $inputString > $out
|
||||
'';
|
||||
};
|
||||
installPhase = ''
|
||||
echo -n $inputString > $out
|
||||
'';
|
||||
}
|
||||
else
|
||||
"";
|
||||
|
||||
in
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, makeDesktopItem, makeWrapper, requireFile, unzip, openjdk }:
|
||||
{ stdenv, makeDesktopItem, makeWrapper, requireFile, unzip, jdk }:
|
||||
|
||||
let
|
||||
version = "17.4.1.054.0712";
|
||||
@@ -46,29 +46,23 @@ in
|
||||
|
||||
nix-prefetch-url --type sha256 file:///path/to/${name}
|
||||
'';
|
||||
# obtained by `sha256sum sqldeveloper-${version}-no-jre.zip`
|
||||
sha256 = "7e92ca94d02489002db291c96f1d67f9b2501a8967ff3457103fcf60c1eb154a";
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper unzip ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
echo >$out/bin/sqldeveloper '#! ${stdenv.shell}'
|
||||
echo >>$out/bin/sqldeveloper 'export JAVA_HOME=${openjdk}/lib/openjdk'
|
||||
echo >>$out/bin/sqldeveloper 'export JDK_HOME=$JAVA_HOME'
|
||||
echo >>$out/bin/sqldeveloper "cd $out/lib/${name}/sqldeveloper/bin"
|
||||
echo >>$out/bin/sqldeveloper '${stdenv.shell} sqldeveloper "$@"'
|
||||
chmod +x $out/bin/sqldeveloper
|
||||
unpackCmd = "unzip $curSrc";
|
||||
|
||||
mkdir -p $out/lib/
|
||||
cd $out
|
||||
unzip ${src}
|
||||
mv sqldeveloper $out/lib/${name}
|
||||
installPhase = ''
|
||||
mkdir -p $out/libexec $out/share/{applications,pixmaps}
|
||||
mv * $out/libexec/
|
||||
|
||||
install -D -m 444 $out/lib/$name/icon.png $out/share/pixmaps/sqldeveloper.png
|
||||
mkdir -p $out/share/applications
|
||||
mv $out/libexec/icon.png $out/share/pixmaps/sqldeveloper.png
|
||||
cp ${desktopItem}/share/applications/* $out/share/applications
|
||||
|
||||
makeWrapper $out/libexec/sqldeveloper/bin/sqldeveloper $out/bin/sqldeveloper \
|
||||
--set JAVA_HOME ${jdk.home} \
|
||||
--run "cd $out/libexec/sqldeveloper/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@@ -84,7 +78,7 @@ in
|
||||
'';
|
||||
homepage = http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/;
|
||||
license = licenses.unfree;
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
maintainers = [ maintainers.ardumont ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,21 +2,21 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dtools-${version}";
|
||||
version = "2.079.1";
|
||||
version = "2.081.1";
|
||||
|
||||
srcs = [
|
||||
(fetchFromGitHub {
|
||||
owner = "dlang";
|
||||
repo = "dmd";
|
||||
rev = "v${version}";
|
||||
sha256 = "0mlk095aw94d940qkymfp85daggiz3f0xv598nlc7acgp6408kyj";
|
||||
sha256 = "1xdz7p0pdzwkn57ai93mavgdkd8xb1sr2brlc6y3c12x84h43s8z";
|
||||
name = "dmd";
|
||||
})
|
||||
(fetchFromGitHub {
|
||||
owner = "dlang";
|
||||
repo = "tools";
|
||||
rev = "v${version}";
|
||||
sha256 = "0fvpfwh3bh3fymrmis3n39x9hkfklmv81lrlqcyl8fmmk694yvad";
|
||||
sha256 = "1sbcfj8r1nvy7ynh9dy55q9bvfvxwf1z3llpxckvi8p6yvf35qn2";
|
||||
name = "dtools";
|
||||
})
|
||||
];
|
||||
|
||||
@@ -3,11 +3,18 @@
|
||||
, gitAndTools, mercurial, darcs, subversion, bazaar, openssl, bzip2, libxslt
|
||||
, guile, perl, postgresql, nukeReferences, git, boehmgc
|
||||
, docbook_xsl, openssh, gnused, coreutils, findutils, gzip, lzma, gnutar
|
||||
, rpm, dpkg, cdrkit, pixz }:
|
||||
, rpm, dpkg, cdrkit, pixz, lib, fetchpatch, boost, autoreconfHook
|
||||
}:
|
||||
|
||||
with stdenv;
|
||||
|
||||
let
|
||||
isGreaterNix20 = with lib.versions;
|
||||
let
|
||||
inherit (nix) version;
|
||||
inherit (lib) toInt;
|
||||
in major version == "2" && toInt (minor version) >= 1 || toInt (major version) > 2;
|
||||
|
||||
perlDeps = buildEnv {
|
||||
name = "hydra-perl-deps";
|
||||
paths = with perlPackages;
|
||||
@@ -64,15 +71,15 @@ let
|
||||
};
|
||||
in releaseTools.nixBuild rec {
|
||||
name = "hydra-${version}";
|
||||
version = "2017-11-21";
|
||||
version = "2018-08-07";
|
||||
|
||||
inherit stdenv;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "hydra";
|
||||
rev = "b7bc4384b7b471d1ddf892cb03f16189a66d5a0d";
|
||||
sha256 = "05g37z3ilazzqa5rqj5zljndwxjbvpc18xibh6jlwjwpvg3kpbbh";
|
||||
rev = "4dca8fe14d3f782bdf927f37efce722acefffff3";
|
||||
sha256 = "1yas4psmvfp7lhcp81ia2sy93b78j9hiw9a6n3q2m1a616hwpm25";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
@@ -81,17 +88,24 @@ in releaseTools.nixBuild rec {
|
||||
guile # optional, for Guile + Guix support
|
||||
perlDeps perl nix
|
||||
postgresql # for running the tests
|
||||
];
|
||||
] ++ lib.optionals isGreaterNix20 [ boost ];
|
||||
|
||||
hydraPath = lib.makeBinPath (
|
||||
[ sqlite subversion openssh nix coreutils findutils pixz
|
||||
gzip bzip2 lzma gnutar unzip git gitAndTools.topGit mercurial darcs gnused bazaar
|
||||
] ++ lib.optionals stdenv.isLinux [ rpm dpkg cdrkit ] );
|
||||
|
||||
postUnpack = ''
|
||||
# Clean up when building from a working tree.
|
||||
(cd $sourceRoot && (git ls-files -o --directory | xargs -r rm -rfv)) || true
|
||||
'';
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
# adds a patch which ensures compatibility with the API of Nix 2.0.
|
||||
# it has been reverted in https://github.com/NixOS/hydra/commit/162d671c48a418bd10a8a171ca36787ef3695a44,
|
||||
# for Nix 2.1/unstable compatibility. Reapplying helps if Nix 2.0 is used to keep the build functional.
|
||||
patches = lib.optionals (!isGreaterNix20) [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/NixOS/hydra/commit/08de434bdd0b0a22abc2081be6064a6c846d3920.patch";
|
||||
sha256 = "0kz77njp5ynn9l81g3q8zrryvnsr06nk3iw0a60187wxqzf5fmf8";
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = [ "--with-docbook-xsl=${docbook_xsl}/xml/xsl/docbook" ];
|
||||
|
||||
@@ -100,8 +114,6 @@ in releaseTools.nixBuild rec {
|
||||
PERL5LIB=$(pwd)/src/lib:$PERL5LIB;
|
||||
'';
|
||||
|
||||
preConfigure = "autoreconf -vfi";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preCheck = ''
|
||||
@@ -131,6 +143,6 @@ in releaseTools.nixBuild rec {
|
||||
description = "Nix-based continuous build system";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libdrm, libpciaccess, cairo, dri2proto, udev
|
||||
, libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod
|
||||
, procps, utilmacros, gnome2 }:
|
||||
, procps, utilmacros, gnome2, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "intel-gpu-tools-1.22";
|
||||
name = "intel-gpu-tools-${version}";
|
||||
version = "1.23";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://xorg.freedesktop.org/archive/individual/app/${name}.tar.xz";
|
||||
sha256 = "0p4swf9577p6hzglw1lh2sz63wjkk37b7691saj2qw8ha7fc2rix";
|
||||
url = "https://xorg.freedesktop.org/archive/individual/app/igt-gpu-tools-${version}.tar.xz";
|
||||
sha256 = "1l4s95m013p2wvddwr4cjqyvsgmc88zxx2887p1fbb1va5n0hjsd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig utilmacros ];
|
||||
buildInputs = [ libdrm libpciaccess cairo dri2proto udev libX11 kmod
|
||||
libXext libXv libXrandr glib bison libunwind python3 procps
|
||||
gnome2.gtkdoc ];
|
||||
gnome2.gtkdoc openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "strace-${version}";
|
||||
version = "4.23";
|
||||
version = "4.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://strace.io/files/${version}/${name}.tar.xz";
|
||||
sha256 = "1bcsq2gbpcb81ayryvn56a6kjx42fc21la6qgds35n0xbybacq3q";
|
||||
sha256 = "0d061cdzk6a1822ds4wpqxg10ny27mi4i9zjmnsbz8nz3vy5jkhz";
|
||||
};
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
@@ -17,10 +17,11 @@ stdenv.mkDerivation rec {
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
branch = "2.5.35";
|
||||
homepage = http://flex.sourceforge.net/;
|
||||
description = "A fast lexical analyser generator";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,9 +26,10 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace Makefile.in --replace "tests" " ";
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/westes/flex;
|
||||
description = "A fast lexical analyser generator";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,9 +41,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontDisableStatic = stdenv.buildPlatform != stdenv.hostPlatform;
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/westes/flex;
|
||||
description = "A fast lexical analyser generator";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
{ stdenv, buildGoPackage, fetchgit }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "pprof-${version}";
|
||||
version = "2017-08-28";
|
||||
rev = "d19a98b9bcec464f178b20da0f936cef7e15462e";
|
||||
name = "pprof-unstable-${version}";
|
||||
version = "2018-08-15";
|
||||
rev = "781f11b1fcf71fae9d185e7189b5e686f575075a";
|
||||
|
||||
goPackagePath = "github.com/google/pprof";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "git://github.com/google/pprof";
|
||||
sha256 = "0wh589fndvvidisy0jy19y0ykw4l05paqd53s8kli7h9zdcl11gq";
|
||||
sha256 = "1nvzwcj6h4q0lsjlri3bym4axgv848w3xz57iz5p0wz9lcd5jsmf";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
13
pkgs/development/tools/profiling/pprof/deps.nix
generated
13
pkgs/development/tools/profiling/pprof/deps.nix
generated
@@ -1,12 +1,21 @@
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/chzyer/readline";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/chzyer/readline";
|
||||
rev = "2972be24d48e78746da79ba8e24e8b488c9880de";
|
||||
sha256 = "104q8dazj8yf6b089jjr82fy9h1g80zyyzvp3g8b44a7d8ngjj6r";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/ianlancetaylor/demangle";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ianlancetaylor/demangle";
|
||||
rev = "4883227f66371e02c4948937d3e2be1664d9be38";
|
||||
sha256 = "1yj7c9i1sg26fyx6cmz87x3qh71rldkl6h87x5gysqzipm9jg54l";
|
||||
rev = "fcd258a6f0b45dc345a407ee5568cf9a4d24a0ae";
|
||||
sha256 = "10hdzq6n4mb13g8ddqvwjwx14djfyxhh0gjc888vdihzvhyqhvrp";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
||||
@@ -38,11 +38,11 @@ let
|
||||
];
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "react-native-debugger-${version}";
|
||||
version = "0.7.18";
|
||||
version = "0.7.20";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/jhen0409/react-native-debugger/releases/download/v${version}/rn-debugger-linux-x64.zip";
|
||||
sha256 = "186n438sy9wzrx2zdw4qq4hsz89wiy01bpfa6fdjisvxgz6r8sgw";
|
||||
sha256 = "0nd707plj2c96g0dl976dv8b6dlfh12pdqrmxvp0qc2m2j6y9vig";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
Reference in New Issue
Block a user