aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers')
-rw-r--r--nixpkgs/pkgs/development/compilers/arachne-pnr/default.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/bs-platform/bs-platform-62.nix55
-rw-r--r--nixpkgs/pkgs/development/compilers/bs-platform/default.nix15
-rw-r--r--nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix16
-rw-r--r--nixpkgs/pkgs/development/compilers/chez/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/4/chicken.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/4/egg2nix.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/4/eggDerivation.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/4/eggs.nix202
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/4/setup-hook.sh3
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/5/chicken.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/5/egg2nix.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/5/eggDerivation.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/chicken/5/eggs.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/cmdstan/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/crystal/default.nix58
-rw-r--r--nixpkgs/pkgs/development/compilers/cudatoolkit/common.nix220
-rw-r--r--nixpkgs/pkgs/development/compilers/cudatoolkit/default.nix223
-rw-r--r--nixpkgs/pkgs/development/compilers/dev86/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/ecl/16.1.2.nix1
-rw-r--r--nixpkgs/pkgs/development/compilers/ecl/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/ecl/ecl-1.16.2-libffi-3.3-abi.patch15
-rw-r--r--nixpkgs/pkgs/development/compilers/ecl/libffi-3.3-abi.patch15
-rw-r--r--nixpkgs/pkgs/development/compilers/eli/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/elm/makeDotElm.nix3
-rw-r--r--nixpkgs/pkgs/development/compilers/elm/packages/node-packages.nix915
-rw-r--r--nixpkgs/pkgs/development/compilers/eql/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/fasm/bin.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/fpc/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/fstar/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc-arm-embedded/6/default.nix42
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc-arm-embedded/7/default.nix40
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc-arm-embedded/8/default.nix40
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc-arm-embedded/9/default.nix53
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc-arm-embedded/default.nix52
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/4.8/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/4.9/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/5/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/6/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/7/default.nix12
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/8/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/9/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/common/configure-flags.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/gcc/snapshot/default.nix3
-rw-r--r--nixpkgs/pkgs/development/compilers/gerbil/build.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/ghc/8.10.1.nix232
-rw-r--r--nixpkgs/pkgs/development/compilers/ghc/8.4.4.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/ghc/8.6.5.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/ghc/8.8.1.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/ghc/8.8.2.nix232
-rw-r--r--nixpkgs/pkgs/development/compilers/ghc/head.nix10
-rw-r--r--nixpkgs/pkgs/development/compilers/ghcjs-ng/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/gleam/default.nix24
-rw-r--r--nixpkgs/pkgs/development/compilers/go-jsonnet/default.nix35
-rw-r--r--nixpkgs/pkgs/development/compilers/go-jsonnet/deps.nix48
-rw-r--r--nixpkgs/pkgs/development/compilers/go/1.13.nix13
-rw-r--r--nixpkgs/pkgs/development/compilers/go/1.4.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/graalvm/default.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/hhvm/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/iasl/default.nix10
-rw-r--r--nixpkgs/pkgs/development/compilers/intel-graphics-compiler/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/kotlin/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/ldc/default.nix68
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/3.9/clang/0001-Fix-compilation-w-gcc9.patch63
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/3.9/clang/default.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/4/clang/0001-Fix-compilation-w-gcc9.patch59
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/4/clang/default.nix10
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/4/fix-gcc9.patch33
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/4/llvm.nix12
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/5/clang/default.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/5/fix-gcc9.patch33
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/5/llvm.nix12
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/6/clang/default.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/6/llvm.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/7/clang/default.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/7/compiler-rt.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/7/llvm.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/8/clang/default.nix5
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/8/compiler-rt.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/8/llvm.nix7
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/clang/default.nix7
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/compiler-rt.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/default.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/libc++/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/libc++abi.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/libunwind.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/lld.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/lldb.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/llvm.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/llvm/9/openmp.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/manticore/default.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/mruby/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/nim/default.nix12
-rw-r--r--nixpkgs/pkgs/development/compilers/ocaml/3.10.0.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/ocaml/3.11.2.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/ocaml/3.12.1.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/ocaml/4.00.1.nix10
-rw-r--r--nixpkgs/pkgs/development/compilers/ocaml/generic.nix23
-rw-r--r--nixpkgs/pkgs/development/compilers/ocaml/metaocaml-3.09.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/openjdk/11.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/openjdk/8.nix8
-rw-r--r--nixpkgs/pkgs/development/compilers/openjdk/default.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/openjdk/openjfx/11.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/openjdk/openjfx/12.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/orc/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/osl/default.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/ponyc/default.nix10
-rw-r--r--nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/rasm/default.nix33
-rw-r--r--nixpkgs/pkgs/development/compilers/rgbds/default.nix6
-rw-r--r--nixpkgs/pkgs/development/compilers/rust/1_39_0.nix21
-rw-r--r--nixpkgs/pkgs/development/compilers/rust/1_40_0.nix29
-rw-r--r--nixpkgs/pkgs/development/compilers/rust/cargo.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/rust/default.nix12
-rw-r--r--nixpkgs/pkgs/development/compilers/rust/rustc.nix14
-rw-r--r--nixpkgs/pkgs/development/compilers/smlnj/default.nix68
-rw-r--r--nixpkgs/pkgs/development/compilers/smlnj/heap2exec.diff9
-rw-r--r--nixpkgs/pkgs/development/compilers/solc/default.nix15
-rw-r--r--nixpkgs/pkgs/development/compilers/solc/patches/shared-libs-install.patch71
-rw-r--r--nixpkgs/pkgs/development/compilers/souffle/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/tinygo/default.nix35
-rw-r--r--nixpkgs/pkgs/development/compilers/vala/default.nix12
-rw-r--r--nixpkgs/pkgs/development/compilers/x11basic/default.nix4
-rw-r--r--nixpkgs/pkgs/development/compilers/yap/default.nix2
-rw-r--r--nixpkgs/pkgs/development/compilers/z88dk/default.nix4
125 files changed, 2178 insertions, 1406 deletions
diff --git a/nixpkgs/pkgs/development/compilers/arachne-pnr/default.nix b/nixpkgs/pkgs/development/compilers/arachne-pnr/default.nix
index 3058e926c3f..0b5ff381730 100644
--- a/nixpkgs/pkgs/development/compilers/arachne-pnr/default.nix
+++ b/nixpkgs/pkgs/development/compilers/arachne-pnr/default.nix
@@ -4,13 +4,13 @@ with builtins;
stdenv.mkDerivation rec {
pname = "arachne-pnr";
- version = "2018.09.09";
+ version = "2019.07.29";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "arachne-pnr";
- rev = "840bdfdeb38809f9f6af4d89dd7b22959b176fdd";
- sha256 = "1dqvjvgvsridybishv4pnigw9gypxh7r7nrqp9z9qq92v7c5rxzl";
+ rev = "c40fb2289952f4f120cc10a5a4c82a6fb88442dc";
+ sha256 = "0lg9rccr486cvips3jf289af2b4a2j9chc8iqnkhykgi1hw4pszc";
};
enableParallelBuilding = true;
diff --git a/nixpkgs/pkgs/development/compilers/bs-platform/bs-platform-62.nix b/nixpkgs/pkgs/development/compilers/bs-platform/bs-platform-62.nix
new file mode 100644
index 00000000000..d2913caaee6
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/bs-platform/bs-platform-62.nix
@@ -0,0 +1,55 @@
+{ stdenv, fetchFromGitHub, ninja, nodejs, python3 }:
+let
+ version = "6.2.1";
+ ocaml-version = "4.06.1";
+ src = fetchFromGitHub {
+ owner = "BuckleScript";
+ repo = "bucklescript";
+ rev = "${version}";
+ sha256 = "0zx9nq7cik0c60n3rndqfqy3vdbj5lcrx6zcqcz2d60jjxi1z32y";
+ fetchSubmodules = true;
+ };
+ ocaml = import ./ocaml.nix {
+ bs-version = version;
+ version = ocaml-version;
+ inherit stdenv;
+ src = "${src}/ocaml";
+ };
+in
+stdenv.mkDerivation {
+ inherit src version;
+ pname = "bs-platform";
+ BS_RELEASE_BUILD = "true";
+ buildInputs = [ nodejs python3 ];
+
+ patchPhase = ''
+ sed -i 's:./configure.py --bootstrap:python3 ./configure.py --bootstrap:' ./scripts/install.js
+
+ mkdir -p ./native/${ocaml-version}/bin
+ ln -sf ${ocaml}/bin/* ./native/${ocaml-version}/bin
+
+ rm -f vendor/ninja/snapshot/ninja.linux
+ cp ${ninja}/bin/ninja vendor/ninja/snapshot/ninja.linux
+ '';
+
+ configurePhase = ''
+ node scripts/ninja.js config
+ '';
+
+ buildPhase = ''
+ node scripts/ninja.js build
+ '';
+
+ installPhase = ''
+ node scripts/install.js
+
+ mkdir -p $out/bin
+
+ cp -rf jscomp lib vendor odoc_gen native $out
+ cp bsconfig.json package.json $out
+
+ ln -s $out/lib/bsb $out/bin/bsb
+ ln -s $out/lib/bsc $out/bin/bsc
+ ln -s $out/lib/bsrefmt $out/bin/bsrefmt
+ '';
+}
diff --git a/nixpkgs/pkgs/development/compilers/bs-platform/default.nix b/nixpkgs/pkgs/development/compilers/bs-platform/default.nix
new file mode 100644
index 00000000000..5eb11671ca9
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/bs-platform/default.nix
@@ -0,0 +1,15 @@
+{ stdenv, fetchFromGitHub, ninja, nodejs, python3, ... }:
+let
+ meta = with stdenv.lib; {
+ description = "A JavaScript backend for OCaml focused on smooth integration and clean generated code.";
+ homepage = https://bucklescript.github.io;
+ license = licenses.lgpl3;
+ maintainers = with maintainers; [ turbomack gamb ];
+ platforms = platforms.all;
+ };
+in
+{
+ bs-platform-621 = import ./bs-platform-62.nix {
+ inherit stdenv fetchFromGitHub ninja nodejs python3;
+ } // { inherit meta; };
+}
diff --git a/nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix b/nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix
new file mode 100644
index 00000000000..1f2fdd571f3
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/bs-platform/ocaml.nix
@@ -0,0 +1,16 @@
+{ stdenv, src, version, bs-version }:
+stdenv.mkDerivation rec {
+ inherit src version;
+ name = "ocaml-${version}+bs-${bs-version}";
+ configurePhase = ''
+ ./configure -prefix $out
+ '';
+ buildPhase = ''
+ make -j9 world.opt
+ '';
+
+ meta = with stdenv.lib; {
+ branch = "4.06";
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/development/compilers/chez/default.nix b/nixpkgs/pkgs/development/compilers/chez/default.nix
index a0fc30c8586..c0fd742082f 100644
--- a/nixpkgs/pkgs/development/compilers/chez/default.nix
+++ b/nixpkgs/pkgs/development/compilers/chez/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isGNU "-Wno-error=format-truncation";
+ NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=format-truncation";
/*
** We patch out a very annoying 'feature' in ./configure, which
diff --git a/nixpkgs/pkgs/development/compilers/chicken/4/chicken.nix b/nixpkgs/pkgs/development/compilers/chicken/4/chicken.nix
index 34512fc8ef0..380755bf01e 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/4/chicken.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/4/chicken.nix
@@ -23,8 +23,8 @@ stdenv.mkDerivation {
setupHook = lib.ifEnable (bootstrap-chicken != null) ./setup-hook.sh;
- buildFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib";
- installFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib";
+ buildFlags = [ "PLATFORM=${platform}" "PREFIX=$(out)" "VARDIR=$(out)/var/lib" ];
+ installFlags = [ "PLATFORM=${platform}" "PREFIX=$(out)" "VARDIR=$(out)/var/lib" ];
# We need a bootstrap-chicken to regenerate the c-files after
# applying a patch to add support for CHICKEN_REPOSITORY_EXTRA
@@ -63,7 +63,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.call-cc.org/;
license = stdenv.lib.licenses.bsd3;
- maintainers = with stdenv.lib.maintainers; [ the-kenny ];
+ maintainers = with stdenv.lib.maintainers; [ the-kenny corngood ];
platforms = stdenv.lib.platforms.linux; # Maybe other non-darwin Unix
description = "A portable compiler for the Scheme programming language";
longDescription = ''
diff --git a/nixpkgs/pkgs/development/compilers/chicken/4/egg2nix.nix b/nixpkgs/pkgs/development/compilers/chicken/4/egg2nix.nix
index d0f3b8a4e26..8f796d09ee5 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/4/egg2nix.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/4/egg2nix.nix
@@ -22,6 +22,6 @@ eggDerivation {
homepage = https://github.com/the-kenny/egg2nix;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
- maintainers = [ stdenv.lib.maintainers.the-kenny ];
+ maintainers = with stdenv.lib.maintainers; [ the-kenny corngood ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/chicken/4/eggDerivation.nix b/nixpkgs/pkgs/development/compilers/chicken/4/eggDerivation.nix
index 16f9c413d4c..cd340c22174 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/4/eggDerivation.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/4/eggDerivation.nix
@@ -8,7 +8,7 @@
let
libPath = "${chicken}/var/lib/chicken/${toString chicken.binaryVersion}/";
overrides = import ./overrides.nix;
- baseName = lib.getName name;
+ baseName = stdenv.lib.getName name;
override = if builtins.hasAttr baseName overrides
then
builtins.getAttr baseName overrides
diff --git a/nixpkgs/pkgs/development/compilers/chicken/4/eggs.nix b/nixpkgs/pkgs/development/compilers/chicken/4/eggs.nix
index 1f786f127c9..6e6f104f8a0 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/4/eggs.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/4/eggs.nix
@@ -1,4 +1,4 @@
-{ pkgs }:
+{ pkgs, stdenv }:
rec {
inherit (pkgs) eggDerivation fetchegg;
@@ -16,35 +16,6 @@ rec {
];
};
- blob-utils = eggDerivation {
- name = "blob-utils-1.0.3";
-
- src = fetchegg {
- name = "blob-utils";
- version = "1.0.3";
- sha256 = "17vdn02fnxnjx5ixgqimln93lqvzyq4y9w02fw7xnbdcjzqm0xml";
- };
-
- buildInputs = [
- setup-helper
- string-utils
- ];
- };
-
- check-errors = eggDerivation {
- name = "check-errors-1.13.0";
-
- src = fetchegg {
- name = "check-errors";
- version = "1.13.0";
- sha256 = "12a0sn82n98jybh72zb39fdddmr5k4785xglxb16750fhy8rmjwi";
- };
-
- buildInputs = [
- setup-helper
- ];
- };
-
defstruct = eggDerivation {
name = "defstruct-1.6";
@@ -60,31 +31,29 @@ rec {
};
http-client = eggDerivation {
- name = "http-client-0.7.1";
+ name = "http-client-0.18";
src = fetchegg {
name = "http-client";
- version = "0.7.1";
- sha256 = "1s03zgmb7kb99ld0f2ylqgicrab9qgza53fkgsqvg7bh5njmzhxr";
+ version = "0.18";
+ sha256 = "1b9x66kfcglld4xhm06vba00gw37vr07c859kj7lmwnk9nwhcplg";
};
buildInputs = [
intarweb
uri-common
- message-digest
- md5
- string-utils
+ simple-md5
sendfile
];
};
intarweb = eggDerivation {
- name = "intarweb-1.3";
+ name = "intarweb-1.7";
src = fetchegg {
name = "intarweb";
- version = "1.3";
- sha256 = "0izlby78c25py29bdcbc0vapb6h7xgchqrzi6i51d0rb3mnwy88h";
+ version = "1.7";
+ sha256 = "1arjgn5g4jfdzj3nlrhxk235qwf6k6jxr14yhnncnfbgdb820xp8";
};
buildInputs = [
@@ -94,92 +63,13 @@ rec {
];
};
- lookup-table = eggDerivation {
- name = "lookup-table-1.13.5";
-
- src = fetchegg {
- name = "lookup-table";
- version = "1.13.5";
- sha256 = "1nzly6rhynawlvzlyilk8z8cxz57cf9n5iv20glkhh28pz2izmrb";
- };
-
- buildInputs = [
- setup-helper
- check-errors
- miscmacros
- record-variants
- synch
- ];
- };
-
matchable = eggDerivation {
- name = "matchable-3.3";
+ name = "matchable-3.7";
src = fetchegg {
name = "matchable";
- version = "3.3";
- sha256 = "07y3lpzgm4djiwi9y2adc796f9kwkmdr28fkfkw65syahdax8990";
- };
-
- buildInputs = [
-
- ];
- };
-
- md5 = eggDerivation {
- name = "md5-3.1.0";
-
- src = fetchegg {
- name = "md5";
- version = "3.1.0";
- sha256 = "0bka43nx8x9b0b079qpvml2fl20km19ny0qjmhwzlh6rwmzazj2a";
- };
-
- buildInputs = [
- message-digest
- ];
- };
-
- message-digest = eggDerivation {
- name = "message-digest-3.1.0";
-
- src = fetchegg {
- name = "message-digest";
- version = "3.1.0";
- sha256 = "1w6bax19dwgih78vcimiws0rja7qsd8hmbm6qqg2hf9cw3vab21s";
- };
-
- buildInputs = [
- setup-helper
- miscmacros
- check-errors
- variable-item
- blob-utils
- string-utils
- ];
- };
-
- miscmacros = eggDerivation {
- name = "miscmacros-2.96";
-
- src = fetchegg {
- name = "miscmacros";
- version = "2.96";
- sha256 = "1ajdgjrni10i2hmhcp4rawnxajjxry3kmq1krdmah4sf0kjrgajc";
- };
-
- buildInputs = [
-
- ];
- };
-
- record-variants = eggDerivation {
- name = "record-variants-0.5.1";
-
- src = fetchegg {
- name = "record-variants";
- version = "0.5.1";
- sha256 = "15wgysxkm8m4hx9nhhw9akchzipdnqc7yj3qd3zn0z7sxg4sld1h";
+ version = "3.7";
+ sha256 = "1vc9rpb44fhn0n91hzglin986dw9zj87fikvfrd7j308z22a41yh";
};
buildInputs = [
@@ -188,12 +78,12 @@ rec {
};
sendfile = eggDerivation {
- name = "sendfile-1.7.29";
+ name = "sendfile-1.8.3";
src = fetchegg {
name = "sendfile";
- version = "1.7.29";
- sha256 = "1dc02cbkx5kixhbqjy26g6gs680vy7krc9qis1p1v4aa0b2lgj7k";
+ version = "1.8.3";
+ sha256 = "036x4xdndx7qly94afnag5b9idd1yymdm8d832w2cy054y7lxqsi";
};
buildInputs = [
@@ -201,13 +91,13 @@ rec {
];
};
- setup-helper = eggDerivation {
- name = "setup-helper-1.5.4";
+ simple-md5 = eggDerivation {
+ name = "simple-md5-0.0.1";
src = fetchegg {
- name = "setup-helper";
- version = "1.5.4";
- sha256 = "1k644y0md2isdcvazqfm4nyc8rh3dby6b0j3r4na4w8ryspqp6gj";
+ name = "simple-md5";
+ version = "0.0.1";
+ sha256 = "1h0b51p9wl1dl3pzs39hdq3hk2qnjgn8n750bgmh0651g4lzmq3i";
};
buildInputs = [
@@ -215,38 +105,6 @@ rec {
];
};
- string-utils = eggDerivation {
- name = "string-utils-1.2.4";
-
- src = fetchegg {
- name = "string-utils";
- version = "1.2.4";
- sha256 = "07alvghg0dahilrm4jg44bndl0x69sv1zbna9l20cbdvi35i0jp1";
- };
-
- buildInputs = [
- setup-helper
- miscmacros
- lookup-table
- check-errors
- ];
- };
-
- synch = eggDerivation {
- name = "synch-2.1.2";
-
- src = fetchegg {
- name = "synch";
- version = "2.1.2";
- sha256 = "1m9mnbq0m5jsxmd1a3rqpwpxj0l1b7vn1fknvxycc047pmlcyl00";
- };
-
- buildInputs = [
- setup-helper
- check-errors
- ];
- };
-
uri-common = eggDerivation {
name = "uri-common-1.4";
@@ -264,32 +122,16 @@ rec {
};
uri-generic = eggDerivation {
- name = "uri-generic-2.41";
+ name = "uri-generic-2.46";
src = fetchegg {
name = "uri-generic";
- version = "2.41";
- sha256 = "1r5jbzjllbnmhm5n0m3fcx0g6dc2c2jzp1dcndkfmxz0cl99zxac";
+ version = "2.46";
+ sha256 = "10ivf4xlmr6jcm00l2phq1y73hjv6g3qgr38ycc8rw56wv6sbm4g";
};
buildInputs = [
matchable
- defstruct
- ];
- };
-
- variable-item = eggDerivation {
- name = "variable-item-1.3.1";
-
- src = fetchegg {
- name = "variable-item";
- version = "1.3.1";
- sha256 = "19b3mhb8kr892sz9yyzq79l0vv28dgilw9cf415kj6aq16yp4d5n";
- };
-
- buildInputs = [
- setup-helper
- check-errors
];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/chicken/4/setup-hook.sh b/nixpkgs/pkgs/development/compilers/chicken/4/setup-hook.sh
index b0d9b53b537..661dc08c090 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/4/setup-hook.sh
+++ b/nixpkgs/pkgs/development/compilers/chicken/4/setup-hook.sh
@@ -1,7 +1,6 @@
addChickenRepositoryPath() {
addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_EXTRA "$1/lib/chicken/8/"
- # addToSearchPathWithCustomDelimiter \; CHICKEN_INCLUDE_PATH "$1/share/"
- export CHICKEN_INCLUDE_PATH="$1/share;$CHICKEN_INCLUDE_PATH"
+ export CHICKEN_INCLUDE_PATH="$1/share${CHICKEN_INCLUDE_PATH:+;$CHICKEN_INCLUDE_PATH}"
}
addEnvHooks "$targetOffset" addChickenRepositoryPath
diff --git a/nixpkgs/pkgs/development/compilers/chicken/5/chicken.nix b/nixpkgs/pkgs/development/compilers/chicken/5/chicken.nix
index 5fefce12dbf..3e47e413636 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/5/chicken.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/5/chicken.nix
@@ -23,8 +23,8 @@ stdenv.mkDerivation {
setupHook = lib.ifEnable (bootstrap-chicken != null) ./setup-hook.sh;
- buildFlags = "PLATFORM=${platform} PREFIX=$(out)";
- installFlags = "PLATFORM=${platform} PREFIX=$(out)";
+ buildFlags = [ "PLATFORM=${platform}" "PREFIX=$(out)" ];
+ installFlags = [ "PLATFORM=${platform}" "PREFIX=$(out)" ];
buildInputs = [
makeWrapper
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
meta = {
homepage = http://www.call-cc.org/;
license = stdenv.lib.licenses.bsd3;
- maintainers = with stdenv.lib.maintainers; [ the-kenny ];
+ maintainers = with stdenv.lib.maintainers; [ the-kenny corngood ];
platforms = stdenv.lib.platforms.linux; # Maybe other non-darwin Unix
description = "A portable compiler for the Scheme programming language";
longDescription = ''
diff --git a/nixpkgs/pkgs/development/compilers/chicken/5/egg2nix.nix b/nixpkgs/pkgs/development/compilers/chicken/5/egg2nix.nix
index 21e12849b3a..77ed32cafe1 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/5/egg2nix.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/5/egg2nix.nix
@@ -24,6 +24,6 @@ eggDerivation {
homepage = https://github.com/the-kenny/egg2nix;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
- maintainers = [ stdenv.lib.maintainers.the-kenny ];
+ maintainers = with stdenv.lib.maintainers; [ the-kenny corngood ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/chicken/5/eggDerivation.nix b/nixpkgs/pkgs/development/compilers/chicken/5/eggDerivation.nix
index 3dc1c4afce9..8d4a62776d0 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/5/eggDerivation.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/5/eggDerivation.nix
@@ -7,7 +7,7 @@
let
overrides = import ./overrides.nix;
- baseName = (builtins.parseDrvName name).name;
+ baseName = stdenv.lib.getName name;
override = if builtins.hasAttr baseName overrides
then
builtins.getAttr baseName overrides
diff --git a/nixpkgs/pkgs/development/compilers/chicken/5/eggs.nix b/nixpkgs/pkgs/development/compilers/chicken/5/eggs.nix
index a8e3ee5976e..a35b1f05891 100644
--- a/nixpkgs/pkgs/development/compilers/chicken/5/eggs.nix
+++ b/nixpkgs/pkgs/development/compilers/chicken/5/eggs.nix
@@ -47,12 +47,12 @@ rec {
};
srfi-13 = eggDerivation {
- name = "srfi-13-0.2.1";
+ name = "srfi-13-0.3";
src = fetchegg {
name = "srfi-13";
- version = "0.2.1";
- sha256 = "0204i7fhc4dy0l89lbi2lv9cjndrvwyrk68z3wy7x445jb4ky1gq";
+ version = "0.3";
+ sha256 = "0yaw9i6zhpxl1794pirh168clprjgmsb0xlr96drirjzsslgm3zp";
};
buildInputs = [
diff --git a/nixpkgs/pkgs/development/compilers/cmdstan/default.nix b/nixpkgs/pkgs/development/compilers/cmdstan/default.nix
index 9a01519a881..edde6af615f 100644
--- a/nixpkgs/pkgs/development/compilers/cmdstan/default.nix
+++ b/nixpkgs/pkgs/development/compilers/cmdstan/default.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "1vq1cnrkvrvbfl40j6ajc60jdrjcxag1fi6kff5pqmadfdz9564j";
};
- buildFlags = "build";
+ buildFlags = [ "build" ];
enableParallelBuilding = true;
doCheck = true;
diff --git a/nixpkgs/pkgs/development/compilers/crystal/default.nix b/nixpkgs/pkgs/development/compilers/crystal/default.nix
index 4032f0b5e92..03a914695a0 100644
--- a/nixpkgs/pkgs/development/compilers/crystal/default.nix
+++ b/nixpkgs/pkgs/development/compilers/crystal/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchFromGitHub, fetchurl, makeWrapper
, coreutils, git, gmp, nettools, openssl_1_0_2, readline, tzdata, libxml2, libyaml
-, boehmgc, libatomic_ops, pcre, libevent, libiconv, llvm, clang, which, zlib
+, boehmgc, libatomic_ops, pcre, libevent, libiconv, llvm, clang, which, zlib, pkgconfig
, callPackage }:
# We need multiple binaries as a given binary isn't always able to build
@@ -38,8 +38,14 @@ let
'';
};
- generic = { version, sha256, binary, doCheck ? true }:
- let compiler = stdenv.mkDerivation rec {
+ commonBuildInputs = extraBuildInputs: [
+ boehmgc libatomic_ops pcre libevent libyaml zlib libxml2 openssl_1_0_2
+ ] ++ extraBuildInputs
+ ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
+
+
+ generic = ({ version, sha256, binary, doCheck ? true, extraBuildInputs ? [] }:
+ lib.fix (compiler: stdenv.mkDerivation {
pname = "crystal";
inherit doCheck version;
@@ -50,6 +56,8 @@ let
inherit sha256;
};
+ outputs = [ "out" "lib" "bin" ];
+
# we are almost able to run the full test suite now
postPatch = ''
substituteInPlace src/crystal/system/unix/time.cr \
@@ -72,14 +80,9 @@ let
--replace '`hostname`' '`${nettools}/bin/hostname`'
'';
- buildInputs = [
- boehmgc libatomic_ops pcre libevent libyaml
- llvm zlib openssl_1_0_2
- ] ++ stdenv.lib.optionals stdenv.isDarwin [
- libiconv
- ];
+ buildInputs = commonBuildInputs extraBuildInputs;
- nativeBuildInputs = [ binary makeWrapper which ];
+ nativeBuildInputs = [ binary makeWrapper which pkgconfig llvm ];
makeFlags = [
"CRYSTAL_CONFIG_VERSION=${version}"
@@ -91,22 +94,27 @@ let
FLAGS = [
"--release"
- "--no-debug"
"--single-module" # needed for deterministic builds
];
+ # This makes sure we don't keep depending on the previous version of
+ # crystal used to build this one.
+ CRYSTAL_LIBRARY_PATH = "${placeholder "lib"}/crystal";
+
# We *have* to add `which` to the PATH or crystal is unable to build stuff
# later if which is not available.
installPhase = ''
runHook preInstall
- install -Dm755 .build/crystal $out/bin/crystal
- wrapProgram $out/bin/crystal \
- --suffix PATH : ${lib.makeBinPath [ clang which ]} \
- --suffix CRYSTAL_PATH : lib:$out/lib/crystal \
- --suffix LIBRARY_PATH : ${lib.makeLibraryPath buildInputs}
- install -dm755 $out/lib/crystal
- cp -r src/* $out/lib/crystal/
+ install -Dm755 .build/crystal $bin/bin/crystal
+ wrapProgram $bin/bin/crystal \
+ --suffix PATH : ${lib.makeBinPath [ pkgconfig clang which ]} \
+ --suffix CRYSTAL_PATH : lib:$lib/crystal \
+ --suffix CRYSTAL_LIBRARY_PATH : ${
+ lib.makeLibraryPath (commonBuildInputs extraBuildInputs)
+ }
+ install -dm755 $lib/crystal
+ cp -r src/* $lib/crystal/
install -dm755 $out/share/doc/crystal/api
cp -r docs/* $out/share/doc/crystal/api/
@@ -119,6 +127,10 @@ let
install -Dm644 -t $out/share/licenses/crystal LICENSE README.md
+ mkdir -p $out
+ ln -s $bin/bin $out/bin
+ ln -s $lib $out/lib
+
runHook postInstall
'';
@@ -147,7 +159,7 @@ let
maintainers = with maintainers; [ manveru david50407 peterhoeg ];
platforms = builtins.attrNames archs;
};
- }; in compiler;
+ }));
in rec {
binaryCrystal_0_26 = genericBinary {
@@ -219,6 +231,14 @@ in rec {
binary = crystal_0_30;
};
+ crystal_0_32 = generic {
+ version = "255bfc5fa925b95b72e34b26ad997fb2b3f83059";
+ sha256 = "1dgk36cj5lwhs1c4zp0s1c9hjk0h3vljq6zwhlnzkl1xs7cgzim1";
+ doCheck = false; # 5 checks are failing now
+ binary = crystal_0_31;
+ extraBuildInputs = [ readline ];
+ };
+
crystal = crystal_0_31;
crystal2nix = callPackage ./crystal2nix.nix {};
diff --git a/nixpkgs/pkgs/development/compilers/cudatoolkit/common.nix b/nixpkgs/pkgs/development/compilers/cudatoolkit/common.nix
new file mode 100644
index 00000000000..2e93c0b661b
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/cudatoolkit/common.nix
@@ -0,0 +1,220 @@
+args@
+{ version
+, sha256
+, url ? ""
+, name ? ""
+, developerProgram ? false
+, runPatches ? []
+, addOpenGLRunpath
+, alsaLib
+, expat
+, fetchurl
+, fontconfig
+, freetype
+, gcc
+, gdk-pixbuf
+, glib
+, glibc
+, gtk2
+, lib
+, makeWrapper
+, ncurses5
+, perl
+, python27
+, requireFile
+, stdenv
+, unixODBC
+, xorg
+, zlib
+}:
+
+stdenv.mkDerivation rec {
+ pname = "cudatoolkit";
+ inherit version runPatches;
+
+ dontPatchELF = true;
+ dontStrip = true;
+
+ src =
+ if developerProgram then
+ requireFile {
+ message = ''
+ This nix expression requires that ${args.name} is already part of the store.
+ Register yourself to NVIDIA Accelerated Computing Developer Program, retrieve the CUDA toolkit
+ at https://developer.nvidia.com/cuda-toolkit, and run the following command in the download directory:
+ nix-prefetch-url file://\$PWD/${args.name}
+ '';
+ inherit (args) name sha256;
+ }
+ else
+ fetchurl {
+ inherit (args) url sha256;
+ };
+
+ outputs = [ "out" "lib" "doc" ];
+
+ nativeBuildInputs = [ perl makeWrapper addOpenGLRunpath ];
+ buildInputs = [ gdk-pixbuf ]; # To get $GDK_PIXBUF_MODULE_FILE via setup-hook
+ runtimeDependencies = [
+ ncurses5 expat python27 zlib glibc
+ xorg.libX11 xorg.libXext xorg.libXrender xorg.libXt xorg.libXtst xorg.libXi xorg.libXext
+ gtk2 glib fontconfig freetype unixODBC alsaLib
+ ];
+
+ rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.cc.cc.lib}/lib64";
+
+ unpackPhase = ''
+ sh $src --keep --noexec
+
+ ${lib.optionalString (lib.versionOlder version "10.1") ''
+ cd pkg/run_files
+ sh cuda-linux*.run --keep --noexec
+ sh cuda-samples*.run --keep --noexec
+ mv pkg ../../$(basename $src)
+ cd ../..
+ rm -rf pkg
+
+ for patch in $runPatches; do
+ sh $patch --keep --noexec
+ mv pkg $(basename $patch)
+ done
+ ''}
+ '';
+
+ installPhase = ''
+ runHook preInstall
+ mkdir $out
+ ${lib.optionalString (lib.versionOlder version "10.1") ''
+ cd $(basename $src)
+ export PERL5LIB=.
+ perl ./install-linux.pl --prefix="$out"
+ cd ..
+ for patch in $runPatches; do
+ cd $(basename $patch)
+ perl ./install_patch.pl --silent --accept-eula --installdir="$out"
+ cd ..
+ done
+ ''}
+ ${lib.optionalString (lib.versionAtLeast version "10.1") ''
+ cd pkg/builds/cuda-toolkit
+ mv * $out/
+ ''}
+
+ rm $out/tools/CUDA_Occupancy_Calculator.xls # FIXME: why?
+
+ ${lib.optionalString (lib.versionOlder version "10.1") ''
+ # let's remove the 32-bit libraries, they confuse the lib64->lib mover
+ rm -rf $out/lib
+ ''}
+
+ # Remove some cruft.
+ ${lib.optionalString ((lib.versionAtLeast version "7.0") && (lib.versionOlder version "10.1"))
+ "rm $out/bin/uninstall*"}
+
+ # Fixup path to samples (needed for cuda 6.5 or else nsight will not find them)
+ if [ -d "$out"/cuda-samples ]; then
+ mv "$out"/cuda-samples "$out"/samples
+ fi
+
+ # Change the #error on GCC > 4.9 to a #warning.
+ sed -i $out/include/host_config.h -e 's/#error\(.*unsupported GNU version\)/#warning\1/'
+
+ # Fix builds with newer glibc version
+ sed -i "1 i#define _BITS_FLOATN_H" "$out/include/host_defines.h"
+
+ # Ensure that cmake can find CUDA.
+ mkdir -p $out/nix-support
+ echo "cmakeFlags+=' -DCUDA_TOOLKIT_ROOT_DIR=$out'" >> $out/nix-support/setup-hook
+
+ # Move some libraries to the lib output so that programs that
+ # depend on them don't pull in this entire monstrosity.
+ mkdir -p $lib/lib
+ mv -v $out/lib64/libcudart* $lib/lib/
+
+ # Remove OpenCL libraries as they are provided by ocl-icd and driver.
+ rm -f $out/lib64/libOpenCL*
+ ${lib.optionalString (lib.versionAtLeast version "10.1") ''
+ mv $out/lib64 $out/lib
+ ''}
+
+ # Set compiler for NVCC.
+ wrapProgram $out/bin/nvcc \
+ --prefix PATH : ${gcc}/bin
+
+ # nvprof do not find any program to profile if LD_LIBRARY_PATH is not set
+ wrapProgram $out/bin/nvprof \
+ --prefix LD_LIBRARY_PATH : $out/lib
+ '' + lib.optionalString (lib.versionOlder version "8.0") ''
+ # Hack to fix building against recent Glibc/GCC.
+ echo "NIX_CFLAGS_COMPILE+=' -D_FORCE_INLINES'" >> $out/nix-support/setup-hook
+ '' + ''
+ runHook postInstall
+ '';
+
+ postInstall = ''
+ for b in nvvp nsight; do
+ wrapProgram "$out/bin/$b" \
+ --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
+ done
+ '';
+
+ preFixup = ''
+ while IFS= read -r -d ''$'\0' i; do
+ if ! isELF "$i"; then continue; fi
+ echo "patching $i..."
+ if [[ ! $i =~ \.so ]]; then
+ patchelf \
+ --set-interpreter "''$(cat $NIX_CC/nix-support/dynamic-linker)" $i
+ fi
+ if [[ $i =~ libcudart ]]; then
+ rpath2=
+ else
+ rpath2=$rpath:$lib/lib:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64
+ fi
+ patchelf --set-rpath "$rpath2" --force-rpath $i
+ done < <(find $out $lib $doc -type f -print0)
+ '';
+
+ # Set RPATH so that libcuda and other libraries in
+ # /run/opengl-driver(-32)/lib can be found. See the explanation in
+ # addOpenGLRunpath. Don't try to figure out which libraries really need
+ # it, just patch all (but not the stubs libraries). Note that
+ # --force-rpath prevents changing RPATH (set above) to RUNPATH.
+ postFixup = ''
+ addOpenGLRunpath --force-rpath {$out,$lib}/lib/lib*.so
+ '';
+
+ # cuda-gdb doesn't run correctly when not using sandboxing, so
+ # temporarily disabling the install check. This should be set to true
+ # when we figure out how to get `cuda-gdb --version` to run correctly
+ # when not using sandboxing.
+ doInstallCheck = false;
+ postInstallCheck = let
+ in ''
+ # Smoke test binaries
+ pushd $out/bin
+ for f in *; do
+ case $f in
+ crt) continue;;
+ nvcc.profile) continue;;
+ nsight_ee_plugins_manage.sh) continue;;
+ uninstall_cuda_toolkit_6.5.pl) continue;;
+ computeprof|nvvp|nsight) continue;; # GUIs don't feature "--version"
+ *) echo "Executing '$f --version':"; ./$f --version;;
+ esac
+ done
+ popd
+ '';
+ passthru = {
+ cc = gcc;
+ majorVersion = lib.versions.majorMinor version;
+ };
+
+ meta = with stdenv.lib; {
+ description = "A compiler for NVIDIA GPUs, math libraries, and tools";
+ homepage = "https://developer.nvidia.com/cuda-toolkit";
+ platforms = [ "x86_64-linux" ];
+ license = licenses.unfree;
+ };
+}
+
diff --git a/nixpkgs/pkgs/development/compilers/cudatoolkit/default.nix b/nixpkgs/pkgs/development/compilers/cudatoolkit/default.nix
index 98c0381216a..6531316fa12 100644
--- a/nixpkgs/pkgs/development/compilers/cudatoolkit/default.nix
+++ b/nixpkgs/pkgs/development/compilers/cudatoolkit/default.nix
@@ -1,210 +1,15 @@
-{ lib, stdenv, makeWrapper, fetchurl, requireFile, perl, ncurses5, expat, python27, zlib
-, gcc48, gcc49, gcc5, gcc6, gcc7
-, xorg, gtk2, gdk-pixbuf, glib, fontconfig, freetype, unixODBC, alsaLib, glibc
-, addOpenGLRunpath
+{ lib
+, callPackage
+, fetchurl
+, gcc48
+, gcc49
+, gcc5
+, gcc6
+, gcc7
}:
let
-
- common =
- args@{ gcc, version, sha256
- , url ? ""
- , name ? ""
- , developerProgram ? false
- , python ? python27
- , runPatches ? []
- }:
-
- stdenv.mkDerivation rec {
- pname = "cudatoolkit";
- inherit version runPatches;
-
- dontPatchELF = true;
- dontStrip = true;
-
- src =
- if developerProgram then
- requireFile {
- message = ''
- This nix expression requires that ${args.name} is already part of the store.
- Register yourself to NVIDIA Accelerated Computing Developer Program, retrieve the CUDA toolkit
- at https://developer.nvidia.com/cuda-toolkit, and run the following command in the download directory:
- nix-prefetch-url file://\$PWD/${args.name}
- '';
- inherit (args) name sha256;
- }
- else
- fetchurl {
- inherit (args) url sha256;
- };
-
- outputs = [ "out" "lib" "doc" ];
-
- nativeBuildInputs = [ perl makeWrapper addOpenGLRunpath ];
- buildInputs = [ gdk-pixbuf ]; # To get $GDK_PIXBUF_MODULE_FILE via setup-hook
- runtimeDependencies = [
- ncurses5 expat python zlib glibc
- xorg.libX11 xorg.libXext xorg.libXrender xorg.libXt xorg.libXtst xorg.libXi xorg.libXext
- gtk2 glib fontconfig freetype unixODBC alsaLib
- ];
-
- rpath = "${stdenv.lib.makeLibraryPath runtimeDependencies}:${stdenv.cc.cc.lib}/lib64";
-
- unpackPhase = ''
- sh $src --keep --noexec
-
- ${lib.optionalString (lib.versionOlder version "10.1") ''
- cd pkg/run_files
- sh cuda-linux*.run --keep --noexec
- sh cuda-samples*.run --keep --noexec
- mv pkg ../../$(basename $src)
- cd ../..
- rm -rf pkg
-
- for patch in $runPatches; do
- sh $patch --keep --noexec
- mv pkg $(basename $patch)
- done
- ''}
- '';
-
- installPhase = ''
- runHook preInstall
- mkdir $out
- ${lib.optionalString (lib.versionOlder version "10.1") ''
- cd $(basename $src)
- export PERL5LIB=.
- perl ./install-linux.pl --prefix="$out"
- cd ..
- for patch in $runPatches; do
- cd $(basename $patch)
- perl ./install_patch.pl --silent --accept-eula --installdir="$out"
- cd ..
- done
- ''}
- ${lib.optionalString (lib.versionAtLeast version "10.1") ''
- cd pkg/builds/cuda-toolkit
- mv * $out/
- ''}
-
- rm $out/tools/CUDA_Occupancy_Calculator.xls # FIXME: why?
-
- ${lib.optionalString (lib.versionOlder version "10.1") ''
- # let's remove the 32-bit libraries, they confuse the lib64->lib mover
- rm -rf $out/lib
- ''}
-
- # Remove some cruft.
- ${lib.optionalString ((lib.versionAtLeast version "7.0") && (lib.versionOlder version "10.1"))
- "rm $out/bin/uninstall*"}
-
- # Fixup path to samples (needed for cuda 6.5 or else nsight will not find them)
- if [ -d "$out"/cuda-samples ]; then
- mv "$out"/cuda-samples "$out"/samples
- fi
-
- # Change the #error on GCC > 4.9 to a #warning.
- sed -i $out/include/host_config.h -e 's/#error\(.*unsupported GNU version\)/#warning\1/'
-
- # Fix builds with newer glibc version
- sed -i "1 i#define _BITS_FLOATN_H" "$out/include/host_defines.h"
-
- # Ensure that cmake can find CUDA.
- mkdir -p $out/nix-support
- echo "cmakeFlags+=' -DCUDA_TOOLKIT_ROOT_DIR=$out'" >> $out/nix-support/setup-hook
-
- # Move some libraries to the lib output so that programs that
- # depend on them don't pull in this entire monstrosity.
- mkdir -p $lib/lib
- mv -v $out/lib64/libcudart* $lib/lib/
-
- # Remove OpenCL libraries as they are provided by ocl-icd and driver.
- rm -f $out/lib64/libOpenCL*
- ${lib.optionalString (lib.versionAtLeast version "10.1") ''
- mv $out/lib64 $out/lib
- ''}
-
- # Set compiler for NVCC.
- wrapProgram $out/bin/nvcc \
- --prefix PATH : ${gcc}/bin
-
- # nvprof do not find any program to profile if LD_LIBRARY_PATH is not set
- wrapProgram $out/bin/nvprof \
- --prefix LD_LIBRARY_PATH : $out/lib
- '' + lib.optionalString (lib.versionOlder version "8.0") ''
- # Hack to fix building against recent Glibc/GCC.
- echo "NIX_CFLAGS_COMPILE+=' -D_FORCE_INLINES'" >> $out/nix-support/setup-hook
- '' + ''
- runHook postInstall
- '';
-
- postInstall = ''
- for b in nvvp nsight; do
- wrapProgram "$out/bin/$b" \
- --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
- done
- '';
-
- preFixup = ''
- while IFS= read -r -d ''$'\0' i; do
- if ! isELF "$i"; then continue; fi
- echo "patching $i..."
- if [[ ! $i =~ \.so ]]; then
- patchelf \
- --set-interpreter "''$(cat $NIX_CC/nix-support/dynamic-linker)" $i
- fi
- if [[ $i =~ libcudart ]]; then
- rpath2=
- else
- rpath2=$rpath:$lib/lib:$out/jre/lib/amd64/jli:$out/lib:$out/lib64:$out/nvvm/lib:$out/nvvm/lib64
- fi
- patchelf --set-rpath "$rpath2" --force-rpath $i
- done < <(find $out $lib $doc -type f -print0)
- '';
-
- # Set RPATH so that libcuda and other libraries in
- # /run/opengl-driver(-32)/lib can be found. See the explanation in
- # addOpenGLRunpath. Don't try to figure out which libraries really need
- # it, just patch all (but not the stubs libraries). Note that
- # --force-rpath prevents changing RPATH (set above) to RUNPATH.
- postFixup = ''
- addOpenGLRunpath --force-rpath {$out,$lib}/lib/lib*.so
- '';
-
- # cuda-gdb doesn't run correctly when not using sandboxing, so
- # temporarily disabling the install check. This should be set to true
- # when we figure out how to get `cuda-gdb --version` to run correctly
- # when not using sandboxing.
- doInstallCheck = false;
- postInstallCheck = let
- in ''
- # Smoke test binaries
- pushd $out/bin
- for f in *; do
- case $f in
- crt) continue;;
- nvcc.profile) continue;;
- nsight_ee_plugins_manage.sh) continue;;
- uninstall_cuda_toolkit_6.5.pl) continue;;
- computeprof|nvvp|nsight) continue;; # GUIs don't feature "--version"
- *) echo "Executing '$f --version':"; ./$f --version;;
- esac
- done
- popd
- '';
- passthru = {
- cc = gcc;
- majorVersion = lib.versions.majorMinor version;
- };
-
- meta = with stdenv.lib; {
- description = "A compiler for NVIDIA GPUs, math libraries, and tools";
- homepage = "https://developer.nvidia.com/cuda-toolkit";
- platforms = [ "x86_64-linux" ];
- license = licenses.unfree;
- };
- };
-
+ common = callPackage ./common.nix;
in rec {
cudatoolkit_6 = common {
version = "6.0.37";
@@ -324,5 +129,13 @@ in rec {
gcc = gcc7;
};
- cudatoolkit_10 = cudatoolkit_10_1;
+ cudatoolkit_10_2 = common {
+ version = "10.2.89";
+ url = "http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run";
+ sha256 = "04fasl9sjkb1jvchvqgaqxprnprcz7a8r52249zp2ijarzyhf3an";
+
+ gcc = gcc7;
+ };
+
+ cudatoolkit_10 = cudatoolkit_10_2;
}
diff --git a/nixpkgs/pkgs/development/compilers/dev86/default.nix b/nixpkgs/pkgs/development/compilers/dev86/default.nix
index 839ee821d00..37f79933b77 100644
--- a/nixpkgs/pkgs/development/compilers/dev86/default.nix
+++ b/nixpkgs/pkgs/development/compilers/dev86/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
- makeFlags = "PREFIX=$(out)";
+ makeFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Linux 8086 development environment";
diff --git a/nixpkgs/pkgs/development/compilers/ecl/16.1.2.nix b/nixpkgs/pkgs/development/compilers/ecl/16.1.2.nix
index bede9fa4aa6..a7b2aa6be74 100644
--- a/nixpkgs/pkgs/development/compilers/ecl/16.1.2.nix
+++ b/nixpkgs/pkgs/development/compilers/ecl/16.1.2.nix
@@ -61,6 +61,7 @@ stdenv.mkDerivation {
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ecl/patches/16.1.2-getcwd.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
sha256 = "1fbi8gn7rv8nqff5mpaijsrch3k3z7qc5cn4h1vl8qrr8xwqlqhb";
})
+ ./ecl-1.16.2-libffi-3.3-abi.patch
];
hardeningDisable = [ "format" ];
diff --git a/nixpkgs/pkgs/development/compilers/ecl/default.nix b/nixpkgs/pkgs/development/compilers/ecl/default.nix
index 33ed690772e..375b38f1dc6 100644
--- a/nixpkgs/pkgs/development/compilers/ecl/default.nix
+++ b/nixpkgs/pkgs/development/compilers/ecl/default.nix
@@ -35,6 +35,10 @@ stdenv.mkDerivation {
inherit (s) url sha256;
};
+ patches = [
+ ./libffi-3.3-abi.patch
+ ];
+
configureFlags = [
(if threadSupport then "--enable-threads" else "--disable-threads")
"--with-gmp-prefix=${gmp.dev}"
diff --git a/nixpkgs/pkgs/development/compilers/ecl/ecl-1.16.2-libffi-3.3-abi.patch b/nixpkgs/pkgs/development/compilers/ecl/ecl-1.16.2-libffi-3.3-abi.patch
new file mode 100644
index 00000000000..28dd7d0805b
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/ecl/ecl-1.16.2-libffi-3.3-abi.patch
@@ -0,0 +1,15 @@
+diff --git a/src/c/ffi.d b/src/c/ffi.d
+index 8861303e..8a959c23 100644
+--- a/src/c/ffi.d
++++ b/src/c/ffi.d
+@@ -145,8 +145,8 @@ static struct {
+ #elif defined(X86_WIN64)
+ {@':win64', FFI_WIN64},
+ #elif defined(X86_ANY) || defined(X86) || defined(X86_64)
+- {@':cdecl', FFI_SYSV},
+- {@':sysv', FFI_SYSV},
++ {@':cdecl', FFI_UNIX64},
++ {@':sysv', FFI_UNIX64},
+ {@':unix64', FFI_UNIX64},
+ #endif
+ };
diff --git a/nixpkgs/pkgs/development/compilers/ecl/libffi-3.3-abi.patch b/nixpkgs/pkgs/development/compilers/ecl/libffi-3.3-abi.patch
new file mode 100644
index 00000000000..0a2b5f4dd56
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/ecl/libffi-3.3-abi.patch
@@ -0,0 +1,15 @@
+diff --git a/src/c/ffi.d b/src/c/ffi.d
+index 8174977a..caa69f39 100644
+--- a/src/c/ffi.d
++++ b/src/c/ffi.d
+@@ -133,8 +133,8 @@ static struct {
+ #elif defined(X86_WIN64)
+ {@':win64', FFI_WIN64},
+ #elif defined(X86_ANY) || defined(X86) || defined(X86_64)
+- {@':cdecl', FFI_SYSV},
+- {@':sysv', FFI_SYSV},
++ {@':cdecl', FFI_UNIX64},
++ {@':sysv', FFI_UNIX64},
+ {@':unix64', FFI_UNIX64},
+ #endif
+ };
diff --git a/nixpkgs/pkgs/development/compilers/eli/default.nix b/nixpkgs/pkgs/development/compilers/eli/default.nix
index a22862c4292..90c2b8fd23c 100644
--- a/nixpkgs/pkgs/development/compilers/eli/default.nix
+++ b/nixpkgs/pkgs/development/compilers/eli/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
];
# skip interactive browser check
- buildFlags = "nobrowsers";
+ buildFlags = [ "nobrowsers" ];
preConfigure=''
diff --git a/nixpkgs/pkgs/development/compilers/elm/makeDotElm.nix b/nixpkgs/pkgs/development/compilers/elm/makeDotElm.nix
index 3ceaae450f0..0831d382c4b 100644
--- a/nixpkgs/pkgs/development/compilers/elm/makeDotElm.nix
+++ b/nixpkgs/pkgs/development/compilers/elm/makeDotElm.nix
@@ -11,13 +11,10 @@ ver: deps:
inherit (info) sha256;
};
- phases = [ "unpackPhase" "installPhase" ];
-
installPhase = ''
mkdir -p $out
cp -r * $out
'';
-
};
in ''
mkdir -p .elm/${ver}/packages/${name}
diff --git a/nixpkgs/pkgs/development/compilers/elm/packages/node-packages.nix b/nixpkgs/pkgs/development/compilers/elm/packages/node-packages.nix
index 770e7c3529a..c9b54aee4fd 100644
--- a/nixpkgs/pkgs/development/compilers/elm/packages/node-packages.nix
+++ b/nixpkgs/pkgs/development/compilers/elm/packages/node-packages.nix
@@ -40,6 +40,15 @@ let
sha512 = "1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==";
};
};
+ "@sindresorhus/is-0.14.0" = {
+ name = "_at_sindresorhus_slash_is";
+ packageName = "@sindresorhus/is";
+ version = "0.14.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz";
+ sha512 = "9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==";
+ };
+ };
"@sindresorhus/is-0.7.0" = {
name = "_at_sindresorhus_slash_is";
packageName = "@sindresorhus/is";
@@ -49,6 +58,24 @@ let
sha512 = "ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==";
};
};
+ "@szmarczak/http-timer-1.1.2" = {
+ name = "_at_szmarczak_slash_http-timer";
+ packageName = "@szmarczak/http-timer";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz";
+ sha512 = "XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==";
+ };
+ };
+ "@types/color-name-1.1.1" = {
+ name = "_at_types_slash_color-name";
+ packageName = "@types/color-name";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz";
+ sha512 = "rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==";
+ };
+ };
"@types/events-3.0.0" = {
name = "_at_types_slash_events";
packageName = "@types/events";
@@ -76,13 +103,13 @@ let
sha512 = "tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==";
};
};
- "@types/node-12.12.3" = {
+ "@types/node-13.1.2" = {
name = "_at_types_slash_node";
packageName = "@types/node";
- version = "12.12.3";
+ version = "13.1.2";
src = fetchurl {
- url = "https://registry.npmjs.org/@types/node/-/node-12.12.3.tgz";
- sha512 = "opgSsy+cEF9N8MgaVPnWVtdJ3o4mV2aMHvDq7thkQUFt0EuOHJon4rQpJfhjmNHB+ikl0Cd6WhWIErOyQ+f7tw==";
+ url = "https://registry.npmjs.org/@types/node/-/node-13.1.2.tgz";
+ sha512 = "B8emQA1qeKerqd1dmIsQYnXi+mmAzTB7flExjmy5X1aVAKFNNNDubkavwR13kR6JnpeLp3aLoJhwn9trWPAyFQ==";
};
};
"accepts-1.3.7" = {
@@ -139,6 +166,15 @@ let
sha512 = "VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==";
};
};
+ "ansi-styles-4.2.1" = {
+ name = "ansi-styles";
+ packageName = "ansi-styles";
+ version = "4.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz";
+ sha512 = "9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==";
+ };
+ };
"anymatch-2.0.0" = {
name = "anymatch";
packageName = "anymatch";
@@ -274,13 +310,13 @@ let
sha1 = "b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8";
};
};
- "aws4-1.8.0" = {
+ "aws4-1.9.0" = {
name = "aws4";
packageName = "aws4";
- version = "1.8.0";
+ version = "1.9.0";
src = fetchurl {
- url = "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz";
- sha512 = "ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==";
+ url = "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz";
+ sha512 = "Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A==";
};
};
"babel-runtime-6.18.0" = {
@@ -346,15 +382,6 @@ let
sha512 = "Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==";
};
};
- "bindings-1.5.0" = {
- name = "bindings";
- packageName = "bindings";
- version = "1.5.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz";
- sha512 = "p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==";
- };
- };
"binwrap-0.2.2" = {
name = "binwrap";
packageName = "binwrap";
@@ -364,13 +391,13 @@ let
sha512 = "Y+Wvypk3JhH5GPZAvlwJAWOVH/OsOhQMSj37vySuWHwQivoALplPxfBA8b973rFJI7OS+O+1YmmYXIiEXVMAcw==";
};
};
- "bluebird-3.7.1" = {
+ "bluebird-3.7.2" = {
name = "bluebird";
packageName = "bluebird";
- version = "3.7.1";
+ version = "3.7.2";
src = fetchurl {
- url = "https://registry.npmjs.org/bluebird/-/bluebird-3.7.1.tgz";
- sha512 = "DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg==";
+ url = "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz";
+ sha512 = "XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==";
};
};
"body-parser-1.18.2" = {
@@ -472,6 +499,15 @@ let
sha1 = "0d808801b6342ad33c91df9d0b44dc09b91e5c3d";
};
};
+ "cacheable-request-6.1.0" = {
+ name = "cacheable-request";
+ packageName = "cacheable-request";
+ version = "6.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz";
+ sha512 = "Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==";
+ };
+ };
"camelcase-5.3.1" = {
name = "camelcase";
packageName = "camelcase";
@@ -490,15 +526,6 @@ let
sha512 = "PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==";
};
};
- "capture-stack-trace-1.0.1" = {
- name = "capture-stack-trace";
- packageName = "capture-stack-trace";
- version = "1.0.1";
- src = fetchurl {
- url = "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz";
- sha512 = "mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==";
- };
- };
"caseless-0.12.0" = {
name = "caseless";
packageName = "caseless";
@@ -544,6 +571,15 @@ let
sha512 = "Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==";
};
};
+ "chalk-3.0.0" = {
+ name = "chalk";
+ packageName = "chalk";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz";
+ sha512 = "4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==";
+ };
+ };
"charenc-0.0.2" = {
name = "charenc";
packageName = "charenc";
@@ -571,6 +607,15 @@ let
sha512 = "/j5PPkb5Feyps9e+jo07jUZGvkB5Aj953NrI4s8xSVScrAo/RHeILrtdb4uzR7N6aaFFxxJ+gt8mA8HfNpw76w==";
};
};
+ "chokidar-3.3.0" = {
+ name = "chokidar";
+ packageName = "chokidar";
+ version = "3.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chokidar/-/chokidar-3.3.0.tgz";
+ sha512 = "dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==";
+ };
+ };
"chownr-1.1.3" = {
name = "chownr";
packageName = "chownr";
@@ -625,6 +670,15 @@ let
sha512 = "QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==";
};
};
+ "color-convert-2.0.1" = {
+ name = "color-convert";
+ packageName = "color-convert";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz";
+ sha512 = "RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==";
+ };
+ };
"color-name-1.1.3" = {
name = "color-name";
packageName = "color-name";
@@ -634,6 +688,15 @@ let
sha1 = "a7d0558bd89c42f795dd42328f740831ca53bc25";
};
};
+ "color-name-1.1.4" = {
+ name = "color-name";
+ packageName = "color-name";
+ version = "1.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz";
+ sha512 = "dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==";
+ };
+ };
"combined-stream-1.0.8" = {
name = "combined-stream";
packageName = "combined-stream";
@@ -661,6 +724,15 @@ let
sha512 = "Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==";
};
};
+ "compare-versions-3.5.1" = {
+ name = "compare-versions";
+ packageName = "compare-versions";
+ version = "3.5.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/compare-versions/-/compare-versions-3.5.1.tgz";
+ sha512 = "9fGPIB7C6AyM18CJJBHt5EnCZDG3oiTJYy0NjfIAGjKpzv0tkxWko7TNQHF5ymqm7IH03tqmeuBxtvD+Izh6mg==";
+ };
+ };
"component-emitter-1.3.0" = {
name = "component-emitter";
packageName = "component-emitter";
@@ -760,22 +832,22 @@ let
sha1 = "676f6eb3c39997c2ee1ac3a924fd6124748f578d";
};
};
- "core-js-2.6.10" = {
+ "core-js-2.6.11" = {
name = "core-js";
packageName = "core-js";
- version = "2.6.10";
+ version = "2.6.11";
src = fetchurl {
- url = "https://registry.npmjs.org/core-js/-/core-js-2.6.10.tgz";
- sha512 = "I39t74+4t+zau64EN1fE5v2W31Adtc/REhzWN+gWRRXg6WH5qAsZm62DHpQ1+Yhe4047T55jvzz7MUqF/dBBlA==";
+ url = "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz";
+ sha512 = "5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==";
};
};
- "core-js-3.3.5" = {
+ "core-js-3.6.1" = {
name = "core-js";
packageName = "core-js";
- version = "3.3.5";
+ version = "3.6.1";
src = fetchurl {
- url = "https://registry.npmjs.org/core-js/-/core-js-3.3.5.tgz";
- sha512 = "0J3K+Par/ZydhKg8pEiTcK/9d65/nqJOzY62uMkjeBmt05fDOt/khUVjDdh8TpeIuGQDy1yLDDCjiWN/8pFIuw==";
+ url = "https://registry.npmjs.org/core-js/-/core-js-3.6.1.tgz";
+ sha512 = "186WjSik2iTGfDjfdCZAxv2ormxtKgemjC3SI6PL31qOA0j5LhTDVjHChccoc7brwLvpvLPiMyRlcO88C4l1QQ==";
};
};
"core-util-is-1.0.2" = {
@@ -787,15 +859,6 @@ let
sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
};
};
- "create-error-class-3.0.2" = {
- name = "create-error-class";
- packageName = "create-error-class";
- version = "3.0.2";
- src = fetchurl {
- url = "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz";
- sha1 = "06be7abef947a3f14a30fd610671d401bca8b7b6";
- };
- };
"crocks-0.12.1" = {
name = "crocks";
packageName = "crocks";
@@ -922,6 +985,15 @@ let
sha512 = "h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA==";
};
};
+ "defer-to-connect-1.1.1" = {
+ name = "defer-to-connect";
+ packageName = "defer-to-connect";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.1.tgz";
+ sha512 = "J7thop4u3mRTkYRQ+Vpfwy2G5Ehoy82I14+14W4YMDLKdWloI9gSzRbV30s/NckQGVJtPkWNcW4oMAUigTdqiQ==";
+ };
+ };
"define-properties-1.1.3" = {
name = "define-properties";
packageName = "define-properties";
@@ -1067,6 +1139,15 @@ let
sha512 = "zNinzt6/YMr11HgeBlC9Z0UM3qHkYrGsWJTjrCmgBkKnaOLUzTP5K9N3z1RltyunItXtHAxb8DFPvMxlYRPv/Q==";
};
};
+ "elmi-to-json-1.3.0" = {
+ name = "elmi-to-json";
+ packageName = "elmi-to-json";
+ version = "1.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elmi-to-json/-/elmi-to-json-1.3.0.tgz";
+ sha512 = "6m1D5/Pb5pUrSOOBgRG3fE2mK19nhmLgZ16jj2KWTVIhT+0GIBuDI1iV0Fee27CZH790J7uMcdGWJ7fnVvpsKg==";
+ };
+ };
"emoji-regex-7.0.3" = {
name = "emoji-regex";
packageName = "emoji-regex";
@@ -1094,22 +1175,22 @@ let
sha512 = "+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==";
};
};
- "es-abstract-1.16.0" = {
+ "es-abstract-1.17.0" = {
name = "es-abstract";
packageName = "es-abstract";
- version = "1.16.0";
+ version = "1.17.0";
src = fetchurl {
- url = "https://registry.npmjs.org/es-abstract/-/es-abstract-1.16.0.tgz";
- sha512 = "xdQnfykZ9JMEiasTAJZJdMWCQ1Vm00NBw79/AWi7ELfZuuPCSOMDZbT9mkOfSctVtfhb+sAAzrm+j//GjjLHLg==";
+ url = "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz";
+ sha512 = "yYkE07YF+6SIBmg1MsJ9dlub5L48Ek7X0qz+c/CPCHS9EBXfESorzng4cJQjJW5/pB6vDF41u7F8vUhLVDqIug==";
};
};
- "es-to-primitive-1.2.0" = {
+ "es-to-primitive-1.2.1" = {
name = "es-to-primitive";
packageName = "es-to-primitive";
- version = "1.2.0";
+ version = "1.2.1";
src = fetchurl {
- url = "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz";
- sha512 = "qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==";
+ url = "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz";
+ sha512 = "QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==";
};
};
"es6-promisify-6.0.2" = {
@@ -1157,13 +1238,13 @@ let
sha512 = "tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==";
};
};
- "exec-sh-0.3.2" = {
+ "exec-sh-0.3.4" = {
name = "exec-sh";
packageName = "exec-sh";
- version = "0.3.2";
+ version = "0.3.4";
src = fetchurl {
- url = "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.2.tgz";
- sha512 = "9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg==";
+ url = "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz";
+ sha512 = "sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==";
};
};
"execa-1.0.0" = {
@@ -1175,13 +1256,13 @@ let
sha512 = "adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==";
};
};
- "execa-3.2.0" = {
+ "execa-3.4.0" = {
name = "execa";
packageName = "execa";
- version = "3.2.0";
+ version = "3.4.0";
src = fetchurl {
- url = "https://registry.npmjs.org/execa/-/execa-3.2.0.tgz";
- sha512 = "kJJfVbI/lZE1PZYDI5VPxp8zXPO9rtxOkhpZ0jMKha56AI9y2gGVC6bkukStQf0ka5Rh15BA5m7cCCH4jmHqkw==";
+ url = "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz";
+ sha512 = "r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==";
};
};
"expand-brackets-2.1.4" = {
@@ -1292,22 +1373,22 @@ let
sha512 = "xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==";
};
};
- "fast-glob-3.1.0" = {
+ "fast-glob-3.1.1" = {
name = "fast-glob";
packageName = "fast-glob";
- version = "3.1.0";
+ version = "3.1.1";
src = fetchurl {
- url = "https://registry.npmjs.org/fast-glob/-/fast-glob-3.1.0.tgz";
- sha512 = "TrUz3THiq2Vy3bjfQUB2wNyPdGBeGmdjbzzBLhfHN4YFurYptCKwGq/TfiRavbGywFRzY6U2CdmQ1zmsY5yYaw==";
+ url = "https://registry.npmjs.org/fast-glob/-/fast-glob-3.1.1.tgz";
+ sha512 = "nTCREpBY8w8r+boyFYAx21iL6faSsQynliPHM4Uf56SbkyohCNxpVPEH9xrF5TXKy+IsjkPUHDKiUkzBVRXn9g==";
};
};
- "fast-json-stable-stringify-2.0.0" = {
+ "fast-json-stable-stringify-2.1.0" = {
name = "fast-json-stable-stringify";
packageName = "fast-json-stable-stringify";
- version = "2.0.0";
+ version = "2.1.0";
src = fetchurl {
- url = "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz";
- sha1 = "d5142c0caee6b1189f87d3a76111064f86c8bbf2";
+ url = "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz";
+ sha512 = "lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==";
};
};
"fastq-1.6.0" = {
@@ -1319,22 +1400,13 @@ let
sha512 = "jmxqQ3Z/nXoeyDmWAzF9kH1aGZSis6e/SbfPmJpUnyZ0ogr6iscHQaml4wsEepEWSdtmpy+eVXmCRIMpxaXqOA==";
};
};
- "fb-watchman-2.0.0" = {
+ "fb-watchman-2.0.1" = {
name = "fb-watchman";
packageName = "fb-watchman";
- version = "2.0.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.0.tgz";
- sha1 = "54e9abf7dfa2f26cd9b1636c588c1afc05de5d58";
- };
- };
- "file-uri-to-path-1.0.0" = {
- name = "file-uri-to-path";
- packageName = "file-uri-to-path";
- version = "1.0.0";
+ version = "2.0.1";
src = fetchurl {
- url = "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz";
- sha512 = "0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==";
+ url = "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz";
+ sha512 = "DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==";
};
};
"fill-range-4.0.0" = {
@@ -1499,15 +1571,6 @@ let
sha1 = "8bfb5502bde4a4d36cfdeea007fcca21d7e382af";
};
};
- "fs-extra-0.30.0" = {
- name = "fs-extra";
- packageName = "fs-extra";
- version = "0.30.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz";
- sha1 = "f233ffcc08d4da7d432daa449776989db1df93f0";
- };
- };
"fs-extra-2.0.0" = {
name = "fs-extra";
packageName = "fs-extra";
@@ -1562,13 +1625,13 @@ let
sha1 = "1504ad2523158caa40db4a2787cb01411994ea4f";
};
};
- "fsevents-2.1.1" = {
+ "fsevents-2.1.2" = {
name = "fsevents";
packageName = "fsevents";
- version = "2.1.1";
+ version = "2.1.2";
src = fetchurl {
- url = "https://registry.npmjs.org/fsevents/-/fsevents-2.1.1.tgz";
- sha512 = "4FRPXWETxtigtJW/gxzEDsX1LVbPAM93VleB83kZB+ellqbHMkyt2aJfuzNLRvFPnGi6bcE5SvfxgbXPeKteJw==";
+ url = "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz";
+ sha512 = "R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==";
};
};
"function-bind-1.1.1" = {
@@ -1652,13 +1715,13 @@ let
sha512 = "hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==";
};
};
- "glob-7.1.5" = {
+ "glob-7.1.6" = {
name = "glob";
packageName = "glob";
- version = "7.1.5";
+ version = "7.1.6";
src = fetchurl {
- url = "https://registry.npmjs.org/glob/-/glob-7.1.5.tgz";
- sha512 = "J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==";
+ url = "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz";
+ sha512 = "LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==";
};
};
"glob-parent-5.1.0" = {
@@ -1679,22 +1742,22 @@ let
sha512 = "sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A==";
};
};
- "got-6.7.1" = {
+ "got-8.3.2" = {
name = "got";
packageName = "got";
- version = "6.7.1";
+ version = "8.3.2";
src = fetchurl {
- url = "https://registry.npmjs.org/got/-/got-6.7.1.tgz";
- sha1 = "240cd05785a9a18e561dc1b44b41c763ef1e8db0";
+ url = "https://registry.npmjs.org/got/-/got-8.3.2.tgz";
+ sha512 = "qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==";
};
};
- "got-8.3.2" = {
+ "got-9.6.0" = {
name = "got";
packageName = "got";
- version = "8.3.2";
+ version = "9.6.0";
src = fetchurl {
- url = "https://registry.npmjs.org/got/-/got-8.3.2.tgz";
- sha512 = "qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==";
+ url = "https://registry.npmjs.org/got/-/got-9.6.0.tgz";
+ sha512 = "R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==";
};
};
"graceful-fs-4.2.3" = {
@@ -1769,13 +1832,13 @@ let
sha512 = "3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==";
};
};
- "has-symbols-1.0.0" = {
+ "has-symbols-1.0.1" = {
name = "has-symbols";
packageName = "has-symbols";
- version = "1.0.0";
+ version = "1.0.1";
src = fetchurl {
- url = "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz";
- sha1 = "ba1a8f1af2a0fc39650f5c850367704122063b44";
+ url = "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz";
+ sha512 = "PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==";
};
};
"has-to-string-tag-x-1.4.1" = {
@@ -1832,6 +1895,15 @@ let
sha512 = "5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==";
};
};
+ "http-cache-semantics-4.0.3" = {
+ name = "http-cache-semantics";
+ packageName = "http-cache-semantics";
+ version = "4.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.0.3.tgz";
+ sha512 = "TcIMG3qeVLgDr1TEd2XvHaTnMPwYQUQMIBLy+5pLSDKYFc7UIqj39w8EGzZkaxoLv/l2K8HaI0t5AVA+YYgUew==";
+ };
+ };
"http-errors-1.6.2" = {
name = "http-errors";
packageName = "http-errors";
@@ -2039,13 +2111,13 @@ let
sha512 = "NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==";
};
};
- "is-callable-1.1.4" = {
+ "is-callable-1.1.5" = {
name = "is-callable";
packageName = "is-callable";
- version = "1.1.4";
+ version = "1.1.5";
src = fetchurl {
- url = "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz";
- sha512 = "r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==";
+ url = "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz";
+ sha512 = "ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==";
};
};
"is-data-descriptor-0.1.4" = {
@@ -2066,13 +2138,13 @@ let
sha512 = "jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==";
};
};
- "is-date-object-1.0.1" = {
+ "is-date-object-1.0.2" = {
name = "is-date-object";
packageName = "is-date-object";
- version = "1.0.1";
+ version = "1.0.2";
src = fetchurl {
- url = "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz";
- sha1 = "9aa20eb6aeebbff77fbd33e74ca01b33581d3a16";
+ url = "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz";
+ sha512 = "USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==";
};
};
"is-descriptor-0.1.6" = {
@@ -2183,22 +2255,13 @@ let
sha512 = "h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==";
};
};
- "is-redirect-1.0.0" = {
- name = "is-redirect";
- packageName = "is-redirect";
- version = "1.0.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz";
- sha1 = "1d03dded53bd8db0f30c26e4f95d36fc7c87dc24";
- };
- };
- "is-regex-1.0.4" = {
+ "is-regex-1.0.5" = {
name = "is-regex";
packageName = "is-regex";
- version = "1.0.4";
+ version = "1.0.5";
src = fetchurl {
- url = "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz";
- sha1 = "5517489b547091b0930e095654ced25ee97e9491";
+ url = "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz";
+ sha512 = "vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==";
};
};
"is-retry-allowed-1.2.0" = {
@@ -2228,13 +2291,13 @@ let
sha512 = "XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==";
};
};
- "is-symbol-1.0.2" = {
+ "is-symbol-1.0.3" = {
name = "is-symbol";
packageName = "is-symbol";
- version = "1.0.2";
+ version = "1.0.3";
src = fetchurl {
- url = "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz";
- sha512 = "HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==";
+ url = "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz";
+ sha512 = "OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==";
};
};
"is-typedarray-1.0.0" = {
@@ -2399,6 +2462,15 @@ let
sha512 = "eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==";
};
};
+ "keyv-3.1.0" = {
+ name = "keyv";
+ packageName = "keyv";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz";
+ sha512 = "9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==";
+ };
+ };
"kind-of-3.2.2" = {
name = "kind-of";
packageName = "kind-of";
@@ -2435,15 +2507,6 @@ let
sha512 = "s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==";
};
};
- "klaw-1.3.1" = {
- name = "klaw";
- packageName = "klaw";
- version = "1.3.1";
- src = fetchurl {
- url = "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz";
- sha1 = "4088433b46b3b1ba259d78785d8e96f73ba02439";
- };
- };
"klaw-2.1.1" = {
name = "klaw";
packageName = "klaw";
@@ -2498,6 +2561,15 @@ let
sha512 = "G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==";
};
};
+ "lowercase-keys-2.0.0" = {
+ name = "lowercase-keys";
+ packageName = "lowercase-keys";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz";
+ sha512 = "tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==";
+ };
+ };
"lru-cache-4.1.5" = {
name = "lru-cache";
packageName = "lru-cache";
@@ -2633,22 +2705,22 @@ let
sha512 = "QgrPRJfE+riq5TPZMcHZOtm8c6K/yYrMbKIoRfapfiGLxS8OTeIfRhUGW5LU7MlRa52KOAGCfUNruqLrIBvWZw==";
};
};
- "mime-db-1.40.0" = {
+ "mime-db-1.42.0" = {
name = "mime-db";
packageName = "mime-db";
- version = "1.40.0";
+ version = "1.42.0";
src = fetchurl {
- url = "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz";
- sha512 = "jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==";
+ url = "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz";
+ sha512 = "UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ==";
};
};
- "mime-types-2.1.24" = {
+ "mime-types-2.1.25" = {
name = "mime-types";
packageName = "mime-types";
- version = "2.1.24";
+ version = "2.1.25";
src = fetchurl {
- url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz";
- sha512 = "WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==";
+ url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz";
+ sha512 = "5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg==";
};
};
"mimic-fn-2.1.0" = {
@@ -2768,22 +2840,13 @@ let
sha1 = "5041049269c96633c866386960b2f4289e75e5b0";
};
};
- "mustache-3.1.0" = {
+ "mustache-3.2.1" = {
name = "mustache";
packageName = "mustache";
- version = "3.1.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/mustache/-/mustache-3.1.0.tgz";
- sha512 = "3Bxq1R5LBZp7fbFPZzFe5WN4s0q3+gxZaZuZVY+QctYJiCiVgXHOTIC0/HgZuOPFt/6BQcx5u0H2CUOxT/RoGQ==";
- };
- };
- "nan-2.14.0" = {
- name = "nan";
- packageName = "nan";
- version = "2.14.0";
+ version = "3.2.1";
src = fetchurl {
- url = "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz";
- sha512 = "INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==";
+ url = "https://registry.npmjs.org/mustache/-/mustache-3.2.1.tgz";
+ sha512 = "RERvMFdLpaFfSRIEe632yDm5nsd0SDKn8hGmcUwswnyiE5mtdZLDybtHAz6hjJhawokF0hXvGLtx9mrQfm6FkA==";
};
};
"nanomatch-1.2.13" = {
@@ -2867,6 +2930,15 @@ let
sha512 = "D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==";
};
};
+ "normalize-url-4.5.0" = {
+ name = "normalize-url";
+ packageName = "normalize-url";
+ version = "4.5.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz";
+ sha512 = "2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==";
+ };
+ };
"npm-conf-1.1.3" = {
name = "npm-conf";
packageName = "npm-conf";
@@ -2885,13 +2957,13 @@ let
sha1 = "35a9232dfa35d7067b4cb2ddf2357b1871536c5f";
};
};
- "npm-run-path-4.0.0" = {
+ "npm-run-path-4.0.1" = {
name = "npm-run-path";
packageName = "npm-run-path";
- version = "4.0.0";
+ version = "4.0.1";
src = fetchurl {
- url = "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.0.tgz";
- sha512 = "8eyAOAH+bYXFPSnNnKr3J+yoybe8O87Is5rtAQ8qRczJz1ajcsjg8l2oZqP+Ppx15Ii3S1vUTjQN2h4YO2tWWQ==";
+ url = "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz";
+ sha512 = "S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==";
};
};
"oauth-sign-0.9.0" = {
@@ -2921,13 +2993,13 @@ let
sha1 = "7e7d858b781bd7c991a41ba975ed3812754e998c";
};
};
- "object-inspect-1.6.0" = {
+ "object-inspect-1.7.0" = {
name = "object-inspect";
packageName = "object-inspect";
- version = "1.6.0";
+ version = "1.7.0";
src = fetchurl {
- url = "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz";
- sha512 = "GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==";
+ url = "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz";
+ sha512 = "a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==";
};
};
"object-keys-1.1.1" = {
@@ -2948,13 +3020,22 @@ let
sha1 = "f79c4493af0c5377b59fe39d395e41042dd045bb";
};
};
- "object.getownpropertydescriptors-2.0.3" = {
+ "object.assign-4.1.0" = {
+ name = "object.assign";
+ packageName = "object.assign";
+ version = "4.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz";
+ sha512 = "exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==";
+ };
+ };
+ "object.getownpropertydescriptors-2.1.0" = {
name = "object.getownpropertydescriptors";
packageName = "object.getownpropertydescriptors";
- version = "2.0.3";
+ version = "2.1.0";
src = fetchurl {
- url = "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz";
- sha1 = "8758c846f5b407adab0f236e0986f14b051caa16";
+ url = "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz";
+ sha512 = "Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==";
};
};
"object.pick-1.3.0" = {
@@ -3056,6 +3137,15 @@ let
sha512 = "HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==";
};
};
+ "p-cancelable-1.1.0" = {
+ name = "p-cancelable";
+ packageName = "p-cancelable";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz";
+ sha512 = "s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==";
+ };
+ };
"p-finally-1.0.0" = {
name = "p-finally";
packageName = "p-finally";
@@ -3083,13 +3173,13 @@ let
sha1 = "9c9456989e9f6588017b0434d56097675c3da05e";
};
};
- "p-limit-2.2.1" = {
+ "p-limit-2.2.2" = {
name = "p-limit";
packageName = "p-limit";
- version = "2.2.1";
+ version = "2.2.2";
src = fetchurl {
- url = "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz";
- sha512 = "85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==";
+ url = "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz";
+ sha512 = "WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==";
};
};
"p-locate-3.0.0" = {
@@ -3173,13 +3263,13 @@ let
sha1 = "411cadb574c5a140d3a4b1910d40d80cc9f40b40";
};
};
- "path-key-3.1.0" = {
+ "path-key-3.1.1" = {
name = "path-key";
packageName = "path-key";
- version = "3.1.0";
+ version = "3.1.1";
src = fetchurl {
- url = "https://registry.npmjs.org/path-key/-/path-key-3.1.0.tgz";
- sha512 = "8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg==";
+ url = "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz";
+ sha512 = "ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==";
};
};
"path-to-regexp-0.1.7" = {
@@ -3218,13 +3308,13 @@ let
sha1 = "6309f4e0e5fa913ec1c69307ae364b4b377c9e7b";
};
};
- "picomatch-2.1.0" = {
+ "picomatch-2.1.1" = {
name = "picomatch";
packageName = "picomatch";
- version = "2.1.0";
+ version = "2.1.1";
src = fetchurl {
- url = "https://registry.npmjs.org/picomatch/-/picomatch-2.1.0.tgz";
- sha512 = "uhnEDzAbrcJ8R3g2fANnSuXZMBtkpSjxTTgn2LeSiQlfmq72enQJWdQllXW24MBLYnA1SBD2vfvx2o0Zw3Ielw==";
+ url = "https://registry.npmjs.org/picomatch/-/picomatch-2.1.1.tgz";
+ sha512 = "OYMyqkKzK7blWO/+XZYP6w8hH0LDvkBvdvKukti+7kqYFCiEAk+gI3DWnryapc0Dau05ugGTy0foQ6mqn4AHYA==";
};
};
"pify-3.0.0" = {
@@ -3254,15 +3344,6 @@ let
sha1 = "01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab";
};
};
- "prepend-http-1.0.4" = {
- name = "prepend-http";
- packageName = "prepend-http";
- version = "1.0.4";
- src = fetchurl {
- url = "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz";
- sha1 = "d4f4562b0ce3696e41ac52d0e002e57a635dc6dc";
- };
- };
"prepend-http-2.0.0" = {
name = "prepend-http";
packageName = "prepend-http";
@@ -3317,13 +3398,13 @@ let
sha1 = "f052a28da70e618917ef0a8ac34c1ae5a68286b3";
};
};
- "psl-1.4.0" = {
+ "psl-1.7.0" = {
name = "psl";
packageName = "psl";
- version = "1.4.0";
+ version = "1.7.0";
src = fetchurl {
- url = "https://registry.npmjs.org/psl/-/psl-1.4.0.tgz";
- sha512 = "HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw==";
+ url = "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz";
+ sha512 = "5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==";
};
};
"pump-3.0.0" = {
@@ -3461,6 +3542,15 @@ let
sha512 = "crk4Qu3pmXwgxdSgGhgA/eXiJAPQiX4GMOZZMXnqKxHX7TaoL+3gQVo/WeuAiogr07DpnfjIMpXXa+PAIvwPGQ==";
};
};
+ "readdirp-3.3.0" = {
+ name = "readdirp";
+ packageName = "readdirp";
+ version = "3.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz";
+ sha512 = "zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==";
+ };
+ };
"regenerator-runtime-0.9.6" = {
name = "regenerator-runtime";
packageName = "regenerator-runtime";
@@ -3533,22 +3623,22 @@ let
sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==";
};
};
- "request-promise-4.2.4" = {
+ "request-promise-4.2.5" = {
name = "request-promise";
packageName = "request-promise";
- version = "4.2.4";
+ version = "4.2.5";
src = fetchurl {
- url = "https://registry.npmjs.org/request-promise/-/request-promise-4.2.4.tgz";
- sha512 = "8wgMrvE546PzbR5WbYxUQogUnUDfM0S7QIFZMID+J73vdFARkFy+HElj4T+MWYhpXwlLp0EQ8Zoj8xUA0he4Vg==";
+ url = "https://registry.npmjs.org/request-promise/-/request-promise-4.2.5.tgz";
+ sha512 = "ZgnepCykFdmpq86fKGwqntyTiUrHycALuGggpyCZwMvGaZWgxW6yagT0FHkgo5LzYvOaCNvxYwWYIjevSH1EDg==";
};
};
- "request-promise-core-1.1.2" = {
+ "request-promise-core-1.1.3" = {
name = "request-promise-core";
packageName = "request-promise-core";
- version = "1.1.2";
+ version = "1.1.3";
src = fetchurl {
- url = "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz";
- sha512 = "UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==";
+ url = "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz";
+ sha512 = "QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==";
};
};
"require-directory-2.1.1" = {
@@ -3650,13 +3740,13 @@ let
sha512 = "DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==";
};
};
- "rxjs-6.5.3" = {
+ "rxjs-6.5.4" = {
name = "rxjs";
packageName = "rxjs";
- version = "6.5.3";
+ version = "6.5.4";
src = fetchurl {
- url = "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz";
- sha512 = "wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==";
+ url = "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz";
+ sha512 = "naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==";
};
};
"safe-buffer-5.1.1" = {
@@ -3731,6 +3821,15 @@ let
sha512 = "sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==";
};
};
+ "semver-6.3.0" = {
+ name = "semver";
+ packageName = "semver";
+ version = "6.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz";
+ sha512 = "b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==";
+ };
+ };
"semver-regex-1.0.0" = {
name = "semver-regex";
packageName = "semver-regex";
@@ -3938,13 +4037,13 @@ let
sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc";
};
};
- "source-map-resolve-0.5.2" = {
+ "source-map-resolve-0.5.3" = {
name = "source-map-resolve";
packageName = "source-map-resolve";
- version = "0.5.2";
+ version = "0.5.3";
src = fetchurl {
- url = "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz";
- sha512 = "MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==";
+ url = "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz";
+ sha512 = "Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==";
};
};
"source-map-url-0.4.0" = {
@@ -4037,22 +4136,22 @@ let
sha512 = "vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==";
};
};
- "string.prototype.trimleft-2.1.0" = {
+ "string.prototype.trimleft-2.1.1" = {
name = "string.prototype.trimleft";
packageName = "string.prototype.trimleft";
- version = "2.1.0";
+ version = "2.1.1";
src = fetchurl {
- url = "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz";
- sha512 = "FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==";
+ url = "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz";
+ sha512 = "iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==";
};
};
- "string.prototype.trimright-2.1.0" = {
+ "string.prototype.trimright-2.1.1" = {
name = "string.prototype.trimright";
packageName = "string.prototype.trimright";
- version = "2.1.0";
+ version = "2.1.1";
src = fetchurl {
- url = "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz";
- sha512 = "fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==";
+ url = "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz";
+ sha512 = "qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==";
};
};
"string_decoder-0.10.31" = {
@@ -4154,15 +4253,6 @@ let
sha512 = "oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==";
};
};
- "syncprompt-2.0.0" = {
- name = "syncprompt";
- packageName = "syncprompt";
- version = "2.0.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/syncprompt/-/syncprompt-2.0.0.tgz";
- sha512 = "tPYCsLGWTDRlET7cen2iAwbmO+lSwfIdKoLkUPC41t/54UhqbzpwXL4RhODu5fQnmZdQZlEFKeD0W/BysU5WEg==";
- };
- };
"tar-4.4.13" = {
name = "tar";
packageName = "tar";
@@ -4181,6 +4271,15 @@ let
sha512 = "YfUhPQCJoNQE5N+FJQcdPz63O3x3sdT4Xju69Gj4iZe0lBKOtnAMi0SLj9xKhGkcGhsxThvTJ/usxtFPo438zQ==";
};
};
+ "temp-0.9.1" = {
+ name = "temp";
+ packageName = "temp";
+ version = "0.9.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/temp/-/temp-0.9.1.tgz";
+ sha512 = "WMuOgiua1xb5R56lE0eH6ivpVmg/lq2OHm4+LtT/xtEtPQ+sz6N3bBM6WZ5FvO1lO4IKIOb43qnhoc4qxP5OeA==";
+ };
+ };
"through-2.3.8" = {
name = "through";
packageName = "through";
@@ -4253,6 +4352,15 @@ let
sha1 = "297588b7b0e7e0ac08e04e672f85c1f4999e17af";
};
};
+ "to-readable-stream-1.0.0" = {
+ name = "to-readable-stream";
+ packageName = "to-readable-stream";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz";
+ sha512 = "Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==";
+ };
+ };
"to-regex-3.0.2" = {
name = "to-regex";
packageName = "to-regex";
@@ -4415,15 +4523,6 @@ let
sha1 = "8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559";
};
};
- "unzip-response-2.0.1" = {
- name = "unzip-response";
- packageName = "unzip-response";
- version = "2.0.1";
- src = fetchurl {
- url = "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz";
- sha1 = "d2f0f737d16b0615e72a6935ed04214572d56f97";
- };
- };
"unzip-stream-0.3.0" = {
name = "unzip-stream";
packageName = "unzip-stream";
@@ -4451,15 +4550,6 @@ let
sha1 = "da937f7a62e21fec1fd18d49b35c2935067a6c72";
};
};
- "url-parse-lax-1.0.0" = {
- name = "url-parse-lax";
- packageName = "url-parse-lax";
- version = "1.0.0";
- src = fetchurl {
- url = "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz";
- sha1 = "7af8f303645e9bd79a272e7a14ac68bc0609da73";
- };
- };
"url-parse-lax-3.0.0" = {
name = "url-parse-lax";
packageName = "url-parse-lax";
@@ -4604,13 +4694,13 @@ let
sha1 = "2f7f9b8fd10d677262b18a884e28d19618e028fb";
};
};
- "web-tree-sitter-0.15.10" = {
+ "web-tree-sitter-0.15.11" = {
name = "web-tree-sitter";
packageName = "web-tree-sitter";
- version = "0.15.10";
+ version = "0.15.11";
src = fetchurl {
- url = "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.15.10.tgz";
- sha512 = "8utowZB5h5djbotf1umt4na9Vt6Q18ZICUeC9jW4qWWjUrtQ2xvxDuAJ+EibmqUJBAKATrDMXnY2xYaskGg8wg==";
+ url = "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.15.11.tgz";
+ sha512 = "7Sr26MV8bPPvKU+4VMpOoLYwaAFBsCsxRGtxYPSxClWIaR2KIciqg6zUeG14W9QrdlpBt7VHHzhd1CBb0e6i8w==";
};
};
"which-1.3.1" = {
@@ -4631,6 +4721,15 @@ let
sha512 = "N7GBZOTswtB9lkQBZA4+zAXrjEIWAUOB93AvzUiudRzRxhUdLURQ7D/gAIMY1gatT/LTbmbcv8SiYazy3eYB7w==";
};
};
+ "which-2.0.2" = {
+ name = "which";
+ packageName = "which";
+ version = "2.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/which/-/which-2.0.2.tgz";
+ sha512 = "BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==";
+ };
+ };
"which-module-2.0.0" = {
name = "which-module";
packageName = "which-module";
@@ -4703,13 +4802,13 @@ let
sha512 = "o41D/WmDeca0BqYhsr3nJzQyg9NF5X8l/UdnFNux9cS3lwB+swm8qGWX5rn+aD6xfBU3rGmtHij7g7x6LxFU3A==";
};
};
- "ws-7.2.0" = {
+ "ws-7.2.1" = {
name = "ws";
packageName = "ws";
- version = "7.2.0";
+ version = "7.2.1";
src = fetchurl {
- url = "https://registry.npmjs.org/ws/-/ws-7.2.0.tgz";
- sha512 = "+SqNqFbwTm/0DC18KYzIsMTnEWpLwJsiasW/O17la4iDRRIO9uaHbvKiAS3AHgTiuuWerK/brj4O6MYZkei9xg==";
+ url = "https://registry.npmjs.org/ws/-/ws-7.2.1.tgz";
+ sha512 = "sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A==";
};
};
"xmlbuilder-13.0.2" = {
@@ -4775,13 +4874,13 @@ let
sha512 = "oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==";
};
};
- "yn-2.0.0" = {
+ "yn-3.1.1" = {
name = "yn";
packageName = "yn";
- version = "2.0.0";
+ version = "3.1.1";
src = fetchurl {
- url = "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz";
- sha1 = "e5adabc8acf408f6385fc76495684c88e6af689a";
+ url = "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz";
+ sha512 = "Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==";
};
};
};
@@ -4790,57 +4889,49 @@ in
elm-test = nodeEnv.buildNodePackage {
name = "elm-test";
packageName = "elm-test";
- version = "0.19.1";
+ version = "0.19.1-revision2";
src = fetchurl {
- url = "https://registry.npmjs.org/elm-test/-/elm-test-0.19.1.tgz";
- sha512 = "SyZgZ/hxq62budS3k0M1Qj1E8fIRvldSxFSm4XfzE6qRRuHAT2a82fxprZRZl1yG2GwnImGmhuKH5hSyjPpzjA==";
+ url = "https://registry.npmjs.org/elm-test/-/elm-test-0.19.1-revision2.tgz";
+ sha512 = "zVs2mVeyIE+K9y7/8b333h5xRMDWAoqbBDm7ThLDhyTi7ICxeL3t5uOS4KZCrRk9+4sP6+voSbcBlgr46Q+GiQ==";
};
dependencies = [
+ sources."@types/color-name-1.1.1"
sources."ajv-6.10.2"
- sources."ansi-styles-3.2.1"
+ sources."ansi-styles-4.2.1"
sources."anymatch-3.1.1"
sources."asn1-0.2.4"
sources."assert-plus-1.0.0"
sources."asynckit-0.4.0"
sources."aws-sign2-0.7.0"
- sources."aws4-1.8.0"
+ sources."aws4-1.9.0"
sources."balanced-match-1.0.0"
sources."bcrypt-pbkdf-1.0.2"
sources."binary-0.3.0"
sources."binary-extensions-2.0.0"
sources."binwrap-0.2.2"
- sources."bluebird-3.7.1"
+ sources."bluebird-3.7.2"
sources."brace-expansion-1.1.11"
sources."braces-3.0.2"
sources."buffers-0.1.1"
sources."caseless-0.12.0"
sources."chainsaw-0.1.0"
- (sources."chalk-2.4.2" // {
- dependencies = [
- sources."supports-color-5.5.0"
- ];
- })
- sources."chokidar-3.2.1"
+ sources."chalk-3.0.0"
+ sources."chokidar-3.3.0"
sources."chownr-1.1.3"
- sources."color-convert-1.9.3"
- sources."color-name-1.1.3"
+ sources."color-convert-2.0.1"
+ sources."color-name-1.1.4"
sources."combined-stream-1.0.8"
sources."concat-map-0.0.1"
sources."core-util-is-1.0.2"
- (sources."cross-spawn-7.0.0" // {
- dependencies = [
- sources."which-1.3.1"
- ];
- })
+ sources."cross-spawn-7.0.1"
sources."dashdash-1.14.1"
sources."delayed-stream-1.0.0"
sources."ecc-jsbn-0.1.2"
- sources."elmi-to-json-1.2.0"
- sources."escape-string-regexp-1.0.5"
+ sources."elmi-to-json-1.3.0"
sources."extend-3.0.2"
sources."extsprintf-1.3.0"
sources."fast-deep-equal-2.0.1"
- sources."fast-json-stable-stringify-2.0.0"
+ sources."fast-json-stable-stringify-2.1.0"
sources."fill-range-7.0.1"
(sources."find-elm-dependencies-2.0.2" // {
dependencies = [
@@ -4854,14 +4945,14 @@ in
sources."fs-extra-8.1.0"
sources."fs-minipass-1.2.7"
sources."fs.realpath-1.0.0"
- sources."fsevents-2.1.1"
+ sources."fsevents-2.1.2"
sources."getpass-0.1.7"
- sources."glob-7.1.4"
+ sources."glob-7.1.6"
sources."glob-parent-5.1.0"
sources."graceful-fs-4.2.3"
sources."har-schema-2.0.0"
sources."har-validator-5.1.3"
- sources."has-flag-3.0.0"
+ sources."has-flag-4.0.0"
sources."http-signature-1.2.0"
sources."inflight-1.0.6"
sources."inherits-2.0.4"
@@ -4879,8 +4970,8 @@ in
sources."jsonfile-4.0.0"
sources."jsprim-1.4.1"
sources."lodash-4.17.15"
- sources."mime-db-1.40.0"
- sources."mime-types-2.1.24"
+ sources."mime-db-1.42.0"
+ sources."mime-types-2.1.25"
sources."minimatch-3.0.4"
sources."minimist-1.2.0"
sources."minipass-2.9.0"
@@ -4891,12 +4982,14 @@ in
];
})
sources."murmur-hash-js-1.0.0"
- sources."mustache-3.1.0"
+ sources."mustache-3.2.1"
sources."nice-try-1.0.5"
(sources."node-elm-compiler-5.0.4" // {
dependencies = [
sources."cross-spawn-6.0.5"
sources."path-key-2.0.1"
+ sources."shebang-command-1.2.0"
+ sources."shebang-regex-1.0.0"
sources."which-1.3.1"
];
})
@@ -4904,32 +4997,28 @@ in
sources."oauth-sign-0.9.0"
sources."once-1.4.0"
sources."path-is-absolute-1.0.1"
- sources."path-key-3.1.0"
+ sources."path-key-3.1.1"
sources."performance-now-2.1.0"
- sources."picomatch-2.1.0"
- sources."psl-1.4.0"
+ sources."picomatch-2.1.1"
+ sources."psl-1.7.0"
sources."punycode-2.1.1"
sources."qs-6.5.2"
- sources."readdirp-3.1.3"
+ sources."readdirp-3.2.0"
sources."request-2.88.0"
- sources."request-promise-4.2.4"
- sources."request-promise-core-1.1.2"
+ sources."request-promise-4.2.5"
+ sources."request-promise-core-1.1.3"
sources."rimraf-2.6.3"
sources."safe-buffer-5.2.0"
sources."safer-buffer-2.1.2"
sources."semver-5.7.1"
- sources."shebang-command-1.2.0"
- sources."shebang-regex-1.0.0"
+ sources."shebang-command-2.0.0"
+ sources."shebang-regex-3.0.0"
sources."split-1.0.1"
sources."sshpk-1.16.1"
sources."stealthy-require-1.1.1"
- (sources."supports-color-7.1.0" // {
- dependencies = [
- sources."has-flag-4.0.0"
- ];
- })
+ sources."supports-color-7.1.0"
sources."tar-4.4.13"
- sources."temp-0.9.0"
+ sources."temp-0.9.1"
sources."through-2.3.8"
sources."to-regex-range-5.0.1"
(sources."tough-cookie-2.4.3" // {
@@ -4977,13 +5066,13 @@ in
sources."assert-plus-1.0.0"
sources."asynckit-0.4.0"
sources."aws-sign2-0.7.0"
- sources."aws4-1.8.0"
+ sources."aws4-1.9.0"
sources."balanced-match-1.0.0"
sources."bcrypt-pbkdf-1.0.2"
sources."binary-0.3.0"
sources."binary-extensions-2.0.0"
sources."binwrap-0.2.2"
- sources."bluebird-3.7.1"
+ sources."bluebird-3.7.2"
sources."brace-expansion-1.1.11"
sources."braces-3.0.2"
sources."buffers-0.1.1"
@@ -5021,7 +5110,7 @@ in
sources."extend-3.0.2"
sources."extsprintf-1.3.0"
sources."fast-deep-equal-2.0.1"
- sources."fast-json-stable-stringify-2.0.0"
+ sources."fast-json-stable-stringify-2.1.0"
sources."fill-range-7.0.1"
(sources."find-elm-dependencies-2.0.2" // {
dependencies = [
@@ -5036,7 +5125,7 @@ in
sources."fs-extra-5.0.0"
sources."fs-minipass-1.2.7"
sources."fs.realpath-1.0.0"
- sources."fsevents-2.1.1"
+ sources."fsevents-2.1.2"
sources."get-caller-file-2.0.5"
sources."getpass-0.1.7"
sources."glob-7.1.4"
@@ -5064,8 +5153,8 @@ in
sources."jsprim-1.4.1"
sources."locate-path-3.0.0"
sources."lodash-4.17.15"
- sources."mime-db-1.40.0"
- sources."mime-types-2.1.24"
+ sources."mime-db-1.42.0"
+ sources."mime-types-2.1.25"
sources."minimatch-3.0.4"
sources."minimist-1.2.0"
sources."minipass-2.9.0"
@@ -5076,7 +5165,7 @@ in
];
})
sources."murmur-hash-js-1.0.0"
- sources."mustache-3.1.0"
+ sources."mustache-3.2.1"
sources."nice-try-1.0.5"
(sources."node-elm-compiler-5.0.4" // {
dependencies = [
@@ -5088,21 +5177,21 @@ in
sources."normalize-path-3.0.0"
sources."oauth-sign-0.9.0"
sources."once-1.4.0"
- sources."p-limit-2.2.1"
+ sources."p-limit-2.2.2"
sources."p-locate-3.0.0"
sources."p-try-2.2.0"
sources."path-exists-3.0.0"
sources."path-is-absolute-1.0.1"
- sources."path-key-3.1.0"
+ sources."path-key-3.1.1"
sources."performance-now-2.1.0"
- sources."picomatch-2.1.0"
- sources."psl-1.4.0"
+ sources."picomatch-2.1.1"
+ sources."psl-1.7.0"
sources."punycode-2.1.1"
sources."qs-6.5.2"
sources."readdirp-3.1.3"
sources."request-2.88.0"
- sources."request-promise-4.2.4"
- sources."request-promise-core-1.1.2"
+ sources."request-promise-4.2.5"
+ sources."request-promise-core-1.1.3"
sources."require-directory-2.1.1"
sources."require-main-filename-2.0.0"
sources."rimraf-2.7.1"
@@ -5233,7 +5322,7 @@ in
sources."cookie-0.4.0"
sources."cookie-signature-1.0.6"
sources."copy-descriptor-0.1.1"
- sources."core-js-3.3.5"
+ sources."core-js-3.6.1"
sources."core-util-is-1.0.2"
sources."cross-spawn-6.0.5"
sources."debug-2.6.9"
@@ -5248,12 +5337,12 @@ in
sources."ee-first-1.1.1"
sources."encodeurl-1.0.2"
sources."end-of-stream-1.4.4"
- sources."es-abstract-1.16.0"
- sources."es-to-primitive-1.2.0"
+ sources."es-abstract-1.17.0"
+ sources."es-to-primitive-1.2.1"
sources."escape-html-1.0.3"
sources."escape-string-regexp-1.0.5"
sources."etag-1.8.1"
- sources."exec-sh-0.3.2"
+ sources."exec-sh-0.3.4"
(sources."execa-1.0.0" // {
dependencies = [
sources."get-stream-4.1.0"
@@ -5294,7 +5383,7 @@ in
sources."extend-shallow-2.0.1"
];
})
- sources."fb-watchman-2.0.0"
+ sources."fb-watchman-2.0.1"
(sources."fill-range-4.0.0" // {
dependencies = [
sources."extend-shallow-2.0.1"
@@ -5310,12 +5399,12 @@ in
sources."function-bind-1.1.1"
sources."get-stream-3.0.0"
sources."get-value-2.0.6"
- sources."glob-7.1.5"
+ sources."glob-7.1.6"
sources."got-8.3.2"
sources."has-1.0.3"
sources."has-flag-3.0.0"
sources."has-symbol-support-x-1.4.2"
- sources."has-symbols-1.0.0"
+ sources."has-symbols-1.0.1"
sources."has-to-string-tag-x-1.4.1"
sources."has-value-1.0.0"
(sources."has-values-1.0.0" // {
@@ -5333,9 +5422,9 @@ in
sources."ipaddr.js-1.9.0"
sources."is-accessor-descriptor-1.0.0"
sources."is-buffer-1.1.6"
- sources."is-callable-1.1.4"
+ sources."is-callable-1.1.5"
sources."is-data-descriptor-1.0.0"
- sources."is-date-object-1.0.1"
+ sources."is-date-object-1.0.2"
sources."is-descriptor-1.0.2"
sources."is-extendable-0.1.1"
(sources."is-number-3.0.0" // {
@@ -5346,10 +5435,10 @@ in
sources."is-object-1.0.1"
sources."is-plain-obj-1.1.0"
sources."is-plain-object-2.0.4"
- sources."is-regex-1.0.4"
+ sources."is-regex-1.0.5"
sources."is-retry-allowed-1.2.0"
sources."is-stream-1.1.0"
- sources."is-symbol-1.0.2"
+ sources."is-symbol-1.0.3"
sources."is-windows-1.0.2"
sources."is-wsl-1.1.0"
sources."isarray-1.0.0"
@@ -5369,8 +5458,8 @@ in
sources."methods-1.1.2"
sources."micromatch-3.1.10"
sources."mime-1.6.0"
- sources."mime-db-1.40.0"
- sources."mime-types-2.1.24"
+ sources."mime-db-1.42.0"
+ sources."mime-types-2.1.25"
sources."mimic-response-1.0.1"
sources."minimatch-3.0.4"
sources."minimist-1.2.0"
@@ -5401,10 +5490,11 @@ in
sources."kind-of-3.2.2"
];
})
- sources."object-inspect-1.6.0"
+ sources."object-inspect-1.7.0"
sources."object-keys-1.1.1"
sources."object-visit-1.0.1"
- sources."object.getownpropertydescriptors-2.0.3"
+ sources."object.assign-4.1.0"
+ sources."object.getownpropertydescriptors-2.1.0"
sources."object.pick-1.3.0"
sources."on-finished-2.3.0"
sources."once-1.4.0"
@@ -5498,7 +5588,7 @@ in
})
sources."sort-keys-2.0.0"
sources."source-map-0.5.7"
- sources."source-map-resolve-0.5.2"
+ sources."source-map-resolve-0.5.3"
sources."source-map-url-0.4.0"
sources."split-string-3.1.0"
(sources."static-extend-0.1.2" // {
@@ -5520,8 +5610,8 @@ in
})
sources."statuses-1.5.0"
sources."strict-uri-encode-1.1.0"
- sources."string.prototype.trimleft-2.1.0"
- sources."string.prototype.trimright-2.1.0"
+ sources."string.prototype.trimleft-2.1.1"
+ sources."string.prototype.trimright-2.1.1"
sources."string_decoder-1.1.1"
sources."strip-eof-1.0.0"
sources."strip-json-comments-2.0.1"
@@ -5576,64 +5666,64 @@ in
elm-upgrade = nodeEnv.buildNodePackage {
name = "elm-upgrade";
packageName = "elm-upgrade";
- version = "0.19.6";
+ version = "0.19.7";
src = fetchurl {
- url = "https://registry.npmjs.org/elm-upgrade/-/elm-upgrade-0.19.6.tgz";
- sha512 = "i7+z/6uAqKxOUD58nwyAJJGUCNKG7/wTBY1qBanveFSaQuX5vrfhQNH/3NWIGCufGoW3QEyADGhaLhAxNPVs5Q==";
+ url = "https://registry.npmjs.org/elm-upgrade/-/elm-upgrade-0.19.7.tgz";
+ sha512 = "/BFMWGJ0SmoFzsYb7QwKUZ7kfdimllVkRO51NokYCj9ehAts5TnuG+GLHsmVCJh1mGL4Qc0D4cgeleEwDgoCAQ==";
};
dependencies = [
- sources."balanced-match-1.0.0"
- sources."bindings-1.5.0"
- sources."brace-expansion-1.1.11"
- sources."capture-stack-trace-1.0.1"
+ sources."@sindresorhus/is-0.14.0"
+ sources."@szmarczak/http-timer-1.1.2"
+ (sources."cacheable-request-6.1.0" // {
+ dependencies = [
+ sources."get-stream-5.1.0"
+ sources."lowercase-keys-2.0.0"
+ ];
+ })
sources."caw-2.0.1"
- sources."concat-map-0.0.1"
+ sources."clone-response-1.0.2"
sources."config-chain-1.1.12"
- sources."create-error-class-3.0.2"
+ sources."decompress-response-3.3.0"
+ sources."defer-to-connect-1.1.1"
sources."duplexer3-0.1.4"
- sources."file-uri-to-path-1.0.0"
- sources."fs-extra-0.30.0"
- sources."fs.realpath-1.0.0"
+ sources."end-of-stream-1.4.4"
+ sources."fs-extra-8.1.0"
sources."get-proxy-2.1.0"
- sources."get-stream-3.0.0"
- sources."glob-7.1.5"
- sources."got-6.7.1"
+ sources."get-stream-4.1.0"
+ sources."got-9.6.0"
sources."graceful-fs-4.2.3"
sources."has-symbol-support-x-1.4.2"
sources."has-to-string-tag-x-1.4.1"
- sources."inflight-1.0.6"
- sources."inherits-2.0.4"
+ sources."http-cache-semantics-4.0.3"
sources."ini-1.3.5"
sources."is-object-1.0.1"
- sources."is-redirect-1.0.0"
- sources."is-retry-allowed-1.2.0"
- sources."is-stream-1.1.0"
sources."isexe-2.0.0"
sources."isurl-1.0.0"
- sources."jsonfile-2.4.0"
- sources."klaw-1.3.1"
+ sources."json-buffer-3.0.0"
+ sources."jsonfile-4.0.0"
+ sources."keyv-3.1.0"
sources."lowercase-keys-1.0.1"
- sources."minimatch-3.0.4"
- sources."nan-2.14.0"
+ sources."mimic-response-1.0.1"
+ sources."normalize-url-4.5.0"
sources."npm-conf-1.1.3"
sources."once-1.4.0"
- sources."path-is-absolute-1.0.1"
+ sources."p-cancelable-1.1.0"
sources."pify-3.0.0"
- sources."prepend-http-1.0.4"
+ sources."prepend-http-2.0.0"
sources."proto-list-1.2.4"
- sources."rimraf-2.7.1"
+ sources."pump-3.0.0"
+ sources."responselike-1.0.2"
sources."safe-buffer-5.2.0"
sources."safename-1.0.2"
- sources."semver-5.7.1"
- sources."syncprompt-2.0.0"
- sources."timed-out-4.0.1"
+ sources."semver-6.3.0"
+ sources."to-readable-stream-1.0.0"
sources."tunnel-agent-0.6.0"
- sources."unzip-response-2.0.1"
- sources."url-parse-lax-1.0.0"
+ sources."universalify-0.1.2"
+ sources."url-parse-lax-3.0.0"
sources."url-to-options-1.0.1"
- sources."which-1.3.1"
+ sources."which-2.0.2"
sources."wrappy-1.0.2"
- sources."yn-2.0.0"
+ sources."yn-3.1.1"
];
buildInputs = globalBuildInputs;
meta = {
@@ -5662,7 +5752,7 @@ in
sources."async-limiter-1.0.1"
sources."asynckit-0.4.0"
sources."aws-sign2-0.7.0"
- sources."aws4-1.8.0"
+ sources."aws4-1.9.0"
sources."babel-runtime-6.18.0"
sources."bcrypt-pbkdf-1.0.2"
sources."body-parser-1.19.0"
@@ -5674,7 +5764,7 @@ in
sources."content-type-1.0.4"
sources."cookie-0.3.1"
sources."cookie-signature-1.0.6"
- sources."core-js-2.6.10"
+ sources."core-js-2.6.11"
sources."core-util-is-1.0.2"
sources."dashdash-1.14.1"
sources."debug-2.6.9"
@@ -5712,7 +5802,7 @@ in
sources."extend-3.0.2"
sources."extsprintf-1.3.0"
sources."fast-deep-equal-2.0.1"
- sources."fast-json-stable-stringify-2.0.0"
+ sources."fast-json-stable-stringify-2.1.0"
(sources."finalhandler-1.1.1" // {
dependencies = [
sources."statuses-1.4.0"
@@ -5749,8 +5839,8 @@ in
sources."merge-descriptors-1.0.1"
sources."methods-1.1.2"
sources."mime-1.4.1"
- sources."mime-db-1.40.0"
- sources."mime-types-2.1.24"
+ sources."mime-db-1.42.0"
+ sources."mime-types-2.1.25"
sources."minimist-1.2.0"
sources."ms-2.0.0"
sources."negotiator-0.6.2"
@@ -5766,7 +5856,7 @@ in
sources."performance-now-2.1.0"
sources."process-nextick-args-1.0.7"
sources."proxy-addr-2.0.5"
- sources."psl-1.4.0"
+ sources."psl-1.7.0"
sources."punycode-2.1.1"
sources."qs-6.7.0"
sources."range-parser-1.2.1"
@@ -5880,7 +5970,7 @@ in
];
})
sources."fresh-0.5.2"
- sources."fsevents-2.1.1"
+ sources."fsevents-2.1.2"
sources."get-stream-4.1.0"
sources."glob-parent-5.1.0"
sources."has-ansi-2.0.0"
@@ -5913,11 +6003,11 @@ in
sources."parseurl-1.3.3"
sources."path-key-2.0.1"
sources."pem-1.14.2"
- sources."picomatch-2.1.0"
+ sources."picomatch-2.1.1"
sources."pseudomap-1.0.2"
sources."pump-3.0.0"
sources."range-parser-1.2.1"
- sources."readdirp-3.2.0"
+ sources."readdirp-3.3.0"
sources."requires-port-1.0.0"
sources."semver-5.7.1"
(sources."send-0.17.1" // {
@@ -5956,13 +6046,14 @@ in
elm-xref = nodeEnv.buildNodePackage {
name = "elm-xref";
packageName = "elm-xref";
- version = "4.0.0";
+ version = "4.1.0";
src = fetchurl {
- url = "https://registry.npmjs.org/elm-xref/-/elm-xref-4.0.0.tgz";
- sha512 = "9AjXLkznJBVLHHO+KErcgFMKeXe3tcudjj3PYIH6gWXG6W3PT+HF+t2zCflvgFPlhJO5H/wQCCo4rfCApltBzg==";
+ url = "https://registry.npmjs.org/elm-xref/-/elm-xref-4.1.0.tgz";
+ sha512 = "23nVGYsArS2DZ0RnFq6cKYO49pCjuLULhM+fvBcfA7ZIbKSw5WkDyK9c5hlQEm+JZAPZ43PNcI0yLzTEqaajiA==";
};
dependencies = [
- sources."bluebird-3.7.1"
+ sources."bluebird-3.7.2"
+ sources."compare-versions-3.5.1"
sources."core-util-is-1.0.2"
sources."fs-extra-6.0.1"
sources."graceful-fs-4.2.3"
@@ -5974,9 +6065,13 @@ in
sources."process-nextick-args-2.0.1"
sources."readable-stream-2.3.6"
sources."safe-buffer-5.1.2"
- sources."semver-5.7.1"
+ sources."semver-6.3.0"
sources."semver-regex-1.0.0"
- sources."semver-sort-0.0.4"
+ (sources."semver-sort-0.0.4" // {
+ dependencies = [
+ sources."semver-5.7.1"
+ ];
+ })
sources."string_decoder-1.1.1"
sources."through2-2.0.5"
sources."universalify-0.1.2"
@@ -5996,10 +6091,10 @@ in
"@elm-tooling/elm-language-server" = nodeEnv.buildNodePackage {
name = "_at_elm-tooling_slash_elm-language-server";
packageName = "@elm-tooling/elm-language-server";
- version = "1.4.4";
+ version = "1.4.6";
src = fetchurl {
- url = "https://registry.npmjs.org/@elm-tooling/elm-language-server/-/elm-language-server-1.4.4.tgz";
- sha512 = "vhiQZHael3isY254nS/iiW5zFiTwXmyaj+IOO9q1PQ6URP8PKzQla74o7UuURRlkF5B/OuwB+u/hncmEbwyy+w==";
+ url = "https://registry.npmjs.org/@elm-tooling/elm-language-server/-/elm-language-server-1.4.6.tgz";
+ sha512 = "Cf1atW2nqZtDgyPFug0c9qo3A1a1mtTtKHRr3jGpIQnp8eb99kbPkERI3xFcbgyhgBOygVd3g282Y8jGawHbdA==";
};
dependencies = [
sources."@nodelib/fs.scandir-2.1.3"
@@ -6008,7 +6103,7 @@ in
sources."@types/events-3.0.0"
sources."@types/glob-7.1.1"
sources."@types/minimatch-3.0.3"
- sources."@types/node-12.12.3"
+ sources."@types/node-13.1.2"
sources."accepts-1.3.7"
sources."ajv-6.10.2"
sources."array-flatten-1.1.1"
@@ -6018,7 +6113,7 @@ in
sources."async-limiter-1.0.1"
sources."asynckit-0.4.0"
sources."aws-sign2-0.7.0"
- sources."aws4-1.8.0"
+ sources."aws4-1.9.0"
sources."babel-runtime-6.18.0"
sources."balanced-match-1.0.0"
sources."bcrypt-pbkdf-1.0.2"
@@ -6034,7 +6129,7 @@ in
sources."content-type-1.0.4"
sources."cookie-0.3.1"
sources."cookie-signature-1.0.6"
- sources."core-js-2.6.10"
+ sources."core-js-2.6.11"
sources."core-util-is-1.0.2"
sources."cross-spawn-7.0.1"
sources."dashdash-1.14.1"
@@ -6055,7 +6150,7 @@ in
sources."end-of-stream-1.4.4"
sources."escape-html-1.0.3"
sources."etag-1.8.1"
- (sources."execa-3.2.0" // {
+ (sources."execa-3.4.0" // {
dependencies = [
sources."is-stream-2.0.0"
];
@@ -6070,8 +6165,8 @@ in
sources."extsprintf-1.3.0"
sources."fast-deep-equal-2.0.1"
sources."fast-diff-1.2.0"
- sources."fast-glob-3.1.0"
- sources."fast-json-stable-stringify-2.0.0"
+ sources."fast-glob-3.1.1"
+ sources."fast-json-stable-stringify-2.1.0"
sources."fastq-1.6.0"
sources."fill-range-7.0.1"
sources."finalhandler-1.1.1"
@@ -6084,7 +6179,7 @@ in
sources."fs.realpath-1.0.0"
sources."get-stream-5.1.0"
sources."getpass-0.1.7"
- sources."glob-7.1.5"
+ sources."glob-7.1.6"
sources."glob-parent-5.1.0"
sources."globby-10.0.1"
sources."graceful-fs-4.2.3"
@@ -6121,15 +6216,15 @@ in
sources."methods-1.1.2"
sources."micromatch-4.0.2"
sources."mime-1.4.1"
- sources."mime-db-1.40.0"
- sources."mime-types-2.1.24"
+ sources."mime-db-1.42.0"
+ sources."mime-types-2.1.25"
sources."mimic-fn-2.1.0"
sources."minimatch-3.0.4"
sources."minimist-1.2.0"
sources."ms-2.0.0"
sources."negotiator-0.6.2"
sources."node-watch-0.5.5"
- sources."npm-run-path-4.0.0"
+ sources."npm-run-path-4.0.1"
sources."oauth-sign-0.9.0"
sources."on-finished-2.3.0"
sources."once-1.4.0"
@@ -6141,15 +6236,15 @@ in
sources."p-finally-2.0.1"
sources."parseurl-1.3.3"
sources."path-is-absolute-1.0.1"
- sources."path-key-3.1.0"
+ sources."path-key-3.1.1"
sources."path-to-regexp-0.1.7"
sources."path-type-4.0.0"
sources."performance-now-2.1.0"
- sources."picomatch-2.1.0"
+ sources."picomatch-2.1.1"
sources."pjson-1.0.9"
sources."process-nextick-args-1.0.7"
sources."proxy-addr-2.0.5"
- sources."psl-1.4.0"
+ sources."psl-1.7.0"
sources."pump-3.0.0"
sources."punycode-2.1.1"
sources."qs-6.5.1"
@@ -6171,7 +6266,7 @@ in
})
sources."reusify-1.0.4"
sources."run-parallel-1.1.9"
- sources."rxjs-6.5.3"
+ sources."rxjs-6.5.4"
sources."safe-buffer-5.1.1"
sources."safer-buffer-2.1.2"
sources."send-0.16.2"
@@ -6217,10 +6312,10 @@ in
sources."vscode-languageserver-protocol-3.14.1"
sources."vscode-languageserver-types-3.14.0"
sources."vscode-uri-2.1.1"
- sources."web-tree-sitter-0.15.10"
- sources."which-2.0.1"
+ sources."web-tree-sitter-0.15.11"
+ sources."which-2.0.2"
sources."wrappy-1.0.2"
- sources."ws-7.2.0"
+ sources."ws-7.2.1"
sources."xtend-4.0.2"
];
buildInputs = globalBuildInputs;
diff --git a/nixpkgs/pkgs/development/compilers/eql/default.nix b/nixpkgs/pkgs/development/compilers/eql/default.nix
index cb960227beb..aac61912689 100644
--- a/nixpkgs/pkgs/development/compilers/eql/default.nix
+++ b/nixpkgs/pkgs/development/compilers/eql/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ ecl qt4 xorgserver xkbcomp xkeyboard_config ];
- NIX_CFLAGS_COMPILE = [ "-fPIC" ];
+ NIX_CFLAGS_COMPILE = "-fPIC";
postPatch = ''
sed -re 's@[(]in-home "gui/.command-history"[)]@(concatenate '"'"'string (ext:getenv "HOME") "/.eql-gui-command-history")@' -i gui/gui.lisp
diff --git a/nixpkgs/pkgs/development/compilers/fasm/bin.nix b/nixpkgs/pkgs/development/compilers/fasm/bin.nix
index 14610af10ae..135bae2daf4 100644
--- a/nixpkgs/pkgs/development/compilers/fasm/bin.nix
+++ b/nixpkgs/pkgs/development/compilers/fasm/bin.nix
@@ -3,11 +3,11 @@
stdenvNoCC.mkDerivation rec {
pname = "fasm-bin";
- version = "1.73.18";
+ version = "1.73.21";
src = fetchurl {
url = "https://flatassembler.net/fasm-${version}.tgz";
- sha256 = "0m88vi8ac9mlak430nyrg3nxsj0fzy3yli8kk0mqsw8rqw2pfvqb";
+ sha256 = "143zh7x3q0r2kclshh8n5w4i5pw4lh60si7rspvc725xxjpjkvcv";
};
installPhase = ''
diff --git a/nixpkgs/pkgs/development/compilers/fpc/default.nix b/nixpkgs/pkgs/development/compilers/fpc/default.nix
index a2b73f61c27..7bddafc6ff5 100644
--- a/nixpkgs/pkgs/development/compilers/fpc/default.nix
+++ b/nixpkgs/pkgs/development/compilers/fpc/default.nix
@@ -19,9 +19,9 @@ stdenv.mkDerivation rec {
sed -e "s@'/lib64/ld-linux[^']*'@'''@" -i fpcsrc/compiler/systems/t_linux.pas
'' else "";
- makeFlags = "NOGDB=1 FPC=${startFPC}/bin/fpc";
+ makeFlags = [ "NOGDB=1" "FPC=${startFPC}/bin/fpc" ];
- installFlags = "INSTALL_PREFIX=\${out}";
+ installFlags = [ "INSTALL_PREFIX=\${out}" ];
postInstall = ''
for i in $out/lib/fpc/*/ppc*; do
diff --git a/nixpkgs/pkgs/development/compilers/fstar/default.nix b/nixpkgs/pkgs/development/compilers/fstar/default.nix
index 9306eec817f..533140631a5 100644
--- a/nixpkgs/pkgs/development/compilers/fstar/default.nix
+++ b/nixpkgs/pkgs/development/compilers/fstar/default.nix
@@ -25,12 +25,12 @@ stdenv.mkDerivation rec {
patchShebangs src/tools
patchShebangs bin
'';
- buildFlags = "-C src/ocaml-output";
+ buildFlags = [ "-C" "src/ocaml-output" ];
preInstall = ''
mkdir -p $out/lib/ocaml/${ocamlPackages.ocaml.version}/site-lib/fstarlib
'';
- installFlags = "-C src/ocaml-output";
+ installFlags = [ "-C" "src/ocaml-output" ];
postInstall = ''
wrapProgram $out/bin/fstar.exe --prefix PATH ":" "${z3}/bin"
'';
diff --git a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/6/default.nix b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/6/default.nix
index 940dec0338c..f635fce972f 100644
--- a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/6/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/6/default.nix
@@ -1,22 +1,26 @@
-{ stdenv, fetchurl, ncurses5, python27 }:
+{ stdenv
+, fetchurl
+, ncurses5
+, python27
+}:
stdenv.mkDerivation rec {
pname = "gcc-arm-embedded";
version = "6-2017-q2-update";
subdir = "6-2017q2";
- src =
- if stdenv.isLinux then
- fetchurl {
- url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
- sha256="1hvwi02mx34al525sngnl0cm7dkmzxfkb1brq9kvbv28wcplp3p6";
- }
- else if stdenv.isDarwin then
- fetchurl {
- url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
- sha256="0019ylpq4inq7p5gydpmc9m8ni72fz2csrjlqmgx1698998q0c3x";
- }
- else throw "unsupported platform";
+ suffix = {
+ x86_64-darwin = "mac";
+ x86_64-linux = "linux";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+
+ src = fetchurl {
+ url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-${suffix}.tar.bz2";
+ sha256 = {
+ x86_64-darwin = "0019ylpq4inq7p5gydpmc9m8ni72fz2csrjlqmgx1698998q0c3x";
+ x86_64-linux = "1hvwi02mx34al525sngnl0cm7dkmzxfkb1brq9kvbv28wcplp3p6";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+ };
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
@@ -37,11 +41,11 @@ stdenv.mkDerivation rec {
done
'';
- meta = {
- description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4/M7, Cortex-R4/R5/R7/R8)";
- homepage = https://developer.arm.com/open-source/gnu-toolchain/gnu-rm;
- license = with stdenv.lib.licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
- maintainers = with stdenv.lib.maintainers; [ vinymeuh ];
- platforms = with stdenv.lib.platforms; linux ++ darwin;
+ meta = with stdenv.lib; {
+ description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors";
+ homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
+ license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
+ maintainers = with maintainers; [ prusnak ];
+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/7/default.nix b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/7/default.nix
index 90f9d5957bb..4944038fde4 100644
--- a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/7/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/7/default.nix
@@ -1,24 +1,26 @@
-{ stdenv, lib, fetchurl, ncurses5, python27 }:
-
-with lib;
+{ stdenv
+, fetchurl
+, ncurses5
+, python27
+}:
stdenv.mkDerivation rec {
pname = "gcc-arm-embedded";
version = "7-2018-q2-update";
subdir = "7-2018q2";
- src =
- if stdenv.isLinux then
- fetchurl {
- url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
- sha256="0sgysp3hfpgrkcbfiwkp0a7ymqs02khfbrjabm52b5z61sgi05xv";
- }
- else if stdenv.isDarwin then
- fetchurl {
- url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
- sha256="0nc7m0mpa39qyhfyydxkkyqm7spfc27xf6ygi2vd2aym4r9azi61";
- }
- else throw "unsupported platform";
+ suffix = {
+ x86_64-darwin = "mac";
+ x86_64-linux = "linux";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+
+ src = fetchurl {
+ url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-${suffix}.tar.bz2";
+ sha256 = {
+ x86_64-darwin = "0nc7m0mpa39qyhfyydxkkyqm7spfc27xf6ygi2vd2aym4r9azi61";
+ x86_64-linux = "0sgysp3hfpgrkcbfiwkp0a7ymqs02khfbrjabm52b5z61sgi05xv";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+ };
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
@@ -39,11 +41,11 @@ stdenv.mkDerivation rec {
done
'';
- meta = {
- description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4/M7, Cortex-R4/R5/R7/R8)";
- homepage = https://developer.arm.com/open-source/gnu-toolchain/gnu-rm;
+ meta = with stdenv.lib; {
+ description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors";
+ homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
maintainers = with maintainers; [ prusnak ];
- platforms = platforms.linux;
+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/8/default.nix b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/8/default.nix
index b2815cc7184..510889dad62 100644
--- a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/8/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/8/default.nix
@@ -1,24 +1,26 @@
-{ stdenv, lib, fetchurl, ncurses5, python27 }:
-
-with lib;
+{ stdenv
+, fetchurl
+, ncurses5
+, python27
+}:
stdenv.mkDerivation rec {
pname = "gcc-arm-embedded";
version = "8-2019-q3-update";
subdir = "8-2019q3/RC1.1";
- src =
- if stdenv.isLinux then
- fetchurl {
- url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
- sha256="b50b02b0a16e5aad8620e9d7c31110ef285c1dde28980b1a9448b764d77d8f92";
- }
- else if stdenv.isDarwin then
- fetchurl {
- url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
- sha256="fc235ce853bf3bceba46eff4b95764c5935ca07fc4998762ef5e5b7d05f37085";
- }
- else throw "unsupported platform";
+ suffix = {
+ x86_64-darwin = "mac";
+ x86_64-linux = "linux";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+
+ src = fetchurl {
+ url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-${suffix}.tar.bz2";
+ sha256 = {
+ x86_64-darwin = "fc235ce853bf3bceba46eff4b95764c5935ca07fc4998762ef5e5b7d05f37085";
+ x86_64-linux = "b50b02b0a16e5aad8620e9d7c31110ef285c1dde28980b1a9448b764d77d8f92";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+ };
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
@@ -39,11 +41,11 @@ stdenv.mkDerivation rec {
done
'';
- meta = {
- description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4/M7, Cortex-R4/R5/R7/R8)";
- homepage = https://developer.arm.com/open-source/gnu-toolchain/gnu-rm;
+ meta = with stdenv.lib; {
+ description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors";
+ homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
maintainers = with maintainers; [ prusnak ];
- platforms = platforms.linux;
+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/9/default.nix b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/9/default.nix
new file mode 100644
index 00000000000..8ded47d6e37
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/9/default.nix
@@ -0,0 +1,53 @@
+{ stdenv
+, fetchurl
+, ncurses5
+, python27
+}:
+
+stdenv.mkDerivation rec {
+ pname = "gcc-arm-embedded";
+ version = "9-2019-q4-major";
+ subdir = "9-2019q4/RC2.1";
+
+ suffix = {
+ aarch64-linux = "aarch64-linux";
+ x86_64-darwin = "mac";
+ x86_64-linux = "x86_64-linux";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+
+ src = fetchurl {
+ url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-${suffix}.tar.bz2";
+ sha256 = {
+ aarch64-linux = "1f5b9309006737950b2218250e6bb392e2d68d4f1a764fe66be96e2a78888d83";
+ x86_64-darwin = "1249f860d4155d9c3ba8f30c19e7a88c5047923cea17e0d08e633f12408f01f0";
+ x86_64-linux = "bcd840f839d5bf49279638e9f67890b2ef3a7c9c7a9b25271e83ec4ff41d177a";
+ }.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
+ };
+
+ phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
+
+ installPhase = ''
+ mkdir -p $out
+ cp -r * $out
+ ln -s $out/share/doc/gcc-arm-none-eabi/man $out/man
+ '';
+
+ dontPatchELF = true;
+ dontStrip = true;
+
+ preFixup = ''
+ find $out -type f | while read f; do
+ patchelf $f > /dev/null 2>&1 || continue
+ patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true
+ patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python27 ]} "$f" || true
+ done
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors";
+ homepage = "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm";
+ license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
+ maintainers = with maintainers; [ prusnak ];
+ platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
+ };
+}
diff --git a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/default.nix b/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/default.nix
deleted file mode 100644
index b86b35525a6..00000000000
--- a/nixpkgs/pkgs/development/compilers/gcc-arm-embedded/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ stdenv, bzip2, patchelf, glibc, gcc, fetchurl, version, releaseType, sha256, ncurses
-, dirName ? null, subdirName ? null }:
-with stdenv.lib;
-let
- versionParts = splitString "-" version; # 4.7 2013q3 20130916
- majorVersion = elemAt versionParts 0; # 4.7
- yearQuarter = elemAt versionParts 1; # 2013q3
- underscoreVersion = replaceChars ["."] ["_"] version; # 4_7-2013q3-20130916
- yearQuarterParts = splitString "q" yearQuarter; # 2013 3
- year = elemAt yearQuarterParts 0; # 2013
- quarter = elemAt yearQuarterParts 1; # 3
- dirName_ = if dirName != null then dirName else majorVersion;
- subdirName_ = if subdirName != null then subdirName
- else "${majorVersion}-${year}-q${quarter}-${releaseType}"; # 4.7-2013-q3-update
-in
-stdenv.mkDerivation {
- pname = "gcc-arm-embedded";
- inherit version;
-
- src = fetchurl {
- url = "https://launchpad.net/gcc-arm-embedded/${dirName_}/${subdirName_}/+download/gcc-arm-none-eabi-${underscoreVersion}-linux.tar.bz2";
- sha256 = sha256;
- };
-
- nativeBuildInputs = [ bzip2 patchelf ];
-
- dontPatchELF = true;
-
- phases = "unpackPhase patchPhase installPhase";
-
- installPhase = ''
- mkdir -pv $out
- cp -r ./* $out
- ln -s $out/share/doc/gcc-arm-none-eabi/man $out/man
-
- for f in $(find $out); do
- if [ -f "$f" ] && patchelf "$f" 2> /dev/null; then
- patchelf --set-interpreter ${getLib glibc}/lib/ld-linux.so.2 \
- --set-rpath ${stdenv.lib.makeLibraryPath [ "$out" gcc ncurses ]} \
- "$f" || true
- fi
- done
- '';
-
- meta = with stdenv.lib; {
- description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4, Cortex-R4/R5/R7)";
- homepage = https://launchpad.net/gcc-arm-embedded;
- license = with licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
- maintainers = [ maintainers.rasendubi ];
- platforms = platforms.linux;
- };
-}
diff --git a/nixpkgs/pkgs/development/compilers/gcc/4.8/default.nix b/nixpkgs/pkgs/development/compilers/gcc/4.8/default.nix
index 4844ddaa1fb..ef697b74bbe 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/4.8/default.nix
@@ -111,7 +111,8 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
@@ -224,10 +225,7 @@ stdenv.mkDerivation ({
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/4.9/default.nix b/nixpkgs/pkgs/development/compilers/gcc/4.9/default.nix
index dde72fb615d..2f85fc4b7e8 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/4.9/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/4.9/default.nix
@@ -116,7 +116,8 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
@@ -230,10 +231,7 @@ stdenv.mkDerivation ({
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/5/default.nix b/nixpkgs/pkgs/development/compilers/gcc/5/default.nix
index cc3912c6aee..f68ddc81f81 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/5/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/5/default.nix
@@ -107,7 +107,8 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
@@ -241,10 +242,7 @@ stdenv.mkDerivation ({
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/6/default.nix b/nixpkgs/pkgs/development/compilers/gcc/6/default.nix
index fa69a2818c7..b1a981cfdf7 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/6/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/6/default.nix
@@ -104,7 +104,8 @@ in
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
@@ -249,10 +250,7 @@ stdenv.mkDerivation ({
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/7/default.nix b/nixpkgs/pkgs/development/compilers/gcc/7/default.nix
index d860cf64a38..22d772cff6d 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/7/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/7/default.nix
@@ -43,7 +43,7 @@ with stdenv.lib;
with builtins;
let majorVersion = "7";
- version = "${majorVersion}.4.0";
+ version = "${majorVersion}.5.0";
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
@@ -78,13 +78,14 @@ let majorVersion = "7";
in
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
src = fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
- sha256 = "0lgy170b0pp60j9cczqkmaqyjjb584vfamj4c30swd7k0j6y5pgd";
+ sha256 = "0qg6kqc5l72hpnj4vr6l0p69qav0rh4anlkk3y55540zy3klc6dq";
};
inherit patches;
@@ -220,10 +221,7 @@ stdenv.mkDerivation ({
doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/8/default.nix b/nixpkgs/pkgs/development/compilers/gcc/8/default.nix
index e6a9a6aa92c..c6b785f84a4 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/8/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/8/default.nix
@@ -70,7 +70,8 @@ let majorVersion = "8";
in
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
@@ -207,10 +208,7 @@ stdenv.mkDerivation ({
dontStrip = !stripped;
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/9/default.nix b/nixpkgs/pkgs/development/compilers/gcc/9/default.nix
index cece94e1b73..7ff8d7529ca 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/9/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/9/default.nix
@@ -69,7 +69,8 @@ let majorVersion = "9";
in
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
@@ -206,10 +207,7 @@ stdenv.mkDerivation ({
dontStrip = !stripped;
- installTargets =
- if stripped
- then "install-strip"
- else "install";
+ installTargets = optional stripped "install-strip";
# https://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
diff --git a/nixpkgs/pkgs/development/compilers/gcc/common/configure-flags.nix b/nixpkgs/pkgs/development/compilers/gcc/common/configure-flags.nix
index 3b96f432e96..aa0fcb50628 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/common/configure-flags.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/common/configure-flags.nix
@@ -153,7 +153,7 @@ let
++ lib.optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}"
++ (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; })
- ++ lib.optional (targetPlatform != hostPlatform) crossConfigureFlags
+ ++ lib.optionals (targetPlatform != hostPlatform) crossConfigureFlags
++ lib.optional (targetPlatform != hostPlatform) "--disable-bootstrap"
# Platform-specific flags
diff --git a/nixpkgs/pkgs/development/compilers/gcc/snapshot/default.nix b/nixpkgs/pkgs/development/compilers/gcc/snapshot/default.nix
index ce76fd184f0..0441296ef17 100644
--- a/nixpkgs/pkgs/development/compilers/gcc/snapshot/default.nix
+++ b/nixpkgs/pkgs/development/compilers/gcc/snapshot/default.nix
@@ -66,7 +66,8 @@ let majorVersion = "7";
in
stdenv.mkDerivation ({
- name = "${crossNameAddon}${name}${if stripped then "" else "-debug"}-${version}";
+ pname = "${crossNameAddon}${name}${if stripped then "" else "-debug"}";
+ inherit version;
builder = ../builder.sh;
diff --git a/nixpkgs/pkgs/development/compilers/gerbil/build.nix b/nixpkgs/pkgs/development/compilers/gerbil/build.nix
index b5ccbca6f7e..e2ab0976482 100644
--- a/nixpkgs/pkgs/development/compilers/gerbil/build.nix
+++ b/nixpkgs/pkgs/development/compilers/gerbil/build.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
buildInputs = [ gambit rsync bash ]
++ buildInputs_libraries ++ buildInputs_staticLibraries;
- NIX_CFLAGS_COMPILE = [ "-I${libmysqlclient}/include/mysql" "-L${libmysqlclient}/lib/mysql" ];
+ NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql";
postPatch = ''
echo '(define (gerbil-version-string) "v${git-version}")' > src/gerbil/runtime/gx-version.scm
diff --git a/nixpkgs/pkgs/development/compilers/ghc/8.10.1.nix b/nixpkgs/pkgs/development/compilers/ghc/8.10.1.nix
new file mode 100644
index 00000000000..25226d4d0e6
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/ghc/8.10.1.nix
@@ -0,0 +1,232 @@
+{ stdenv, pkgsBuildTarget, targetPackages
+
+# build-tools
+, bootPkgs
+, autoconf, automake, coreutils, fetchurl, perl, python3, m4, sphinx
+, bash
+
+, libiconv ? null, ncurses
+
+, # GHC can be built with system libffi or a bundled one.
+ libffi ? null
+
+, useLLVM ? !stdenv.targetPlatform.isx86
+, # LLVM is conceptually a run-time-only depedendency, but for
+ # non-x86, we need LLVM to bootstrap later stages, so it becomes a
+ # build-time dependency too.
+ buildLlvmPackages, llvmPackages
+
+, # If enabled, GHC will be built with the GPL-free but slower integer-simple
+ # library instead of the faster but GPLed integer-gmp library.
+ enableIntegerSimple ? !(stdenv.lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) gmp.meta.platforms), gmp
+
+, # If enabled, use -fPIC when compiling static libs.
+ enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform
+
+, # Whether to build dynamic libs for the standard library (on the target
+ # platform). Static libs are always built.
+ enableShared ? !stdenv.targetPlatform.isWindows && !stdenv.targetPlatform.useiOSPrebuilt
+
+, # Whetherto build terminfo.
+ enableTerminfo ? !stdenv.targetPlatform.isWindows
+
+, # What flavour to build. An empty string indicates no
+ # specific flavour and falls back to ghc default values.
+ ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
+ (if useLLVM then "perf-cross" else "perf-cross-ncg")
+
+, # Whether to disable the large address space allocator
+ # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
+ disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
+}:
+
+assert !enableIntegerSimple -> gmp != null;
+
+let
+ inherit (stdenv) buildPlatform hostPlatform targetPlatform;
+
+ inherit (bootPkgs) ghc;
+
+ # TODO(@Ericson2314) Make unconditional
+ targetPrefix = stdenv.lib.optionalString
+ (targetPlatform != hostPlatform)
+ "${targetPlatform.config}-";
+
+ buildMK = ''
+ BuildFlavour = ${ghcFlavour}
+ ifneq \"\$(BuildFlavour)\" \"\"
+ include mk/flavours/\$(BuildFlavour).mk
+ endif
+ DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
+ INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
+ '' + stdenv.lib.optionalString (targetPlatform != hostPlatform) ''
+ Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
+ CrossCompilePrefix = ${targetPrefix}
+ HADDOCK_DOCS = NO
+ BUILD_SPHINX_HTML = NO
+ BUILD_SPHINX_PDF = NO
+ '' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
+ GhcLibHcOpts += -fPIC
+ GhcRtsHcOpts += -fPIC
+ '' + stdenv.lib.optionalString targetPlatform.useAndroidPrebuilt ''
+ EXTRA_CC_OPTS += -std=gnu99
+ '';
+
+ # Splicer will pull out correct variations
+ libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
+ ++ [libffi]
+ ++ stdenv.lib.optional (!enableIntegerSimple) gmp
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+
+ toolsForTarget = [
+ pkgsBuildTarget.targetPackages.stdenv.cc
+ ] ++ stdenv.lib.optional useLLVM buildLlvmPackages.llvm;
+
+ targetCC = builtins.head toolsForTarget;
+
+in
+stdenv.mkDerivation (rec {
+ version = "8.10.0.20191210";
+ name = "${targetPrefix}ghc-${version}";
+
+ src = fetchurl {
+ url = "https://downloads.haskell.org/ghc/8.10.1-alpha2/ghc-${version}-src.tar.xz";
+ sha256 = "1mmv8s9cs41kp7wh1qqnzin5wv32cvs3lmzgda7njz0ssqb0mmvj";
+ };
+
+ enableParallelBuilding = true;
+
+ outputs = [ "out" "doc" ];
+
+ postPatch = "patchShebangs .";
+
+ # GHC is a bit confused on its cross terminology.
+ preConfigure = ''
+ for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
+ export "''${env#TARGET_}=''${!env}"
+ done
+ # GHC is a bit confused on its cross terminology, as these would normally be
+ # the *host* tools.
+ export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
+ export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
+ # Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString (targetPlatform.isLinux && !(targetPlatform.useLLVM or false)) ".gold"}"
+ export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
+ export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
+ export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
+ export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib"
+ export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
+ export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
+
+ echo -n "${buildMK}" > mk/build.mk
+ sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
+ '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
+ export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ export NIX_LDFLAGS+=" -no_dtrace_dof"
+ '' + stdenv.lib.optionalString targetPlatform.useAndroidPrebuilt ''
+ sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets
+ '' + stdenv.lib.optionalString targetPlatform.isMusl ''
+ echo "patching llvm-targets for musl targets..."
+ echo "Cloning these existing '*-linux-gnu*' targets:"
+ grep linux-gnu llvm-targets | sed 's/^/ /'
+ echo "(go go gadget sed)"
+ sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets
+ echo "llvm-targets now contains these '*-linux-musl*' targets:"
+ grep linux-musl llvm-targets | sed 's/^/ /'
+
+ echo "And now patching to preserve '-musleabi' as done with '-gnueabi'"
+ # (aclocal.m4 is actual source, but patch configure as well since we don't re-gen)
+ for x in configure aclocal.m4; do
+ substituteInPlace $x \
+ --replace '*-android*|*-gnueabi*)' \
+ '*-android*|*-gnueabi*|*-musleabi*)'
+ done
+ '';
+
+ # TODO(@Ericson2314): Always pass "--target" and always prefix.
+ configurePlatforms = [ "build" "host" ]
+ ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
+ # `--with` flags for libraries needed for RTS linker
+ configureFlags = [
+ "--datadir=$doc/share/doc/ghc"
+ "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
+ ] ++ stdenv.lib.optionals (libffi != null) ["--with-system-libffi" "--with-ffi-includes=${targetPackages.libffi.dev}/include" "--with-ffi-libraries=${targetPackages.libffi.out}/lib"
+ ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [
+ "--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
+ ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
+ "--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
+ ] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
+ "--enable-bootstrap-with-devel-snapshot"
+ ] ++ stdenv.lib.optionals (targetPlatform.isAarch32) [
+ "CFLAGS=-fuse-ld=gold"
+ "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold"
+ "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
+ ] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
+ "--disable-large-address-space"
+ ];
+
+ # Make sure we never relax`$PATH` and hooks support for compatability.
+ strictDeps = true;
+
+ # Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
+ dontAddExtraLibs = true;
+
+ nativeBuildInputs = [
+ perl autoconf automake m4 python3 sphinx
+ ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
+ ];
+
+ # For building runtime libs
+ depsBuildTarget = toolsForTarget;
+
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
+
+ propagatedBuildInputs = [ targetPackages.stdenv.cc ]
+ ++ stdenv.lib.optional useLLVM llvmPackages.llvm;
+
+ depsTargetTarget = map stdenv.lib.getDev (libDeps targetPlatform);
+ depsTargetTargetPropagated = map (stdenv.lib.getOutput "out") (libDeps targetPlatform);
+
+ # required, because otherwise all symbols from HSffi.o are stripped, and
+ # that in turn causes GHCi to abort
+ stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
+
+ checkTarget = "test";
+
+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
+
+ postInstall = ''
+ # Install the bash completion file.
+ install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
+
+ # Patch scripts to include "readelf" and "cat" in $PATH.
+ for i in "$out/bin/"*; do
+ test ! -h $i || continue
+ egrep --quiet '^#!' <(head -n 1 $i) || continue
+ sed -i -e '2i export PATH="$PATH:${stdenv.lib.makeBinPath [ targetPackages.stdenv.cc.bintools coreutils ]}"' $i
+ done
+ '';
+
+ passthru = {
+ inherit bootPkgs targetPrefix;
+
+ inherit llvmPackages;
+ inherit enableShared;
+
+ # Our Cabal compiler name
+ haskellCompilerName = "ghc-${version}";
+ };
+
+ meta = {
+ homepage = http://haskell.org/ghc;
+ description = "The Glasgow Haskell Compiler";
+ maintainers = with stdenv.lib.maintainers; [ marcweber andres peti ];
+ inherit (ghc.meta) license platforms;
+ };
+
+} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
+ dontStrip = true;
+ dontPatchELF = true;
+ noAuditTmpdir = true;
+})
diff --git a/nixpkgs/pkgs/development/compilers/ghc/8.4.4.nix b/nixpkgs/pkgs/development/compilers/ghc/8.4.4.nix
index 52fb926cdc6..f79200d1199 100644
--- a/nixpkgs/pkgs/development/compilers/ghc/8.4.4.nix
+++ b/nixpkgs/pkgs/development/compilers/ghc/8.4.4.nix
@@ -69,7 +69,7 @@ let
'';
# Splicer will pull out correct variations
- libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
+ libDeps = platform: stdenv.lib.optional enableTerminfo ncurses
++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
@@ -126,7 +126,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString (targetPlatform.isLinux && !(targetPlatform.useLLVM or false)) ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -167,9 +167,9 @@ stdenv.mkDerivation (rec {
configureFlags = [
"--datadir=$doc/share/doc/ghc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && !enableIntegerSimple) [
"--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
"--enable-bootstrap-with-devel-snapshot"
diff --git a/nixpkgs/pkgs/development/compilers/ghc/8.6.5.nix b/nixpkgs/pkgs/development/compilers/ghc/8.6.5.nix
index cdbcb8e1aed..0b565d3705d 100644
--- a/nixpkgs/pkgs/development/compilers/ghc/8.6.5.nix
+++ b/nixpkgs/pkgs/development/compilers/ghc/8.6.5.nix
@@ -73,7 +73,7 @@ let
'';
# Splicer will pull out correct variations
- libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
+ libDeps = platform: stdenv.lib.optional enableTerminfo ncurses
++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
@@ -125,7 +125,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString (targetPlatform.isLinux && !(targetPlatform.useLLVM or false)) ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -167,9 +167,9 @@ stdenv.mkDerivation (rec {
"--datadir=$doc/share/doc/ghc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
] ++ stdenv.lib.optionals (libffi != null) ["--with-system-libffi" "--with-ffi-includes=${targetPackages.libffi.dev}/include" "--with-ffi-libraries=${targetPackages.libffi.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && !enableIntegerSimple) [
"--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
"--enable-bootstrap-with-devel-snapshot"
diff --git a/nixpkgs/pkgs/development/compilers/ghc/8.8.1.nix b/nixpkgs/pkgs/development/compilers/ghc/8.8.1.nix
index 95bbab3cb3e..9197b80224e 100644
--- a/nixpkgs/pkgs/development/compilers/ghc/8.8.1.nix
+++ b/nixpkgs/pkgs/development/compilers/ghc/8.8.1.nix
@@ -73,7 +73,7 @@ let
'';
# Splicer will pull out correct variations
- libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
+ libDeps = platform: stdenv.lib.optional enableTerminfo ncurses
++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
@@ -110,7 +110,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString (targetPlatform.isLinux && !(targetPlatform.useLLVM or false)) ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -152,9 +152,9 @@ stdenv.mkDerivation (rec {
"--datadir=$doc/share/doc/ghc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
] ++ stdenv.lib.optionals (libffi != null) ["--with-system-libffi" "--with-ffi-includes=${targetPackages.libffi.dev}/include" "--with-ffi-libraries=${targetPackages.libffi.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && !enableIntegerSimple) [
"--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
"--enable-bootstrap-with-devel-snapshot"
diff --git a/nixpkgs/pkgs/development/compilers/ghc/8.8.2.nix b/nixpkgs/pkgs/development/compilers/ghc/8.8.2.nix
new file mode 100644
index 00000000000..4ed99a8402a
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/ghc/8.8.2.nix
@@ -0,0 +1,232 @@
+{ stdenv, pkgsBuildTarget, targetPackages
+
+# build-tools
+, bootPkgs
+, autoconf, automake, coreutils, fetchurl, perl, python3, m4, sphinx
+, bash
+
+, libiconv ? null, ncurses
+
+, # GHC can be built with system libffi or a bundled one.
+ libffi ? null
+
+, useLLVM ? !stdenv.targetPlatform.isx86
+, # LLVM is conceptually a run-time-only depedendency, but for
+ # non-x86, we need LLVM to bootstrap later stages, so it becomes a
+ # build-time dependency too.
+ buildLlvmPackages, llvmPackages
+
+, # If enabled, GHC will be built with the GPL-free but slower integer-simple
+ # library instead of the faster but GPLed integer-gmp library.
+ enableIntegerSimple ? !(stdenv.lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) gmp.meta.platforms), gmp
+
+, # If enabled, use -fPIC when compiling static libs.
+ enableRelocatedStaticLibs ? stdenv.targetPlatform != stdenv.hostPlatform
+
+, # Whether to build dynamic libs for the standard library (on the target
+ # platform). Static libs are always built.
+ enableShared ? !stdenv.targetPlatform.isWindows && !stdenv.targetPlatform.useiOSPrebuilt
+
+, # Whetherto build terminfo.
+ enableTerminfo ? !stdenv.targetPlatform.isWindows
+
+, # What flavour to build. An empty string indicates no
+ # specific flavour and falls back to ghc default values.
+ ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
+ (if useLLVM then "perf-cross" else "perf-cross-ncg")
+
+, # Whether to disable the large address space allocator
+ # necessary fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
+ disableLargeAddressSpace ? stdenv.targetPlatform.isDarwin && stdenv.targetPlatform.isAarch64
+}:
+
+assert !enableIntegerSimple -> gmp != null;
+
+let
+ inherit (stdenv) buildPlatform hostPlatform targetPlatform;
+
+ inherit (bootPkgs) ghc;
+
+ # TODO(@Ericson2314) Make unconditional
+ targetPrefix = stdenv.lib.optionalString
+ (targetPlatform != hostPlatform)
+ "${targetPlatform.config}-";
+
+ buildMK = ''
+ BuildFlavour = ${ghcFlavour}
+ ifneq \"\$(BuildFlavour)\" \"\"
+ include mk/flavours/\$(BuildFlavour).mk
+ endif
+ DYNAMIC_GHC_PROGRAMS = ${if enableShared then "YES" else "NO"}
+ INTEGER_LIBRARY = ${if enableIntegerSimple then "integer-simple" else "integer-gmp"}
+ '' + stdenv.lib.optionalString (targetPlatform != hostPlatform) ''
+ Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
+ CrossCompilePrefix = ${targetPrefix}
+ HADDOCK_DOCS = NO
+ BUILD_SPHINX_HTML = NO
+ BUILD_SPHINX_PDF = NO
+ '' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
+ GhcLibHcOpts += -fPIC
+ GhcRtsHcOpts += -fPIC
+ '' + stdenv.lib.optionalString targetPlatform.useAndroidPrebuilt ''
+ EXTRA_CC_OPTS += -std=gnu99
+ '';
+
+ # Splicer will pull out correct variations
+ libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
+ ++ [libffi]
+ ++ stdenv.lib.optional (!enableIntegerSimple) gmp
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+
+ toolsForTarget = [
+ pkgsBuildTarget.targetPackages.stdenv.cc
+ ] ++ stdenv.lib.optional useLLVM buildLlvmPackages.llvm;
+
+ targetCC = builtins.head toolsForTarget;
+
+in
+stdenv.mkDerivation (rec {
+ version = "8.8.1.20191211";
+ name = "${targetPrefix}ghc-${version}";
+
+ src = fetchurl {
+ url = "https://downloads.haskell.org/ghc/8.8.2-rc1/ghc-${version}-src.tar.xz";
+ sha256 = "1gl4fzakjbhd94v1saxmr9sfzgk22m1b95jq51rxm93b2g4cixl4";
+ };
+
+ enableParallelBuilding = true;
+
+ outputs = [ "out" "doc" ];
+
+ postPatch = "patchShebangs .";
+
+ # GHC is a bit confused on its cross terminology.
+ preConfigure = ''
+ for env in $(env | grep '^TARGET_' | sed -E 's|\+?=.*||'); do
+ export "''${env#TARGET_}=''${!env}"
+ done
+ # GHC is a bit confused on its cross terminology, as these would normally be
+ # the *host* tools.
+ export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
+ export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
+ # Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString (targetPlatform.isLinux && !(targetPlatform.useLLVM or false)) ".gold"}"
+ export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
+ export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
+ export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
+ export RANLIB="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ranlib"
+ export READELF="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}readelf"
+ export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
+
+ echo -n "${buildMK}" > mk/build.mk
+ sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
+ '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
+ export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ export NIX_LDFLAGS+=" -no_dtrace_dof"
+ '' + stdenv.lib.optionalString targetPlatform.useAndroidPrebuilt ''
+ sed -i -e '5i ,("armv7a-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "cortex-a8", ""))' llvm-targets
+ '' + stdenv.lib.optionalString targetPlatform.isMusl ''
+ echo "patching llvm-targets for musl targets..."
+ echo "Cloning these existing '*-linux-gnu*' targets:"
+ grep linux-gnu llvm-targets | sed 's/^/ /'
+ echo "(go go gadget sed)"
+ sed -i 's,\(^.*linux-\)gnu\(.*\)$,\0\n\1musl\2,' llvm-targets
+ echo "llvm-targets now contains these '*-linux-musl*' targets:"
+ grep linux-musl llvm-targets | sed 's/^/ /'
+
+ echo "And now patching to preserve '-musleabi' as done with '-gnueabi'"
+ # (aclocal.m4 is actual source, but patch configure as well since we don't re-gen)
+ for x in configure aclocal.m4; do
+ substituteInPlace $x \
+ --replace '*-android*|*-gnueabi*)' \
+ '*-android*|*-gnueabi*|*-musleabi*)'
+ done
+ '';
+
+ # TODO(@Ericson2314): Always pass "--target" and always prefix.
+ configurePlatforms = [ "build" "host" ]
+ ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
+ # `--with` flags for libraries needed for RTS linker
+ configureFlags = [
+ "--datadir=$doc/share/doc/ghc"
+ "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
+ ] ++ stdenv.lib.optionals (libffi != null) ["--with-system-libffi" "--with-ffi-includes=${targetPackages.libffi.dev}/include" "--with-ffi-libraries=${targetPackages.libffi.out}/lib"
+ ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [
+ "--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
+ ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
+ "--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
+ ] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
+ "--enable-bootstrap-with-devel-snapshot"
+ ] ++ stdenv.lib.optionals (targetPlatform.isAarch32) [
+ "CFLAGS=-fuse-ld=gold"
+ "CONF_GCC_LINKER_OPTS_STAGE1=-fuse-ld=gold"
+ "CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
+ ] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
+ "--disable-large-address-space"
+ ];
+
+ # Make sure we never relax`$PATH` and hooks support for compatability.
+ strictDeps = true;
+
+ # Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
+ dontAddExtraLibs = true;
+
+ nativeBuildInputs = [
+ perl autoconf automake m4 python3 sphinx
+ ghc bootPkgs.alex bootPkgs.happy bootPkgs.hscolour
+ ];
+
+ # For building runtime libs
+ depsBuildTarget = toolsForTarget;
+
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
+
+ propagatedBuildInputs = [ targetPackages.stdenv.cc ]
+ ++ stdenv.lib.optional useLLVM llvmPackages.llvm;
+
+ depsTargetTarget = map stdenv.lib.getDev (libDeps targetPlatform);
+ depsTargetTargetPropagated = map (stdenv.lib.getOutput "out") (libDeps targetPlatform);
+
+ # required, because otherwise all symbols from HSffi.o are stripped, and
+ # that in turn causes GHCi to abort
+ stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
+
+ checkTarget = "test";
+
+ hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
+
+ postInstall = ''
+ # Install the bash completion file.
+ install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc
+
+ # Patch scripts to include "readelf" and "cat" in $PATH.
+ for i in "$out/bin/"*; do
+ test ! -h $i || continue
+ egrep --quiet '^#!' <(head -n 1 $i) || continue
+ sed -i -e '2i export PATH="$PATH:${stdenv.lib.makeBinPath [ targetPackages.stdenv.cc.bintools coreutils ]}"' $i
+ done
+ '';
+
+ passthru = {
+ inherit bootPkgs targetPrefix;
+
+ inherit llvmPackages;
+ inherit enableShared;
+
+ # Our Cabal compiler name
+ haskellCompilerName = "ghc-${version}";
+ };
+
+ meta = {
+ homepage = http://haskell.org/ghc;
+ description = "The Glasgow Haskell Compiler";
+ maintainers = with stdenv.lib.maintainers; [ marcweber andres peti ];
+ inherit (ghc.meta) license platforms;
+ };
+
+} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
+ dontStrip = true;
+ dontPatchELF = true;
+ noAuditTmpdir = true;
+})
diff --git a/nixpkgs/pkgs/development/compilers/ghc/head.nix b/nixpkgs/pkgs/development/compilers/ghc/head.nix
index 0e73f81fbab..415f6c74ad5 100644
--- a/nixpkgs/pkgs/development/compilers/ghc/head.nix
+++ b/nixpkgs/pkgs/development/compilers/ghc/head.nix
@@ -74,7 +74,7 @@ let
'';
# Splicer will pull out correct variations
- libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
+ libDeps = platform: stdenv.lib.optional enableTerminfo ncurses
++ stdenv.lib.optional (!enableIntegerSimple) gmp
++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
++ stdenv.lib.optional enableDwarf elfutils;
@@ -117,7 +117,7 @@ stdenv.mkDerivation (rec {
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
# and more generally have a faster linker.
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString (targetPlatform.isLinux && !(targetPlatform.useLLVM or false)) ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -161,9 +161,9 @@ stdenv.mkDerivation (rec {
configureFlags = [
"--datadir=$doc/share/doc/ghc"
"--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && !enableIntegerSimple) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && !enableIntegerSimple) [
"--with-gmp-includes=${targetPackages.gmp.dev}/include" "--with-gmp-libraries=${targetPackages.gmp.out}/lib"
- ] ++ stdenv.lib.optional (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
+ ] ++ stdenv.lib.optionals (targetPlatform == hostPlatform && hostPlatform.libc != "glibc" && !targetPlatform.isWindows) [
"--with-iconv-includes=${libiconv}/include" "--with-iconv-libraries=${libiconv}/lib"
] ++ stdenv.lib.optionals (targetPlatform != hostPlatform) [
"--enable-bootstrap-with-devel-snapshot"
@@ -173,7 +173,7 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
- ] ++ stdenv.lib.optional enableDwarf [
+ ] ++ stdenv.lib.optionals enableDwarf [
"--enable-dwarf-unwind"
"--with-libdw-includes=${stdenv.lib.getDev elfutils}/include"
"--with-libdw-libraries=${stdenv.lib.getLib elfutils}/lib"
diff --git a/nixpkgs/pkgs/development/compilers/ghcjs-ng/default.nix b/nixpkgs/pkgs/development/compilers/ghcjs-ng/default.nix
index 747ea5cf77f..7b6fbc460a9 100644
--- a/nixpkgs/pkgs/development/compilers/ghcjs-ng/default.nix
+++ b/nixpkgs/pkgs/development/compilers/ghcjs-ng/default.nix
@@ -1,4 +1,5 @@
{ stdenv
+, pkgsHostHost
, callPackage
, fetchgit
, ghcjsSrcJson ? null
@@ -14,7 +15,6 @@
, pkgconfig
, gcc
, lib
-, nodePackages
, ghcjsDepOverrides ? (_:_:{})
, haskell
}:
@@ -46,7 +46,7 @@ let
enableShared = true;
- socket-io = nodePackages."socket.io";
+ socket-io = pkgsHostHost.nodePackages."socket.io";
# Relics of the old GHCJS build system
stage1Packages = [];
diff --git a/nixpkgs/pkgs/development/compilers/gleam/default.nix b/nixpkgs/pkgs/development/compilers/gleam/default.nix
new file mode 100644
index 00000000000..beef0ce03d9
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/gleam/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, rustPlatform, fetchFromGitHub, Security }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "gleam";
+ version = "0.6.0";
+
+ src = fetchFromGitHub {
+ owner = "gleam-lang";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1fvy2j6pw1rwm0rg7555q3qg2069cx2b9lk0nsyc3jxsqp9hbn6i";
+ };
+
+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+ cargoSha256 = "0zfdsnrnxplvi4f92l7sqdp5yk5p738ra64m41izlcilkwj1j3vp";
+
+ meta = with stdenv.lib; {
+ description = "A statically typed language for the Erlang VM";
+ homepage = "https://gleam.run/";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ filalex77 ];
+ };
+}
diff --git a/nixpkgs/pkgs/development/compilers/go-jsonnet/default.nix b/nixpkgs/pkgs/development/compilers/go-jsonnet/default.nix
index e051d41993c..94919090367 100644
--- a/nixpkgs/pkgs/development/compilers/go-jsonnet/default.nix
+++ b/nixpkgs/pkgs/development/compilers/go-jsonnet/default.nix
@@ -1,33 +1,24 @@
-{ lib, buildGoPackage, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "go-jsonnet";
- version = "0.13.0";
-
- goPackagePath = "github.com/google/go-jsonnet";
-
- # regenerate deps.nix using following steps:
- #
- # go get -u github.com/google/go-jsonnet
- # cd $GOPATH/src/github.com/google/go-jsonnet
- # git checkout <version>
- # dep init
- # dep2nix
- goDeps = ./deps.nix;
+ version = "0.14.0";
src = fetchFromGitHub {
- rev = "v${version}";
owner = "google";
repo = "go-jsonnet";
- sha256 = "0x95sqhrw4pscxq0q8781wix0w881k9my5kn5nf6k0fg1d6qlgiy";
- fetchSubmodules = true;
+ rev = "v${version}";
+ sha256 = "1q0mpydh8h0zrml605q9r259y8584kbwcr9g4sqcb1n13b4d1sgp";
};
- meta = {
+ modSha256 = "1b6hz5a66hhlzpcv1badxr1b4nmk4lw0507d5jks7lqzvvwd0sxq";
+
+ subPackages = [ "cmd/jsonnet" ];
+
+ meta = with lib; {
description = "An implementation of Jsonnet in pure Go";
- maintainers = with lib.maintainers; [ nshalman ];
- license = lib.licenses.asl20;
- homepage = https://github.com/google/go-jsonnet;
- platforms = lib.platforms.unix;
+ homepage = "https://github.com/google/go-jsonnet";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ nshalman ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/go-jsonnet/deps.nix b/nixpkgs/pkgs/development/compilers/go-jsonnet/deps.nix
deleted file mode 100644
index 1f413a16d81..00000000000
--- a/nixpkgs/pkgs/development/compilers/go-jsonnet/deps.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
-[
- {
- goPackagePath = "github.com/fatih/color";
- fetch = {
- type = "git";
- url = "https://github.com/fatih/color";
- rev = "5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4";
- sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-colorable";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-colorable";
- rev = "167de6bfdfba052fa6b2d3664c8f5272e23c9072";
- sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-isatty";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-isatty";
- rev = "1311e847b0cb909da63b5fecfb5370aa66236465";
- sha256 = "0rqfh1rj6f5wm8p2ky7inm8g10152p7w6n2cli17kf9gad797i8h";
- };
- }
- {
- goPackagePath = "github.com/sergi/go-diff";
- fetch = {
- type = "git";
- url = "https://github.com/sergi/go-diff";
- rev = "1744e2970ca51c86172c8190fadad617561ed6e7";
- sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
- };
- }
- {
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "4c4f7f33c9ed00de01c4c741d2177abfcfe19307";
- sha256 = "191001bxqyc3xfs46nnqmm7jdk0r73vk7a4zqngfl7zwjv9smwsq";
- };
- }
-] \ No newline at end of file
diff --git a/nixpkgs/pkgs/development/compilers/go/1.13.nix b/nixpkgs/pkgs/development/compilers/go/1.13.nix
index 9e8a6601724..6b7c99c0743 100644
--- a/nixpkgs/pkgs/development/compilers/go/1.13.nix
+++ b/nixpkgs/pkgs/development/compilers/go/1.13.nix
@@ -30,11 +30,11 @@ in
stdenv.mkDerivation rec {
pname = "go";
- version = "1.13.4";
+ version = "1.13.5";
src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
- sha256 = "093n5v0bipaan0qqc02wash18r625y74r4zhmjwlc9zf8asfmnwm";
+ sha256 = "1zr6lravlmyld57nnymkcr092pys4pr8qy0ans1rj3dkl3i5dlr7";
};
# perl is used for testing go vet
@@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
--replace '#!/usr/bin/env bash' '#!${runtimeShell}'
# Patch the mimetype database location which is missing on NixOS.
- substituteInPlace src/mime/type_unix.go \
- --replace '/etc/mime.types' '${mailcap}/etc/mime.types'
+ # but also allow static binaries built with NixOS to run outside nix
+ sed -i 's,\"/etc/mime.types,"${mailcap}/etc/mime.types\"\,\n\t&,' src/mime/type_unix.go
# Disabling the 'os/http/net' tests (they want files not available in
# chroot builds)
@@ -97,7 +97,10 @@ stdenv.mkDerivation rec {
rm src/net/cgo_unix_test.go
'' + optionalString stdenv.isLinux ''
- sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
+ # prepend the nix path to the zoneinfo files but also leave the original value for static binaries
+ # that run outside a nix server
+ sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
+
'' + optionalString stdenv.isAarch32 ''
echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash
'' + optionalString stdenv.isDarwin ''
diff --git a/nixpkgs/pkgs/development/compilers/go/1.4.nix b/nixpkgs/pkgs/development/compilers/go/1.4.nix
index 1052f1f1ae1..0dd852a1ef1 100644
--- a/nixpkgs/pkgs/development/compilers/go/1.4.nix
+++ b/nixpkgs/pkgs/development/compilers/go/1.4.nix
@@ -61,7 +61,9 @@ stdenv.mkDerivation rec {
sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
'' + lib.optionalString stdenv.isLinux ''
- sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
+ # prepend the nix path to the zoneinfo files but also leave the original value for static binaries
+ # that run outside a nix server
+ sed -i 's,\"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/\"\,\n\t&,' src/time/zoneinfo_unix.go
# Find the loader dynamically
LOADER="$(find ${lib.getLib libc}/lib -name ld-linux\* | head -n 1)"
diff --git a/nixpkgs/pkgs/development/compilers/graalvm/default.nix b/nixpkgs/pkgs/development/compilers/graalvm/default.nix
index 11a94ebcce5..ec81063e67e 100644
--- a/nixpkgs/pkgs/development/compilers/graalvm/default.nix
+++ b/nixpkgs/pkgs/development/compilers/graalvm/default.nix
@@ -1,10 +1,11 @@
-{ stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial, python27, setJavaClassPath,
+{ stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial_4, python27, setJavaClassPath,
zlib, makeWrapper, openjdk, unzip, git, clang, llvm, which, icu, ruby, bzip2, glibc
# gfortran, readline, bzip2, lzma, pcre, curl, ed, tree ## WIP: fastr deps
}:
let
version = "19.1.1";
+ mercurial = mercurial_4;
truffleMake = ./truffle.make;
makeMxGitCache = list: out: ''
mkdir ${out}
@@ -242,10 +243,7 @@ in rec {
'method->name_and_sig_as_C_string(), p2i(method->native_function()), p2i(entry)' || exit -1
'';
hardeningDisable = [ "fortify" ];
- NIX_CFLAGS_COMPILE = [
- "-Wno-error=format-overflow" # newly detected by gcc7
- "-Wno-error=nonnull"
- ];
+ NIX_CFLAGS_COMPILE = "-Wno-error=format-overflow -Wno-error=nonnull";
buildPhase = ''
export MX_ALT_OUTPUT_ROOT=$NIX_BUILD_TOP/mxbuild
export MX_CACHE_DIR=${makeMxCache jvmci8-mxcache}
diff --git a/nixpkgs/pkgs/development/compilers/hhvm/default.nix b/nixpkgs/pkgs/development/compilers/hhvm/default.nix
index 7066744bb54..08ba9e46814 100644
--- a/nixpkgs/pkgs/development/compilers/hhvm/default.nix
+++ b/nixpkgs/pkgs/development/compilers/hhvm/default.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
# the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
# (setting it to an absolute path causes include files to go to $out/$out/include,
# because the absolute path is interpreted with root at $out).
- cmakeFlags = "-DCMAKE_INSTALL_INCLUDEDIR=include";
+ cmakeFlags = [ "-DCMAKE_INSTALL_INCLUDEDIR=include" ];
prePatch = ''
substituteInPlace ./configure \
diff --git a/nixpkgs/pkgs/development/compilers/iasl/default.nix b/nixpkgs/pkgs/development/compilers/iasl/default.nix
index fccdf7a978d..e98d7cc27db 100644
--- a/nixpkgs/pkgs/development/compilers/iasl/default.nix
+++ b/nixpkgs/pkgs/development/compilers/iasl/default.nix
@@ -2,18 +2,16 @@
stdenv.mkDerivation rec {
pname = "iasl";
- version = "20190108";
+ version = "20191213";
src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
- sha256 = "0bqhr3ndchvfhxb31147z8gd81dysyz5dwkvmp56832d0js2564q";
+ sha256 = "1ip684is3dplf7snkn024vv6bg3dv5msx8v7pz6x9lrnk3gk0j9h";
};
- NIX_CFLAGS_COMPILE = [
- "-O3"
- ];
+ NIX_CFLAGS_COMPILE = "-O3";
- buildFlags = "iasl";
+ buildFlags = [ "iasl" ];
buildInputs = [ bison flex ];
diff --git a/nixpkgs/pkgs/development/compilers/intel-graphics-compiler/default.nix b/nixpkgs/pkgs/development/compilers/intel-graphics-compiler/default.nix
index 183e1f2a085..a365761b014 100644
--- a/nixpkgs/pkgs/development/compilers/intel-graphics-compiler/default.nix
+++ b/nixpkgs/pkgs/development/compilers/intel-graphics-compiler/default.nix
@@ -24,13 +24,13 @@ in
stdenv.mkDerivation rec {
pname = "intel-graphics-compiler";
- version = "1.0.2714.1";
+ version = "1.0.2878";
src = fetchFromGitHub {
owner = "intel";
repo = "intel-graphics-compiler";
rev = "igc-${version}";
- sha256 = "0ys03sv08fg8q06lb6k5088xirnwms4nzazxp3kbdjm973n7imxc";
+ sha256 = "0rgij1013fy2x2szfchy3z6390mjfqw3nz4zprcb5v2v6mpvcj4l";
};
nativeBuildInputs = [ clang cmake bison flex llvm python ];
diff --git a/nixpkgs/pkgs/development/compilers/kotlin/default.nix b/nixpkgs/pkgs/development/compilers/kotlin/default.nix
index a6384c449c8..6ad3f96bf59 100644
--- a/nixpkgs/pkgs/development/compilers/kotlin/default.nix
+++ b/nixpkgs/pkgs/development/compilers/kotlin/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, makeWrapper, jre, unzip }:
let
- version = "1.3.60";
+ version = "1.3.61";
in stdenv.mkDerivation {
inherit version;
pname = "kotlin";
src = fetchurl {
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
- sha256 = "1frgnirrl795m8xydngrbn73np5gwgs7wymr9j81d0gz4gzpry8j";
+ sha256 = "073vb402b03llscgr298iih5lc3y1dn1qxyid2i9hiyrsld1a09r";
};
propagatedBuildInputs = [ jre ] ;
diff --git a/nixpkgs/pkgs/development/compilers/ldc/default.nix b/nixpkgs/pkgs/development/compilers/ldc/default.nix
index 03e6fa82b9d..fff6435b29e 100644
--- a/nixpkgs/pkgs/development/compilers/ldc/default.nix
+++ b/nixpkgs/pkgs/development/compilers/ldc/default.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "fortify" ];
postUnpack = ''
- patchShebangs .
+ patchShebangs .
''
+ stdenv.lib.optionalString (!bootstrapVersion) ''
@@ -76,47 +76,31 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ cmake ninja makeWrapper unzip ]
-
- ++ stdenv.lib.optional (!bootstrapVersion) [
- bootstrapLdc python lit
- ]
-
- ++ stdenv.lib.optional (!bootstrapVersion && stdenv.hostPlatform.isDarwin) [
- # https://github.com/NixOS/nixpkgs/issues/57120
- # https://github.com/NixOS/nixpkgs/pull/59197#issuecomment-481972515
- llvm_5
- ]
-
- ++ stdenv.lib.optional (!bootstrapVersion && !stdenv.hostPlatform.isDarwin) [
- llvm_8
- ]
-
- ++ stdenv.lib.optional (!bootstrapVersion && !stdenv.hostPlatform.isDarwin) [
- # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
- gdb
- ]
-
- ++ stdenv.lib.optional (bootstrapVersion) [
- libconfig llvm_5
- ]
-
- ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
- Foundation
- ]);
+ ++ stdenv.lib.optionals (!bootstrapVersion) [
+ bootstrapLdc python lit
+ ]
+ ++ stdenv.lib.optional (!bootstrapVersion && stdenv.hostPlatform.isDarwin)
+ # https://github.com/NixOS/nixpkgs/issues/57120
+ # https://github.com/NixOS/nixpkgs/pull/59197#issuecomment-481972515
+ llvm_5
+ ++ stdenv.lib.optional (!bootstrapVersion && !stdenv.hostPlatform.isDarwin)
+ llvm_8
+ ++ stdenv.lib.optional (!bootstrapVersion && !stdenv.hostPlatform.isDarwin)
+ # https://github.com/NixOS/nixpkgs/pull/36378#issuecomment-385034818
+ gdb
+ ++ stdenv.lib.optionals (bootstrapVersion) [
+ libconfig llvm_5
+ ]
+ ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin
+ darwin.apple_sdk.frameworks.Foundation;
buildInputs = [ curl tzdata ];
- cmakeFlagsString = stdenv.lib.optionalString (!bootstrapVersion) ''
+ cmakeFlags = stdenv.lib.optionals (!bootstrapVersion) [
"-DD_FLAGS=-d-version=TZDatabaseDir;-d-version=LibcurlPath;-J$PWD"
"-DCMAKE_BUILD_TYPE=Release"
- '';
-
- preConfigure = stdenv.lib.optionalString (!bootstrapVersion) ''
- cmakeFlagsArray=(
- ${cmakeFlagsString}
- )
- '';
+ ];
postConfigure = ''
export DMD=$PWD/bin/ldmd2
@@ -124,7 +108,7 @@ stdenv.mkDerivation rec {
makeFlags = [ "DMD=$DMD" ];
- fixNames = if stdenv.hostPlatform.isDarwin then ''
+ fixNames = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
fixDarwinDylibNames() {
local flags=()
@@ -141,15 +125,11 @@ stdenv.mkDerivation rec {
fixDarwinDylibNames $(find "$(pwd)/lib" -name "*.dylib")
export DYLD_LIBRARY_PATH=$(pwd)/lib
- ''
- else
- "";
+ '';
# https://github.com/ldc-developers/ldc/issues/2497#issuecomment-459633746
- additionalExceptions = if stdenv.hostPlatform.isDarwin then
- "|druntime-test-shared"
- else
- "";
+ additionalExceptions = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin
+ "|druntime-test-shared";
doCheck = !bootstrapVersion;
diff --git a/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/0001-Fix-compilation-w-gcc9.patch b/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/0001-Fix-compilation-w-gcc9.patch
new file mode 100644
index 00000000000..1058cd03176
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/0001-Fix-compilation-w-gcc9.patch
@@ -0,0 +1,63 @@
+From 7225c7754cc3431d05df367c60f309f27586f188 Mon Sep 17 00:00:00 2001
+From: Maximilian Bosch <maximilian@mbosch.me>
+Date: Mon, 30 Dec 2019 01:42:52 +0100
+Subject: [PATCH] Fix compilation w/gcc9
+
+Build broken with the following errors:
+
+```
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp: In lambda function:
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6078:55: error: lambda parameter 'CGF' previously declared as a capture
+clang> 6078 | &NumOfPtrs](CodeGenFunction &CGF, PrePostActionTy &) {
+clang> | ~~~~~~~~~~~~~~~~~^~~
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp: In lambda function:
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6126:53: error: lambda parameter 'CGF' previously declared as a capture
+clang> 6126 | &NumOfPtrs](CodeGenFunction &CGF, PrePostActionTy &) {
+clang> | ~~~~~~~~~~~~~~~~~^~~
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp: In lambda function:
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6191:56: error: lambda parameter 'CGF' previously declared as a capture
+clang> 6191 | auto &&ThenGen = [&D, &CGF, Device](CodeGenFunction &CGF, PrePostActionTy &) {
+clang> | ~~~~~~~~~~~~~~~~~^~~
+```
+
+This was due to a bug about name-collisions fixed in GCC 9.0[1].
+
+[1] http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2211
+---
+ lib/CodeGen/CGOpenMPRuntime.cpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp
+index 6a0edbe..96c281c 100644
+--- a/lib/CodeGen/CGOpenMPRuntime.cpp
++++ b/lib/CodeGen/CGOpenMPRuntime.cpp
+@@ -6073,7 +6073,7 @@ void CGOpenMPRuntime::emitTargetDataCalls(CodeGenFunction &CGF,
+ // Generate the code for the opening of the data environment. Capture all the
+ // arguments of the runtime call by reference because they are used in the
+ // closing of the region.
+- auto &&BeginThenGen = [&D, &CGF, &BasePointersArray, &PointersArray,
++ auto &&BeginThenGen = [&D, &BasePointersArray, &PointersArray,
+ &SizesArray, &MapTypesArray, Device,
+ &NumOfPtrs](CodeGenFunction &CGF, PrePostActionTy &) {
+ // Fill up the arrays with all the mapped variables.
+@@ -6121,7 +6121,7 @@ void CGOpenMPRuntime::emitTargetDataCalls(CodeGenFunction &CGF,
+ };
+
+ // Generate code for the closing of the data region.
+- auto &&EndThenGen = [&CGF, &BasePointersArray, &PointersArray, &SizesArray,
++ auto &&EndThenGen = [&BasePointersArray, &PointersArray, &SizesArray,
+ &MapTypesArray, Device,
+ &NumOfPtrs](CodeGenFunction &CGF, PrePostActionTy &) {
+ assert(BasePointersArray && PointersArray && SizesArray && MapTypesArray &&
+@@ -6188,7 +6188,7 @@ void CGOpenMPRuntime::emitTargetDataStandAloneCall(
+ "Expecting either target enter, exit data, or update directives.");
+
+ // Generate the code for the opening of the data environment.
+- auto &&ThenGen = [&D, &CGF, Device](CodeGenFunction &CGF, PrePostActionTy &) {
++ auto &&ThenGen = [&D, Device](CodeGenFunction &CGF, PrePostActionTy &) {
+ // Fill up the arrays with all the mapped variables.
+ MappableExprsHandler::MapValuesArrayTy BasePointers;
+ MappableExprsHandler::MapValuesArrayTy Pointers;
+--
+2.23.1
+
diff --git a/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/default.nix
index 3d09277ad4c..1666b3d842d 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/3.9/clang/default.nix
@@ -27,7 +27,10 @@ let
(stdenv.lib.optional stdenv.isLinux "-DGCC_INSTALL_PREFIX=${gcc}") ++
(stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include");
- patches = [ ./purity.patch ];
+ patches = [
+ ./purity.patch
+ ./0001-Fix-compilation-w-gcc9.patch
+ ];
postPatch = ''
sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
diff --git a/nixpkgs/pkgs/development/compilers/llvm/4/clang/0001-Fix-compilation-w-gcc9.patch b/nixpkgs/pkgs/development/compilers/llvm/4/clang/0001-Fix-compilation-w-gcc9.patch
new file mode 100644
index 00000000000..ea934257408
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/llvm/4/clang/0001-Fix-compilation-w-gcc9.patch
@@ -0,0 +1,59 @@
+From a2af0b02eba35d0670e3e442ff7c61b3e2304edd Mon Sep 17 00:00:00 2001
+From: Maximilian Bosch <maximilian@mbosch.me>
+Date: Mon, 30 Dec 2019 02:11:35 +0100
+Subject: [PATCH] Fix compilation w/gcc9
+
+Build broken with the following errors:
+
+```
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp: In lambda function:
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6275:24: error: lambda parameter 'CGF' previously declared as a capture
+clang> 6275 | CodeGenFunction &CGF, PrePostActionTy &) {
+clang> | ~~~~~~~~~~~~~~~~~^~~
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp: In lambda function:
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6321:62: error: lambda parameter 'CGF' previously declared as a capture
+clang> 6321 | auto &&EndThenGen = [&CGF, Device, &Info](CodeGenFunction &CGF,
+clang> | ~~~~~~~~~~~~~~~~~^~~
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp: In lambda function:
+clang> /build/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6400:56: error: lambda parameter 'CGF' previously declared as a capture
+clang> 6400 | auto &&ThenGen = [&D, &CGF, Device](CodeGenFunction &CGF, PrePostActionTy &) {
+clang> | ~~~~~~~~~~~~~~~~~^~~
+```
+---
+ lib/CodeGen/CGOpenMPRuntime.cpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/lib/CodeGen/CGOpenMPRuntime.cpp b/lib/CodeGen/CGOpenMPRuntime.cpp
+index 4025217..40a73ef 100644
+--- a/lib/CodeGen/CGOpenMPRuntime.cpp
++++ b/lib/CodeGen/CGOpenMPRuntime.cpp
+@@ -6271,7 +6271,7 @@ void CGOpenMPRuntime::emitTargetDataCalls(
+ // Generate the code for the opening of the data environment. Capture all the
+ // arguments of the runtime call by reference because they are used in the
+ // closing of the region.
+- auto &&BeginThenGen = [&D, &CGF, Device, &Info, &CodeGen, &NoPrivAction](
++ auto &&BeginThenGen = [&D, Device, &Info, &CodeGen, &NoPrivAction](
+ CodeGenFunction &CGF, PrePostActionTy &) {
+ // Fill up the arrays with all the mapped variables.
+ MappableExprsHandler::MapBaseValuesArrayTy BasePointers;
+@@ -6318,7 +6318,7 @@ void CGOpenMPRuntime::emitTargetDataCalls(
+ };
+
+ // Generate code for the closing of the data region.
+- auto &&EndThenGen = [&CGF, Device, &Info](CodeGenFunction &CGF,
++ auto &&EndThenGen = [Device, &Info](CodeGenFunction &CGF,
+ PrePostActionTy &) {
+ assert(Info.isValid() && "Invalid data environment closing arguments.");
+
+@@ -6397,7 +6397,7 @@ void CGOpenMPRuntime::emitTargetDataStandAloneCall(
+ "Expecting either target enter, exit data, or update directives.");
+
+ // Generate the code for the opening of the data environment.
+- auto &&ThenGen = [&D, &CGF, Device](CodeGenFunction &CGF, PrePostActionTy &) {
++ auto &&ThenGen = [&D, Device](CodeGenFunction &CGF, PrePostActionTy &) {
+ // Fill up the arrays with all the mapped variables.
+ MappableExprsHandler::MapBaseValuesArrayTy BasePointers;
+ MappableExprsHandler::MapValuesArrayTy Pointers;
+--
+2.23.1
+
diff --git a/nixpkgs/pkgs/development/compilers/llvm/4/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/4/clang/default.nix
index f50da39a624..a90fbe6ae83 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/4/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/4/clang/default.nix
@@ -6,7 +6,8 @@
let
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
self = stdenv.mkDerivation ({
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
src = fetch "cfe" "16vnv3msnvx33dydd17k2cq0icndi1a06bg5vcxkrhjjb1rqlwv1";
@@ -37,7 +38,10 @@ let
++ stdenv.lib.optional stdenv.isLinux "-DGCC_INSTALL_PREFIX=${gcc}"
++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include";
- patches = [ ./purity.patch ];
+ patches = [
+ ./purity.patch
+ ./0001-Fix-compilation-w-gcc9.patch
+ ];
postPatch = ''
sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
@@ -91,7 +95,7 @@ let
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "clang-manpages-${version}";
+ pname = "clang-manpages";
buildPhase = ''
make docs-clang-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/4/fix-gcc9.patch b/nixpkgs/pkgs/development/compilers/llvm/4/fix-gcc9.patch
new file mode 100644
index 00000000000..8ea5ca97085
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/llvm/4/fix-gcc9.patch
@@ -0,0 +1,33 @@
+diff --git a/lib/Target/Mips/MipsFastISel.cpp b/lib/Target/Mips/MipsFastISel.cpp
+index f79cb0e6..c6279046 100644
+--- a/lib/Target/Mips/MipsFastISel.cpp
++++ b/lib/Target/Mips/MipsFastISel.cpp
+@@ -32,6 +32,7 @@
+ #include "llvm/MC/MCSymbol.h"
+ #include "llvm/Target/TargetInstrInfo.h"
+ #include "llvm/Support/Debug.h"
++#include <array>
+
+ #define DEBUG_TYPE "mips-fastisel"
+
+@@ -1268,13 +1269,13 @@ bool MipsFastISel::fastLowerArguments() {
+ return false;
+ }
+
+- const ArrayRef<MCPhysReg> GPR32ArgRegs = {Mips::A0, Mips::A1, Mips::A2,
+- Mips::A3};
+- const ArrayRef<MCPhysReg> FGR32ArgRegs = {Mips::F12, Mips::F14};
+- const ArrayRef<MCPhysReg> AFGR64ArgRegs = {Mips::D6, Mips::D7};
+- ArrayRef<MCPhysReg>::iterator NextGPR32 = GPR32ArgRegs.begin();
+- ArrayRef<MCPhysReg>::iterator NextFGR32 = FGR32ArgRegs.begin();
+- ArrayRef<MCPhysReg>::iterator NextAFGR64 = AFGR64ArgRegs.begin();
++ std::array<MCPhysReg, 4> GPR32ArgRegs = {{Mips::A0, Mips::A1, Mips::A2,
++ Mips::A3}};
++ std::array<MCPhysReg, 2> FGR32ArgRegs = {{Mips::F12, Mips::F14}};
++ std::array<MCPhysReg, 2> AFGR64ArgRegs = {{Mips::D6, Mips::D7}};
++ auto NextGPR32 = GPR32ArgRegs.begin();
++ auto NextFGR32 = FGR32ArgRegs.begin();
++ auto NextAFGR64 = AFGR64ArgRegs.begin();
+
+ struct AllocatedReg {
+ const TargetRegisterClass *RC;
diff --git a/nixpkgs/pkgs/development/compilers/llvm/4/llvm.nix b/nixpkgs/pkgs/development/compilers/llvm/4/llvm.nix
index ac5dcbe6b94..317a5ea06f4 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/4/llvm.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/4/llvm.nix
@@ -24,7 +24,8 @@ let
in
stdenv.mkDerivation ({
- name = "llvm-${version}";
+ pname = "llvm";
+ inherit version;
src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
@@ -52,6 +53,13 @@ stdenv.mkDerivation ({
url = "https://bugzilla.redhat.com/attachment.cgi?id=1389687";
sha256 = "0ga2123aclq3x9w72d0rm0az12m8c1i4r1106vh701hf4cghgbch";
})
+ ./fix-gcc9.patch
+ (fetchpatch {
+ name = "llvm4-avoid-undefined-behavior-in-unittest.patch";
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/D32089-Avoid-undefined-behavior-in-unittest.patch?h=llvm40&id=f459b0bad8aa3b94bc2733d79d176071a32846a6";
+ sha256 = "0x5q6a8lk6xg4ns4qh75fxvvmfnifwvyrq17ck85q8c0753i1irf";
+ extraPrefix = "";
+ })
];
# TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks
@@ -166,7 +174,7 @@ stdenv.mkDerivation ({
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "llvm-manpages-${version}";
+ pname = "llvm-manpages";
buildPhase = ''
make docs-llvm-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/5/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/5/clang/default.nix
index 7a3b151f835..6695609b8ec 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/5/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/5/clang/default.nix
@@ -6,7 +6,8 @@
let
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
self = stdenv.mkDerivation ({
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
src = fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s";
@@ -87,7 +88,7 @@ let
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "clang-manpages-${version}";
+ pname = "clang-manpages";
buildPhase = ''
make docs-clang-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/5/fix-gcc9.patch b/nixpkgs/pkgs/development/compilers/llvm/5/fix-gcc9.patch
new file mode 100644
index 00000000000..eaf71f1468d
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/llvm/5/fix-gcc9.patch
@@ -0,0 +1,33 @@
+diff --git a/lib/Target/Mips/MipsFastISel.cpp b/lib/Target/Mips/MipsFastISel.cpp
+index f79cb0e6..c6279046 100644
+--- a/lib/Target/Mips/MipsFastISel.cpp
++++ b/lib/Target/Mips/MipsFastISel.cpp
+@@ -70,6 +70,7 @@
+ #include <cassert>
+ #include <cstdint>
+ #include <new>
++#include <array>
+
+ #define DEBUG_TYPE "mips-fastisel"
+
+@@ -1309,13 +1310,13 @@ bool MipsFastISel::fastLowerArguments() {
+ return false;
+ }
+
+- const ArrayRef<MCPhysReg> GPR32ArgRegs = {Mips::A0, Mips::A1, Mips::A2,
+- Mips::A3};
+- const ArrayRef<MCPhysReg> FGR32ArgRegs = {Mips::F12, Mips::F14};
+- const ArrayRef<MCPhysReg> AFGR64ArgRegs = {Mips::D6, Mips::D7};
+- ArrayRef<MCPhysReg>::iterator NextGPR32 = GPR32ArgRegs.begin();
+- ArrayRef<MCPhysReg>::iterator NextFGR32 = FGR32ArgRegs.begin();
+- ArrayRef<MCPhysReg>::iterator NextAFGR64 = AFGR64ArgRegs.begin();
++ std::array<MCPhysReg, 4> GPR32ArgRegs = {{Mips::A0, Mips::A1, Mips::A2,
++ Mips::A3}};
++ std::array<MCPhysReg, 2> FGR32ArgRegs = {{Mips::F12, Mips::F14}};
++ std::array<MCPhysReg, 2> AFGR64ArgRegs = {{Mips::D6, Mips::D7}};
++ auto NextGPR32 = GPR32ArgRegs.begin();
++ auto NextFGR32 = FGR32ArgRegs.begin();
++ auto NextAFGR64 = AFGR64ArgRegs.begin();
+
+ struct AllocatedReg {
+ const TargetRegisterClass *RC;
diff --git a/nixpkgs/pkgs/development/compilers/llvm/5/llvm.nix b/nixpkgs/pkgs/development/compilers/llvm/5/llvm.nix
index 2fe7df7695b..d26af8438e7 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/5/llvm.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/5/llvm.nix
@@ -23,7 +23,8 @@ let
in
stdenv.mkDerivation ({
- name = "llvm-${version}";
+ pname = "llvm";
+ inherit version;
src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
@@ -49,6 +50,13 @@ stdenv.mkDerivation ({
name = "llvm-gcc8-type-mismatch.patch";
sha256 = "0ga2123aclq3x9w72d0rm0az12m8c1i4r1106vh701hf4cghgbch";
})
+ ./fix-gcc9.patch
+ #(fetchpatch {
+ # name = "llvm-fix-gcc9.patch";
+ # url = "https://reviews.llvm.org/file/data/zs3ck5ryvc5n672fd2kw/PHID-FILE-byoqefzwmkd7qnlip4v2/file";
+ # sha256 = "0injj1hqgrbcbihhwp2nbal88jfykad30r54f2cdcx7gws2fcy8i";
+ # stripLen = 1;
+ #})
];
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace cmake/modules/AddLLVM.cmake \
@@ -149,7 +157,7 @@ stdenv.mkDerivation ({
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "llvm-manpages-${version}";
+ pname = "llvm-manpages";
buildPhase = ''
make docs-llvm-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/6/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/6/clang/default.nix
index ff9064f455e..d093379b3c9 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/6/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/6/clang/default.nix
@@ -6,7 +6,8 @@
let
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
self = stdenv.mkDerivation ({
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
src = fetch "cfe" "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w";
@@ -87,7 +88,7 @@ let
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "clang-manpages-${version}";
+ pname = "clang-manpages";
buildPhase = ''
make docs-clang-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/6/llvm.nix b/nixpkgs/pkgs/development/compilers/llvm/6/llvm.nix
index a250c9fefac..c6d2c09c2df 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/6/llvm.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/6/llvm.nix
@@ -26,7 +26,8 @@ let
in
stdenv.mkDerivation ({
- name = "llvm-${version}";
+ pname = "llvm";
+ inherit version;
src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn";
@@ -154,7 +155,7 @@ stdenv.mkDerivation ({
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "llvm-manpages-${version}";
+ pname = "llvm-manpages";
buildPhase = ''
make docs-llvm-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/7/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/7/clang/default.nix
index e49c8387f7e..5ac9a7a2672 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/7/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/7/clang/default.nix
@@ -6,7 +6,8 @@
let
self = stdenv.mkDerivation ({
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
src = fetch "cfe" "0vc4i87qwxnw9lci4ayws9spakg0z6w5w670snj9f8g5m9rc8zg9";
@@ -93,7 +94,7 @@ let
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "clang-manpages-${version}";
+ pname = "clang-manpages";
buildPhase = ''
make docs-clang-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/7/compiler-rt.nix b/nixpkgs/pkgs/development/compilers/llvm/7/compiler-rt.nix
index 5d7266f39ec..a7d4bcb8696 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/7/compiler-rt.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/7/compiler-rt.nix
@@ -7,6 +7,10 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python llvm ];
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
+ NIX_CFLAGS_COMPILE = [
+ "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0"
+ ];
+
cmakeFlags = stdenv.lib.optionals (stdenv.hostPlatform.useLLVM or false || stdenv.isDarwin) [
"-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON"
"-DCMAKE_C_COMPILER_TARGET=${stdenv.hostPlatform.config}"
diff --git a/nixpkgs/pkgs/development/compilers/llvm/7/llvm.nix b/nixpkgs/pkgs/development/compilers/llvm/7/llvm.nix
index 3e966f1ea44..c56bbfd0eab 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/7/llvm.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/7/llvm.nix
@@ -30,7 +30,8 @@ let
imap (i: _: concatStringsSep "." (take i parts)) parts;
in stdenv.mkDerivation ({
- name = "llvm-${version}";
+ pname = "llvm";
+ inherit version;
src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v";
polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h";
@@ -175,7 +176,7 @@ in stdenv.mkDerivation ({
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "llvm-manpages-${version}";
+ pname = "llvm-manpages";
buildPhase = ''
make docs-llvm-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/8/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/8/clang/default.nix
index 6911089250e..8c540e45b28 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/8/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/8/clang/default.nix
@@ -6,7 +6,8 @@
let
self = stdenv.mkDerivation ({
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
src = fetch "cfe" "0ihnbdl058gvl2wdy45p5am55bq8ifx8m9mhcsgj9ax8yxlzvvvh";
@@ -105,7 +106,7 @@ let
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "clang-manpages-${version}";
+ pname = "clang-manpages";
buildPhase = ''
make docs-clang-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/8/compiler-rt.nix b/nixpkgs/pkgs/development/compilers/llvm/8/compiler-rt.nix
index 88788852862..344ff725675 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/8/compiler-rt.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/8/compiler-rt.nix
@@ -7,6 +7,10 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python llvm ];
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
+ NIX_CFLAGS_COMPILE = [
+ "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0"
+ ];
+
cmakeFlags = stdenv.lib.optionals (stdenv.hostPlatform.useLLVM or false) [
"-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON"
"-DCMAKE_C_COMPILER_TARGET=${stdenv.hostPlatform.config}"
diff --git a/nixpkgs/pkgs/development/compilers/llvm/8/llvm.nix b/nixpkgs/pkgs/development/compilers/llvm/8/llvm.nix
index 160e2a72366..df3d6e796aa 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/8/llvm.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/8/llvm.nix
@@ -28,7 +28,8 @@ let
concatStringsSep "." (take 1 (splitVersion release_version));
in stdenv.mkDerivation ({
- name = "llvm-${version}";
+ pname = "llvm";
+ inherit version;
src = fetch "llvm" "1rvm5gqp5v8hfn17kqws3zhk94w4kxndal12bqa0y57p09nply24";
polly_src = fetch "polly" "1lfjdz3ilj5xmjxvicd8f5ykybks67ry2pdb777352r3mzlgg8g8";
@@ -108,7 +109,7 @@ in stdenv.mkDerivation ({
"-DCAN_TARGET_i386=false"
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"-DCMAKE_CROSSCOMPILING=True"
- "-DLLVM_TABLEGEN=${buildPackages.llvm_7}/bin/llvm-tblgen"
+ "-DLLVM_TABLEGEN=${buildPackages.llvm_8}/bin/llvm-tblgen"
];
postBuild = ''
@@ -150,7 +151,7 @@ in stdenv.mkDerivation ({
platforms = stdenv.lib.platforms.all;
};
} // stdenv.lib.optionalAttrs enableManpages {
- name = "llvm-manpages-${version}";
+ pname = "llvm-manpages";
buildPhase = ''
make docs-llvm-man
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/clang/default.nix b/nixpkgs/pkgs/development/compilers/llvm/9/clang/default.nix
index bf9b1a32a83..1b779b118a7 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/clang/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/clang/default.nix
@@ -9,11 +9,11 @@ let
pname = "clang";
inherit version;
- src = fetch "cfe" "0426ma80i41qsgzm1qdz81mjskck426diygxi2k5vji2gkpixa3v";
+ src = fetch "clang" "0ls2h3iv4finqyflyhry21qhc9cm9ga7g1zq21020p065qmm2y2p";
unpackPhase = ''
unpackFile $src
- mv cfe-${version}* clang
+ mv clang-${version}* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
mv clang-tools-extra-* $sourceRoot/tools/extra
@@ -73,7 +73,8 @@ let
moveToOutput "lib/libclang.*" "$lib"
moveToOutput "lib/libclang-cpp.*" "$lib"
substituteInPlace $out/lib/cmake/clang/ClangTargets-release.cmake \
- --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang."
+ --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang." \
+ --replace "\''${_IMPORT_PREFIX}/lib/libclang-cpp." "$lib/lib/libclang-cpp."
mkdir -p $python/bin $python/share/clang/
mv $out/bin/{git-clang-format,scan-view} $python/bin
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/compiler-rt.nix b/nixpkgs/pkgs/development/compilers/llvm/9/compiler-rt.nix
index 9a333ad7c11..75d0614b514 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/compiler-rt.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/compiler-rt.nix
@@ -2,11 +2,15 @@
stdenv.mkDerivation rec {
pname = "compiler-rt";
inherit version;
- src = fetch pname "03ni43lbkp63lr3p6sc94dphqmvnz5av5mml0xmk930xvnbcvr2n";
+ src = fetch pname "0xwh79g3zggdabxgnd0bphry75asm1qz7mv3hcqihqwqr6aspgy2";
nativeBuildInputs = [ cmake python llvm ];
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
+ NIX_CFLAGS_COMPILE = [
+ "-DSCUDO_DEFAULT_OPTIONS=DeleteSizeMismatch=0:DeallocationTypeMismatch=0"
+ ];
+
cmakeFlags = stdenv.lib.optionals (stdenv.hostPlatform.useLLVM or false) [
"-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON"
"-DCMAKE_C_COMPILER_TARGET=${stdenv.hostPlatform.config}"
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/default.nix b/nixpkgs/pkgs/development/compilers/llvm/9/default.nix
index 1590d180c3f..c9e8ce91f0c 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/default.nix
@@ -5,15 +5,15 @@
}:
let
- release_version = "9.0.0";
+ release_version = "9.0.1";
version = release_version; # differentiating these is important for rc's
fetch = name: sha256: fetchurl {
- url = "https://releases.llvm.org/${release_version}/${name}-${version}.src.tar.xz";
+ url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${release_version}/${name}-${version}.src.tar.xz";
inherit sha256;
};
- clang-tools-extra_src = fetch "clang-tools-extra" "045cldmcfd8s33wyjlviifgpnw52yqicd6v4ysvdg4i96p78c77a";
+ clang-tools-extra_src = fetch "clang-tools-extra" "01vgzd4k1q93nfs8gyl83mjlc4x0qsgfqw32lacbjzdxg0mdfvxj";
tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/libc++/default.nix b/nixpkgs/pkgs/development/compilers/llvm/9/libc++/default.nix
index daf8ed5a9ae..1166c7bd76c 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/libc++/default.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/libc++/default.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation {
pname = "libc++";
inherit version;
- src = fetch "libcxx" "136j3v7il9aq8wyp48klx6sifnl5asj4lf5c8yx08cjx5fbn4h9w";
+ src = fetch "libcxx" "0d2bj5i6mk4caq7skd5nsdmz8c2m5w5anximl5wz3x32p08zz089";
postUnpack = ''
unpackFile ${libcxxabi.src}
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/libc++abi.nix b/nixpkgs/pkgs/development/compilers/llvm/9/libc++abi.nix
index 7afff991e75..fbc9a3731ef 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/libc++abi.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/libc++abi.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation {
pname = "libc++abi";
inherit version;
- src = fetch "libcxxabi" "1s9haplqv8ashlsdx2psxiqxh50gqk2jp2vz5yn0djb56mw42l37";
+ src = fetch "libcxxabi" "1b4aiaa8cirx52vk2p5kfk57qmbqf1ipb4nqnjhdgqps9jm7iyg8";
nativeBuildInputs = [ cmake ];
buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind;
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/libunwind.nix b/nixpkgs/pkgs/development/compilers/llvm/9/libunwind.nix
index 5eba9e03c78..883c36baf06 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/libunwind.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/libunwind.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
pname = "libunwind";
inherit version;
- src = fetch pname "1chd1nz4bscrs6qa7p8sqgk5df86ll0frv0f451vhks2w44qsslp";
+ src = fetch pname "1wb02ha3gl6p0a321hwpll74pz5qvjr11xmjqx62g288f1m10njk";
nativeBuildInputs = [ cmake ];
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/lld.nix b/nixpkgs/pkgs/development/compilers/llvm/9/lld.nix
index c5baef4357e..775dc2e1905 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/lld.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/lld.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
pname = "lld";
inherit version;
- src = fetch pname "14cgd34gr826qpxzhrkbz6qgm8ymds0hrsiznwzp42ax4f5p9iii";
+ src = fetch pname "10hckfxpapfnh6y9apjiya2jpw9nmbbmh8ayijx89mrg7snjn9l6";
nativeBuildInputs = [ cmake ];
buildInputs = [ llvm libxml2 ];
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/lldb.nix b/nixpkgs/pkgs/development/compilers/llvm/9/lldb.nix
index ee281384c40..64f111502cc 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/lldb.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/lldb.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
pname = "lldb";
inherit version;
- src = fetch pname "1507dl0xw03nppxpz2xsq4s30jdbkplx4w14za54ngqm3xm2yk0y";
+ src = fetch pname "02gb3fbz09kyw8n71218v5v77ip559x3gqbcp8y3w6n3jpbryywa";
patches = [ ./lldb-procfs.patch ];
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/llvm.nix b/nixpkgs/pkgs/development/compilers/llvm/9/llvm.nix
index c8f78f5f7f2..acd3ec92897 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/llvm.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/llvm.nix
@@ -31,8 +31,8 @@ in stdenv.mkDerivation (rec {
pname = "llvm";
inherit version;
- src = fetch pname "117ymdz1by2nkfq1c2p9m4050dp848kbjbiv6nsfj8hzy9f5d86n";
- polly_src = fetch "polly" "0cyl2gsibf1dhqvkyw1qb0f8q58ib6cihzyh4f9kj9g77ll95ym4";
+ src = fetch pname "16hwp3qa54c3a3v7h8nlw0fh5criqh0hlr1skybyk0cz70gyx880";
+ polly_src = fetch "polly" "1kqg0isv0kicnylrdp5iajlgd6alc0zx1l3cxc9hs8r3z6fwcjls";
unpackPhase = ''
unpackFile $src
@@ -126,7 +126,7 @@ in stdenv.mkDerivation (rec {
"-DCAN_TARGET_i386=false"
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"-DCMAKE_CROSSCOMPILING=True"
- "-DLLVM_TABLEGEN=${buildPackages.llvm_7}/bin/llvm-tblgen"
+ "-DLLVM_TABLEGEN=${buildPackages.llvm_9}/bin/llvm-tblgen"
];
postBuild = ''
diff --git a/nixpkgs/pkgs/development/compilers/llvm/9/openmp.nix b/nixpkgs/pkgs/development/compilers/llvm/9/openmp.nix
index a511aed2eb8..4e0a5535ae3 100644
--- a/nixpkgs/pkgs/development/compilers/llvm/9/openmp.nix
+++ b/nixpkgs/pkgs/development/compilers/llvm/9/openmp.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
pname = "openmp";
inherit version;
- src = fetch pname "0nrv9np134b7c483jnq786spy3hbpj11d7g21g67cqq66c8ynycr";
+ src = fetch pname "1knafnpp0f7hylx8q20lkd6g1sf0flly572dayc5d5kghh7hd52w";
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
diff --git a/nixpkgs/pkgs/development/compilers/manticore/default.nix b/nixpkgs/pkgs/development/compilers/manticore/default.nix
index 1e9b77cfb79..adfde05e658 100644
--- a/nixpkgs/pkgs/development/compilers/manticore/default.nix
+++ b/nixpkgs/pkgs/development/compilers/manticore/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, coreutils, autoreconfHook, smlnj }:
let
- rev= "4528ccacdfd53d36f5959c005b27cd7ab6175b83";
+ rev = "7376cb20ba5285a6b076a73c821e4743809c1d9d";
in stdenv.mkDerivation {
pname = "manticore";
- version = "2019.09.20";
+ version = "2019.12.03";
src = fetchFromGitHub {
owner = "ManticoreProject";
repo = "manticore";
- sha256 = "1xz7msiq5x2c56zjxydbxlj6r001mm5zszcda6f6v5qfmmd1bakz";
+ sha256 = "17h3ar7d6145dyrm006r3gd5frk3v4apjk383n78dh4vlniv1ay2";
inherit rev;
};
diff --git a/nixpkgs/pkgs/development/compilers/mruby/default.nix b/nixpkgs/pkgs/development/compilers/mruby/default.nix
index 03f3d56fd93..e4c756e9c7d 100644
--- a/nixpkgs/pkgs/development/compilers/mruby/default.nix
+++ b/nixpkgs/pkgs/development/compilers/mruby/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "mruby";
- version = "2.0.1";
+ version = "2.1.0";
src = fetchFromGitHub {
owner = "mruby";
repo = "mruby";
rev = version;
- sha256 = "1zm2d5kj9fnfx8ifj8ysrrr838ipwmvz35byzjhprakrg64911p9";
+ sha256 = "1y072c7dh9jf8xwy7kia6cb4dkpspq4zf24ssn7zm5f46p4waxni";
};
nativeBuildInputs = [ ruby bison ];
diff --git a/nixpkgs/pkgs/development/compilers/nim/default.nix b/nixpkgs/pkgs/development/compilers/nim/default.nix
index 48808bf356b..bdb16c92207 100644
--- a/nixpkgs/pkgs/development/compilers/nim/default.nix
+++ b/nixpkgs/pkgs/development/compilers/nim/default.nix
@@ -5,22 +5,16 @@
stdenv.mkDerivation rec {
pname = "nim";
- version = "1.0.2";
+ version = "1.0.4";
src = fetchurl {
url = "https://nim-lang.org/download/${pname}-${version}.tar.xz";
- sha256 = "1rjinrs119c8i6wzz5fzjfml7n7kbd5hb9642g4rr8qxkq4sx83k";
+ sha256 = "1q5fx9g40bk4ajghi856w5l34fmrl7avq5j6p0dr2xa4l52ib149";
};
enableParallelBuilding = true;
- NIX_LDFLAGS = [
- "-lcrypto"
- "-lpcre"
- "-lreadline"
- "-lgc"
- "-lsqlite3"
- ];
+ NIX_LDFLAGS = "-lcrypto -lpcre -lreadline -lgc -lsqlite3";
# we could create a separate derivation for the "written in c" version of nim
# used for bootstrapping, but koch insists on moving the nim compiler around
diff --git a/nixpkgs/pkgs/development/compilers/ocaml/3.10.0.nix b/nixpkgs/pkgs/development/compilers/ocaml/3.10.0.nix
index 556aefd3704..a6d2bcd875e 100644
--- a/nixpkgs/pkgs/development/compilers/ocaml/3.10.0.nix
+++ b/nixpkgs/pkgs/development/compilers/ocaml/3.10.0.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation (rec {
prefixKey = "-prefix ";
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
- buildFlags = "world bootstrap world.opt";
+ buildFlags = [ "world" "bootstrap" "world.opt" ];
buildInputs = [xlibsWrapper ncurses];
installTargets = "install installopt";
patchPhase = ''
diff --git a/nixpkgs/pkgs/development/compilers/ocaml/3.11.2.nix b/nixpkgs/pkgs/development/compilers/ocaml/3.11.2.nix
index 4be41490534..f582ef9834a 100644
--- a/nixpkgs/pkgs/development/compilers/ocaml/3.11.2.nix
+++ b/nixpkgs/pkgs/development/compilers/ocaml/3.11.2.nix
@@ -7,10 +7,10 @@ let
in
stdenv.mkDerivation rec {
-
+
pname = "ocaml";
version = "3.11.2";
-
+
src = fetchurl {
url = "https://caml.inria.fr/pub/distrib/ocaml-3.11/${pname}-${version}.tar.bz2";
sha256 = "86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
prefixKey = "-prefix ";
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
- buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
+ buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ];
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
installTargets = "install" + optionalString useNativeCompilers " installopt";
prePatch = ''
diff --git a/nixpkgs/pkgs/development/compilers/ocaml/3.12.1.nix b/nixpkgs/pkgs/development/compilers/ocaml/3.12.1.nix
index edb3acdbdb1..1026b1bd8d7 100644
--- a/nixpkgs/pkgs/development/compilers/ocaml/3.12.1.nix
+++ b/nixpkgs/pkgs/development/compilers/ocaml/3.12.1.nix
@@ -7,10 +7,10 @@ let
in
stdenv.mkDerivation rec {
-
+
pname = "ocaml";
version = "3.12.1";
-
+
src = fetchurl {
url = "https://caml.inria.fr/pub/distrib/ocaml-3.12/${pname}-${version}.tar.bz2";
sha256 = "13cmhkh7s6srnlvhg3s9qzh3a5dbk2m9qr35jzq922sylwymdkzd";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
prefixKey = "-prefix ";
configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
- buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
+ buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ];
buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
installTargets = "install" + optionalString useNativeCompilers " installopt";
patches = optionals stdenv.isDarwin [ ./3.12.1-darwin-fix-configure.patch ];
diff --git a/nixpkgs/pkgs/development/compilers/ocaml/4.00.1.nix b/nixpkgs/pkgs/development/compilers/ocaml/4.00.1.nix
index 2669e8224bf..a4b21251bd1 100644
--- a/nixpkgs/pkgs/development/compilers/ocaml/4.00.1.nix
+++ b/nixpkgs/pkgs/development/compilers/ocaml/4.00.1.nix
@@ -3,22 +3,22 @@
let
useX11 = !stdenv.isAarch32 && !stdenv.isMips;
useNativeCompilers = !stdenv.isMips;
- inherit (stdenv.lib) optionals optionalString;
+ inherit (stdenv.lib) optional optionals optionalString;
in
stdenv.mkDerivation rec {
pname = "ocaml";
version = "4.00.1";
-
+
src = fetchurl {
url = "https://caml.inria.fr/pub/distrib/ocaml-4.00/${pname}-${version}.tar.bz2";
sha256 = "33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951";
};
prefixKey = "-prefix ";
- configureFlags = ["-no-tk"] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
- buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
- buildInputs = [ncurses] ++ optionals useX11 [ xlibsWrapper ];
+ configureFlags = [ "-no-tk" ] ++ optionals useX11 [ "-x11lib" xlibsWrapper ];
+ buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ];
+ buildInputs = [ ncurses ] ++ optional useX11 xlibsWrapper;
installTargets = "install" + optionalString useNativeCompilers " installopt";
preConfigure = ''
CAT=$(type -tp cat)
diff --git a/nixpkgs/pkgs/development/compilers/ocaml/generic.nix b/nixpkgs/pkgs/development/compilers/ocaml/generic.nix
index 9557d0a79ae..6980b6e5ff1 100644
--- a/nixpkgs/pkgs/development/compilers/ocaml/generic.nix
+++ b/nixpkgs/pkgs/development/compilers/ocaml/generic.nix
@@ -12,16 +12,18 @@ in
{ stdenv, fetchurl, ncurses, buildEnv
, libX11, xorgproto, useX11 ? safeX11 stdenv
+, aflSupport ? false
, flambdaSupport ? false
}:
assert useX11 -> !stdenv.isAarch32 && !stdenv.isMips;
+assert aflSupport -> stdenv.lib.versionAtLeast version "4.05";
assert flambdaSupport -> stdenv.lib.versionAtLeast version "4.03";
let
useNativeCompilers = !stdenv.isMips;
inherit (stdenv.lib) optional optionals optionalString;
- name = "ocaml${optionalString flambdaSupport "+flambda"}-${version}";
+ name = "ocaml${optionalString aflSupport "+afl"}${optionalString flambdaSupport "+flambda"}-${version}";
in
let
@@ -41,17 +43,22 @@ stdenv.mkDerivation (args // {
};
prefixKey = "-prefix ";
- configureFlags = optionals useX11 (
- if stdenv.lib.versionAtLeast version "4.08"
- then [ "--x-libraries=${x11lib}" "--x-includes=${x11inc}"]
- else [ "-x11lib" x11lib "-x11include" x11inc ])
- ++ optional flambdaSupport "-flambda"
+ configureFlags =
+ let flags = new: old:
+ if stdenv.lib.versionAtLeast version "4.08"
+ then new else old
+ ; in
+ optionals useX11 (flags
+ [ "--x-libraries=${x11lib}" "--x-includes=${x11inc}"]
+ [ "-x11lib" x11lib "-x11include" x11inc ])
+ ++ optional aflSupport (flags "--with-afl" "-afl-instrument")
+ ++ optional flambdaSupport (flags "--enable-flambda" "-flambda")
;
- buildFlags = "world" + optionalString useNativeCompilers " bootstrap world.opt";
+ buildFlags = [ "world" ] ++ optionals useNativeCompilers [ "bootstrap" "world.opt" ];
buildInputs = optional (!stdenv.lib.versionAtLeast version "4.07") ncurses
++ optionals useX11 [ libX11 xorgproto ];
- installTargets = "install" + optionalString useNativeCompilers " installopt";
+ installTargets = [ "install" ] ++ optional useNativeCompilers "installopt";
preConfigure = optionalString (!stdenv.lib.versionAtLeast version "4.04") ''
CAT=$(type -tp cat)
sed -e "s@/bin/cat@$CAT@" -i config/auto-aux/sharpbang
diff --git a/nixpkgs/pkgs/development/compilers/ocaml/metaocaml-3.09.nix b/nixpkgs/pkgs/development/compilers/ocaml/metaocaml-3.09.nix
index aa50cf225ca..1f53c4f0e78 100644
--- a/nixpkgs/pkgs/development/compilers/ocaml/metaocaml-3.09.nix
+++ b/nixpkgs/pkgs/development/compilers/ocaml/metaocaml-3.09.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation ({
prefixKey = "-prefix ";
configureFlags = ["-no-tk" "-x11lib" xlibsWrapper];
- buildFlags = "world bootstrap world.opt";
+ buildFlags = [ "world" "bootstrap" "world.opt" ];
buildInputs = [xlibsWrapper ncurses];
installTargets = "install installopt";
patchPhase = ''
diff --git a/nixpkgs/pkgs/development/compilers/openjdk/11.nix b/nixpkgs/pkgs/development/compilers/openjdk/11.nix
index e365b9b28b3..b8381feef09 100644
--- a/nixpkgs/pkgs/development/compilers/openjdk/11.nix
+++ b/nixpkgs/pkgs/development/compilers/openjdk/11.nix
@@ -61,13 +61,13 @@ let
separateDebugInfo = true;
- NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
+ NIX_CFLAGS_COMPILE = "-Wno-error";
- NIX_LDFLAGS = lib.optionals (!headless) [
+ NIX_LDFLAGS = toString (lib.optionals (!headless) [
"-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
] ++ lib.optionals (!headless && enableGnome2) [
"-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
- ];
+ ]);
buildFlags = [ "all" ];
diff --git a/nixpkgs/pkgs/development/compilers/openjdk/8.nix b/nixpkgs/pkgs/development/compilers/openjdk/8.nix
index 4debf10c0cb..c6b3644fecc 100644
--- a/nixpkgs/pkgs/development/compilers/openjdk/8.nix
+++ b/nixpkgs/pkgs/development/compilers/openjdk/8.nix
@@ -140,7 +140,7 @@ let
separateDebugInfo = true;
- NIX_CFLAGS_COMPILE = [
+ NIX_CFLAGS_COMPILE = toString ([
# glibc 2.24 deprecated readdir_r so we need this
# See https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg49006.html
"-Wno-error=deprecated-declarations"
@@ -151,13 +151,13 @@ let
"-fno-delete-null-pointer-checks"
"-std=gnu++98"
"-Wno-error"
- ];
+ ]);
- NIX_LDFLAGS= lib.optionals (!headless) [
+ NIX_LDFLAGS= toString (lib.optionals (!headless) [
"-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
] ++ lib.optionals (!headless && enableGnome2) [
"-lgtk-x11-2.0" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
- ];
+ ]);
buildFlags = [ "all" ];
diff --git a/nixpkgs/pkgs/development/compilers/openjdk/default.nix b/nixpkgs/pkgs/development/compilers/openjdk/default.nix
index 03121daf961..b2d511173c4 100644
--- a/nixpkgs/pkgs/development/compilers/openjdk/default.nix
+++ b/nixpkgs/pkgs/development/compilers/openjdk/default.nix
@@ -69,13 +69,13 @@ let
separateDebugInfo = true;
- NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
+ NIX_CFLAGS_COMPILE = "-Wno-error";
- NIX_LDFLAGS = lib.optionals (!headless) [
+ NIX_LDFLAGS = toString (lib.optionals (!headless) [
"-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
] ++ lib.optionals (!headless && enableGnome2) [
"-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
- ];
+ ]);
buildFlags = [ "all" ];
diff --git a/nixpkgs/pkgs/development/compilers/openjdk/openjfx/11.nix b/nixpkgs/pkgs/development/compilers/openjdk/openjfx/11.nix
index 43fe8ed8387..c6bff396108 100644
--- a/nixpkgs/pkgs/development/compilers/openjdk/openjfx/11.nix
+++ b/nixpkgs/pkgs/development/compilers/openjdk/openjfx/11.nix
@@ -84,7 +84,7 @@ in makePackage {
'';
# glib-2.62 deprecations
- NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
+ NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
stripDebugList = [ "." ];
diff --git a/nixpkgs/pkgs/development/compilers/openjdk/openjfx/12.nix b/nixpkgs/pkgs/development/compilers/openjdk/openjfx/12.nix
index 356ac4800d9..30c8d36fdfc 100644
--- a/nixpkgs/pkgs/development/compilers/openjdk/openjfx/12.nix
+++ b/nixpkgs/pkgs/development/compilers/openjdk/openjfx/12.nix
@@ -84,7 +84,7 @@ in makePackage {
'';
# glib-2.62 deprecations
- NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];
+ NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS";
stripDebugList = [ "." ];
diff --git a/nixpkgs/pkgs/development/compilers/orc/default.nix b/nixpkgs/pkgs/development/compilers/orc/default.nix
index 4540a301610..987c86ba264 100644
--- a/nixpkgs/pkgs/development/compilers/orc/default.nix
+++ b/nixpkgs/pkgs/development/compilers/orc/default.nix
@@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
# under the 3-clause BSD license. The rest is 2-clause BSD license.
license = with licenses; [ bsd3 bsd2 ];
platforms = platforms.unix;
- maintainers = [ maintainers.fuuzetsu ];
+ maintainers = [ ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/osl/default.nix b/nixpkgs/pkgs/development/compilers/osl/default.nix
index 26ef76382a3..86a13a776ce 100644
--- a/nixpkgs/pkgs/development/compilers/osl/default.nix
+++ b/nixpkgs/pkgs/development/compilers/osl/default.nix
@@ -8,13 +8,13 @@ in clangStdenv.mkDerivation rec {
# In theory this could use GCC + Clang rather than just Clang,
# but https://github.com/NixOS/nixpkgs/issues/29877 stops this
name = "openshadinglanguage-${version}";
- version = "1.10.7";
+ version = "1.10.8";
src = fetchFromGitHub {
owner = "imageworks";
repo = "OpenShadingLanguage";
- rev = "Release-1.10.7";
- sha256 = "15grach34grp8x65sq8xzs2s6nfzjhn4blpfnaicw46jdi4c2w59";
+ rev = "Release-1.10.8";
+ sha256 = "1vfdbs1yprr22nx64ff89jcqabfw0md8drifpbzqn2v6ipc8gz6a";
};
cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ];
diff --git a/nixpkgs/pkgs/development/compilers/ponyc/default.nix b/nixpkgs/pkgs/development/compilers/ponyc/default.nix
index f20a32acedd..f5bcfa20aa0 100644
--- a/nixpkgs/pkgs/development/compilers/ponyc/default.nix
+++ b/nixpkgs/pkgs/development/compilers/ponyc/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchFromGitHub, llvm, makeWrapper, pcre2, coreutils, which, libressl,
+{ stdenv, fetchFromGitHub, llvm, makeWrapper, pcre2, coreutils, which, libressl, libxml2,
cc ? stdenv.cc, lto ? !stdenv.isDarwin }:
stdenv.mkDerivation ( rec {
pname = "ponyc";
- version = "0.32.0";
+ version = "0.33.1";
src = fetchFromGitHub {
owner = "ponylang";
repo = pname;
rev = version;
- sha256 = "07ai5lr0zdrcdmfjxsypp33fpj8lnak7y5177s7qd19163z0ia20";
+ sha256 = "0wqbnvxdzzwr9q4v9ha9r9jjymr6y8ba1rb2lkzrng4g9p6xqbxy";
};
- buildInputs = [ llvm makeWrapper which ];
+ buildInputs = [ llvm makeWrapper which libxml2 ];
propagatedBuildInputs = [ cc ];
# Disable problematic networking tests
@@ -54,6 +54,8 @@ stdenv.mkDerivation ( rec {
checkTarget = "test-ci";
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=redundant-move" ];
+
preCheck = ''
export PONYPATH="$out/lib:${stdenv.lib.makeLibraryPath [ pcre2 libressl ]}"
'';
diff --git a/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix b/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix
index 6719293af2a..23e7f3b28f7 100644
--- a/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix
+++ b/nixpkgs/pkgs/development/compilers/ponyc/pony-stable.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "pony-stable";
- version = "0.2.1";
+ version = "0.2.2";
src = fetchFromGitHub {
owner = "ponylang";
repo = "pony-stable";
rev = version;
- sha256 = "1wiinw35bp3zpq9kx61x2zvid7ln00jrw052ah8801s0d9dbwrdr";
+ sha256 = "0nzvsqvl315brp3yb4j5kl82xnkmib4jk416jjc7yrz4k3jgr278";
};
buildInputs = [ ponyc ];
diff --git a/nixpkgs/pkgs/development/compilers/rasm/default.nix b/nixpkgs/pkgs/development/compilers/rasm/default.nix
new file mode 100644
index 00000000000..ced0855597c
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/rasm/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, unzip }:
+
+stdenv.mkDerivation rec {
+ pname = "rasm";
+ version = "0.117";
+
+ src = fetchurl {
+ url = "www.roudoudou.com/export/cpc/rasm/${pname}_v0117_src.zip";
+ sha256 = "1hwily4cfays59qm7qd1ax48i7cpbxhs5l9mfpyn7m2lxsfqrl3z";
+ };
+
+ sourceRoot = ".";
+
+ nativeBuildInputs = [ unzip ];
+
+ buildPhase = ''
+ # according to official documentation
+ cc rasm_v*.c -O2 -lm -lrt -march=native -o rasm
+ '';
+
+ installPhase = ''
+ install -Dt $out/bin rasm
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "http://www.roudoudou.com/rasm/";
+ description = "Z80 assembler";
+ # use -n option to display all licenses
+ license = licenses.mit; # expat version
+ maintainers = [ maintainers.genesis ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/nixpkgs/pkgs/development/compilers/rgbds/default.nix b/nixpkgs/pkgs/development/compilers/rgbds/default.nix
index 3856ced250e..bf2594b9bf4 100644
--- a/nixpkgs/pkgs/development/compilers/rgbds/default.nix
+++ b/nixpkgs/pkgs/development/compilers/rgbds/default.nix
@@ -6,15 +6,15 @@
stdenv.mkDerivation rec {
pname = "rgbds";
- version = "0.3.8";
+ version = "0.3.9";
src = fetchFromGitHub {
owner = "rednex";
repo = "rgbds";
rev = "v${version}";
- sha256 = "0db37z886026svhj6qnc3wk56sndbnz1vi41gn2k3bl6ppbnjlpk";
+ sha256 = "0pzd9ig3ahpgq7jbj82grllxx1v01d620insr2m8h0c6jj25n5hv";
};
nativeBuildInputs = [ bison flex pkg-config libpng ];
- installFlags = "PREFIX=\${out}";
+ installFlags = [ "PREFIX=\${out}" ];
meta = with stdenv.lib; {
homepage = https://rednex.github.io/rgbds/;
diff --git a/nixpkgs/pkgs/development/compilers/rust/1_39_0.nix b/nixpkgs/pkgs/development/compilers/rust/1_39_0.nix
deleted file mode 100644
index cc07590dedc..00000000000
--- a/nixpkgs/pkgs/development/compilers/rust/1_39_0.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-import ./default.nix {
- rustcVersion = "1.39.0";
- rustcSha256 = "0mwkc1bnil2cfyf6nglpvbn2y0zfbv44zfhsd5qg4c9rm6vgd8dl";
-
- # Note: the version MUST be one version prior to the version we're
- # building
- bootstrapVersion = "1.38.0";
-
- # fetch hashes by running `print-hashes.sh 1.38.0`
- bootstrapHashes = {
- i686-unknown-linux-gnu = "41aed8a350e24a0cac1444ed99b3dd24a90bc581dd88cb420c6e547d6b5f57af";
- x86_64-unknown-linux-gnu = "adda26b3f0609dbfbdc2019da4a20101879b9db2134fae322a4e863a069ec221";
- arm-unknown-linux-gnueabihf = "0603a3d3d16ae8f3b3b117eb699e8f3ef7532a6f6d3c29d13e7d4614fc3c9e7a";
- armv7-unknown-linux-gnueabihf = "8b1bf1680a61a643d6b5c7a3b1a1ce88448652756395e20ba5846739cbd085c4";
- aarch64-unknown-linux-gnu = "06afd6d525326cea95c3aa658aaa8542eab26f44235565bb16913ac9d12b7bda";
- i686-apple-darwin = "cdbf2807774bed350a3af6f41d7f7dd7ceff28777cde310c3ba90033188eb2f8";
- x86_64-apple-darwin = "bd301b78ddcd5d4553962b115e1dca5436dd3755ed323f86f4485769286a8a5a";
- };
-
- selectRustPackage = pkgs: pkgs.rust_1_39_0;
-}
diff --git a/nixpkgs/pkgs/development/compilers/rust/1_40_0.nix b/nixpkgs/pkgs/development/compilers/rust/1_40_0.nix
new file mode 100644
index 00000000000..2280605439f
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/rust/1_40_0.nix
@@ -0,0 +1,29 @@
+# New rust versions should first go to staging.
+# Things to check after updating:
+# 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin:
+# i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github
+# This testing can be also done by other volunteers as part of the pull
+# request review, in case platforms cannot be covered.
+# 2. The LLVM version used for building should match with rust upstream.
+# 3. Firefox and Thunderbird should still build on x86_64-linux.
+import ./default.nix {
+ rustcVersion = "1.40.0";
+ rustcSha256 = "1ba9llwhqm49w7sz3z0gqscj039m53ky9wxzhaj11z6yg1ah15yx";
+
+ # Note: the version MUST be one version prior to the version we're
+ # building
+ bootstrapVersion = "1.39.0";
+
+ # fetch hashes by running `print-hashes.sh 1.39.0`
+ bootstrapHashes = {
+ i686-unknown-linux-gnu = "36e31b3069c5be4b1fe3c8f7588ca787f13f91ab7170d2b24c6b07285816d0e5";
+ x86_64-unknown-linux-gnu = "b10a73e5ba90034fe51f0f02cb78f297ed3880deb7d3738aa09dc5a4d9704a25";
+ arm-unknown-linux-gnueabihf = "ea08d78a718cd34e67733526c70f3be460605dec8284bdeda36e0c6dd6222eca";
+ armv7-unknown-linux-gnueabihf = "41186745a97e6b76fb7a3a049882fb4869b526e98a66c05a133518515037f0d7";
+ aarch64-unknown-linux-gnu = "e27dc8112fe577012bd88f30e7c92dffd8c796478ce386c49465c03b6db8209f";
+ i686-apple-darwin = "0ada2ed87cc449ed470dce3b57b15bfd5c8c52b01d6116e6b1edc9a3e97836aa";
+ x86_64-apple-darwin = "3736d49c5e9592844e1a5d5452883aeaf8f1e25d671c1bc8f01e81c1766603b5";
+ };
+
+ selectRustPackage = pkgs: pkgs.rust_1_40_0;
+}
diff --git a/nixpkgs/pkgs/development/compilers/rust/cargo.nix b/nixpkgs/pkgs/development/compilers/rust/cargo.nix
index 91a31be9f8d..f639d330566 100644
--- a/nixpkgs/pkgs/development/compilers/rust/cargo.nix
+++ b/nixpkgs/pkgs/development/compilers/rust/cargo.nix
@@ -1,4 +1,4 @@
-{ stdenv, file, curl, pkgconfig, python, openssl, cmake, zlib
+{ stdenv, file, curl, pkgconfig, python3, openssl, cmake, zlib
, makeWrapper, libiconv, cacert, rustPlatform, rustc, libgit2
, CoreFoundation, Security
}:
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage {
dontUpdateAutotoolsGnuConfigScripts = true;
nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
- buildInputs = [ cacert file curl python openssl zlib libgit2 ]
+ buildInputs = [ cacert file curl python3 openssl zlib libgit2 ]
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security libiconv ];
LIBGIT2_SYS_USE_PKG_CONFIG = 1;
diff --git a/nixpkgs/pkgs/development/compilers/rust/default.nix b/nixpkgs/pkgs/development/compilers/rust/default.nix
index 75104ac7ad5..60e31c6def4 100644
--- a/nixpkgs/pkgs/development/compilers/rust/default.nix
+++ b/nixpkgs/pkgs/development/compilers/rust/default.nix
@@ -19,17 +19,17 @@
}.${cpu.name} or cpu.name;
in "${cpu_}-${vendor.name}-${kernel.name}${lib.optionalString (abi.name != "unknown") "-${abi.name}"}";
- makeRustPlatform = { rustc, cargo, ... }: {
+ makeRustPlatform = { rustc, cargo, ... }: rec {
rust = {
inherit rustc cargo;
};
- buildRustPackage = callPackage ../../../build-support/rust {
- inherit rustc cargo;
+ fetchcargo = buildPackages.callPackage ../../../build-support/rust/fetchcargo.nix {
+ inherit cargo;
+ };
- fetchcargo = buildPackages.callPackage ../../../build-support/rust/fetchcargo.nix {
- inherit cargo;
- };
+ buildRustPackage = callPackage ../../../build-support/rust {
+ inherit rustc cargo fetchcargo;
};
rustcSrc = callPackage ./rust-src.nix {
diff --git a/nixpkgs/pkgs/development/compilers/rust/rustc.nix b/nixpkgs/pkgs/development/compilers/rust/rustc.nix
index ca9bf05b7e7..e5c8a709a90 100644
--- a/nixpkgs/pkgs/development/compilers/rust/rustc.nix
+++ b/nixpkgs/pkgs/development/compilers/rust/rustc.nix
@@ -1,5 +1,5 @@
{ stdenv, removeReferencesTo, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget
-, fetchurl, file, python2
+, fetchurl, file, python3
, llvm_9, darwin, git, cmake, rust, rustPlatform
, pkgconfig, openssl
, which, libffi
@@ -9,7 +9,7 @@
}:
let
- inherit (stdenv.lib) optional optionalString;
+ inherit (stdenv.lib) optionals optional optionalString;
inherit (darwin.apple_sdk.frameworks) Security;
llvmSharedForBuild = pkgsBuildBuild.llvm_9.override { enableSharedLibraries = true; };
@@ -41,11 +41,11 @@ in stdenv.mkDerivation rec {
# See: https://github.com/NixOS/nixpkgs/pull/56540#issuecomment-471624656
stripDebugList = [ "bin" ];
- NIX_LDFLAGS =
+ NIX_LDFLAGS = toString (
# when linking stage1 libstd: cc: undefined reference to `__cxa_begin_catch'
optional (stdenv.isLinux && !withBundledLLVM) "--push-state --as-needed -lstdc++ --pop-state"
++ optional (stdenv.isDarwin && !withBundledLLVM) "-lc++"
- ++ optional stdenv.isDarwin "-rpath ${llvmSharedForHost}/lib";
+ ++ optional stdenv.isDarwin "-rpath ${llvmSharedForHost}/lib");
# Increase codegen units to introduce parallelism within the compiler.
RUSTFLAGS = "-Ccodegen-units=10";
@@ -83,12 +83,12 @@ in stdenv.mkDerivation rec {
"${setBuild}.cxx=${cxxForBuild}"
"${setHost}.cxx=${cxxForHost}"
"${setTarget}.cxx=${cxxForTarget}"
- ] ++ optional (!withBundledLLVM) [
+ ] ++ optionals (!withBundledLLVM) [
"--enable-llvm-link-shared"
"${setBuild}.llvm-config=${llvmSharedForBuild}/bin/llvm-config"
"${setHost}.llvm-config=${llvmSharedForHost}/bin/llvm-config"
"${setTarget}.llvm-config=${llvmSharedForTarget}/bin/llvm-config"
- ] ++ optional stdenv.isLinux [
+ ] ++ optionals stdenv.isLinux [
"--enable-profiler" # build libprofiler_builtins
];
@@ -121,7 +121,7 @@ in stdenv.mkDerivation rec {
dontUseCmakeConfigure = true;
nativeBuildInputs = [
- file python2 rustPlatform.rust.rustc git cmake
+ file python3 rustPlatform.rust.rustc git cmake
which libffi removeReferencesTo pkgconfig
];
diff --git a/nixpkgs/pkgs/development/compilers/smlnj/default.nix b/nixpkgs/pkgs/development/compilers/smlnj/default.nix
index 89912ac9ad6..a79c9a702c4 100644
--- a/nixpkgs/pkgs/development/compilers/smlnj/default.nix
+++ b/nixpkgs/pkgs/development/compilers/smlnj/default.nix
@@ -1,32 +1,47 @@
{ stdenv, fetchurl }:
let
- version = "110.91";
+ version = "110.95";
baseurl = "http://smlnj.cs.uchicago.edu/dist/working/${version}";
+ isArch64 = stdenv.system == "x86_64-linux";
+
+ arch = if isArch64
+ then "64"
+ else "32";
+
+ boot32 = { url = "${baseurl}/boot.x86-unix.tgz";
+ sha256 = "07bcrvjphyin1ygjbymcqhd1mbfk4hff82wmxcllh77lr28l5dxf"; };
+ boot64 = { url = "${baseurl}/boot.amd64-unix.tgz";
+ sha256 = "1zn96a83kb6bn6228yfjsvb58m2qxw9k4j3qz0p9c8za479w4ch6"; };
+
+ bootBinary = if isArch64
+ then boot64
+ else boot32;
+
sources = map fetchurl [
- { url = "${baseurl}/config.tgz"; sha256 = "00vbg2kpwgkf272m697p5hd35pawficbrifchn7dnd519wpdx436"; }
- { url = "${baseurl}/cm.tgz"; sha256 = "0wxb0s2fwh7lbb3z2pfvmvhk5v0gm75kchkv7gg9f895ahyvm6yd"; }
- { url = "${baseurl}/compiler.tgz"; sha256 = "0iq06ycivy562i59vvbma9zi575zw1djhdfkcy0bn7m9kfzzbgkh"; }
- { url = "${baseurl}/runtime.tgz"; sha256 = "0km8p4vmy3m38xv0rl8d3mh2nlk2mvx010npm34gs374bmmzc7z9"; }
- { url = "${baseurl}/system.tgz"; sha256 = "16d5vs1rn7ly6jxjm08222cj0sry73pr57xpc9d6k286b1v0910b"; }
- { url = "${baseurl}/MLRISC.tgz"; sha256 = "1c9sw8zm90ykas5nwbhk2wic7sxkjrylb610x37v46m5ips1wlma"; }
- { url = "${baseurl}/smlnj-lib.tgz"; sha256 = "09ka20ym7ahrpj4r6vc5phflc8y57dj09qvwk8ambfwb2p2274sw"; }
- { url = "${baseurl}/old-basis.tgz"; sha256 = "1bhq9fv6p8diz489h9571g0xrsi8yx7h6gh9410255klxjrw964h"; }
- { url = "${baseurl}/ckit.tgz"; sha256 = "1lq9ljai0shc6hszx5v6bqmkz16a3f295mfg7q622apzgzark3vd"; }
- { url = "${baseurl}/nlffi.tgz"; sha256 = "1xjmlwiclgckj73z5hz3hnqlavp3ax9sfvgc0rvj3xpy3i3n6axj"; }
- { url = "${baseurl}/cml.tgz"; sha256 = "1sjzipxnvr9dgcg16bllfk3b46ac9f8h353nh1ccykwwq4whi9bf"; }
- { url = "${baseurl}/eXene.tgz"; sha256 = "04clbchrlqx5v35gkbydbfnpl720i4nqijkshiwn0v592n4xfdf4"; }
- { url = "${baseurl}/ml-lpt.tgz"; sha256 = "0max073nzwv7vx13caj7zmlhslvxlgg8rj52278g7f6fqcrwp5cf"; }
- { url = "${baseurl}/ml-lex.tgz"; sha256 = "0x2mbg45l71049sgvvkl6bnqc5svz70vh1m1rbf3xk41z5bapcgr"; }
- { url = "${baseurl}/ml-yacc.tgz"; sha256 = "0a1pbwpw1y6d1xn9yjarqpmybrxqwp5snp28by36745h1jvb1p1b"; }
- { url = "${baseurl}/ml-burg.tgz"; sha256 = "119mq5jrbkn9vf9fgb0wyz483hf26al9hwb91xpmlmfx5qqnfzik"; }
- { url = "${baseurl}/pgraph.tgz"; sha256 = "1s7jmh3q88rz29bk02y3gzdqrgvk484j5ji8bn7s6fc78m50nqp8"; }
- { url = "${baseurl}/trace-debug-profile.tgz"; sha256 = "1gzf1pbmw2cn5w6f5qfdm3d6n6069n1nnzz6z4v7mr07x54c6mdv"; }
- { url = "${baseurl}/heap2asm.tgz"; sha256 = "09cgj568a9x017awysjdx35mlp5zkdmc2fs67fvnm5ifl7ivfs8j"; }
- { url = "${baseurl}/smlnj-c.tgz"; sha256 = "1g4xhcxychs9q25x7a5lvqfamq52c5ljlx84bc5cazvpkhixyg04"; }
- { url = "${baseurl}/doc.tgz"; sha256 = "1l0x91dscizk2pyj1lw595r84h1h0shxh0x5hva891717a1hfa51"; }
- { url = "${baseurl}/boot.x86-unix.tgz"; sha256 = "0f6x4nfhrgm1z4dx862df2yaffdh1sd6zx2lyb2vph5mhp7x9n58"; }
- { url = "${baseurl}/asdl.tgz"; sha256 = "1pi3m21jllyd2h0zpz4bajskfv58g6pjhpprqiwgmikn6w1pryp8"; }
+ bootBinary
+ { url = "${baseurl}/config.tgz"; sha256 = "09srqxkxl86iaz6l6dz83c1apsac0pxpfq6b74i6l0nfl261jibw"; }
+ { url = "${baseurl}/cm.tgz"; sha256 = "0gh8inrb07z597axw8qipwyx52m8nac5d5r0rvgzvdnnjg9nr9zy"; }
+ { url = "${baseurl}/compiler.tgz"; sha256 = "1kk6jwzyc261l5nii3n8rwccmgvcj1mg5fgycfsfsiyyy1v8xfx7"; }
+ { url = "${baseurl}/runtime.tgz"; sha256 = "17i069h5cv411sgzx3ynlf4v3wlrxiba9bwy1b0x0cyhs879kppc"; }
+ { url = "${baseurl}/system.tgz"; sha256 = "0s8ij3wfxpjrmrwxrgrirfxjj8vkda6l32j88al5q1ic3ncwc58s"; }
+ { url = "${baseurl}/MLRISC.tgz"; sha256 = "1v2d3gjxrcgc95x5glqcw0nfp13aapkcw03fyi70m3k1yc61izmz"; }
+ { url = "${baseurl}/smlnj-lib.tgz"; sha256 = "04i11ki8v9s7yz3lg6b0djhi03zzkzav0b5cr81ypxlkmf4hh6bp"; }
+ { url = "${baseurl}/old-basis.tgz"; sha256 = "1ryqpy0n7c9gd995ndmjvaci74f95nr8n1jjgm28yd1sn7hnavhi"; }
+ { url = "${baseurl}/ckit.tgz"; sha256 = "18mcs3j8c5gq9cmck7r175am60blaznqmhzyir622yfc8fpw1map"; }
+ { url = "${baseurl}/nlffi.tgz"; sha256 = "16mrl5aqbgsgljxa3z8kj5max9drddml34bq7rn1i78594jfvkwk"; }
+ { url = "${baseurl}/cml.tgz"; sha256 = "00x784nv1pi6534k3vva26i9qx84cvw242vgwbs5020zkm6gvrmn"; }
+ { url = "${baseurl}/eXene.tgz"; sha256 = "143825h36v6z77kwvrvpszgwnhmjs3yldb18i9z4lwkqfb4kn7f7"; }
+ { url = "${baseurl}/ml-lpt.tgz"; sha256 = "17ly9h9ry8r94dx6lkas6w2cxknwkpma4z9pj8rgzmd3w6qm7j1z"; }
+ { url = "${baseurl}/ml-lex.tgz"; sha256 = "1ja3l2kiq17754c58mwdiqi25f7ax0cji2wk0vq4872iwwxc22px"; }
+ { url = "${baseurl}/ml-yacc.tgz"; sha256 = "1m48nkwvw87yg39sjihlw8na5m34bzz3d4zpfbjaj2f75fkjy3jf"; }
+ { url = "${baseurl}/ml-burg.tgz"; sha256 = "13nbvbah7bn8gjm4gi41m412vpl69wd6d3x3wzbb6xpia9vm4z4j"; }
+ { url = "${baseurl}/pgraph.tgz"; sha256 = "1aizkl8avz01kx221xy5z7a1a1b5xqn2hrk66wr8d0iav2nh5c98"; }
+ { url = "${baseurl}/trace-debug-profile.tgz"; sha256 = "1c80xgck9sb2rm554nfg4f5mpjkdbrwkcx88pj120056225l10vx"; }
+ { url = "${baseurl}/heap2asm.tgz"; sha256 = "1n68drd7as5dy20ccfvgd9cmnhfpfvz7g3f0gc8kpaqaz3vpy36g"; }
+ { url = "${baseurl}/smlnj-c.tgz"; sha256 = "1b6svh2kk5211rq73fdwx3sf80d2rshf0dmkkrq5mw4852nzqz3p"; }
+ { url = "${baseurl}/doc.tgz"; sha256 = "021yzhy9maypq4ahz0d0qpr601spndg583fn9mapv6rl42kwhjq6"; }
+ { url = "${baseurl}/asdl.tgz"; sha256 = "0nqavqcbidwnphbbwjrxhpy8glbyad51wy0cpqimbsw3sgns0zkd"; }
];
in stdenv.mkDerivation {
pname = "smlnj";
@@ -37,6 +52,7 @@ in stdenv.mkDerivation {
patchPhase = ''
sed -i '/PATH=/d' config/_arch-n-opsys base/runtime/config/gen-posix-names.sh
echo SRCARCHIVEURL="file:/$TMP" > config/srcarchiveurl
+ patch --verbose config/_heap2exec ${./heap2exec.diff}
'';
unpackPhase = ''
@@ -50,7 +66,7 @@ in stdenv.mkDerivation {
'';
buildPhase = ''
- ./config/install.sh
+ ./config/install.sh -default ${arch}
'';
installPhase = ''
@@ -67,7 +83,7 @@ in stdenv.mkDerivation {
description = "Standard ML of New Jersey, a compiler";
homepage = http://smlnj.org;
license = licenses.bsd3;
- platforms = [ "i686-linux" ];
+ platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = with maintainers; [ thoughtpolice ];
};
}
diff --git a/nixpkgs/pkgs/development/compilers/smlnj/heap2exec.diff b/nixpkgs/pkgs/development/compilers/smlnj/heap2exec.diff
new file mode 100644
index 00000000000..ef21a8e7f07
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/smlnj/heap2exec.diff
@@ -0,0 +1,9 @@
+@@ -35,7 +35,7 @@
+ BIN_DIR=${SMLNJ_HOME}/bin
+ fi
+
+-ARCH_N_OPSYS=`"$BIN_DIR/.arch-n-opsys $SIZE_OPT"`
++ARCH_N_OPSYS=`$BIN_DIR/.arch-n-opsys $SIZE_OPT`
+ if [ "$?" != "0" ]; then
+ die "unable to determine architecture/operating system"
+ fi
diff --git a/nixpkgs/pkgs/development/compilers/solc/default.nix b/nixpkgs/pkgs/development/compilers/solc/default.nix
index 285f2cd2ebe..23e6c64f3ff 100644
--- a/nixpkgs/pkgs/development/compilers/solc/default.nix
+++ b/nixpkgs/pkgs/development/compilers/solc/default.nix
@@ -7,26 +7,23 @@ assert z3Support -> z3 != null && stdenv.lib.versionAtLeast z3.version "4.6.0";
assert cvc4Support -> cvc4 != null && cln != null && gmp != null;
let
- jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz;
+ jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.9.2.tar.gz;
jsoncpp = fetchzip {
url = jsoncppURL;
- sha256 = "1z0gj7a6jypkijmpknis04qybs1hkd04d1arr3gy89lnxmp6qzlm";
+ sha256 = "037d1b1qdmn3rksmn1j71j26bv4hkjv7sn7da261k853xb5899sg";
};
- buildSharedLibs = stdenv.hostPlatform.isLinux;
in
stdenv.mkDerivation rec {
pname = "solc";
- version = "0.5.12";
+ version = "0.5.15";
# upstream suggests avoid using archive generated by github
src = fetchzip {
url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
- sha256 = "0b9m9jhdz5lgrhrkngj1xnggxp1f6z8pzh29acsz3298l77kfk3z";
+ sha256 = "1nfvsaci5ja5ss603z04197wndwkvcq9nm5mdab1kpdr91djxh2y";
};
- patches = stdenv.lib.optionals buildSharedLibs [ ./patches/shared-libs-install.patch ];
-
postPatch = ''
substituteInPlace cmake/jsoncpp.cmake \
--replace "${jsoncppURL}" ${jsoncpp}
@@ -34,8 +31,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBoost_USE_STATIC_LIBS=OFF"
- ] ++ stdenv.lib.optionals buildSharedLibs [
- "-DBUILD_SHARED_LIBS=ON"
] ++ stdenv.lib.optionals (!z3Support) [
"-DUSE_Z3=OFF"
] ++ stdenv.lib.optionals (!cvc4Support) [
@@ -74,8 +69,6 @@ stdenv.mkDerivation rec {
popd
'';
- outputs = [ "out" "dev" ];
-
meta = with stdenv.lib; {
description = "Compiler for Ethereum smart contract language Solidity";
homepage = https://github.com/ethereum/solidity;
diff --git a/nixpkgs/pkgs/development/compilers/solc/patches/shared-libs-install.patch b/nixpkgs/pkgs/development/compilers/solc/patches/shared-libs-install.patch
deleted file mode 100644
index 382d49599c7..00000000000
--- a/nixpkgs/pkgs/development/compilers/solc/patches/shared-libs-install.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0c05208f..8893648e 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -48,6 +48,22 @@ add_subdirectory(libevmasm)
- add_subdirectory(libsolidity)
- add_subdirectory(libsolc)
-
-+install(DIRECTORY libdevcore/
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/libdevcore
-+ FILES_MATCHING PATTERN "*.h")
-+install(DIRECTORY libevmasm/
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/libevmasm
-+ FILES_MATCHING PATTERN "*.h")
-+install(DIRECTORY libsolidity/
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/libsolidity
-+ FILES_MATCHING PATTERN "*.h")
-+install(DIRECTORY libyul/
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/libyul
-+ FILES_MATCHING PATTERN "*.h")
-+install(DIRECTORY liblangutil/
-+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/liblangutil
-+ FILES_MATCHING PATTERN "*.h")
-+
- if (NOT EMSCRIPTEN)
- add_subdirectory(solc)
- add_subdirectory(liblll)
-diff --git a/libdevcore/CMakeLists.txt b/libdevcore/CMakeLists.txt
-index fa7e3f48..1f9f52b4 100644
---- a/libdevcore/CMakeLists.txt
-+++ b/libdevcore/CMakeLists.txt
-@@ -6,3 +6,4 @@ target_link_libraries(devcore PRIVATE jsoncpp ${Boost_FILESYSTEM_LIBRARIES} ${Bo
- target_include_directories(devcore PUBLIC "${CMAKE_SOURCE_DIR}")
- target_include_directories(devcore SYSTEM PUBLIC ${Boost_INCLUDE_DIRS})
- add_dependencies(devcore solidity_BuildInfo.h)
-+install(TARGETS devcore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
-diff --git a/libevmasm/CMakeLists.txt b/libevmasm/CMakeLists.txt
-index 86192c1b..e7f15e93 100644
---- a/libevmasm/CMakeLists.txt
-+++ b/libevmasm/CMakeLists.txt
-@@ -3,3 +3,4 @@ file(GLOB headers "*.h")
-
- add_library(evmasm ${sources} ${headers})
- target_link_libraries(evmasm PUBLIC devcore)
-+install(TARGETS evmasm LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
-diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt
-index 0bdec4b4..e876177e 100644
---- a/libsolidity/CMakeLists.txt
-+++ b/libsolidity/CMakeLists.txt
-@@ -29,6 +29,7 @@ endif()
-
- add_library(solidity ${sources} ${z3_SRCS} ${cvc4_SRCS})
- target_link_libraries(solidity PUBLIC yul evmasm langutil devcore Boost::boost Boost::filesystem Boost::system)
-+install(TARGETS solidity LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
-
- if (${Z3_FOUND})
- target_link_libraries(solidity PUBLIC ${Z3_LIBRARY})
---- a/libyul/CMakeLists.txt
-+++ b/libyul/CMakeLists.txt
-@@ -43,3 +43,4 @@ endif()
- optimiser/VarDeclPropagator.cpp
- )
- target_link_libraries(yul PUBLIC evmasm devcore langutil)
-+install(TARGETS yul LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
---- a/liblangutil/CMakeLists.txt
-+++ b/liblangutil/CMakeLists.txt
-@@ -11,3 +11,4 @@ endif()
-
- add_library(langutil ${sources})
- target_link_libraries(langutil PUBLIC devcore)
-+install(TARGETS langutil LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/nixpkgs/pkgs/development/compilers/souffle/default.nix b/nixpkgs/pkgs/development/compilers/souffle/default.nix
index a39a6c4a2e4..35ee7de7a2d 100644
--- a/nixpkgs/pkgs/development/compilers/souffle/default.nix
+++ b/nixpkgs/pkgs/development/compilers/souffle/default.nix
@@ -10,13 +10,13 @@ let
in
stdenv.mkDerivation rec {
pname = "souffle";
- version = "1.6.1";
+ version = "1.7.1";
src = fetchFromGitHub {
owner = "souffle-lang";
repo = "souffle";
rev = version;
- sha256 = "004c5iicjnlzn1yz1k7a28s4xdqx00016rr870drdq2z30mxfgz8";
+ sha256 = "0px8kh5875q2iyza4ylpa6vxpy6qxg0qvn2idk1j6dcdf5pdryph";
};
nativeBuildInputs = [ autoreconfHook bison flex mcpp doxygen graphviz makeWrapper perl ];
diff --git a/nixpkgs/pkgs/development/compilers/tinygo/default.nix b/nixpkgs/pkgs/development/compilers/tinygo/default.nix
new file mode 100644
index 00000000000..015c955000c
--- /dev/null
+++ b/nixpkgs/pkgs/development/compilers/tinygo/default.nix
@@ -0,0 +1,35 @@
+{ lib, buildGoModule, fetchFromGitHub, llvm, clang-unwrapped, lld, avrgcc
+, avrdude, openocd, gcc-arm-embedded, makeWrapper }:
+
+buildGoModule rec {
+ pname = "tinygo";
+ version = "0.10.0";
+
+ src = fetchFromGitHub {
+ owner = "tinygo-org";
+ repo = "tinygo";
+ rev = "v${version}";
+ sha256 = "03di8500dqk25giiajglcdf2gbc0jidsn8qsw2sxmkmnd1np7gyd";
+ };
+
+ modSha256 = "0r3lfi1bj550sf3b7ysz62c2c33f8zfli8208xixj3jadycb6r3z";
+ enableParallelBuilding = true;
+ subPackages = [ "." ];
+ buildInputs = [ llvm clang-unwrapped makeWrapper ];
+ propagatedBuildInputs = [ lld avrgcc avrdude openocd gcc-arm-embedded ];
+
+ postInstall = ''
+ mkdir -p $out/share/tinygo
+ cp -a lib src targets $out/share/tinygo
+ wrapProgram $out/bin/tinygo --prefix "TINYGOROOT" : "$out/share/tinygo"
+ ln -sf $out/bin $out/share/tinygo
+ '';
+
+ meta = with lib; {
+ homepage = "https://tinygo.org/";
+ description = "Go compiler for small places";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ chiiruno ];
+ platforms = platforms.all;
+ };
+}
diff --git a/nixpkgs/pkgs/development/compilers/vala/default.nix b/nixpkgs/pkgs/development/compilers/vala/default.nix
index 8079daf59a5..d84503caa60 100644
--- a/nixpkgs/pkgs/development/compilers/vala/default.nix
+++ b/nixpkgs/pkgs/development/compilers/vala/default.nix
@@ -106,18 +106,18 @@ in rec {
};
vala_0_40 = generic {
- version = "0.40.16";
- sha256 = "0vv25fmr9jqiqf080vak1x4raa4w3cz3n5ysjglqsq9qfx304i7b";
+ version = "0.40.18";
+ sha256 = "1f7cdkjdysg4dcri1wbzdddm46amk2s48jkwb5ghpdvhjb4l5j2m";
};
vala_0_44 = generic {
- version = "0.44.8";
- sha256 = "0f7pc496zvxfhbkhg8ayxykjas6f55mgv452wsnh0bz5zbxm8xrl";
+ version = "0.44.11";
+ sha256 = "06spdvm9q9k4riq1d2fxkyc8d88bcv460v360465iy1lnj3z9x2s";
};
vala_0_46 = generic {
- version = "0.46.2";
- sha256 = "1g20fzcwh3j7ab46jalabyi005h2in0cp7xj0yga4b8hx29h61wj";
+ version = "0.46.5";
+ sha256 = "07fv895sp9wq74b20qig7hic0r4ynrr5pfaqba02r44xb794fy0s";
};
vala = vala_0_46;
diff --git a/nixpkgs/pkgs/development/compilers/x11basic/default.nix b/nixpkgs/pkgs/development/compilers/x11basic/default.nix
index 3d955c4394b..147ec13c555 100644
--- a/nixpkgs/pkgs/development/compilers/x11basic/default.nix
+++ b/nixpkgs/pkgs/development/compilers/x11basic/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
pname = "X11basic";
- version = "1.26";
+ version = "1.27";
src = fetchFromGitHub {
owner = "kollokollo";
repo = pname;
rev = version;
- sha256 = "0rwj9cf496xailply0rgw695bzdladh2dhy7vdqac1pwbkl53nvd";
+ sha256 = "1hpxzdqnjl1fiwgs2vrjg4kxm29c7pqwk3g1m4p5pm4x33a3d1q2";
};
buildInputs = [
diff --git a/nixpkgs/pkgs/development/compilers/yap/default.nix b/nixpkgs/pkgs/development/compilers/yap/default.nix
index 1cc96455be7..e6fdd03bb67 100644
--- a/nixpkgs/pkgs/development/compilers/yap/default.nix
+++ b/nixpkgs/pkgs/development/compilers/yap/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-tabling=yes" ];
- NIX_CFLAGS_COMPILE = [ "-fpermissive" ];
+ NIX_CFLAGS_COMPILE = "-fpermissive";
meta = {
homepage = http://www.dcc.fc.up.pt/~vsc/Yap/;
diff --git a/nixpkgs/pkgs/development/compilers/z88dk/default.nix b/nixpkgs/pkgs/development/compilers/z88dk/default.nix
index 433b6e6b32c..2d62bfede09 100644
--- a/nixpkgs/pkgs/development/compilers/z88dk/default.nix
+++ b/nixpkgs/pkgs/development/compilers/z88dk/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
# we test in checkPhase
substituteInPlace Makefile \
--replace 'testsuite bin/z88dk-lib$(EXESUFFIX)' 'bin/z88dk-lib$(EXESUFFIX)'\
- --replace 'ALL_EXT = bin/zsdcc$(EXESUFFIX)' 'ALL_EXT ='
+ --replace 'ALL_EXT = bin/zsdcc$(EXESUFFIX)' 'ALL_EXT ='
'';
checkPhase = ''
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/{bin,share}
'';
- installTargets = "libs install";
+ installTargets = [ "libs" "install" ];
meta = with stdenv.lib; {
homepage = "https://www.z88dk.org";