From f7b283896b2ecd5761a05b0fb9fccb4e2538853b Mon Sep 17 00:00:00 2001 From: desiderius Date: Tue, 21 Jul 2015 09:22:32 +0200 Subject: [PATCH 01/32] python-packages: falcon 0.2.0 -> 0.3.0 --- lib/maintainers.nix | 1 + pkgs/top-level/python-packages.nix | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 0c76df9c0449..e1d85034f12c 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -70,6 +70,7 @@ davidrusu = "David Rusu "; dbohdan = "Danyil Bohdan "; DerGuteMoritz = "Moritz Heidkamp "; + desiderius = "Didier J. Devroye "; devhell = "devhell <\"^\"@regexmail.net>"; dezgeg = "Tuomas Tynkkynen "; dmalikov = "Dmitry Malikov "; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 08c0cfee510e..92c4f36a1286 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5721,21 +5721,32 @@ let }); falcon = buildPythonPackage (rec { - name = "falcon-0.2"; + name = "falcon-0.3.0"; src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/f/falcon/${name}.tar.gz"; - md5 = "bf9e8bdd20700f1ff7ce6397cd441fbd"; + sha256 = "10ivzk88m8nn3bqbg6xgv6yfy2dgp6yzbcvr645y93pzlash4xpj"; }; propagatedBuildInputs = with self; [ coverage ddt nose pyyaml requests2 six testtools python_mimeparse ]; + # The travis build fails since the migration from multiprocessing to threading for hosting the API under test. + # OSError: [Errno 98] Address already in use + doCheck = false; + + # This patch is required if the tests are enabled + # See https://github.com/falconry/falcon/issues/572 + #patches = singleton (pkgs.fetchurl { + # name = "falcon-572.patch"; + # url = "https://github.com/desiderius/falcon/commit/088bd3f2204eb6368acb3a1bf6c6b54c415225c2.patch"; + # sha256 = "19102dlzc4890skmam2v20va2vk5xr56fi4nzibzfvl7vyq68060"; + #}); + meta = { description = "An unladen web framework for building APIs and app backends"; - homepage = http://falconframework.org; - license = licenses.asl20; + maintainers = with maintainers; [ desiderius ]; }; }); From 103613f7664eaf5b8ed3be77ef61c294fdfad519 Mon Sep 17 00:00:00 2001 From: Kosyrev Serge <_deepfire@feelingofgreen.ru> Date: Tue, 28 Jul 2015 02:02:33 +0300 Subject: [PATCH 02/32] ghcNokinds: 20150703 -> 20150718 --- pkgs/development/compilers/ghc/nokinds.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/compilers/ghc/nokinds.nix b/pkgs/development/compilers/ghc/nokinds.nix index 1adb4207f059..98e18706a16c 100644 --- a/pkgs/development/compilers/ghc/nokinds.nix +++ b/pkgs/development/compilers/ghc/nokinds.nix @@ -27,14 +27,14 @@ let in stdenv.mkDerivation rec { - version = "7.11.20150703"; + version = "7.11.20150718"; name = "ghc-nokinds-${version}"; - rev = "887170ac254aaacc2d5e29f2565ac61522fd8f61"; + rev = "4cb79c85a4976c509a65a8638899391a60cd0962"; src = fetchgit { url = "https://github.com/goldfirere/ghc.git"; inherit rev; - sha256 = "010x9ckig76sz97s2ss1j1sf70czqx1cn39nj4xbh49m8n2zvsqf"; + sha256 = "1pyz459hs189bw2jaz7k2j2r53nc1vfa4q3zd3zz1zm0h14lsmlv"; }; postUnpack = '' From 242c0d3e185b5343f8e3f2e3ffe09a4b4e454604 Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Tue, 28 Jul 2015 01:52:53 +0900 Subject: [PATCH 03/32] ponymix: init at 4 --- pkgs/applications/audio/ponymix/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/applications/audio/ponymix/default.nix diff --git a/pkgs/applications/audio/ponymix/default.nix b/pkgs/applications/audio/ponymix/default.nix new file mode 100644 index 000000000000..0b5947e16f40 --- /dev/null +++ b/pkgs/applications/audio/ponymix/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, libpulseaudio, libnotify, pkgconfig }: + +stdenv.mkDerivation rec { + name = "ponymix-${version}"; + version = "4"; + src = fetchurl { + url = "http://code.falconindy.com/archive/ponymix/${name}.tar.xz"; + sha256 = "008pk3sqc8955k2f502z1syzv43a4q0yk5ws69lgpqfsy1mzki2d"; + }; + + buildInputs = [ libpulseaudio libnotify ]; + nativeBuildInputs = [ pkgconfig ]; + + postPatch = ''substituteInPlace Makefile --replace "\$(DESTDIR)/usr" "$out"''; + + meta = { + description = "CLI PulseAudio Volume Control"; + homepage = "http://github.com/falconindy/ponymix"; + license = "mit"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e7f93aedfc2c..821d2d003be6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12362,6 +12362,8 @@ let pond = callPackage ../applications/networking/pond { goPackages = go14Packages; }; + ponymix = callPackage ../applications/audio/ponymix { }; + potrace = callPackage ../applications/graphics/potrace {}; posterazor = callPackage ../applications/misc/posterazor { }; From 208bd8242d5dab6929d8651810a38f970412b010 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 28 Jul 2015 02:55:55 +0200 Subject: [PATCH 04/32] apktool: set sourceRoot Otherwise installation fails with the message that unpacking produced no directories (which is true). --- pkgs/development/tools/apktool/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/apktool/default.nix b/pkgs/development/tools/apktool/default.nix index 239416535755..71e8dcc49537 100644 --- a/pkgs/development/tools/apktool/default.nix +++ b/pkgs/development/tools/apktool/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { buildInputs = [ makeWrapper ]; + sourceRoot = "."; + installPhase = '' install -D apktool.jar "$out/libexec/apktool/apktool.jar" mkdir -p "$out/bin" From fba4a950685023bc792422665b2dbe9934ebc9c6 Mon Sep 17 00:00:00 2001 From: James Cook Date: Mon, 27 Jul 2015 22:36:15 -0700 Subject: [PATCH 05/32] expat: patch for CVE-2015-1283 from Mozilla --- .../libraries/expat/CVE-2015-1283.patch | 77 +++++++++++++++++++ pkgs/development/libraries/expat/default.nix | 2 + 2 files changed, 79 insertions(+) create mode 100644 pkgs/development/libraries/expat/CVE-2015-1283.patch diff --git a/pkgs/development/libraries/expat/CVE-2015-1283.patch b/pkgs/development/libraries/expat/CVE-2015-1283.patch new file mode 100644 index 000000000000..33b975912d40 --- /dev/null +++ b/pkgs/development/libraries/expat/CVE-2015-1283.patch @@ -0,0 +1,77 @@ +Found at https://hg.mozilla.org/releases/mozilla-esr31/rev/2f3e78643f5c on 2015-07-27. Modified: replaced path parser/expat/lib/xmlparse.c with lib/xmlparse.c. +diff --git a/lib/xmlparse.c b/lib/xmlparse.c +--- a/lib/xmlparse.c ++++ b/lib/xmlparse.c +@@ -1646,29 +1646,40 @@ XML_ParseBuffer(XML_Parser parser, int l + XmlUpdatePosition(encoding, positionPtr, bufferPtr, &position); + positionPtr = bufferPtr; + return result; + } + + void * XMLCALL + XML_GetBuffer(XML_Parser parser, int len) + { ++/* BEGIN MOZILLA CHANGE (sanity check len) */ ++ if (len < 0) { ++ errorCode = XML_ERROR_NO_MEMORY; ++ return NULL; ++ } ++/* END MOZILLA CHANGE */ + switch (ps_parsing) { + case XML_SUSPENDED: + errorCode = XML_ERROR_SUSPENDED; + return NULL; + case XML_FINISHED: + errorCode = XML_ERROR_FINISHED; + return NULL; + default: ; + } + + if (len > bufferLim - bufferEnd) { +- /* FIXME avoid integer overflow */ + int neededSize = len + (int)(bufferEnd - bufferPtr); ++/* BEGIN MOZILLA CHANGE (sanity check neededSize) */ ++ if (neededSize < 0) { ++ errorCode = XML_ERROR_NO_MEMORY; ++ return NULL; ++ } ++/* END MOZILLA CHANGE */ + #ifdef XML_CONTEXT_BYTES + int keep = (int)(bufferPtr - buffer); + + if (keep > XML_CONTEXT_BYTES) + keep = XML_CONTEXT_BYTES; + neededSize += keep; + #endif /* defined XML_CONTEXT_BYTES */ + if (neededSize <= bufferLim - buffer) { +@@ -1687,17 +1698,25 @@ XML_GetBuffer(XML_Parser parser, int len + } + else { + char *newBuf; + int bufferSize = (int)(bufferLim - bufferPtr); + if (bufferSize == 0) + bufferSize = INIT_BUFFER_SIZE; + do { + bufferSize *= 2; +- } while (bufferSize < neededSize); ++/* BEGIN MOZILLA CHANGE (prevent infinite loop on overflow) */ ++ } while (bufferSize < neededSize && bufferSize > 0); ++/* END MOZILLA CHANGE */ ++/* BEGIN MOZILLA CHANGE (sanity check bufferSize) */ ++ if (bufferSize <= 0) { ++ errorCode = XML_ERROR_NO_MEMORY; ++ return NULL; ++ } ++/* END MOZILLA CHANGE */ + newBuf = (char *)MALLOC(bufferSize); + if (newBuf == 0) { + errorCode = XML_ERROR_NO_MEMORY; + return NULL; + } + bufferLim = newBuf + bufferSize; + #ifdef XML_CONTEXT_BYTES + if (bufferPtr) { + + + + diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix index 9a49225d1723..05cfeaee4232 100644 --- a/pkgs/development/libraries/expat/default.nix +++ b/pkgs/development/libraries/expat/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation rec { sha256 = "11pblz61zyxh68s5pdcbhc30ha1b2vfjd83aiwfg4vc15x3hadw2"; }; + patches = [ ./CVE-2015-1283.patch ]; + meta = with stdenv.lib; { homepage = http://www.libexpat.org/; description = "A stream-oriented XML parser library written in C"; From 99750d89dd962cc7011b02e487ed1a38c7842524 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 28 Jul 2015 10:25:31 +0200 Subject: [PATCH 06/32] Don't evaluate haskellPackages when gitit is disabled This cuts evaluation time of my NixOS configuration from 1.76s to 1.36s, and RSS from 443 MiB to 368 MiB. Issue #8152. --- nixos/modules/services/misc/gitit.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/misc/gitit.nix b/nixos/modules/services/misc/gitit.nix index 56e735d7356b..72b706ddc5ae 100644 --- a/nixos/modules/services/misc/gitit.nix +++ b/nixos/modules/services/misc/gitit.nix @@ -40,7 +40,6 @@ let }; haskellPackages = mkOption { - default = pkgs.haskellPackages; defaultText = "pkgs.haskellPackages"; example = literalExample "pkgs.haskell.packages.ghc784"; description = "haskellPackages used to build gitit and plugins."; @@ -143,7 +142,6 @@ let staticDir = mkOption { type = types.path; - default = gititShared + "/data/static"; description = '' Specifies the path of the static directory (containing javascript, css, and images). If it does not exist, gitit will create it and @@ -214,7 +212,6 @@ let templatesDir = mkOption { type = types.path; - default = gititShared + "/data/templates"; description = '' Specifies the path of the directory containing page templates. If it does not exist, gitit will create it with default templates. Users @@ -296,7 +293,6 @@ let plugins = mkOption { type = types.path; - default = gititShared + "/plugins/Dot.hs"; description = '' Specifies a list of plugins to load. Plugins may be specified either by their path or by their module name. If the plugin name starts @@ -608,6 +604,13 @@ in config = mkIf cfg.enable { + services.gitit = { + haskellPackages = mkDefault pkgs.haskellPackages; + staticDir = gititShared + "/data/static"; + templatesDir = gititShared + "/data/templates"; + plugins = gititShared + "/plugins/Dot.hs"; + }; + users.extraUsers.gitit = { group = config.users.extraGroups.gitit.name; description = "Gitit user"; From 6e049800ed40d073785b01cc8ea2ffc8606afb3d Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 29 Jun 2015 14:19:12 +0300 Subject: [PATCH 07/32] nethack: update, adopt --- pkgs/games/nethack/default.nix | 86 ++++++++++++++++++++------------- pkgs/top-level/all-packages.nix | 4 +- 2 files changed, 53 insertions(+), 37 deletions(-) diff --git a/pkgs/games/nethack/default.nix b/pkgs/games/nethack/default.nix index d817cf643238..e5057c27e997 100644 --- a/pkgs/games/nethack/default.nix +++ b/pkgs/games/nethack/default.nix @@ -1,57 +1,75 @@ -a : -let - fetchurl = a.fetchurl; +{ stdenv, fetchurl, writeScript, ncurses, gzip, flex, bison }: + +stdenv.mkDerivation rec { + name = "nethack-3.4.3"; - version = a.lib.attrByPath ["version"] "3.4.3" a; - buildInputs = with a; [ - ncurses flex bison - ]; -in -rec { src = fetchurl { url = "mirror://sourceforge/nethack/nethack-343-src.tgz"; sha256 = "1r3ghqj82j0bar62z3b0lx9hhx33pj7p1ppxr2hg8bgfm79c6fdv"; }; - inherit buildInputs; - configureFlags = []; + buildInputs = [ ncurses ]; - /* doConfigure should be removed if not needed */ - phaseNames = ["preBuild" "doMakeInstall" "postInstall"]; - - preBuild = a.fullDepEntry ('' + nativeBuildInputs = [ flex bison ]; + + preBuild = '' ( cd sys/unix ; sh setup.sh ) - sed -e 's@.*define HACKDIR.*@\#define HACKDIR "/tmp/nethack"@' -i include/config.h + sed -e '/define COMPRESS/d' -i include/config.h - sed -e '1i\#define COMPRESS "/usr/local/bin/gzip"' -i include/config.h + sed -e '1i\#define COMPRESS "${gzip}/bin/gzip"' -i include/config.h sed -e '1i\#define COMPRESS_EXTENSION ".gz"' -i include/config.h + sed -e '/define CHDIR/d' -i include/config.h sed -e '/extern char [*]tparm/d' -i win/tty/*.c + sed -e 's/-ltermlib/-lncurses/' -i src/Makefile sed -e 's/^YACC *=.*/YACC = bison -y/' -i util/Makefile sed -e 's/^LEX *=.*/LEX = flex/' -i util/Makefile - sed -e 's@GAMEDIR = @GAMEDIR = /tmp/nethack@' -i Makefile sed -re 's@^(CH...).*@\1 = true@' -i Makefile - '') ["minInit" "doUnpack"]; - postInstall = a.fullDepEntry ('' + sed -e '/^ *cd /d' -i sys/unix/nethack.sh + ''; + + postInstall = '' + for i in logfile perm record save; do + rm -rf $out/games/lib/nethackdir/$i + done + mkdir -p $out/bin - ln -s $out/games/nethack $out/bin/nethack - sed -i $out/bin/nethack -e '5aNEWHACKDIR="$HOME/.nethack"' - sed -i $out/bin/nethack -e '6amkdir -p "$NEWHACKDIR/save"' - sed -i $out/bin/nethack -e '7afor i in $(find "$NEWHACKDIR" -type l); do if ! test -e $(readlink "$i"); then rm "$i"; fi; done;' - sed -i $out/bin/nethack -e '8aln -s "$HACKDIR"/* "$NEWHACKDIR" &>/dev/null' - sed -i $out/bin/nethack -e '9atest -L "$NEWHACKDIR/record" && rm "$NEWHACKDIR"/record' - sed -i $out/bin/nethack -e '10aexport HACKDIR="$NEWHACKDIR"' - '') ["minInit" "defEnsureDir"]; + cat <$out/bin/nethack + #! ${stdenv.shell} -e + if [ ! -d ~/.nethack ]; then + mkdir -p ~/.nethack/save + for i in logfile perm record; do + [ ! -e ~/.nethack/\$i ] && touch ~/.nethack/\$i + done + fi - makeFlags = [ - "PREFIX=$out" - ]; + cd ~/.nethack - name = "nethack-" + version; - meta = { - description = "rogue-like game"; + cleanup() { + for i in $out/games/lib/nethackdir/*; do + rm -rf \$(basename \$i) + done + } + trap cleanup EXIT + + for i in $out/games/lib/nethackdir/*; do + ln -s \$i \$(basename \$i) + done + $out/games/nethack + EOF + chmod +x $out/bin/nethack + ''; + + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "Rogue-like game"; + homepage = "http://nethack.org/"; + license = "nethack"; + platforms = platforms.unix; + maintainers = with maintainers; [ abbradar ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e15e7b65c3d..3e8b7250b591 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7624,9 +7624,7 @@ let sslSupport = true; }; - nethack = builderDefsPackage (import ../games/nethack) { - inherit ncurses flex bison; - }; + nethack = callPackage ../games/nethack { }; nettle27 = callPackage ../development/libraries/nettle/27.nix { }; nettle = callPackage ../development/libraries/nettle { }; From 97a289b111477db5a02fff40806e776fcc28edb1 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Mon, 29 Jun 2015 14:19:23 +0300 Subject: [PATCH 08/32] unnethack: add new package --- pkgs/games/unnethack/default.nix | 53 ++++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 55 insertions(+) create mode 100644 pkgs/games/unnethack/default.nix diff --git a/pkgs/games/unnethack/default.nix b/pkgs/games/unnethack/default.nix new file mode 100644 index 000000000000..0ba542fe63c2 --- /dev/null +++ b/pkgs/games/unnethack/default.nix @@ -0,0 +1,53 @@ +{ stdenv, fetchgit, utillinux, ncurses, flex, bison }: + +stdenv.mkDerivation rec { + name = "unnethack-5.3.1"; + + src = fetchgit { + url = "https://github.com/UnNetHack/UnNetHack"; + rev = "63677eb256b5a75430f190cfb0f76bdd9bd0b9dd"; + sha256 = "48a80ef83308b91d4aa86598e30e5b5ce9a5b2da2a763fe921698990c3243969"; + }; + + buildInputs = [ ncurses ]; + + nativeBuildInputs = [ utillinux flex bison ]; + + configureFlags = [ "--enable-curses-graphics" + "--disable-tty-graphics" + "--with-owner=no" + "--with-group=no" + "--with-gamesdir=/tmp/unnethack" + ]; + + postInstall = '' + cp -r /tmp/unnethack $out/share/unnethack/profile + mv $out/bin/unnethack $out/bin/.wrapped_unnethack + cat <$out/bin/unnethack + #! ${stdenv.shell} -e + if [ ! -d ~/.unnethack ]; then + mkdir -p ~/.unnethack + cp -r $out/share/unnethack/profile/* ~/.unnethack + chmod -R +w ~/.unnethack + fi + + ln -s ~/.unnethack /tmp/unnethack + + cleanup() { + rm -rf /tmp/unnethack + } + trap cleanup EXIT + + $out/bin/.wrapped_unnethack + EOF + chmod +x $out/bin/unnethack + ''; + + meta = with stdenv.lib; { + description = "Fork of NetHack"; + homepage = "http://unnethack.wordpress.com/"; + license = "nethack"; + platforms = platforms.all; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e8b7250b591..c095e3ad06fa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8268,6 +8268,8 @@ let gnutls = gnutls; }); + unnethack = callPackage ../games/unnethack { }; + v8_3_16_14 = callPackage ../development/libraries/v8/3.16.14.nix { inherit (pythonPackages) gyp; stdenv = overrideCC stdenv gcc48; From 3a2275dd841544bd64717c5ff99c62fa38904b12 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 1 Jul 2015 23:54:45 +0300 Subject: [PATCH 09/32] imgurbash: add package --- pkgs/tools/graphics/imgurbash/default.nix | 27 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/tools/graphics/imgurbash/default.nix diff --git a/pkgs/tools/graphics/imgurbash/default.nix b/pkgs/tools/graphics/imgurbash/default.nix new file mode 100644 index 000000000000..66f85af87935 --- /dev/null +++ b/pkgs/tools/graphics/imgurbash/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, bash, curl, xsel }: + +stdenv.mkDerivation { + name = "imgurbash-4"; + + src = fetchurl { + url = "https://imgur.com/tools/imgurbash.sh"; + sha256 = "16m7dn5vqzx1q4pzssnwiwajfzrbhrz0niyhf5abxi1lwr3h0ca1"; + }; + + buildCommand = '' + mkdir -p $out/bin + cat <$out/bin/imgurbash + #!${bash}/bin/bash + PATH=${stdenv.lib.makeSearchPath "bin" [curl xsel]}:\$PATH + EOF + cat $src >>$out/bin/imgurbash + chmod +x $out/bin/imgurbash + ''; + + meta = with stdenv.lib; { + description = "A simple bash script to upload an image to imgur from the commandline"; + license = licenses.publicDomain; + platforms = platforms.linux; + maintainers = with maintainers; [ abbradar ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c095e3ad06fa..80adf6dfd481 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1892,6 +1892,8 @@ let inherit (perlPackages) MailIMAPClient; }; + imgurbash = callPackage ../tools/graphics/imgurbash { }; + inadyn = callPackage ../tools/networking/inadyn { }; inetutils = callPackage ../tools/networking/inetutils { }; From dea8ebcfc531b8f2b4892652ef053da7e270801b Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 3 Jul 2015 00:26:49 +0300 Subject: [PATCH 10/32] dovecot: add lmtp support --- nixos/modules/services/mail/dovecot.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix index 50ff1b38db12..fca0d2a7f616 100644 --- a/nixos/modules/services/mail/dovecot.nix +++ b/nixos/modules/services/mail/dovecot.nix @@ -10,7 +10,7 @@ let '' base_dir = /var/run/dovecot2/ - protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"} + protocols = ${optionalString cfg.enableImap "imap"} ${optionalString cfg.enablePop3 "pop3"} ${optionalString cfg.enableLmtp "lmtp"} '' + (if cfg.sslServerCert!="" then '' @@ -70,6 +70,11 @@ in description = "Start the IMAP listener (when Dovecot is enabled)."; }; + enableLmtp = mkOption { + default = false; + description = "Start the LMTP listener (when Dovecot is enabled)."; + }; + user = mkOption { default = "dovecot2"; description = "Dovecot user name."; From e3461ce2590d709e36758866f4f471c26712a513 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 22 Jul 2015 14:42:23 +0300 Subject: [PATCH 11/32] rPackages.stringi: add ICU data tables --- pkgs/development/r-modules/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index ab50d9d0c3c5..d04ce8664fc3 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1502,6 +1502,20 @@ let ]; otherOverrides = old: new: { + stringi = old.stringi.overrideDerivation (attrs: { + postInstall = let + icuName = "icudt52l"; + icuSrc = pkgs.fetchzip { + url = "http://static.rexamine.com/packages/${icuName}.zip"; + sha256 = "0hvazpizziq5ibc9017i1bb45yryfl26wzfsv05vk9mc1575r6xj"; + stripRoot = false; + }; + in '' + ${attrs.postInstall or ""} + cp ${icuSrc}/${icuName}.dat $out/library/stringi/libs + ''; + }); + xml2 = old.xml2.overrideDerivation (attrs: { preConfigure = "export LIBXML_INCDIR=${pkgs.libxml2}/include/libxml2"; }); From f5b41dbf42850aae42cbb26864a3729c9ca76172 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 25 Jul 2015 01:46:11 +0300 Subject: [PATCH 12/32] haskellPackages.gnuplot: remove reduntant patch --- .../configuration-ghc-7.10.x.nix | 3 - .../gnuplot-fix-new-time.patch | 60 ------------------- 2 files changed, 63 deletions(-) delete mode 100644 pkgs/development/haskell-modules/gnuplot-fix-new-time.patch diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix index ca7c0f56bc17..b223eeb134b9 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -117,9 +117,6 @@ self: super: { sha256 = "1vn3xm38v2f4lzyzkadvq322f3s2yf8c88v56wpdpzfxmvlzaqr8"; }); - # Already applied in darcs repository. - gnuplot = appendPatch super.gnuplot ./gnuplot-fix-new-time.patch; - ghcjs-prim = self.callPackage ({ mkDerivation, fetchgit, primitive }: mkDerivation { pname = "ghcjs-prim"; version = "0.1.0.0"; diff --git a/pkgs/development/haskell-modules/gnuplot-fix-new-time.patch b/pkgs/development/haskell-modules/gnuplot-fix-new-time.patch deleted file mode 100644 index 1b4a60e59418..000000000000 --- a/pkgs/development/haskell-modules/gnuplot-fix-new-time.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -ru3 gnuplot-0.5.3.1-old/gnuplot.cabal gnuplot-0.5.3.1/gnuplot.cabal ---- gnuplot-0.5.3.1-old/gnuplot.cabal 2015-04-17 22:25:06.561715968 +0300 -+++ gnuplot-0.5.3.1/gnuplot.cabal 2015-04-17 22:27:07.610913755 +0300 -@@ -75,7 +75,7 @@ - - Library - Build-Depends: -- filepath >=1.1 && <1.4, -+ filepath >=1.1 && <1.5, - temporary >=1.1 && <1.3, - array >=0.1 && <0.6, - containers >=0.1 && <0.6, -@@ -83,12 +83,11 @@ - data-accessor-transformers >=0.2.1 && <0.3, - data-accessor >=0.2.2 && <0.3, - transformers >=0.3 && <0.5, -- deepseq >=1.0 && <1.4 -+ deepseq >=1.0 && <1.5 - If flag(splitBase) - Build-Depends: -- process >=1.0, -- time >=1.1, -- old-locale >=1.0, -+ process >=1.0 && <1.3, -+ time >=1.1 && <1.6, - base >=2 && <5 - Else - Build-Depends: -diff -ru3 gnuplot-0.5.3.1-old/src/Graphics/Gnuplot/Time.hs gnuplot-0.5.3.1/src/Graphics/Gnuplot/Time.hs ---- gnuplot-0.5.3.1-old/src/Graphics/Gnuplot/Time.hs 2015-04-17 22:25:06.560715975 +0300 -+++ gnuplot-0.5.3.1/src/Graphics/Gnuplot/Time.hs 2015-04-17 22:27:49.872542430 +0300 -@@ -1,7 +1,6 @@ - module Graphics.Gnuplot.Time where - --import System.Locale (defaultTimeLocale, ) --import Data.Time.Format (FormatTime, formatTime, ) -+import Data.Time.Format (FormatTime, formatTime, defaultTimeLocale, ) - import Data.Tuple.HT (mapFst, ) - - {- | -diff -ru3 gnuplot-0.5.3.1-old/src/Graphics/Gnuplot/Value/Tuple.hs gnuplot-0.5.3.1/src/Graphics/Gnuplot/Value/Tuple.hs ---- gnuplot-0.5.3.1-old/src/Graphics/Gnuplot/Value/Tuple.hs 2015-04-17 22:25:06.560715975 +0300 -+++ gnuplot-0.5.3.1/src/Graphics/Gnuplot/Value/Tuple.hs 2015-04-17 22:28:24.426238829 +0300 -@@ -9,7 +9,6 @@ - ColumnCount(ColumnCount), - ) where - --import System.Locale (defaultTimeLocale, ) - import qualified Data.Time as Time - - import Data.Word (Word8, Word16, Word32, Word64, ) -@@ -82,7 +81,7 @@ - instance C Time.Day where - text d = text $ Time.UTCTime d 0 - instance C Time.UTCTime where -- text = singleton . showString . Time.formatTime defaultTimeLocale "%s" -+ text = singleton . showString . Time.formatTime Time.defaultTimeLocale "%s" - - - instance (C a, C b) => C (a,b) where From 533657332925dbc84e93b2aec04557be253009fa Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 00:31:49 +0300 Subject: [PATCH 13/32] steam: libstdc++/mesa incompatibility workaround closes #9003 --- pkgs/games/steam/chrootenv.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index d1aa125169e0..9eca9c127df3 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -70,7 +70,9 @@ buildFHSUserEnv { profile = '' # Ugly workaround for https://github.com/ValveSoftware/steam-for-linux/issues/3504 - export LD_PRELOAD=/lib32/libpulse.so:/lib64/libpulse.so:/lib32/libasound.so:/lib64/libasound.so + export LD_PRELOAD=/lib32/libpulse.so:/lib64/libpulse.so:/lib32/libasound.so:/lib64/libasound.so:$LD_PRELOAD + # Another one for https://github.com/ValveSoftware/steam-for-linux/issues/3801 + export LD_PRELOAD=/lib32/libstdc++.so:/lib64/libstdc++.so:$LD_PRELOAD ''; runScript = "steam"; From f2692a96a28bd06b725e4e832c1d09d473f98c43 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:57:29 +0300 Subject: [PATCH 14/32] fix homepages --- pkgs/applications/audio/paprefs/default.nix | 2 +- pkgs/applications/display-managers/sddm/default.nix | 2 +- pkgs/development/libraries/xlslib/default.nix | 2 +- pkgs/games/crawl/default.nix | 1 + pkgs/games/the-powder-toy/default.nix | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/paprefs/default.nix b/pkgs/applications/audio/paprefs/default.nix index 06b4b44b5963..b026d8b9e6a6 100644 --- a/pkgs/applications/audio/paprefs/default.nix +++ b/pkgs/applications/audio/paprefs/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { dialog for the PulseAudio sound server. ''; - homepage = http://freedesktop.org/software/pulseaudio/paprefs/ ; + homepage = http://freedesktop.org/software/pulseaudio/paprefs/; license = licenses.gpl2Plus; diff --git a/pkgs/applications/display-managers/sddm/default.nix b/pkgs/applications/display-managers/sddm/default.nix index 73a188af0cf5..ad2c885e4966 100644 --- a/pkgs/applications/display-managers/sddm/default.nix +++ b/pkgs/applications/display-managers/sddm/default.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "QML based X11 display manager"; - homepage = http://launchpad.net/lightdm; + homepage = https://github.com/sddm/sddm; platforms = platforms.linux; maintainers = with maintainers; [ abbradar ]; }; diff --git a/pkgs/development/libraries/xlslib/default.nix b/pkgs/development/libraries/xlslib/default.nix index 2492063be270..e68415951c76 100644 --- a/pkgs/development/libraries/xlslib/default.nix +++ b/pkgs/development/libraries/xlslib/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "C++/C library to construct Excel .xls files in code"; - homepage = http://sourceforge.net/projects/xlslib/files/; + homepage = http://sourceforge.net/projects/xlslib/; license = licenses.bsd2; platforms = platforms.unix; maintainers = with maintainers; [ abbradar ]; diff --git a/pkgs/games/crawl/default.nix b/pkgs/games/crawl/default.nix index e99df5e6c747..43dc34095918 100644 --- a/pkgs/games/crawl/default.nix +++ b/pkgs/games/crawl/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Open-source, single-player, role-playing roguelike game"; + homepage = http://crawl.develz.org/; longDescription = '' Open-source, single-player, role-playing roguelike game of exploration and treasure-hunting in dungeons filled with dangerous and unfriendly monsters diff --git a/pkgs/games/the-powder-toy/default.nix b/pkgs/games/the-powder-toy/default.nix index 43d453f71d73..f79d31c7c5c9 100644 --- a/pkgs/games/the-powder-toy/default.nix +++ b/pkgs/games/the-powder-toy/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "A free 2D physics sandbox game"; + homepage = http://powdertoy.co.uk/; platforms = platforms.unix; license = licenses.gpl3; maintainers = with maintainers; [ abbradar ]; From a5ef14bb74843a3a089febd38396559a5b720299 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:16:48 +0300 Subject: [PATCH 15/32] bomi: update package --- pkgs/applications/video/bomi/default.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/video/bomi/default.nix b/pkgs/applications/video/bomi/default.nix index 2f0c3070921a..da07458f4f64 100644 --- a/pkgs/applications/video/bomi/default.nix +++ b/pkgs/applications/video/bomi/default.nix @@ -26,28 +26,23 @@ assert pulseSupport -> libpulseaudio != null; assert cddaSupport -> libcdda != null; assert youtubeSupport -> youtube-dl != null; -let - waf = fetchurl { - url = http://ftp.waf.io/pub/release/waf-1.8.4; - sha256 = "1a7skwgpl91adhcwlmdr76xzdpidh91hvcmj34zz6548bpx3a87h"; - }; - +let qtPath = makeSearchPath "lib/qt5/qml" [ qt5.declarative qt5.quickcontrols ]; in stdenv.mkDerivation rec { name = "bomi-${version}"; - version = "0.9.10"; + version = "0.9.11"; src = fetchFromGitHub { owner = "xylosper"; repo = "bomi"; rev = "v${version}"; - sha256 = "1c7497gks7yxzfy6jx77vn9zs2pdq7y6l9w61miwnkdm91093n17"; + sha256 = "0a7n46gn3n5098lxxvl3s29s8jlkzss6by9074jx94ncn9cayf2h"; }; buildInputs = with stdenv.lib; [ libX11 libxcb mesa - qt5.base qt5.x11extras qt5.declarative qt5.quickcontrols + qt5.base qt5.x11extras ffmpeg libchardet mpg123 @@ -72,13 +67,13 @@ stdenv.mkDerivation rec { ''; preBuild = '' - install -m755 ${waf} src/mpv/waf patchShebangs src/mpv/waf patchShebangs build-mpv ''; postInstall = '' wrapProgram $out/bin/bomi \ + --set QML2_IMPORT_PATH ${qtPath} \ ${optionalString youtubeSupport "--prefix PATH ':' '${youtube-dl}/bin'"} ''; From 5656c8cb8e4da938688b95e9f039a29afdc2b243 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:25:33 +0300 Subject: [PATCH 16/32] libaacs: update package --- pkgs/development/libraries/libaacs/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libaacs/default.nix b/pkgs/development/libraries/libaacs/default.nix index 631c7c778ae2..119a46bfc31d 100644 --- a/pkgs/development/libraries/libaacs/default.nix +++ b/pkgs/development/libraries/libaacs/default.nix @@ -8,7 +8,7 @@ # https://wiki.archlinux.org/index.php/BluRay let baseName = "libaacs"; - version = "0.8.0"; + version = "0.8.1"; in stdenv.mkDerivation { @@ -16,7 +16,7 @@ stdenv.mkDerivation { src = fetchurl { url = "http://download.videolan.org/pub/videolan/${baseName}/${version}/${baseName}-${version}.tar.bz2"; - sha256 = "155sah8z4vbp6j3sq9b17mcn6rj1938ijszz97m8pd2cgif58i2y"; + sha256 = "1s5v075hnbs57995r6lljm79wgrip3gnyf55a0y7bja75jh49hwm"; }; buildInputs = [ libgcrypt libgpgerror ]; @@ -24,7 +24,7 @@ stdenv.mkDerivation { nativeBuildInputs = [ yacc flex ]; meta = with stdenv.lib; { - homepage = http://www.videolan.org/developers/libbluray.html; + homepage = https://www.videolan.org/developers/libaacs.html; description = "Library to access AACS protected Blu-Ray disks"; license = licenses.lgpl21; maintainers = with maintainers; [ abbradar ]; From 41281e46a56132b513c0cf83adfb860fade25b3a Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:35:52 +0300 Subject: [PATCH 17/32] libbluray: update package --- pkgs/development/libraries/libbluray/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libbluray/default.nix b/pkgs/development/libraries/libbluray/default.nix index a7a8e7cea63a..d85712549672 100644 --- a/pkgs/development/libraries/libbluray/default.nix +++ b/pkgs/development/libraries/libbluray/default.nix @@ -19,12 +19,12 @@ assert withFonts -> freetype != null; stdenv.mkDerivation rec { baseName = "libbluray"; - version = "0.8.0"; + version = "0.8.1"; name = "${baseName}-${version}"; src = fetchurl { url = "ftp://ftp.videolan.org/pub/videolan/${baseName}/${version}/${name}.tar.bz2"; - sha256 = "027xbdbsjyp1spfiva2331pzixrzw6vm97xlvgz16hzm5a5j103v"; + sha256 = "13zvkrwy2fr877gkifgwnqfsb3krbz7hklfcwqfjbhmvqn0cdgnd"; }; nativeBuildInputs = [ pkgconfig autoreconfHook ] From 3ed3503bf7ae694d8cdb50af7271019651258c34 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:36:21 +0300 Subject: [PATCH 18/32] libchardet: update upstream URL --- pkgs/development/libraries/libchardet/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libchardet/default.nix b/pkgs/development/libraries/libchardet/default.nix index f7834c56b63a..6fc17256a390 100644 --- a/pkgs/development/libraries/libchardet/default.nix +++ b/pkgs/development/libraries/libchardet/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation rec { name = "libchardet-1.0.4"; src = fetchurl { - url = "ftp://ftp.oops.org/pub/oops/libchardet/${name}.tar.bz2"; + url = "http://yupmin.net/wp-content/uploads/2014/03/libchardet-1.0.4.tar.bz2"; sha256 = "0cvwba4la25qw70ap8jd5r743a9jshqd26nnbh5ph68zj1imlgzl"; }; From b639dcf9e09899527448c6e961caa2b8563c1b25 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:41:53 +0300 Subject: [PATCH 19/32] libtirpc: update package --- pkgs/development/libraries/ti-rpc/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/ti-rpc/default.nix b/pkgs/development/libraries/ti-rpc/default.nix index eb795d6b28eb..26eb8f526c87 100644 --- a/pkgs/development/libraries/ti-rpc/default.nix +++ b/pkgs/development/libraries/ti-rpc/default.nix @@ -1,19 +1,16 @@ { fetchurl, stdenv, libkrb5 }: stdenv.mkDerivation rec { - name = "libtirpc-0.3.0"; + name = "libtirpc-0.3.2"; src = fetchurl { url = "mirror://sourceforge/libtirpc/${name}.tar.bz2"; - sha256 = "07d1wlfzf3ia09mjn3f3ay8isk7yx4a6ckfkzx5khnqlc7amkzna"; + sha256 = "1z1z8xnlqgqznxzmyc6sypjc6b220xkv0s55hxd5sb3zydws6210"; }; propagatedBuildInputs = [ libkrb5 ]; - # http://www.sourcemage.org/projects/grimoire/repository/revisions/d6344b6a3a94b88ed67925a474de5930803acfbf preConfigure = '' - echo "" > src/des_crypt.c - sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i doc/Makefile.in tirpc/netconfig.h ''; From 81d1367b79df96232408f7a9e6241f7ec45ac603 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:44:45 +0300 Subject: [PATCH 20/32] cppzmq: update package --- pkgs/development/libraries/cppzmq/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/cppzmq/default.nix b/pkgs/development/libraries/cppzmq/default.nix index 481c80994e85..282ad7bfcd77 100644 --- a/pkgs/development/libraries/cppzmq/default.nix +++ b/pkgs/development/libraries/cppzmq/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchgit }: stdenv.mkDerivation rec { - name = "cppzmq-2015-03-05"; + name = "cppzmq-2015-07-06"; src = fetchgit { - url = "git://github.com/zeromq/cppzmq"; - rev = "ac705f604701e2ca1643fa31bae240f9da8b9b9a"; - sha256 = "1bcd5553601a6cdc926aa7a7c89fe54d3b14693cfce85dea97af25cf5a144398"; + url = "https://github.com/zeromq/cppzmq"; + rev = "a88bf3e0b0bc6ed5f5b25a58f8997a1dae374c8b"; + sha256 = "75a6630b870c1f0d5b9d6a0ba03e83ceee47aaa2a253894e75a8a93a6d65d3aa"; }; installPhase = '' From ce5a813acbc347f03fcadb8fb36d55103822c4f2 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:46:16 +0300 Subject: [PATCH 21/32] double-conversion: update package --- pkgs/development/libraries/double-conversion/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/double-conversion/default.nix b/pkgs/development/libraries/double-conversion/default.nix index 7de7cb4d102d..049a799c44fa 100644 --- a/pkgs/development/libraries/double-conversion/default.nix +++ b/pkgs/development/libraries/double-conversion/default.nix @@ -1,14 +1,14 @@ { stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { - version = "1.1.5"; + version = "2.0.1"; name = "double-conversion-${version}"; src = fetchFromGitHub { owner = "google"; repo = "double-conversion"; rev = "v${version}"; - sha256 = "1a264wpnvxmnq5pdlnp417ld1ybrng83lnbg38bv4ahz7a29ap4z"; + sha256 = "05x5rdwndgp1vdq2z1bpvng0dd8pn93kw4vhl6nsvv9vsara2q4b"; }; nativeBuildInputs = [ cmake ]; From 4b9d22db08230c549529db313e308e3e1bc42c39 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:50:13 +0300 Subject: [PATCH 22/32] folly: update package --- pkgs/development/libraries/folly/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix index 79584a99f630..0cea9413baef 100644 --- a/pkgs/development/libraries/folly/default.nix +++ b/pkgs/development/libraries/folly/default.nix @@ -2,14 +2,14 @@ , google-gflags, python, libiberty, openssl }: stdenv.mkDerivation rec { - version = "0.38.0"; + version = "0.52.0"; name = "folly-${version}"; src = fetchFromGitHub { owner = "facebook"; repo = "folly"; rev = "v${version}"; - sha256 = "0b273iwizy08r8lap367q79lai4l4aib2bvd827lkkdax5jpqf6b"; + sha256 = "16g3hpy1gy56zqnhwzkvzzpm6dgm01qa9yaigmrqr9b59c3k6cqf"; }; buildInputs = [ libiberty boost.lib libevent double_conversion glog google-gflags openssl ]; From 83e6095f9fd0285e80beb23b386749fd3378826f Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:53:09 +0300 Subject: [PATCH 23/32] libiberty: update package --- pkgs/development/libraries/libiberty/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libiberty/default.nix b/pkgs/development/libraries/libiberty/default.nix index eddc4eed55c0..6a68b5610da2 100644 --- a/pkgs/development/libraries/libiberty/default.nix +++ b/pkgs/development/libraries/libiberty/default.nix @@ -1,12 +1,12 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { - version = "4.8.4"; + version = "4.9.3"; name = "libiberty-${version}"; src = fetchurl { url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2"; - sha256 = "15c6gwm6dzsaagamxkak5smdkf1rdfbqqjs9jdbrp3lbg4ism02a"; + sha256 = "0zmnm00d2a1hsd41g34bhvxzvxisa2l584q3p447bd91lfjv4ci3"; }; postUnpack = "sourceRoot=\${sourceRoot}/libiberty"; From 5fc747f23b80c65438b6861a29c606e4755b985b Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:53:14 +0300 Subject: [PATCH 24/32] qpdf: update package --- pkgs/development/libraries/qpdf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/qpdf/default.nix b/pkgs/development/libraries/qpdf/default.nix index 939351750920..340f4558f819 100644 --- a/pkgs/development/libraries/qpdf/default.nix +++ b/pkgs/development/libraries/qpdf/default.nix @@ -1,13 +1,13 @@ { stdenv, fetchurl, pcre, zlib, perl }: -let version = "5.1.2"; +let version = "5.1.3"; in stdenv.mkDerivation rec { name = "qpdf-${version}"; src = fetchurl { url = "mirror://sourceforge/qpdf/qpdf/${version}/${name}.tar.gz"; - sha256 = "1zbvhrp0zjzbi6q2bnbxbg6399r47pq5gw3kspzph81j19fqvpg9"; + sha256 = "1lq1v7xghvl6p4hgrwbps3a13ad6lh4ib3myimb83hxgsgd4n5nm"; }; nativeBuildInputs = [ perl ]; From c40e9abc9386c74113e58ac7b283ee6922e2a27d Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 11:59:43 +0300 Subject: [PATCH 25/32] android-udev-rules: update package --- pkgs/os-specific/linux/android-udev-rules/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/android-udev-rules/default.nix b/pkgs/os-specific/linux/android-udev-rules/default.nix index 7f0e345a2b0d..61e4291ecc50 100644 --- a/pkgs/os-specific/linux/android-udev-rules/default.nix +++ b/pkgs/os-specific/linux/android-udev-rules/default.nix @@ -1,10 +1,10 @@ { stdenv, fetchgit }: stdenv.mkDerivation { - name = "android-udev-rules-2015-02-28"; + name = "android-udev-rules-20150301"; src = fetchgit { - url = "git://github.com/M0Rf30/android-udev-rules"; + url = "https://github.com/M0Rf30/android-udev-rules"; rev = "2cc51a456ccfbca338c4e6b76211645aaac631e9"; sha256 = "dbf1614cebb466d1adbcc5f17cefc0c37f148f9e3b46443b3e82f6cd19a1514f"; }; From 89fa3513ca9961383c6739e56e14323234ce3511 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 12:17:39 +0300 Subject: [PATCH 26/32] uwsgi: update package --- pkgs/servers/uwsgi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/uwsgi/default.nix b/pkgs/servers/uwsgi/default.nix index bf168611f386..e7e7502665fb 100644 --- a/pkgs/servers/uwsgi/default.nix +++ b/pkgs/servers/uwsgi/default.nix @@ -24,11 +24,11 @@ in assert builtins.filter (x: lib.all (y: y.name != x) available) plugins == []; stdenv.mkDerivation rec { - name = "uwsgi-2.0.10"; + name = "uwsgi-2.0.11.1"; src = fetchurl { url = "http://projects.unbit.it/downloads/${name}.tar.gz"; - sha256 = "12q2sn35vf1ils5043svq8da0czy54k63ziybvl33a9dqbb83cy0"; + sha256 = "11v2j9n204hlvi1p1wp4r3nn22fqyd1qlbqcfqddi77sih9x79vm"; }; nativeBuildInputs = [ python3 pkgconfig ]; From b2d5326e3a671c5a52569bcb504f4a458ca897d4 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 12:20:09 +0300 Subject: [PATCH 27/32] sdl-jstest: update package --- pkgs/tools/misc/sdl-jstest/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/sdl-jstest/default.nix b/pkgs/tools/misc/sdl-jstest/default.nix index 3da62874c13c..cf62039fc036 100644 --- a/pkgs/tools/misc/sdl-jstest/default.nix +++ b/pkgs/tools/misc/sdl-jstest/default.nix @@ -1,11 +1,11 @@ { fetchgit, stdenv, cmake, pkgconfig, SDL, SDL2, ncurses, docbook_xsl }: stdenv.mkDerivation rec { - name = "sdl-jstest-20150611"; + name = "sdl-jstest-20150625"; src = fetchgit { url = "https://github.com/Grumbel/sdl-jstest"; - rev = "684d168e5526da16760dcfc6d40da0103ab284cc"; - sha256 = "fc110a858edc2defc5cd8b176a5ce74666d3957d0268b861d0f9669362a1bd03"; + rev = "3f54b86ebe0d2f95e9c1d034bc4ed02d6d2b6409"; + sha256 = "d33e0a2c66b551ecf333590f1a6e1730093af31cee1be8757748624d42e14df1"; }; buildInputs = [ SDL SDL2 ncurses ]; From 9d815b266d02ee159f47987d66dac633aa82799b Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 12:22:59 +0300 Subject: [PATCH 28/32] thermald: update package --- pkgs/tools/system/thermald/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/thermald/default.nix b/pkgs/tools/system/thermald/default.nix index 85bc40caa274..9fe9adaedadb 100644 --- a/pkgs/tools/system/thermald/default.nix +++ b/pkgs/tools/system/thermald/default.nix @@ -1,13 +1,13 @@ { stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, dbus_libs, dbus_glib, libxml2 }: stdenv.mkDerivation rec { - version = "1.4.2"; + version = "1.4.3"; name = "thermald-${version}"; src = fetchFromGitHub { owner = "01org"; repo = "thermal_daemon"; rev = "v${version}"; - sha256 = "051119wb0n31rn15pnx56d1r58a2d1fmj030q991mcv7pcy6c8mg"; + sha256 = "1wrbydmw1jc5dcjawhhsa52hilzajl9n849i09d2nfilv3qcqqi9"; }; buildInputs = [ autoconf automake libtool pkgconfig dbus_libs dbus_glib libxml2 ]; From e6bdca625a972999a20c8270c9beabe8ec07bde7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Tue, 28 Jul 2015 11:44:18 +0200 Subject: [PATCH 29/32] iproute: prefix CONFDIR so that all files are not directly under /etc --- pkgs/os-specific/linux/iproute/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix index 09e5f1bc5ce3..f7ca0481a31b 100644 --- a/pkgs/os-specific/linux/iproute/default.nix +++ b/pkgs/os-specific/linux/iproute/default.nix @@ -24,11 +24,11 @@ stdenv.mkDerivation rec { ]; buildFlags = [ - "CONFDIR=/etc" + "CONFDIR=/etc/iproute2" ]; installFlags = [ - "CONFDIR=$(out)/etc" + "CONFDIR=$(out)/etc/iproute2" ]; buildInputs = [ db iptables ]; From c60ce5fa9b5a7cc6363aa9b3bbce53cd74b14b4b Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 12:46:01 +0300 Subject: [PATCH 30/32] Revert "rpcbind: 0.2.3 -> 1.0.7" This reverts commit 5c31245047a4bd0966059d0d5cd4e701745ee6c4. See #8902. --- pkgs/servers/rpcbind/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/servers/rpcbind/default.nix b/pkgs/servers/rpcbind/default.nix index 6eb58d458382..6eb8a57cab4f 100644 --- a/pkgs/servers/rpcbind/default.nix +++ b/pkgs/servers/rpcbind/default.nix @@ -1,19 +1,16 @@ { fetchurl, stdenv, pkgconfig, libtirpc , useSystemd ? true, systemd }: -let version = "1.0.7"; +let version = "0.2.3"; in stdenv.mkDerivation rec { name = "rpcbind-${version}"; src = fetchurl { url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2"; - sha256 = "14vl0kmavc1fay630f4w8l1hjfzhmcqm8d0akzahhgymh5fw1f7r"; + sha256 = "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq"; }; patches = [ ./sunrpc.patch ]; - postPatch = '' - sed -e 's|/usr/include/tirpc|${libtirpc}/include/tirpc|' -i src/Makefile.am -i src/Makefile.in - ''; buildInputs = [ libtirpc ] ++ stdenv.lib.optional useSystemd systemd; From ff219393cae6b90d7c6df6fa74db6bfd5fbb7ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 28 Jul 2015 12:40:14 +0200 Subject: [PATCH 31/32] nvidia_x11_beta: fix build by syncing with default /cc author @wkennington. --- pkgs/os-specific/linux/nvidia-x11/beta.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/beta.nix b/pkgs/os-specific/linux/nvidia-x11/beta.nix index fb57e194c80c..dc6af818837a 100644 --- a/pkgs/os-specific/linux/nvidia-x11/beta.nix +++ b/pkgs/os-specific/linux/nvidia-x11/beta.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, kernel ? null, xlibs, zlib, perl -, gtk, atk, pango, glib, gdk_pixbuf, cairo +, gtk, atk, pango, glib, gdk_pixbuf, cairo, nukeReferences , # Whether to build the libraries only (i.e. not the kernel module or # nvidia-settings). Used to support 32-bit binaries on 64-bit # Linux. @@ -52,7 +52,9 @@ stdenv.mkDerivation { [ gtk atk pango glib gdk_pixbuf cairo ] ); programPath = makeLibraryPath [ xlibs.libXv ]; - buildInputs = [ perl ]; + buildInputs = [ perl nukeReferences ]; + + disallowedReferences = if libsOnly then [] else [ kernel.dev ]; meta = with stdenv.lib.meta; { homepage = http://www.nvidia.com/object/unix.html; From ebe67d3c85d861e9cb61067e325b3ef7850cc2cf Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Tue, 28 Jul 2015 00:54:09 -0500 Subject: [PATCH 32/32] nvidia-x11: add a symlink for libGLESv2.so.2 (close #9024) nvidia's EGL stack looks for libGLESv2.so.2 at runtime (confirmed by watching strace), however builder.sh only provides a libGLESv2.so.1 symlink. @vcunat ported to legacy_340; older ones don't produce GLES. --- pkgs/os-specific/linux/nvidia-x11/builder-legacy340.sh | 6 ++++++ pkgs/os-specific/linux/nvidia-x11/builder.sh | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/pkgs/os-specific/linux/nvidia-x11/builder-legacy340.sh b/pkgs/os-specific/linux/nvidia-x11/builder-legacy340.sh index 5d6647d1ee08..07cc1a85de0b 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder-legacy340.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder-legacy340.sh @@ -93,6 +93,12 @@ installPhase() { patchelf --set-rpath "$out/lib:$allLibPath" "$libname" libname_short=`echo -n "$libname" | sed 's/so\..*/so/'` + + # nvidia's EGL stack seems to expect libGLESv2.so.2 to be available + if [ $(basename "$libname_short") == "libGLESv2.so" ]; then + ln -srnf "$libname" "$libname_short.2" + fi + ln -srnf "$libname" "$libname_short" ln -srnf "$libname" "$libname_short.1" done diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index 47ca3d120a59..d34c4f355a34 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -61,6 +61,12 @@ installPhase() { patchelf --set-rpath "$out/lib:$allLibPath" "$libname" libname_short=`echo -n "$libname" | sed 's/so\..*/so/'` + + # nvidia's EGL stack seems to expect libGLESv2.so.2 to be available + if [ $(basename "$libname_short") == "libGLESv2.so" ]; then + ln -srnf "$libname" "$libname_short.2" + fi + ln -srnf "$libname" "$libname_short" ln -srnf "$libname" "$libname_short.1" done