Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2018-07-16 17:11:01 +02:00
commit f001c81c1a
22 changed files with 2672 additions and 1265 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, callPackage, fetchFromGitHub, makeWrapper, ant, jdk, rsync, javaPackages, libXxf86vm }: { stdenv, callPackage, fetchFromGitHub, fetchurl, xmlstarlet, makeWrapper, ant, jdk, rsync, javaPackages, libXxf86vm, gsettings-desktop-schemas }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "3.3.7"; version = "3.3.7";
@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
rm core/library/*.jar rm core/library/*.jar
cp ${javaPackages.jogl_2_3_2}/share/java/*.jar core/library/ cp ${javaPackages.jogl_2_3_2}/share/java/*.jar core/library/
# do not download a file during build
${xmlstarlet}/bin/xmlstarlet ed --inplace -P -d '//get[@src="http://download.processing.org/reference.zip"]' build/build.xml
install -D -m0444 ${fetchurl {
url = http://download.processing.org/reference.zip;
sha256 = "104zig026y8vbl4qksmscjq0bms8mi2jmri1ijdlbkxcqnv9bnlf";
}
} ./java/reference.zip
# suppress "Not fond of this Java VM" message box # suppress "Not fond of this Java VM" message box
substituteInPlace app/src/processing/app/platform/LinuxPlatform.java \ substituteInPlace app/src/processing/app/platform/LinuxPlatform.java \
--replace 'Messages.showWarning' 'if (false) Messages.showWarning' --replace 'Messages.showWarning' 'if (false) Messages.showWarning'
@ -37,9 +45,11 @@ stdenv.mkDerivation rec {
ln -s ${jdk} $out/${name}/java ln -s ${jdk} $out/${name}/java
makeWrapper $out/${name}/processing $out/bin/processing \ makeWrapper $out/${name}/processing $out/bin/processing \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} \
--prefix _JAVA_OPTIONS " " -Dawt.useSystemAAFontSettings=lcd \ --prefix _JAVA_OPTIONS " " -Dawt.useSystemAAFontSettings=lcd \
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib --prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
makeWrapper $out/${name}/processing-java $out/bin/processing-java \ makeWrapper $out/${name}/processing-java $out/bin/processing-java \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} \
--prefix _JAVA_OPTIONS " " -Dawt.useSystemAAFontSettings=lcd \ --prefix _JAVA_OPTIONS " " -Dawt.useSystemAAFontSettings=lcd \
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib --prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
''; '';

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A high-performance theorem prover and SMT solver"; description = "A high-performance theorem prover and SMT solver";
homepage = http://cvc4.cs.nyu.edu/web/; homepage = http://cvc4.cs.stanford.edu/web/;
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ vbgl thoughtpolice gebner ]; maintainers = with maintainers; [ vbgl thoughtpolice gebner ];

View File

@ -1,6 +1,6 @@
{ fetchurl }: { fetchurl }:
fetchurl { fetchurl {
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/0986b1ed62a71528e09a660493955d79f0bf2fbf.tar.gz"; url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/e6e8a920e43237ccd2f66d6a349b5932a5eba1f5.tar.gz";
sha256 = "1s8xffqpkwv1x038mi1vw0rk6k3scwpp2l1phq9zs2vxrhblriaw"; sha256 = "0xyw1a5fp6swyxsj79hihivq9fpzzvl4apv34399a1n4ch6qhbf3";
} }

View File

@ -76,12 +76,12 @@ let
in in
stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
version = "8.6.0.20180627"; version = "8.6.0.20180714";
name = "${targetPrefix}ghc-${version}"; name = "${targetPrefix}ghc-${version}";
src = fetchurl { src = fetchurl {
url = "https://downloads.haskell.org/~ghc/8.6.1-alpha1/ghc-${version}-src.tar.xz"; url = "https://downloads.haskell.org/~ghc/8.6.1-alpha2/ghc-${version}-src.tar.xz";
sha256 = "0vmki10ypdhca3nykxz3lgarr14mfanfkif43m1s2p1q0b1z576n"; sha256 = "1jrkqrqdv2z9i9s1xaxhci34c9rjvlgr40y34bxsfj0hj1r28409";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -12,9 +12,10 @@ Updating
--- ---
``` ```
$ nix-prefetch-git https://github.com/ghcjs/ghcjs --rev refs/heads/ghc-8.2 \ $ nix-prefetch-git https://github.com/ghcjs/ghcjs --rev refs/heads/ghc-8.4 \
| jq '{ url, rev, fetchSubmodules, sha256 }' \ | jq '{ url, rev, fetchSubmodules, sha256 }' \
> 8.2/git.json > 8.4/git.json
$ cat $(nix-build ../../../.. -A haskell.compiler.ghcjs82.genStage0 --no-out-link) > 8.2/stage0.nix $ cat $(nix-build ../../../.. -A haskell.compiler.ghcjs82.genStage0 --no-out-link) > 8.4/stage0.nix
$ cabal2nix --compiler ghcjs git://github.com/ghcjs/ghcjs-base > ghcjs-base.nix
``` ```

View File

@ -18,6 +18,7 @@
, lib , lib
, nodePackages , nodePackages
, ghcjsDepOverrides ? (_:_:{}) , ghcjsDepOverrides ? (_:_:{})
, haskell
}: }:
let let
@ -48,7 +49,11 @@ let
# Relics of the old GHCJS build system # Relics of the old GHCJS build system
stage1Packages = []; stage1Packages = [];
mkStage2 = _: {}; mkStage2 = { callPackage }: {
# https://github.com/ghcjs/ghcjs-base/issues/110
# https://github.com/ghcjs/ghcjs-base/pull/111
ghcjs-base = haskell.lib.dontCheck (haskell.lib.doJailbreak (callPackage ./ghcjs-base.nix {}));
};
haskellCompilerName = "ghcjs-${bootGhcjs.version}"; haskellCompilerName = "ghcjs-${bootGhcjs.version}";
}; };

View File

@ -0,0 +1,29 @@
{ mkDerivation, aeson, array, attoparsec, base, binary, bytestring
, containers, deepseq, directory, dlist, fetchgit, ghc-prim
, ghcjs-prim, hashable, HUnit, integer-gmp, primitive, QuickCheck
, quickcheck-unicode, random, scientific, stdenv, test-framework
, test-framework-hunit, test-framework-quickcheck2, text, time
, transformers, unordered-containers, vector
}:
mkDerivation {
pname = "ghcjs-base";
version = "0.2.0.0";
src = fetchgit {
url = "git://github.com/ghcjs/ghcjs-base";
sha256 = "0qr05m0djll3x38dhl85pl798arsndmwfhil8yklhb70lxrbvfrs";
rev = "01014ade3f8f5ae677df192d7c2a208bd795b96c";
};
libraryHaskellDepends = [
aeson attoparsec base binary bytestring containers deepseq dlist
ghc-prim ghcjs-prim hashable integer-gmp primitive scientific text
time transformers unordered-containers vector
];
testHaskellDepends = [
array base bytestring deepseq directory ghc-prim ghcjs-prim HUnit
primitive QuickCheck quickcheck-unicode random test-framework
test-framework-hunit test-framework-quickcheck2 text
];
homepage = "http://github.com/ghcjs/ghcjs-base";
description = "base library for GHCJS";
license = stdenv.lib.licenses.mit;
}

View File

@ -4,8 +4,8 @@ with haskellLib;
self: super: { self: super: {
# Use the latest LLVM. # This compiler version needs llvm 5.x.
inherit (pkgs) llvmPackages; llvmPackages = pkgs.llvmPackages_5;
# Disable GHC 8.4.x core libraries. # Disable GHC 8.4.x core libraries.
array = null; array = null;
@ -55,11 +55,8 @@ self: super: {
# package's version constraints. # package's version constraints.
xmonad-extras = doJailbreak super.xmonad-extras; xmonad-extras = doJailbreak super.xmonad-extras;
# This package desperately needs a maintainer. # https://github.com/jaor/xmobar/issues/356
xmobar = super.xmobar.overrideScope (self: super: { xmobar = super.xmobar.overrideScope (self: super: { hinotify = self.hinotify_0_3_9; });
hinotify = self.hinotify_0_3_9; # https://github.com/jaor/xmobar/issues/356
dbus = self.dbus_0_10_15; # https://github.com/jaor/xmobar/issues/346
});
hinotify_0_3_9 = dontCheck (doJailbreak super.hinotify_0_3_9); # allow async 2.2.x hinotify_0_3_9 = dontCheck (doJailbreak super.hinotify_0_3_9); # allow async 2.2.x
} }

View File

@ -4,8 +4,8 @@ with haskellLib;
self: super: { self: super: {
# Use the latest LLVM. # This compiler version needs llvm 5.x.
inherit (pkgs) llvmPackages; llvmPackages = pkgs.llvmPackages_5;
# Disable GHC 8.6.x core libraries. # Disable GHC 8.6.x core libraries.
array = null; array = null;

View File

@ -4,8 +4,8 @@ with haskellLib;
self: super: { self: super: {
# Use the latest LLVM. # This compiler version needs llvm 5.x.
inherit (pkgs) llvmPackages; llvmPackages = pkgs.llvmPackages_5;
# Disable GHC 8.7.x core libraries. # Disable GHC 8.7.x core libraries.
array = null; array = null;

View File

@ -23,6 +23,11 @@ self: super:
}; };
in stage1 // stage2 // { in stage1 // stage2 // {
# GHCJS does not ship with the same core packages as GHC.
# https://github.com/ghcjs/ghcjs/issues/676
stm = self.stm_2_4_5_0;
ghc-compact = self.ghc-compact_0_1_0_0;
network = addBuildTools super.network (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv); network = addBuildTools super.network (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv);
zlib = addBuildTools super.zlib (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv); zlib = addBuildTools super.zlib (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv);
unix-compat = addBuildTools super.unix-compat (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv); unix-compat = addBuildTools super.unix-compat (pkgs.lib.optional pkgs.buildPlatform.isDarwin pkgs.buildPackages.darwin.libiconv);
@ -121,7 +126,6 @@ self: super:
}); });
ghcjs-dom-jsffi = overrideCabal super.ghcjs-dom-jsffi (drv: { ghcjs-dom-jsffi = overrideCabal super.ghcjs-dom-jsffi (drv: {
setupHaskellDepends = (drv.setupHaskellDepends or []) ++ [ self.buildHaskellPackages.Cabal_1_24_2_0 ];
libraryHaskellDepends = (drv.libraryHaskellDepends or []) ++ [ self.ghcjs-base self.text ]; libraryHaskellDepends = (drv.libraryHaskellDepends or []) ++ [ self.ghcjs-base self.text ];
isLibrary = true; isLibrary = true;
}); });
@ -197,4 +201,11 @@ self: super:
base-orphans = dontCheck super.base-orphans; base-orphans = dontCheck super.base-orphans;
distributive = dontCheck super.distributive; distributive = dontCheck super.distributive;
# https://github.com/glguy/th-abstraction/issues/53
th-abstraction = dontCheck super.th-abstraction;
# https://github.com/dreixel/syb/issues/21
syb = dontCheck super.syb;
# https://github.com/ghcjs/ghcjs/issues/677
hspec-core = dontCheck super.hspec-core;
} }

File diff suppressed because it is too large Load Diff

View File

@ -213,10 +213,10 @@ in
pnpm = nodeEnv.buildNodePackage { pnpm = nodeEnv.buildNodePackage {
name = "pnpm"; name = "pnpm";
packageName = "pnpm"; packageName = "pnpm";
version = "2.9.0"; version = "2.11.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/pnpm/-/pnpm-2.9.0.tgz"; url = "https://registry.npmjs.org/pnpm/-/pnpm-2.11.2.tgz";
sha1 = "1c2f5ade46b87cc3b1f3b7c66eeb7b0f4df4d968"; sha1 = "fc7235c2ec82a6ede6caf47485a68a2c6fa2e1f5";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,13 @@
{ stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args: { stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:
buildLinux (args // rec { buildLinux (args // rec {
version = "4.18-rc4"; version = "4.18-rc5";
modDirVersion = "4.18.0-rc4"; modDirVersion = "4.18.0-rc5";
extraMeta.branch = "4.18"; extraMeta.branch = "4.18";
src = fetchurl { src = fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
sha256 = "1nhl82ygz7sm6njnb9qg9k4jp0gr1cv2wxpayrpc4ab21xb6b5mj"; sha256 = "1r7ia0dc4p8xvyrl5kx9v7ii1m25ly0hg6xyz3zwhaailg1y4jzk";
}; };
# Should the testing kernels ever be built on Hydra? # Should the testing kernels ever be built on Hydra?

View File

@ -17,7 +17,7 @@ in stdenv.mkDerivation {
echo "''\n''\n## file: "`basename "$f"`"''\n''\n" >> "$out"/modprobe.conf echo "''\n''\n## file: "`basename "$f"`"''\n''\n" >> "$out"/modprobe.conf
cat "$f" >> "$out"/modprobe.conf cat "$f" >> "$out"/modprobe.conf
# https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1475945 # https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1475945
sed -i '/^blacklist i2c_801/d' $out/modprobe.conf sed -i '/^blacklist i2c_i801/d' $out/modprobe.conf
done done
substituteInPlace "$out"/modprobe.conf \ substituteInPlace "$out"/modprobe.conf \

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jackett-${version}"; name = "jackett-${version}";
version = "0.8.1209"; version = "0.9.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz"; url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz";
sha256 = "0vql7h6diswvvh1a0rcisc541bk4ilp0ab1nn4z4dq16hcy0fv61"; sha256 = "1hj6ilhv98yzhfjvrgqrsgaz7bd1yqaayifir8ivsvqq8085nlf6";
}; };
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];

View File

@ -30,7 +30,8 @@ stdenv.mkDerivation rec {
description = "Flash-optimized, in-memory, NoSQL database"; description = "Flash-optimized, in-memory, NoSQL database";
homepage = http://aerospike.com/; homepage = http://aerospike.com/;
license = licenses.agpl3; license = licenses.agpl3;
platforms = [ "x86_64-linux" ]; #platforms = [ "x86_64-linux" ]; # breaks eval of nixos manual for aarch64
maintainer = with maintainers; [ kalbasit ]; platforms = platforms.linux;
maintainers = with maintainers; [ kalbasit ];
}; };
} }

View File

@ -2420,11 +2420,11 @@ let
}) // {inherit inputproto libX11 libXext libXi libXinerama libXrandr ;}; }) // {inherit inputproto libX11 libXext libXi libXinerama libXrandr ;};
xkbcomp = (mkDerivation "xkbcomp" { xkbcomp = (mkDerivation "xkbcomp" {
name = "xkbcomp-1.4.0"; name = "xkbcomp-1.4.2";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = mirror://xorg/individual/app/xkbcomp-1.4.0.tar.bz2; url = mirror://xorg/individual/app/xkbcomp-1.4.2.tar.bz2;
sha256 = "0syfc6zscvai824mzihlnrqxhkcr27dzkpy8zndavi83iischsdw"; sha256 = "0944rrkkf0dxp07vhh9yr4prslxhqyw63qmbjirbv1bypswvrn3d";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 libxkbfile xproto ]; buildInputs = [ libX11 libxkbfile xproto ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }: { stdenv, fetchurl, enableStatic ? false }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xz-5.2.4"; name = "xz-5.2.4";
@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" "man" "doc" ]; outputs = [ "bin" "dev" "out" "man" "doc" ];
configureFlags = stdenv.lib.optional enableStatic "--disable-shared";
doCheck = true; doCheck = true;
preCheck = '' preCheck = ''

View File

@ -84,7 +84,7 @@ in rec {
buildLlvmPackages = buildPackages.llvmPackages_5; buildLlvmPackages = buildPackages.llvmPackages_5;
llvmPackages = pkgs.llvmPackages_5; llvmPackages = pkgs.llvmPackages_5;
}; };
ghcjs = compiler.ghcjs82; ghcjs = compiler.ghcjs84;
ghcjs710 = packages.ghc7103.callPackage ../development/compilers/ghcjs { ghcjs710 = packages.ghc7103.callPackage ../development/compilers/ghcjs {
bootPkgs = packages.ghc7103; bootPkgs = packages.ghc7103;
inherit (pkgs) cabal-install; inherit (pkgs) cabal-install;
@ -166,7 +166,7 @@ in rec {
ghc = bh.compiler.ghcHEAD; ghc = bh.compiler.ghcHEAD;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-head.nix { }; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-head.nix { };
}; };
ghcjs = packages.ghcjs82; ghcjs = packages.ghcjs84;
ghcjs710 = callPackage ../development/haskell-modules rec { ghcjs710 = callPackage ../development/haskell-modules rec {
buildHaskellPackages = ghc.bootPkgs; buildHaskellPackages = ghc.bootPkgs;
ghc = bh.compiler.ghcjs710; ghc = bh.compiler.ghcjs710;