git.iko.soy/typeable/nixpkgs
on master help sign in
Merge staging into master
commitb22cc53db147cdbfe84ffbc344143bf1e8c1e515 authorFrederik Rietdijk <fridh@fridh.nl> dateSun 27 May 2018, 17:44 (8 years ago) parentd90eea8dac633f
511 files changed+3907−3155
doc/languages-frameworks/perl.xml+2−2 doc/stdenv.xml+17 lib/systems/for-meta.nix+5−1 nixos/modules/services/misc/nix-daemon.nix+13−2 nixos/release.nix+1 nixos/tests/gdk-pixbuf.nix+19 pkgs/applications/altcoins/bitcoin.nix+4 pkgs/applications/altcoins/dapp.nix+1−1 pkgs/applications/altcoins/mist.nix+3−3 pkgs/applications/audio/easytag/default.nix+2 pkgs/applications/audio/renoise/default.nix+17−9 pkgs/applications/editors/neovim/wrapper.nix+1−1 pkgs/applications/editors/okteta/default.nix+24−17 pkgs/applications/graphics/ImageMagick/default.nix+2 pkgs/applications/graphics/gimp/plugins/default.nix+1−2 pkgs/applications/misc/audio/soxr/default.nix+2−2 pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+399−389 pkgs/applications/networking/browsers/firefox/common.nix+4−1 pkgs/applications/networking/browsers/firefox/no-buildconfig.patch+3−3 pkgs/applications/networking/browsers/firefox/packages.nix+35−8 pkgs/applications/networking/browsers/firefox/update.nix+1−5 pkgs/applications/networking/browsers/firefox/wrapper.nix−2 pkgs/applications/networking/cluster/terraform/default.nix+3−3 pkgs/applications/networking/gmailieer/default.nix+1−1 pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix+10−7 pkgs/applications/networking/remote/citrix-receiver/default.nix+1−1 pkgs/applications/office/atlassian-cli/default.nix+27−9 pkgs/applications/science/machine-learning/torch/torch-distro.nix+2 pkgs/applications/science/misc/simgrid/default.nix+54−60 pkgs/applications/version-management/cvs/default.nix+2 pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+1−1 pkgs/applications/version-management/git-and-tools/git/default.nix+68−12 pkgs/applications/version-management/git-and-tools/git/docbook2texi.patch+8−8 pkgs/applications/version-management/git-and-tools/git/git-send-email-honor-PATH.patch+3−5 pkgs/applications/version-management/git-and-tools/git/installCheck-path.patch+12 pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patch+4−4 pkgs/applications/version-management/git-and-tools/gitweb/default.nix+1−1 pkgs/applications/version-management/subversion/default.nix+2 pkgs/applications/video/lightworks/default.nix+1−1 pkgs/applications/video/omxplayer/default.nix+11−11 pkgs/applications/video/vlc/default.nix+47−52 pkgs/applications/video/vlc/plugin.nix−34 pkgs/applications/virtualization/qemu/default.nix+2 pkgs/build-support/bintools-wrapper/add-flags.sh+4−12 pkgs/build-support/bintools-wrapper/add-hardening.sh+46−41 pkgs/build-support/bintools-wrapper/default.nix+10−4 pkgs/build-support/bintools-wrapper/ld-wrapper.sh+3−3 pkgs/build-support/bintools-wrapper/setup-hook.sh+13−31 pkgs/build-support/cc-wrapper/add-flags.sh+3−14 pkgs/build-support/cc-wrapper/add-hardening.sh+60−55 pkgs/build-support/cc-wrapper/cc-wrapper.sh+3−3 pkgs/build-support/cc-wrapper/default.nix+10−4 pkgs/build-support/cc-wrapper/setup-hook.sh+13−42 pkgs/build-support/rust/default.nix+1−1 pkgs/build-support/setup-hooks/role.bash+75 pkgs/build-support/cc-wrapper/utils.sh → pkgs/build-support/wrapper-common/utils.bash+15 pkgs/data/fonts/liberationsansnarrow/default.nix+1−1 pkgs/data/fonts/meslo-lg/default.nix+1−1 pkgs/data/fonts/mph-2b-damase/default.nix+1−1 pkgs/data/misc/poppler-data/default.nix+2−2 pkgs/data/misc/tzdata/default.nix+2 pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix+2 pkgs/desktops/gnome-2/desktop/zenity/default.nix+2 pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix+2 pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix+3 pkgs/desktops/gnome-3/core/dconf/default.nix+2 pkgs/desktops/xfce/core/xfconf.nix+2−1 pkgs/development/compilers/adobe-flex-sdk/default.nix+1−1 pkgs/development/compilers/emscripten/fastcomp/default.nix+1−1 pkgs/development/compilers/gcc/4.8/default.nix+12−20 pkgs/development/compilers/gcc/4.9/default.nix+12−20 pkgs/development/compilers/gcc/5/default.nix+12−20 pkgs/development/compilers/gcc/6/default.nix+12−19 pkgs/development/compilers/gcc/7/default.nix+18−89 pkgs/development/compilers/gcc/8/default.nix+8−17 pkgs/development/compilers/gcc/libstdc++-hook.sh+5−2 pkgs/development/compilers/gcc/snapshot/default.nix+12−84 pkgs/development/compilers/ghc/7.10.3.nix+2−4 pkgs/development/compilers/ghc/8.0.2.nix+2−4 pkgs/development/compilers/ghc/8.2.2.nix+5−4 pkgs/development/compilers/ghc/8.4.2.nix+2−4 pkgs/development/compilers/ghc/head.nix+2−4 pkgs/development/compilers/go/1.10.nix+2−2 pkgs/development/compilers/llvm/3.4/clang.nix+4−1 pkgs/development/compilers/llvm/3.5/clang.nix+6−3 pkgs/development/compilers/llvm/3.5/libc++/default.nix+4−1 pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh+5−2 pkgs/development/compilers/llvm/3.7/clang/default.nix+6−3 pkgs/development/compilers/llvm/3.7/libc++/default.nix+4−1 pkgs/development/compilers/llvm/3.7/libc++/setup-hook.sh+5−2 pkgs/development/compilers/llvm/3.8/clang/default.nix+6−3 pkgs/development/compilers/llvm/3.8/libc++/default.nix+4−1 pkgs/development/compilers/llvm/3.8/libc++/setup-hook.sh+5−2 pkgs/development/compilers/llvm/3.9/clang/default.nix+6−3 pkgs/development/compilers/llvm/3.9/libc++/default.nix+4−1 pkgs/development/compilers/llvm/3.9/libc++/setup-hook.sh+5−2 pkgs/development/compilers/llvm/4/clang/default.nix+6−3 pkgs/development/compilers/llvm/4/libc++/default.nix+4−1 pkgs/development/compilers/llvm/4/libc++/setup-hook.sh+5−2 pkgs/development/compilers/llvm/5/clang/default.nix+8−6 pkgs/development/compilers/llvm/5/default.nix+3−3 pkgs/development/compilers/llvm/5/libc++/default.nix+5−2 pkgs/development/compilers/llvm/5/libc++/setup-hook.sh+5−2 pkgs/development/compilers/llvm/5/libc++abi.nix+1−1 pkgs/development/compilers/llvm/5/lld.nix+1−1 pkgs/development/compilers/llvm/5/lldb.nix+1−1 pkgs/development/compilers/llvm/5/llvm.nix+1−1 pkgs/development/compilers/llvm/5/openmp.nix+1−1 pkgs/development/compilers/llvm/6/clang/default.nix+5−3 pkgs/development/compilers/llvm/6/libc++/default.nix+4−1 pkgs/development/compilers/llvm/6/libc++/setup-hook.sh+5−2 pkgs/development/compilers/openjdk/8.nix+2 pkgs/development/haskell-modules/generic-builder.nix+2−1 pkgs/development/idris-modules/with-packages.nix+3−3 pkgs/development/interpreters/dart/default.nix+3−3 pkgs/development/interpreters/guile/1.8.nix+6−10 pkgs/development/interpreters/guile/2.0.nix+1 pkgs/development/interpreters/guile/default.nix+1 pkgs/development/interpreters/perl/default.nix+2 pkgs/development/interpreters/python/build-python-package.nix+2−1 pkgs/development/interpreters/python/cpython/2.7/default.nix+8−5 pkgs/development/interpreters/python/cpython/2.7/properly-detect-curses.patch−116 pkgs/development/interpreters/python/cpython/3.4/default.nix+20−3 pkgs/development/interpreters/python/cpython/3.5/default.nix+25−2 pkgs/development/interpreters/python/cpython/3.6/default.nix+25−2 pkgs/development/interpreters/python/mk-python-derivation.nix+3−2 pkgs/development/libraries/appstream-glib/default.nix+2 pkgs/development/libraries/apr-util/default.nix+3−2 pkgs/development/libraries/at-spi2-atk/default.nix+2 pkgs/development/libraries/at-spi2-core/default.nix+2 pkgs/development/libraries/avahi/default.nix+4−2 pkgs/development/libraries/boehm-gc/default.nix+2−2 pkgs/development/libraries/boost/generic.nix+2−2 pkgs/development/libraries/c-ares/default.nix+2−2 pkgs/development/libraries/c-blosc/default.nix+1−1 pkgs/development/libraries/cairo/default.nix+9−15 pkgs/development/libraries/celt/generic.nix+2 pkgs/development/libraries/ctpp2/default.nix+2 pkgs/development/libraries/db/generic.nix+2 pkgs/development/libraries/dbus-glib/default.nix+3−3 pkgs/development/libraries/dbus/default.nix+2−2 pkgs/development/libraries/eigen/default.nix+5−3 pkgs/development/libraries/enchant/2.x.nix+2 pkgs/development/libraries/epoxy/default.nix+4−2 pkgs/development/libraries/ffmpeg-full/default.nix+6−15 pkgs/development/libraries/ffmpeg/generic.nix+8−13 pkgs/development/libraries/fontconfig/2.10.nix+3−11 pkgs/development/libraries/fontconfig/default.nix+3−11 pkgs/development/libraries/gdk-pixbuf/default.nix+57−20 pkgs/development/libraries/gdk-pixbuf/installed-tests-path.patch+13 pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patch+18 pkgs/development/libraries/gegl/default.nix+2 pkgs/development/libraries/geoclue/2.0.nix+2−2 pkgs/development/libraries/gettext/default.nix+16−17 pkgs/development/libraries/gettext/gettext-setup-hook.sh+6−17 pkgs/development/libraries/git2/0.25.nix+2 pkgs/development/libraries/git2/default.nix+2 pkgs/development/libraries/glib/default.nix+1−1 pkgs/development/libraries/glibc/common.nix+2 pkgs/development/libraries/glibc/default.nix+7−6 pkgs/development/libraries/gnu-config/default.nix+3−3 pkgs/development/libraries/gobject-introspection/default.nix+2 pkgs/development/libraries/grantlee/5/default.nix+2 pkgs/development/libraries/gstreamer/bad/default.nix+5 pkgs/development/libraries/gstreamer/base/default.nix+2−2 pkgs/development/libraries/gtk+/2.x.nix+10−1 pkgs/development/libraries/gtk+/3.x.nix+2 pkgs/development/libraries/gts/default.nix+2 pkgs/development/libraries/id3lib/default.nix+3−1 pkgs/development/libraries/jasper/default.nix+2 pkgs/development/libraries/kerberos/heimdal.nix+8−6 pkgs/development/libraries/kerberos/krb5.nix+1 pkgs/development/libraries/languagemachines/frog.nix+1−1 pkgs/development/libraries/languagemachines/frogdata.nix+1−1 pkgs/development/libraries/languagemachines/libfolia.nix+1−1 pkgs/development/libraries/languagemachines/mbt.nix+1−1 pkgs/development/libraries/languagemachines/ticcutils.nix+1−1 pkgs/development/libraries/languagemachines/timbl.nix+1−1 pkgs/development/libraries/languagemachines/timblserver.nix+1−1 pkgs/development/libraries/languagemachines/ucto.nix+1−1 pkgs/development/libraries/languagemachines/uctodata.nix+1−1 pkgs/development/libraries/lcms/default.nix+2 pkgs/development/libraries/ldns/default.nix+3 pkgs/development/libraries/libappindicator/default.nix+1−1 pkgs/development/libraries/libarchive/default.nix+2 pkgs/development/libraries/libav/default.nix+24−28 pkgs/development/libraries/libblocksruntime/default.nix+1−1 pkgs/development/libraries/libcddb/default.nix+2 pkgs/development/libraries/libcue/default.nix+2 pkgs/development/libraries/libdrm/default.nix+2−2 pkgs/development/libraries/libdvdcss/default.nix+2−2 pkgs/development/libraries/libevdev/default.nix+2−2 pkgs/development/libraries/libevent/default.nix+2 pkgs/development/libraries/libgudev/default.nix+4−2 pkgs/development/libraries/libical/default.nix+2 pkgs/development/libraries/libiconv/default.nix+4−1 pkgs/development/libraries/libiconv/setup-hook.sh+3−15 pkgs/development/libraries/libidn/default.nix+4−2 pkgs/development/libraries/libidn2/default.nix+2−2 pkgs/development/libraries/libindicate/default.nix+1−1 pkgs/development/libraries/libindicator/default.nix+3−1 pkgs/development/libraries/libinput/default.nix+2−2 pkgs/development/libraries/libjpeg-turbo/default.nix−3 pkgs/development/libraries/libjpeg/default.nix+3−3 pkgs/development/libraries/liblo/default.nix+3−1 pkgs/development/libraries/libmsgpack/generic.nix+6−7 pkgs/development/libraries/libnetfilter_conntrack/default.nix+2−2 pkgs/development/libraries/libnfsidmap/default.nix+5−1 pkgs/development/libraries/libnftnl/default.nix+2−2 pkgs/development/libraries/libnih/default.nix+3−1 pkgs/development/libraries/libomxil-bellagio/default.nix+2 pkgs/development/libraries/libpcap/default.nix+10−10 pkgs/development/libraries/libproxy/default.nix+2 pkgs/development/libraries/librdf/raptor2.nix+1−1 pkgs/development/libraries/librdf/rasqal.nix+1−1 pkgs/development/libraries/librdf/redland.nix+7−4 pkgs/development/libraries/librsvg/default.nix+16−5 pkgs/development/libraries/librsync/0.9.nix+1−3 pkgs/development/libraries/librsync/default.nix+1−3 pkgs/development/libraries/libsoup/default.nix+2 pkgs/development/libraries/libtorrent-rasterbar/default.nix+2 pkgs/development/libraries/libtoxcore/default.nix+6 pkgs/development/libraries/libuchardet/default.nix+2 pkgs/development/libraries/libunwind/default.nix+2 pkgs/development/libraries/libuv/default.nix+2−2 pkgs/development/libraries/libvdpau-va-gl/default.nix+2 pkgs/development/libraries/libvpx/default.nix+26−30 pkgs/development/libraries/libvpx/git.nix+15−19 pkgs/development/libraries/libwacom/default.nix+2−2 pkgs/development/libraries/libwebp/default.nix+2−2 pkgs/development/libraries/libxkbcommon/default.nix+2 pkgs/development/libraries/libxml2/default.nix+2−2 pkgs/development/libraries/mesa/default.nix+6−6 pkgs/development/libraries/mpfi/default.nix+8−3 pkgs/development/libraries/mpfr/default.nix+3−2 pkgs/development/libraries/ncurses/default.nix+6−4 pkgs/development/libraries/nspr/default.nix+2−2 pkgs/development/libraries/nss/default.nix+3−12 pkgs/development/libraries/openexr/default.nix+1 pkgs/development/libraries/openldap/default.nix+2 pkgs/development/libraries/openssl/default.nix+1−2 pkgs/development/libraries/p11-kit/default.nix+2 pkgs/development/libraries/pcre2/default.nix+2 pkgs/development/libraries/phonon/backends/vlc.nix+2−2 pkgs/development/libraries/physics/nlojet/default.nix+1−1 pkgs/development/libraries/poppler/default.nix+2−2 pkgs/development/libraries/popt/default.nix+4−2 pkgs/development/libraries/qt-4.x/4.8/default.nix+2 pkgs/development/libraries/qt-5/5.10/default.nix+1−3 pkgs/development/libraries/qt-5/5.10/restore-pc-files.patch−27 pkgs/development/libraries/qt-5/mkDerivation.nix+3 pkgs/development/libraries/qt-5/modules/qtbase.nix+6 pkgs/development/libraries/qt-5/modules/qtwebengine.nix+4 pkgs/development/libraries/qtinstaller/default.nix+1−1 pkgs/development/libraries/re2/default.nix+2−2 pkgs/development/libraries/serf/default.nix+2−6 pkgs/development/libraries/spice-gtk/default.nix+1−1 pkgs/development/libraries/sqlcipher/default.nix+2 pkgs/development/libraries/sqlite/analyzer.nix+30 pkgs/development/libraries/sqlite/archive-version.nix+11 pkgs/development/libraries/sqlite/default.nix+19−10 pkgs/development/libraries/sqlite/sqlite3_analyzer.nix−27 pkgs/development/libraries/srtp/default.nix+2−2 pkgs/development/libraries/tk/8.5.nix−1 pkgs/development/libraries/tk/8.6.nix−1 pkgs/development/libraries/tk/generic.nix+2 pkgs/development/libraries/wayland/default.nix+2−2 pkgs/development/libraries/wayland/protocols.nix+2−2 pkgs/development/libraries/x265/default.nix+2−2 pkgs/development/libraries/zeromq/3.x.nix+2 pkgs/development/libraries/zeromq/4.x.nix+2 pkgs/development/perl-modules/BerkeleyDB/default.nix+2−2 pkgs/development/perl-modules/DB_File/default.nix+2−2 pkgs/development/python-modules/Cython/default.nix+2−2 pkgs/development/python-modules/Nikola/default.nix+2−2 pkgs/development/python-modules/XlsxWriter/default.nix+2−2 pkgs/development/python-modules/aenum/default.nix+2−2 pkgs/development/python-modules/aiohttp/default.nix+2−2 pkgs/development/python-modules/astral/default.nix+2−2 pkgs/development/python-modules/astropy/default.nix+2−2 pkgs/development/python-modules/bayespy/default.nix+2−2 pkgs/development/python-modules/bootstrapped-pip/default.nix+5−15 pkgs/development/python-modules/buildout-nix/default.nix+2−2 pkgs/development/python-modules/buildout/default.nix+2−2 pkgs/development/python-modules/cmarkgfm/default.nix+2−2 pkgs/development/python-modules/colorlog/default.nix+2−2 pkgs/development/python-modules/confluent-kafka/default.nix+2−2 pkgs/development/python-modules/dask/default.nix+2−2 pkgs/development/python-modules/deprecation/default.nix+25 pkgs/development/python-modules/devpi-common/default.nix+2−2 pkgs/development/python-modules/django-ipware/default.nix+2−2 pkgs/development/python-modules/django/2_0.nix+2−2 pkgs/development/python-modules/faker/default.nix+2−2 pkgs/development/python-modules/fastimport/default.nix+2−2 pkgs/development/python-modules/fiona/default.nix+2−2 pkgs/development/python-modules/flake8-future-import/default.nix+4−13 pkgs/development/python-modules/flask-cors/default.nix+2−2 pkgs/development/python-modules/flask/default.nix+2−2 pkgs/development/python-modules/google-api-python-client/default.nix+2−2 pkgs/development/python-modules/google_api_core/default.nix+2−2 pkgs/development/python-modules/hdbscan/default.nix+2−2 pkgs/development/python-modules/ipywidgets/default.nix+2−2 pkgs/development/python-modules/jira/default.nix+2−2 pkgs/development/python-modules/jug/default.nix+2−2 pkgs/development/python-modules/keras/default.nix+4−5 pkgs/development/python-modules/keyring/default.nix+2−2 pkgs/development/python-modules/llfuse/default.nix+2−2 pkgs/development/python-modules/marisa-trie/default.nix+2−2 pkgs/development/python-modules/marshmallow/default.nix+2−2 pkgs/development/python-modules/moto/default.nix+2−2 pkgs/development/python-modules/nipype/default.nix+2−2 pkgs/development/python-modules/numexpr/default.nix+2−2 pkgs/development/python-modules/numpy/default.nix+5−4 pkgs/development/python-modules/onkyo-eiscp/default.nix+2−2 pkgs/development/python-modules/openpyxl/default.nix+2−2 pkgs/development/python-modules/pathlib2/default.nix+2−2 pkgs/development/python-modules/pbr/default.nix+2−2 pkgs/development/python-modules/pip-tools/default.nix+4−2 pkgs/development/python-modules/pip/default.nix+3−3 pkgs/development/python-modules/pretend/default.nix+2−2 pkgs/development/python-modules/psutil/default.nix+2−2 pkgs/development/python-modules/pyblake2/default.nix+2−2 pkgs/development/python-modules/pycairo/default.nix+14−7 pkgs/development/python-modules/pygit2/default.nix+2−2 pkgs/development/python-modules/pyglet/default.nix+2−2 pkgs/development/python-modules/pytest/default.nix+2−2 pkgs/development/python-modules/qtpy/default.nix+2−2 pkgs/development/python-modules/robotframework/default.nix+2−2 pkgs/development/python-modules/rpy2/default.nix+2−2 pkgs/development/python-modules/s3fs/default.nix+2−2 pkgs/development/python-modules/sphinx/default.nix+2−2 pkgs/development/python-modules/sqlalchemy/default.nix+2−2 pkgs/development/python-modules/sqlmap/default.nix+2−2 pkgs/development/python-modules/tables/default.nix+2−2 pkgs/development/python-modules/testfixtures/default.nix+2−2 pkgs/development/python-modules/textacy/default.nix+2−2 pkgs/development/python-modules/transitions/default.nix+2−2 pkgs/development/python-modules/tweepy/default.nix+28 pkgs/development/python-modules/widgetsnbextension/default.nix+2−2 pkgs/development/python-modules/xarray/default.nix+2−2 pkgs/development/python-modules/zetup/default.nix+2−2 pkgs/development/python-modules/zxcvbn-python/default.nix+2−2 pkgs/development/ruby-modules/bundler/default.nix+2−2 pkgs/development/tools/analysis/radare2/default.nix+30−11 pkgs/development/tools/analysis/radare2/update.py+72 pkgs/development/tools/analysis/valgrind/default.nix+2 pkgs/development/tools/build-managers/cmake/default.nix+23−13 pkgs/development/tools/build-managers/cmake/setup-hook.sh+11−14 pkgs/development/tools/build-managers/conan/default.nix+3−11 pkgs/development/tools/build-managers/gn/default.nix+2−2 pkgs/development/tools/build-managers/meson/default.nix+2−6 pkgs/development/tools/build-managers/meson/overly-strict-size-check.patch−12 pkgs/development/tools/dcadec/default.nix+3−1 pkgs/development/tools/documentation/doxygen/default.nix+1 pkgs/development/tools/documentation/gtk-doc/default.nix+3 pkgs/development/tools/erlang/cuter/default.nix+1−1 pkgs/development/tools/go2nix/default.nix+2 pkgs/development/tools/govers/default.nix+4−1 pkgs/development/tools/imatix_gsl/default.nix+1−1 pkgs/development/tools/misc/autoconf/2.64.nix+6−4 pkgs/development/tools/misc/autoconf/default.nix+6−4 pkgs/development/tools/misc/binutils/default.nix+8−10 pkgs/development/tools/misc/itstool/default.nix+2−2 pkgs/development/tools/misc/libtool/libtool2.nix+1 pkgs/development/tools/misc/pkgconfig/default.nix+1−1 pkgs/development/tools/misc/texinfo/4.13a.nix+5−28 pkgs/development/tools/misc/texinfo/5.2.nix+3−53 pkgs/development/tools/misc/texinfo/6.5.nix+3−55 pkgs/development/tools/misc/texinfo/common.nix+64 pkgs/development/tools/parsing/bison/3.x.nix+3 pkgs/development/tools/vagrant/Gemfile+1−1 pkgs/development/tools/yuicompressor/default.nix+14−12 pkgs/development/web/nodejs/v10.nix+11 pkgs/games/freeciv/default.nix+3−3 pkgs/games/quake2/yquake2/wrapper.nix+1−1 pkgs/misc/cups/drivers/brlaser/default.nix+4−3 pkgs/misc/cups/drivers/estudio/default.nix+2−2 pkgs/misc/cups/filters.nix+1 pkgs/misc/emulators/wine/winetricks.nix+2 pkgs/misc/lilypond/with-fonts.nix+3−3 pkgs/misc/themes/gnome-breeze/default.nix+1−1 pkgs/misc/uboot/nanonote.nix+8−13 pkgs/os-specific/bsd/netbsd/compat-setup-hook.sh+5−17 pkgs/os-specific/bsd/netbsd/default.nix+8−2 pkgs/os-specific/bsd/netbsd/fts-setup-hook.sh+3−15 pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix+1−1 pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/ICU/default.nix+1 pkgs/os-specific/darwin/apple-source-releases/Libc/825_40_1.nix−2 pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/Libm/default.nix+1−3 pkgs/os-specific/darwin/apple-source-releases/Libnotify/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix+1 pkgs/os-specific/darwin/apple-source-releases/architecture/default.nix+3−11 pkgs/os-specific/darwin/apple-source-releases/copyfile/default.nix+2−3 pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/eap8021x/default.nix+2−3 pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix+1−3 pkgs/os-specific/darwin/apple-source-releases/libclosure/default.nix+1−3 pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix+2−2 pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix+9−6 pkgs/os-specific/darwin/apple-source-releases/libplatform/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/libresolv/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix−2 pkgs/os-specific/darwin/apple-source-releases/ppp/default.nix+1−2 pkgs/os-specific/darwin/apple-source-releases/removefile/default.nix+1−3 pkgs/os-specific/darwin/cctools/port.nix+2−4 pkgs/os-specific/linux/apparmor/default.nix+20−4 pkgs/os-specific/linux/busybox/default.nix+2 pkgs/os-specific/linux/hwdata/default.nix+2 pkgs/os-specific/linux/kernel/perf.nix+3 pkgs/os-specific/linux/kexectools/default.nix+2−2 pkgs/os-specific/linux/libcap-ng/default.nix+2−2 pkgs/os-specific/linux/libnl/default.nix+24−6 pkgs/os-specific/linux/lvm2/default.nix+2 pkgs/os-specific/linux/mmc-utils/default.nix+2 pkgs/os-specific/linux/musl/fts-setup-hook.sh+3−16 pkgs/os-specific/linux/musl/fts.nix+4−1 pkgs/os-specific/linux/net-tools/default.nix+2 pkgs/os-specific/linux/nfs-utils/default.nix+13−1 pkgs/os-specific/linux/pam/default.nix+8−5 pkgs/os-specific/linux/procps-ng/default.nix+7−28 pkgs/os-specific/linux/systemd/cryptsetup-generator.nix+1−1 pkgs/os-specific/linux/systemd/default.nix+12−12 pkgs/os-specific/linux/tcp-wrappers/cdecls.patch+31 pkgs/os-specific/linux/tcp-wrappers/default.nix+12−1 pkgs/os-specific/linux/tcp-wrappers/tcp-wrappers-7.6-headers.patch+295 pkgs/os-specific/linux/udisks/2-default.nix+2 pkgs/os-specific/linux/upower/default.nix+2 pkgs/os-specific/linux/util-linux/default.nix+3−3 pkgs/os-specific/linux/v4l-utils/default.nix+2−2 pkgs/servers/amqp/rabbitmq-server/default.nix+2−8 pkgs/servers/dns/bind/default.nix+2 pkgs/servers/ldap/389/default.nix+3−1 pkgs/servers/monitoring/net-snmp/default.nix+1 pkgs/servers/sql/mariadb/default.nix+2−2 pkgs/servers/sql/postgresql/default.nix+2 pkgs/servers/x11/xorg/default.nix+3−3 pkgs/servers/x11/xorg/overrides.nix+23−12 pkgs/servers/x11/xquartz/default.nix+1−1 pkgs/shells/bash/4.4.nix+25−28 pkgs/shells/bash/cygwin-bash-4.4.11-2.src.patch+38−38 pkgs/stdenv/adapters.nix−2 pkgs/stdenv/darwin/default.nix+9−10 pkgs/stdenv/generic/default.nix+8−3 pkgs/stdenv/generic/make-derivation.nix+57−32 pkgs/stdenv/generic/setup.sh+117−56 pkgs/stdenv/linux/default.nix+6−12 pkgs/tools/archivers/gnutar/default.nix+3 pkgs/tools/audio/mpdris2/default.nix+3−2 pkgs/tools/compression/brotli/default.nix+2−2 pkgs/tools/compression/gzip/default.nix+2 pkgs/tools/compression/xz/default.nix+2−2 pkgs/tools/filesystems/curlftpfs/default.nix+2 pkgs/tools/filesystems/e2fsprogs/default.nix+2−2 pkgs/tools/filesystems/netatalk/default.nix+1−1 pkgs/tools/graphics/graphviz/base.nix+7 pkgs/tools/inputmethods/ibus/default.nix+1 pkgs/tools/misc/bc/default.nix+1−1 pkgs/tools/misc/bogofilter/default.nix+2 pkgs/tools/misc/buildtorrent/default.nix+3−3 pkgs/tools/misc/ethtool/default.nix+2−2 pkgs/tools/misc/file/default.nix+2−2 pkgs/tools/misc/fontforge/default.nix+3−1 pkgs/tools/misc/notify-desktop/default.nix+1−1 pkgs/tools/misc/parallel/default.nix+2−2 pkgs/tools/misc/thin-provisioning-tools/default.nix+19−3 pkgs/tools/networking/atftp/default.nix+2 pkgs/tools/networking/curl/default.nix+6−4 pkgs/tools/networking/dhcp/default.nix+2−2 pkgs/tools/networking/dnstracer/default.nix+2−2 pkgs/tools/networking/maildrop/default.nix+2 pkgs/tools/networking/network-manager/default.nix+2 pkgs/tools/networking/openssh/default.nix+8−7 pkgs/tools/networking/openssh/dont_create_privsep_path.patch+9−8 pkgs/tools/networking/openssh/locale_archive.patch+9−9 pkgs/tools/networking/tcpdump/default.nix+4−8 pkgs/tools/networking/unbound/default.nix+2−2 pkgs/tools/networking/zerotierone/default.nix+1−1 pkgs/tools/package-management/apt/default.nix+1−1 pkgs/tools/security/gnupg/22.nix+2−2 pkgs/tools/security/nitrokey-app/default.nix+1−1 pkgs/tools/security/nitrokey-app/udev-rules.nix+1−1 pkgs/tools/security/nmap/default.nix+2 pkgs/tools/security/rhash/default.nix+2 pkgs/tools/security/rng-tools/default.nix+3 pkgs/tools/security/sudo/default.nix+2 pkgs/tools/system/at/default.nix+9−6 pkgs/tools/system/pciutils/default.nix+8−2 pkgs/tools/system/runit/default.nix+6−2 pkgs/tools/system/runit/fix-ar-ranlib.patch+18 pkgs/tools/text/gnupatch/CVE-2018-6951.patch+28 pkgs/tools/text/gnupatch/default.nix+5 pkgs/tools/text/gnused/default.nix+2−2 pkgs/tools/text/groff/default.nix+6−7 pkgs/tools/text/jumanpp/default.nix+2−2 pkgs/tools/text/patchutils/default.nix+2 pkgs/tools/text/sgml/opensp/default.nix+2 pkgs/tools/typesetting/docbook2x/default.nix+8−6 pkgs/tools/typesetting/tex/texlive/bin.nix+2 pkgs/top-level/aliases.nix+109−22 pkgs/top-level/all-packages.nix+196−336 pkgs/top-level/lua-packages.nix+2 pkgs/top-level/perl-packages.nix+5−2 pkgs/top-level/python-packages.nix+6−19 pkgs/top-level/release.nix+2−2 pkgs/top-level/stage.nix+2−1 pkgs/top-level/unix-tools.nix+17−4
doc/languages-frameworks/perl.xml+2−2
@@ -109,8 +109,8 @@ buildPerlPackage rec {
109109 };
110110
111111 preConfigure = ''
112− echo "LIB = ${db}/lib" > config.in
113− echo "INCLUDE = ${db}/include" >> config.in
112+ echo "LIB = ${db.out}/lib" > config.in
113+ echo "INCLUDE = ${db.dev}/include" >> config.in
114114 '';
115115}
116116</programlisting>
doc/stdenv.xml+17
@@ -1163,6 +1163,14 @@ passthru = {
11631163 </para>
11641164 </listitem>
11651165 </varlistentry>
1166+ <varlistentry>
1167+ <term><varname>checkInputs</varname>
1168+ </term>
1169+ <listitem><para>
1170+ A list of dependencies used by the phase. This gets included in
1171+ <varname>buildInputs</varname> when <varname>doCheck</varname> is set.
1172+ </para></listitem>
1173+ </varlistentry>
11661174 <varlistentry>
11671175 <term><varname>makeFlags</varname>
11681176 </term>
@@ -1646,6 +1654,15 @@ set debug-file-directory ~/.nix-profile/lib/debug
16461654 </para>
16471655 </listitem>
16481656 </varlistentry>
1657+ <varlistentry>
1658+ <term><varname>installCheckInputs</varname>
1659+ </term>
1660+ <listitem><para>
1661+ A list of dependencies used by the phase. This gets included in
1662+ <varname>buildInputs</varname> when <varname>doInstallCheck</varname>
1663+ is set.
1664+ </para></listitem>
1665+ </varlistentry>
16491666 <varlistentry>
16501667 <term><varname>preInstallCheck</varname>
16511668 </term>
lib/systems/for-meta.nix+5−1
@@ -21,7 +21,11 @@ in rec {
2121 darwin = [ patterns.isDarwin ];
2222 freebsd = [ patterns.isFreeBSD ];
2323 # Should be better, but MinGW is unclear, and HURD is bit-rotted.
24− gnu = [ { kernel = parse.kernels.linux; abi = abis.gnu; } ];
24+ gnu = [
25+ { kernel = parse.kernels.linux; abi = parse.abis.gnu; }
26+ { kernel = parse.kernels.linux; abi = parse.abis.gnueabi; }
27+ { kernel = parse.kernels.linux; abi = parse.abis.gnueabihf; }
28+ ];
2529 illumos = [ patterns.isSunOS ];
2630 linux = [ patterns.isLinux ];
2731 netbsd = [ patterns.isNetBSD ];
nixos/modules/services/misc/nix-daemon.nix+13−2
@@ -33,7 +33,7 @@ let
3333 sh = pkgs.runtimeShell;
3434 binshDeps = pkgs.writeReferencesToFile sh;
3535 in
36− pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } ''
36+ pkgs.runCommand "nix.conf" { extraOptions = cfg.extraOptions; } (''
3737 ${optionalString (!isNix20) ''
3838 extraPaths=$(for i in $(cat ${binshDeps}); do if test -d $i; then echo $i; fi; done)
3939 ''}
@@ -62,7 +62,11 @@ let
6262 ''}
6363 $extraOptions
6464 END
65− '';
65+ '' + optionalString cfg.checkConfig ''
66+ echo "Checking that Nix can read nix.conf..."
67+ ln -s $out ./nix.conf
68+ NIX_CONF_DIR=$PWD ${cfg.package}/bin/nix show-config >/dev/null
69+ '');
6670
6771in
6872
@@ -351,6 +355,13 @@ in
351355 '';
352356 };
353357
358+ checkConfig = mkOption {
359+ type = types.bool;
360+ default = true;
361+ description = ''
362+ If enabled (the default), checks that Nix can parse the generated nix.conf.
363+ '';
364+ };
354365 };
355366
356367 };
nixos/release.nix+1
@@ -288,6 +288,7 @@ in rec {
288288 tests.flatpak = callTest tests/flatpak.nix {};
289289 tests.firewall = callTest tests/firewall.nix {};
290290 tests.fwupd = callTest tests/fwupd.nix {};
291+ tests.gdk-pixbuf = callTest tests/gdk-pixbuf.nix {};
291292 #tests.gitlab = callTest tests/gitlab.nix {};
292293 tests.gitolite = callTest tests/gitolite.nix {};
293294 tests.gjs = callTest tests/gjs.nix {};
nixos/tests/gdk-pixbuf.nixnew file+19
@@ -0,0 +1,19 @@
1+# run installed tests
2+import ./make-test.nix ({ pkgs, ... }: {
3+ name = "gdk-pixbuf";
4+
5+ meta = {
6+ maintainers = pkgs.gdk_pixbuf.meta.maintainers;
7+ };
8+
9+ machine = { pkgs, ... }: {
10+ environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
11+ environment.variables.XDG_DATA_DIRS = [ "${pkgs.gdk_pixbuf.installedTests}/share" ];
12+
13+ virtualisation.memorySize = 4096; # Tests allocate a lot of memory trying to exploit a CVE
14+ };
15+
16+ testScript = ''
17+ $machine->succeed("gnome-desktop-testing-runner");
18+ '';
19+})
pkgs/applications/altcoins/bitcoin.nix+4
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec{
2525 "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
2626 ];
2727
28+ # Fails with "This application failed to start because it could not
29+ # find or load the Qt platform plugin "minimal""
30+ doCheck = false;
31+
2832 meta = {
2933 description = "Peer-to-peer electronic cash system";
3034 longDescription= ''
pkgs/applications/altcoins/dapp.nix+1−1
@@ -2,7 +2,7 @@
22, seth, git, solc, shellcheck, nodejs, hevm }:
33
44stdenv.mkDerivation rec {
5− name = "dapp";
5+ name = "dapp-${version}";
66 version = "0.5.7";
77
88 src = fetchFromGitHub {
pkgs/applications/altcoins/mist.nix+3−3
@@ -25,7 +25,7 @@ let
2525 categories = "Network;";
2626 };
2727
28− mist = stdenv.mkDerivation {
28+ mist = stdenv.lib.appendToName "unwrapped" (stdenv.mkDerivation {
2929 inherit name version;
3030
3131 src = {
@@ -53,10 +53,10 @@ let
5353 --set-rpath "${atomEnv.libPath}:$out/lib/mist" \
5454 $out/lib/mist/mist
5555 '';
56− };
56+ });
5757in
5858buildFHSUserEnv {
59− name = "mist";
59+ name = "mist-${stdenv.lib.getVersion mist}";
6060
6161 targetPkgs = pkgs: with pkgs; [
6262 mist
pkgs/applications/audio/easytag/default.nix+2
@@ -22,6 +22,8 @@ in stdenv.mkDerivation rec {
2222 gsettings-desktop-schemas gnome3.defaultIconTheme
2323 ];
2424
25+ doCheck = false; # fails 1 out of 9 tests
26+
2527 passthru = {
2628 updateScript = gnome3.updateScript {
2729 packageName = pname;
pkgs/applications/audio/renoise/default.nix+17−9
@@ -1,4 +1,6 @@
1−{ stdenv, lib, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }:
1+{ stdenv, fetchurl, libX11, libXext, libXcursor, libXrandr, libjack2, alsaLib, releasePath ? null }:
2+
3+with stdenv.lib;
24
35# To use the full release version:
46# 1) Sign into https://backstage.renoise.com and download the appropriate (x86 or x86_64) version
@@ -6,31 +8,35 @@
68# 2) Override the releasePath attribute to point to the location of the newly downloaded bundle.
79# Note: Renoise creates an individual build for each license which screws somewhat with the
810# use of functions like requireFile as the hash will be different for every user.
9−let fileversion = "3_1_0";
11+let
12+ urlVersion = replaceStrings [ "." ] [ "_" ];
1013in
14+
1115stdenv.mkDerivation rec {
12− name = "renoise";
13− buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
16+ name = "renoise-${version}";
17+ version = "3.1.0";
1418
1519 src =
1620 if stdenv.system == "x86_64-linux" then
1721 if builtins.isNull releasePath then
1822 fetchurl {
19− url = "http://files.renoise.com/demo/Renoise_${fileversion}_Demo_x86_64.tar.bz2";
20− sha256 = "0pan68fr22xbj7a930y29527vpry3f07q3i9ya4fp6g7aawffsga";
23+ url = "http://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_x86_64.tar.bz2";
24+ sha256 = "0pan68fr22xbj7a930y29527vpry3f07q3i9ya4fp6g7aawffsga";
2125 }
2226 else
2327 releasePath
2428 else if stdenv.system == "i686-linux" then
2529 if builtins.isNull releasePath then
2630 fetchurl {
27− url = "http://files.renoise.com/demo/Renoise_${fileversion}_Demo_x86.tar.bz2";
28− sha256 = "1lccjj4k8hpqqxxham5v01v2rdwmx3c5kgy1p9lqvzqma88k4769";
31+ url = "http://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_x86.tar.bz2";
32+ sha256 = "1lccjj4k8hpqqxxham5v01v2rdwmx3c5kgy1p9lqvzqma88k4769";
2933 }
3034 else
3135 releasePath
3236 else throw "Platform is not supported by Renoise";
3337
38+ buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ];
39+
3440 installPhase = ''
3541 cp -r Resources $out
3642
@@ -55,6 +61,8 @@ stdenv.mkDerivation rec {
5561 meta = {
5662 description = "Modern tracker-based DAW";
5763 homepage = http://www.renoise.com/;
58− license = stdenv.lib.licenses.unfree;
64+ license = licenses.unfree;
65+ maintainers = [];
66+ platforms = [ "i686-linux" "x86_64-linux" ];
5967 };
6068}
pkgs/applications/editors/neovim/wrapper.nix+1−1
@@ -51,7 +51,7 @@ let
5151
5252 in
5353 stdenv.mkDerivation {
54− inherit name;
54+ name = "neovim-${stdenv.lib.getVersion neovim}";
5555 buildCommand = let bin="${neovim}/bin/nvim"; in ''
5656 if [ ! -x "${bin}" ]
5757 then
pkgs/applications/editors/okteta/default.nix+24−17
@@ -1,27 +1,34 @@
1−{
2− mkDerivation, lib, fetchurl,
3− extra-cmake-modules, kdoctools,
4− qtscript, kconfig, kinit, karchive, kcrash,
5− kcmutils, kconfigwidgets, knewstuff, kparts, qca-qt5,
6− shared-mime-info
7−}:
1+{ stdenv, fetchurl, extra-cmake-modules, kdoctools, qtscript, kconfig
2+, kinit, karchive, kcrash, kcmutils, kconfigwidgets, knewstuff, kparts
3+, qca-qt5, shared-mime-info }:
84
9−let
5+stdenv.mkDerivation rec {
6+ name = "okteta-${version}";
107 version = "17.12.3";
11−in mkDerivation rec {
12− name = "okteta";
8+
139 src = fetchurl {
14− url = "mirror://kde/stable/applications/${version}/src/${name}-${version}.tar.xz";
10+ url = "mirror://kde/stable/applications/${version}/src/${name}.tar.xz";
1511 sha256 = "03wsv83l1cay2dpcsksad124wzan7kh8zxdw1h0yicn398kdbck4";
1612 };
17− meta = {
18− license = with lib.licenses; [ gpl2 ];
19− maintainers = with lib.maintainers; [ peterhoeg bkchr ];
20− };
13+
2114 nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
2215 buildInputs = [ shared-mime-info ];
16+
2317 propagatedBuildInputs = [
24− kconfig kinit kcmutils kconfigwidgets knewstuff kparts qca-qt5
25− karchive kcrash
18+ kconfig
19+ kinit
20+ kcmutils
21+ kconfigwidgets
22+ knewstuff
23+ kparts
24+ qca-qt5
25+ karchive
26+ kcrash
2627 ];
28+
29+ meta = with stdenv.lib; {
30+ license = licenses.gpl2;
31+ maintainers = with maintainers; [ peterhoeg bkchr ];
32+ platforms = platforms.linux;
33+ };
2734}
pkgs/applications/graphics/ImageMagick/default.nix+2
@@ -78,6 +78,8 @@ stdenv.mkDerivation rec {
7878 [ libX11 libXext libXt libwebp ]
7979 ;
8080
81+ doCheck = false; # fails 6 out of 76 tests
82+
8183 postInstall = ''
8284 (cd "$dev/include" && ln -s ImageMagick* ImageMagick)
8385 moveToOutput "bin/*-config" "$dev"
pkgs/applications/graphics/gimp/plugins/default.nix+1−2
@@ -22,9 +22,8 @@ let
2222 '';
2323 }
2424 // a
25− # don't call this gimp-* unless you want nix replace gimp by a plugin :-)
2625 // {
27− name = "${a.name}-${gimp.name}-plugin";
26+ name = "gimp-plugin-${a.name}";
2827 buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []);
2928 nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []);
3029 }
pkgs/applications/misc/audio/soxr/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, cmake }:
22
33stdenv.mkDerivation rec {
4− name = "soxr-0.1.2";
4+ name = "soxr-0.1.3";
55
66 src = fetchurl {
77 url = "mirror://sourceforge/soxr/${name}-Source.tar.xz";
8− sha256 = "0xf2w3piwz9gfr1xqyrj4k685q5dy53kq3igv663i4f4y4sg9rjl";
8+ sha256 = "12aql6svkplxq5fjycar18863hcq84c5kx8g6f4rj0lcvigw24di";
99 };
1010
1111 outputs = [ "out" "doc" ]; # headers are just two and very small
pkgs/applications/networking/browsers/firefox-bin/release_sources.nix+399−389
@@ -1,975 +1,985 @@
11{
2− version = "59.0.2";
2+ version = "60.0.1";
33 sources = [
4− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ach/firefox-59.0.2.tar.bz2";
4+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ach/firefox-60.0.1.tar.bz2";
55 locale = "ach";
66 arch = "linux-x86_64";
7− sha512 = "6242d81b96456c52a25af82049ffae548f7b5e14e47e2e643cea94f338e10027270d67b13c27a4a77fddc378b1e0869b5a0f897b9b269fecbe1d55336dfa4718";
7+ sha512 = "ca1638e32f121b1f366d89934e5516ee23cbe249596a7600f5ba1986fcb014d9125d24d3d7a38f251aa9fb527d368001ccc0af80063a7f3abb02a2a920bc7fd7";
88 }
9− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/af/firefox-59.0.2.tar.bz2";
9+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/af/firefox-60.0.1.tar.bz2";
1010 locale = "af";
1111 arch = "linux-x86_64";
12− sha512 = "e2aa156326a38c4ac55b4ebcbcd460ce64d5e9abc210bd53d484cb97bded59bd73045fb7b3099ff3301f0262938ce8b4b90f5b0f807f73d9b7637a826a5055d9";
12+ sha512 = "f693b42ee4380fa6c0505fb7971984dcb466ef2a1ce90c09e8088e758f1aef5d3ee790ac578737523ba93f2866dcc92722852579cf4cc5898e66adf28ce17495";
1313 }
14− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/an/firefox-59.0.2.tar.bz2";
14+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/an/firefox-60.0.1.tar.bz2";
1515 locale = "an";
1616 arch = "linux-x86_64";
17− sha512 = "2946fdb675ac86e32e91b3a6cf4c26d14a5c977f22a587315a1c5a03db69f84efcd5057d7bd7f8b37e7433f53d915e9e9e5ab0c9d35739ce82e1c3183b1c4d5e";
17+ sha512 = "4858341f974d45c982a9c3c8285de2932db81c8dbdd124272e7aaafc0e4712f613aec5e4929ad0182c1801850fc394ebeda38f08a40e71e29ce111c17abbfc7d";
1818 }
19− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ar/firefox-59.0.2.tar.bz2";
19+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ar/firefox-60.0.1.tar.bz2";
2020 locale = "ar";
2121 arch = "linux-x86_64";
22− sha512 = "2d497f930358fdd36ae5e708bd73e151461497f8715b11efd5a2b6c23b71fbf985faeeb2bfa5cc2816982e81f27091705f849923cb724078764b50fa684374f4";
22+ sha512 = "dcbe81e9b0910c44530f9b8f33876c8e2df6ca314172f268c9b5cc53010f5f4024b37929a726d4c138033596d904596a6040b6770e796d20a9a8999ff3e84ecc";
2323 }
24− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/as/firefox-59.0.2.tar.bz2";
24+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/as/firefox-60.0.1.tar.bz2";
2525 locale = "as";
2626 arch = "linux-x86_64";
27− sha512 = "a1d51a99f8a5b47668c74414372d11120160f264762a3bfb988be2aaeb958ad5d3897472618a86a4a8422850c46f2895cf426fe9d064938c263bca96a9592eb4";
27+ sha512 = "4420f102bc6d665ddb568d3a27001cb91ddd76ac20ebe65c4c6fe58d92b2b9406a47c492c2f5ed4da42a48355e30a982c81da2b756826d239d443179bd6deec1";
2828 }
29− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ast/firefox-59.0.2.tar.bz2";
29+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ast/firefox-60.0.1.tar.bz2";
3030 locale = "ast";
3131 arch = "linux-x86_64";
32− sha512 = "dcd450fb49cce376f27e8135f8c27400af1c2cf139120602c000091231703db2cac791c82de157c9335fb09050cd4e4ee6013da3068b1527dcd9e0aedda16c5d";
32+ sha512 = "5294a33939e40bc868041952830593fafb27f7be2eb7fc163571a6d08c7ccf19443f177bd73e4a3bed96d73103d2fb696810982648abfe300973c7ca7c6677d8";
3333 }
34− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/az/firefox-59.0.2.tar.bz2";
34+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/az/firefox-60.0.1.tar.bz2";
3535 locale = "az";
3636 arch = "linux-x86_64";
37− sha512 = "fb004315a6ad15cc9ccb6d3b36901c4c495ea21fe146df3869711fc7ae8fb625a109fc416079e85163e79524bb987b366b2d057cd0808d0dfc61f78910fbef96";
37+ sha512 = "272fe5c3c276e9f3cc9554ebada40a90762af24cf6652a5fb9541f41aad964358471f2c19f94b3c1ad59eaf93a4ee507617f4ec299d4601c41d72a6620d0cd3b";
3838 }
39− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/be/firefox-59.0.2.tar.bz2";
39+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/be/firefox-60.0.1.tar.bz2";
4040 locale = "be";
4141 arch = "linux-x86_64";
42− sha512 = "ba51003823e74734726f655cfd20fe968ebe5feacd0c985f7c8b2cf9766d7b68fe74dafc8baa0605b8fb46b22312a593218c5a57fdfabddea6a51491de74cc13";
42+ sha512 = "75689bbdb2f678ed36b265696d21d6f9becd7658001e15bbd8bd306e683b69d4762ac1cb27ddbb12638f7e626927e36fc0a16cc7b98479c5f2e21769dcd9cd06";
4343 }
44− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bg/firefox-59.0.2.tar.bz2";
44+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bg/firefox-60.0.1.tar.bz2";
4545 locale = "bg";
4646 arch = "linux-x86_64";
47− sha512 = "f9df1a70c569f853b94c912d8cdbc7cf98a57eda9d461777f9f94c776f4db0a70b6093478ae1e7c87e80f37cfc5a39af3d2b37897ca60496f0d00ac9b45c1713";
47+ sha512 = "33b7aa767bb6c234dcb8406eb7eee3160424192dc1a76b9c1c7beee1de42d1c623ad009ab714e60c62e07bbb087cc1b08feec7628361739380a767bb7b43a020";
4848 }
49− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bn-BD/firefox-59.0.2.tar.bz2";
49+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bn-BD/firefox-60.0.1.tar.bz2";
5050 locale = "bn-BD";
5151 arch = "linux-x86_64";
52− sha512 = "85758a1ac327b067a59358d3faa0663244a24a4769ac0dfe03bf9dddd5a680503ea4bc9313294d9771bc7e4f3341904c68e0059d912b563aba8061dd0b6cc793";
52+ sha512 = "3c6fdfe39d61fd681fa3d30a4ea1c1ef7988a1345912592a79b9622f18d1106ab96e099fe56b428568467c0c63b56e2cc09bc5fe2a9705478f458d5de0f36433";
5353 }
54− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bn-IN/firefox-59.0.2.tar.bz2";
54+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bn-IN/firefox-60.0.1.tar.bz2";
5555 locale = "bn-IN";
5656 arch = "linux-x86_64";
57− sha512 = "895d63b62be42947e955ce426e03f7f8cbf8333d77fd3ff4ca6623db18cc740fb1ea6c41aefbc75aa79d60fca2f00b75f1b2e6b5b0bb1ddcec61f9c0772dedfb";
57+ sha512 = "d9c67926f2df8faae64a6d9848a3823bd4968cafa1caaaf8b2713db2656c0a6c82dfc16eca9741c274994178ea46a7325b5f72a11ecafddacd8cf4df45683a89";
5858 }
59− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/br/firefox-59.0.2.tar.bz2";
59+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/br/firefox-60.0.1.tar.bz2";
6060 locale = "br";
6161 arch = "linux-x86_64";
62− sha512 = "e62f445437a07f9fa070335328064355715d2e5ef81e5572f04a8644f47dd1c8cf8a3a7ac6fa88038c4e996229ab695e692aa1c0b0b3becf214579aaa76a5569";
62+ sha512 = "a0ad58a34f85b254d5985a1bc6a2a0003a91773ba43408a45998098b98fe104b9f09e4d4e9bc9ab7ec9cd378692beb6e9f7aa4d2e55b49630c807bf0f9d158dd";
6363 }
64− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/bs/firefox-59.0.2.tar.bz2";
64+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/bs/firefox-60.0.1.tar.bz2";
6565 locale = "bs";
6666 arch = "linux-x86_64";
67− sha512 = "d3adea6061daa0fd54d5cd7d9d8a00f8b88db8ed36545f9fcaee7520c1cfe58534d1fb57e8297fdc8b4f348bd6c728891f6a88f1d4d36f59a7f2ffbe0e4eb229";
67+ sha512 = "3c24cba1629f4458832d09df121c897fa08c6c3a02ddb42d4e232207086525ff0dd01adc8e133c4ed2b6fc909907efd87f985cf0bc1d27fed18055ec566403f2";
6868 }
69− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ca/firefox-59.0.2.tar.bz2";
69+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ca/firefox-60.0.1.tar.bz2";
7070 locale = "ca";
7171 arch = "linux-x86_64";
72− sha512 = "5bab1fe909680ff6eacf8fadc9aba7786d801379a2e79e5da04e973a3a218de8807c3d08f7641be554fd49c592028949e30b262fcda52413303d9044e161a60e";
72+ sha512 = "75d63bd285257a1f8a6dd97981914fbe0886d77abebc237f08abb498a34bd1f129e38afd6fdbdce3da3d7dab5a7138e1da883ffad0ca31f954da68fc3d273ed4";
7373 }
74− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/cak/firefox-59.0.2.tar.bz2";
74+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/cak/firefox-60.0.1.tar.bz2";
7575 locale = "cak";
7676 arch = "linux-x86_64";
77− sha512 = "f54a09501c7311890542d91b0ec96dfa5cb634685af4ef0fcc69e633157183f0c5ef906a205fadba6e132c9ee657f7161879a83ea382bbe400694e92c065de64";
77+ sha512 = "d79aaa1c8833f2fa9c9612efb8e5b7a02805c37f1fc45db6f7fc2f6288c48f75880ff46b9ddd96be7f05b674a8201f3c1bcbd36d0deafd9072aee5dce8f18ab1";
7878 }
79− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/cs/firefox-59.0.2.tar.bz2";
79+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/cs/firefox-60.0.1.tar.bz2";
8080 locale = "cs";
8181 arch = "linux-x86_64";
82− sha512 = "28f17b2ef72356a058976da30960af1c8d4f2a02a946aec57b3671d71887573a98375eecca4a2f0f21b37bcbe0dd189ce4ee17ccb9af8fc60d63e9bd20ca44b6";
82+ sha512 = "8b01b051a92320457c9364ab0f28761a7dc574b35777098bb773c9b0ec64d8947a76a2bf3c58b3b4a073e392f7d07b4f804994854c6f625a9e9dc51cad9bf914";
8383 }
84− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/cy/firefox-59.0.2.tar.bz2";
84+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/cy/firefox-60.0.1.tar.bz2";
8585 locale = "cy";
8686 arch = "linux-x86_64";
87− sha512 = "36c8a1ac125a55db15d0bf7c8d8fed1ca3b0031a9421437b683adf7691fca281a499af6812cccd608e65bbcda3e1e94469b16ead2a9093708c8c2daf4ea7d588";
87+ sha512 = "9f0e601b41e8f698de134d17d84f1b43d8f91d3319041482fe698fce34c8bcaa0da31e1e113fde72e1760bd93dc11dded02fbc917d69cf1ab008518e54c491dc";
8888 }
89− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/da/firefox-59.0.2.tar.bz2";
89+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/da/firefox-60.0.1.tar.bz2";
9090 locale = "da";
9191 arch = "linux-x86_64";
92− sha512 = "fd8c669362fcf945b6280d103d1b9524741993db8d38b78e494ae14106309999d09f4b13d55b8521612cac9e5dad622ef361fa16f197389405ff620b3eeac467";
92+ sha512 = "dc4280c4e4f7e51befe4adc002d6875f9bdc7d4cb592335134d5b0df18462b6fe54817dbfa2815375e8947bf76d81ab9ccec31b7b36f07ca2b11ec04b3bbf728";
9393 }
94− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/de/firefox-59.0.2.tar.bz2";
94+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/de/firefox-60.0.1.tar.bz2";
9595 locale = "de";
9696 arch = "linux-x86_64";
97− sha512 = "32cbc3d054628a11959ccc7b553fdcf98f863a86373307bf8f558a78482de0161e533b71cbfc03142b0ac7aded506e53e821213e42c574d28132fd2f98a753e4";
97+ sha512 = "f9c7e6f1b83616883c74ba8fca5d21b793a811868e15e40611c93312f76ca8d8c37c4222454a8a71bce47d1d30e8596ed5907eb9300c3b5a957ae49249808c7c";
9898 }
99− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/dsb/firefox-59.0.2.tar.bz2";
99+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/dsb/firefox-60.0.1.tar.bz2";
100100 locale = "dsb";
101101 arch = "linux-x86_64";
102− sha512 = "4e7c2f6b980dd4872850f7dfcc068c7e40a8bc896e27ede759029bf0324e1189e605ffdd2291d2e6a4a0c61e56bff6cd760b77e232209127e9a90a38b012e4fb";
102+ sha512 = "fc41281038372262d135de8004a1d7b03a3c8047fc20ab0e6856b696eee3260328a64b59212a809eb03cad7efd58fadda422e44153e7c8e33415d0efe5321c63";
103103 }
104− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/el/firefox-59.0.2.tar.bz2";
104+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/el/firefox-60.0.1.tar.bz2";
105105 locale = "el";
106106 arch = "linux-x86_64";
107− sha512 = "ecf743c23ef70e92e1f7ddfd2f1862b5b60b446f0e1020778a79ec11af94ce5f03ffea9b0b7048a7ee0861602d5c32f4f4bc8cd4b7171ae306987e1ca9993ddf";
107+ sha512 = "5a5f2d3f2f83e8c3a4bf358cc9611f1279fbf218f24c4e5aff69efcbe4b27ae08b955bafafe3a73ae1caa05914bd4ad739f1292344d9434f1f486f5e615645dd";
108108 }
109− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/en-GB/firefox-59.0.2.tar.bz2";
109+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-GB/firefox-60.0.1.tar.bz2";
110110 locale = "en-GB";
111111 arch = "linux-x86_64";
112− sha512 = "ddec1dfcf976f93d1eb310ccacd9e04dac8e0b075d37b54be1402531d12c11ee9dce2be7d0bfa92c9b654192c71781fd2631cad24c8153275e786552b9ab11e6";
112+ sha512 = "19b09722af085bdb016a12cc586ec9d32371d293f3c5be660efdb792e2d894d339600cef27325759f0489a0b3a4000123685c19db5b6d933d3f4f51244cd4f90";
113113 }
114− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/en-US/firefox-59.0.2.tar.bz2";
114+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-US/firefox-60.0.1.tar.bz2";
115115 locale = "en-US";
116116 arch = "linux-x86_64";
117− sha512 = "3257084102282621f15207af04e6dcbb98887b13a8be911069572c151d8ad96f90e7c083e571b4ecd4d4d4ff3bfeee1dc539042d8e5bc6a0fbd7f36c427da402";
117+ sha512 = "2f7c14e1ef94ad4751c7382d7b012fcd36787ee1045918226cb3b0fdbb08508fa986181f54e304df12fdb8d49aadd62afc936f5855939437a7f9d8860976398c";
118118 }
119− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/en-ZA/firefox-59.0.2.tar.bz2";
119+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/en-ZA/firefox-60.0.1.tar.bz2";
120120 locale = "en-ZA";
121121 arch = "linux-x86_64";
122− sha512 = "35d2f29daddfb6ba439b160644869bf806ce7a2e36c26d4dc9ef2ff2eb5079e0bda9095edd727fca9c64c3be5a5646e56892bd7ff76b2c67300c1ec7f074d98f";
122+ sha512 = "04661ad52e94ad5e8967e21a460fe1e25cc08f9f0f108e9fe55633d4fdaaf23df133b1b73388146c496285d8562b57d38603100f45c4d81787ec02d4c4b6f0f6";
123123 }
124− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/eo/firefox-59.0.2.tar.bz2";
124+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/eo/firefox-60.0.1.tar.bz2";
125125 locale = "eo";
126126 arch = "linux-x86_64";
127− sha512 = "867ac54d47f2266ad357d1666c9206c00e45d7184f6b3a0199c2474b63829ad1d41e95491d2c977885e878d36e2d7e93d215c53e629886e7cb04abc198a06e42";
127+ sha512 = "bb1bd451569e1a4f116b458bb9d020d046b556c7335589dd6aa13f2a941b4ebbd197fa25728607f8bcfeacb610a94943d01d05b072f212346a5b74e96071f157";
128128 }
129− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-AR/firefox-59.0.2.tar.bz2";
129+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-AR/firefox-60.0.1.tar.bz2";
130130 locale = "es-AR";
131131 arch = "linux-x86_64";
132− sha512 = "3d577099cb28dd4c4d1349141a715783215510d015f7b2b02739d530222ece5229ab3e6cfe481be4e9d1d17c40aaacac10af9d9c2be37f7956620924e56c87e8";
132+ sha512 = "8b175a74a9688a50adc42a13b4ff4c137b34f09c571606d9a25080a8134640bfc8e0ef757ff88e90428153002d5c71f6dd339c54320520976669c264004a6743";
133133 }
134− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-CL/firefox-59.0.2.tar.bz2";
134+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-CL/firefox-60.0.1.tar.bz2";
135135 locale = "es-CL";
136136 arch = "linux-x86_64";
137− sha512 = "821738beffdb260b6b3d8b5c3a1395b6b7d58db6b05a744899c0eb83a291855152f5055c3ca6d9a460bd032d5e72829198cb72dedfcf6614aafe1d7b8189dc26";
137+ sha512 = "7561ea580fa411d7c4a8c4cc6bed455f3287a55a843484d20431aa81f7d08b42386287e3cbf5fe7751f528945d9ed70b922cbaaa0f5cde74ff030101d897447a";
138138 }
139− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-ES/firefox-59.0.2.tar.bz2";
139+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-ES/firefox-60.0.1.tar.bz2";
140140 locale = "es-ES";
141141 arch = "linux-x86_64";
142− sha512 = "10ae818fd27acc38a5386d06cd7d890d4eaa44407fe6334b81cdbe3f43ded90be72e749f075e165105e9a6f02e08014aabd7cd783860d6790b67eb2889718e5d";
142+ sha512 = "3f7dea40f758a29ac6cdc8dc9e78ab4fde698c7f8d5369670ae31ef3a09819dd40e28296e2c05caa57e95bf4238f6c162fb81fff6d2bcb4a2ebf26eaad3a225a";
143143 }
144− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/es-MX/firefox-59.0.2.tar.bz2";
144+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/es-MX/firefox-60.0.1.tar.bz2";
145145 locale = "es-MX";
146146 arch = "linux-x86_64";
147− sha512 = "239d3c287eeface29994c8c2bb9bacd739d638cb277e18e57dc729e35cc0c11f6c7168673c110206f3e931c850bfebaf1a26d4f690d8f3ff6f85a61147522941";
147+ sha512 = "2ef05c4095c02c22769098c837cabc435d2d84ec60b7ce09682c6625117c93e294bd00877379561728117e33d5991a0272cf48044a035964eb5d9df6167586d3";
148148 }
149− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/et/firefox-59.0.2.tar.bz2";
149+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/et/firefox-60.0.1.tar.bz2";
150150 locale = "et";
151151 arch = "linux-x86_64";
152− sha512 = "824b63c3c596191f1f1c60734bbed70058cb9bf71959dbba759a2b2e75a76d0b0c50ead203c093d568a18bb622372ae112ac22da0a33e4cfe89e5a42d7329b04";
152+ sha512 = "445158a41339640365d8101bf4473dc77df38f8c965a75f66ba8ef48172e6bd21d6813025192a7f98d451b50078faf5485f95b826af566c3e5215a10df2cbcce";
153153 }
154− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/eu/firefox-59.0.2.tar.bz2";
154+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/eu/firefox-60.0.1.tar.bz2";
155155 locale = "eu";
156156 arch = "linux-x86_64";
157− sha512 = "01e0991d3a1926f41708353bd98e3aa00d3cc71dc7635b9cce52c3699aa5ee670818db76e9d82de4afce338165fa01bb0e88c3e8b86ab2d92d1b8d3845183510";
157+ sha512 = "7760ad9243be37fbf1aa727afda348f8b4460eb4726d1402e2da82b3165f208eee21b786adde20e7c11aeb5567c6e379210874b0eba75a86f5c88486b4c48c2d";
158158 }
159− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fa/firefox-59.0.2.tar.bz2";
159+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fa/firefox-60.0.1.tar.bz2";
160160 locale = "fa";
161161 arch = "linux-x86_64";
162− sha512 = "726100abc12832418c5cdc15b9e9083d88d72a70a0f6a1a567ce781173a554cc4495da0e53539185e6ec27143bae98e952a5002dea91fceaa5f8d8e51b6d6a2d";
162+ sha512 = "38fff9451b7fc7a027a5cf646ea6666a9519ae57f31ea77da8560777e485fcafa27e5203ce184916a725449384ce7531f41ba5f38d30a05004093c932c052ebb";
163163 }
164− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ff/firefox-59.0.2.tar.bz2";
164+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ff/firefox-60.0.1.tar.bz2";
165165 locale = "ff";
166166 arch = "linux-x86_64";
167− sha512 = "1a0d97e27008ff5f3bf3fe85cb14c303320a3015cf928b2ea4c2e115a5a1cfd809743d801157f53d6ffdfcc359c3738f2e2a0e12e5ca7ac8e3f2b93253654e8f";
167+ sha512 = "efed066528af1466f750af19ac816f64031220618cd1c35e8c2041b6d94e0b3fe894780dda51c22e75eb49d4a0f3013c6de9557167de22b85ab4d72bb44d6729";
168168 }
169− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fi/firefox-59.0.2.tar.bz2";
169+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fi/firefox-60.0.1.tar.bz2";
170170 locale = "fi";
171171 arch = "linux-x86_64";
172− sha512 = "ba0278c06463d0ef44308f46326a3fb9dfc0cc4243086dd9acb856e54465ad672bcfac68afd9ff81d08a1d0c924a044e0ac5afb299be9d06b657c159f6c8ceec";
172+ sha512 = "95d8c34ba47b0fbf2b112764c5f2dff684f9e207c839eef45a2443500de6f30b72ded618e116d784b6b315028df8cceb1efe11d3dc08b1af4a0466c016854c73";
173173 }
174− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fr/firefox-59.0.2.tar.bz2";
174+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fr/firefox-60.0.1.tar.bz2";
175175 locale = "fr";
176176 arch = "linux-x86_64";
177− sha512 = "bd8ca7884937574f0d6b4dc5399771135778aef06bd09aac275ca11c2a8dff580be45ffbea5ceb58f8baa7d7007587aa07c3ddedd407f0852c1a3940e7ccfc8e";
177+ sha512 = "108fa3054bec0877f35594c6c5f22d5d5bce3eaf5e74e5a1843bcb7592ff84b67160065b32962497577cf59b5375f0bcf75d4676c4e7201712589050a018e00b";
178178 }
179− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/fy-NL/firefox-59.0.2.tar.bz2";
179+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/fy-NL/firefox-60.0.1.tar.bz2";
180180 locale = "fy-NL";
181181 arch = "linux-x86_64";
182− sha512 = "9e5fa467a99cd7a9ab102eb2a50ef14a4402d03ad3dec5b6d511c7da3843e779b1492b1ba22cc72f83070ff88353ffdbf1a9d26636462c0e3bdaa6dccd6a6200";
182+ sha512 = "9dddf9cc3be7557e495e712f542f5f3f40ef205c893b5773217ff13e93cc83d35c7d7fa3611ebd1223a9cde4308cc8b4d0d0ba8879072e9dbc1d1433b972ae15";
183183 }
184− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ga-IE/firefox-59.0.2.tar.bz2";
184+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ga-IE/firefox-60.0.1.tar.bz2";
185185 locale = "ga-IE";
186186 arch = "linux-x86_64";
187− sha512 = "1226faa2c14196824f31da863aca7d076972a47d71a971847c09c66d268d07a9aa2677fa0a7e8f11f149b77261636d62c39e7a382db3abb2917bbbac74330d45";
187+ sha512 = "a2539cd2e7ec2f8898c98a27e7e70772d42a14a435279e33f2fe192189253e8c0d92814d25d3b2e5a5c66ac02ba6745b5feee1045c965398781fa86b19c68b0c";
188188 }
189− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gd/firefox-59.0.2.tar.bz2";
189+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gd/firefox-60.0.1.tar.bz2";
190190 locale = "gd";
191191 arch = "linux-x86_64";
192− sha512 = "eb0dd803b7ba91574a044503d2edbf633e08c834f8eaa5e546975d91ac7254b3fd4357710fe4627d742a2ea3e64f568a5ef1a893363c516f958e4a153f528f12";
192+ sha512 = "dbfcbdd6bf0ddcf535821268d0c7fe59541387647124a7b95243babb1ba02e34dbfc3956808aea1bafe5f301a7c31382eb958e3da21a476c7961f44b4055bd4b";
193193 }
194− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gl/firefox-59.0.2.tar.bz2";
194+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gl/firefox-60.0.1.tar.bz2";
195195 locale = "gl";
196196 arch = "linux-x86_64";
197− sha512 = "e789fdf2452043165df90c83ce4bc0ca641366ffe5f89026bb763480973073d79c097313b744c3b2017be3d80f690d18459d1b8969538ce310b802163a2eec45";
197+ sha512 = "743c417dcb7bfb4027b0f56ff9c2561888bb7a66b0399e713bc65255f6283f9f33736abbfb449030cada641b085ed9d6a5a7010c60ada1002802f4cf6f3fedbf";
198198 }
199− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gn/firefox-59.0.2.tar.bz2";
199+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gn/firefox-60.0.1.tar.bz2";
200200 locale = "gn";
201201 arch = "linux-x86_64";
202− sha512 = "c368f07013b7b4fcc74e88d68a07d5d0a1fb5133991fb343d5b1a86145108e14a762962f3a3d5c7188d8cd75188cba7f26bee5555d3a5e7cfb9741e2e11ed42a";
202+ sha512 = "319eb86fac5e121e27a55386d3b9b79a07e4c766ac999ea387e03619f85e1c9a194dc4bc6cb56d66203ae647f6cede6bba81e65c4bace35baec986a18d79045f";
203203 }
204− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/gu-IN/firefox-59.0.2.tar.bz2";
204+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/gu-IN/firefox-60.0.1.tar.bz2";
205205 locale = "gu-IN";
206206 arch = "linux-x86_64";
207− sha512 = "34795309248224a31ef64cef9ff335f357505684f38edc06b9365dc0da98c5b96aa38f21e317e5f0cff0d3d3fa94ef7f8aea6c27f67501aeac68c3112b63cc43";
207+ sha512 = "37a5b54f94b5532d8bbaff537642bce1ca3822697821b84df523d9ecbeecd991aa2302c65a1f31883e7a0f9519347a3bb5995bc17208e1a56d8c98897fd1d2b9";
208208 }
209− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/he/firefox-59.0.2.tar.bz2";
209+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/he/firefox-60.0.1.tar.bz2";
210210 locale = "he";
211211 arch = "linux-x86_64";
212− sha512 = "05e21abbec43babe818f28f2f12e55159e413b0e6e0871fee76f50c380085ea129620864642d3d26e80e039a50a8434015ed348c51341b6d87190c627b90bb82";
212+ sha512 = "7a9cae5f7a7aebbf25908509efae41430f6f24d91d406964f83da585762cc078caf508750a562683e1f782bd805ba24b59327d1807badf63462a19955230aef2";
213213 }
214− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hi-IN/firefox-59.0.2.tar.bz2";
214+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hi-IN/firefox-60.0.1.tar.bz2";
215215 locale = "hi-IN";
216216 arch = "linux-x86_64";
217− sha512 = "f6964340a688305ac3855efa57280e3b5eb64f22e11445d76fe28edbe04216318a16c1fd02009b8a66ccc2ec689d8e0bc374e485bc03e964dd5b65ad27e535e4";
217+ sha512 = "99ed2ea7f0aaaf214d3d4e60ff1fefefee09c42d5aaee85690d0c4e9832cab67f23b4d3f5eff8f46a936ab91922bb32ccc801db06c1cfaee4bdea3e60df3a2b0";
218218 }
219− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hr/firefox-59.0.2.tar.bz2";
219+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hr/firefox-60.0.1.tar.bz2";
220220 locale = "hr";
221221 arch = "linux-x86_64";
222− sha512 = "e0966ea4bfa256eb3a255eab7c89fc9073789512941311863199d96db4014f657acbd1e403a6a4dfc8165dc39d54fb1f9ef48790e942eadaf90f0cb7ffe15ef4";
222+ sha512 = "ea4814ad10720b0685713ea2d670c65713e453693b1d6ab95eb55e1ce418f398549ffdbbec172955d0141f275caa424c75bbcb326b736013dd8741511cba9488";
223223 }
224− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hsb/firefox-59.0.2.tar.bz2";
224+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hsb/firefox-60.0.1.tar.bz2";
225225 locale = "hsb";
226226 arch = "linux-x86_64";
227− sha512 = "e8ac60e1b925e7530884777a4ae05037e5c577fe6dc834ff8a007f473846b052290787d3d2f0c19b56e573385b6471336208d360c4c13a3ea3dd686429c28fe2";
227+ sha512 = "2e89edffaebcf69580fdb83c92830b091956d2ddd2d523885d0cbb858f3a958661c47e65e82a5f4f832751b215d568f985632a466e52cc23254ebf0b0276cdbb";
228228 }
229− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hu/firefox-59.0.2.tar.bz2";
229+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hu/firefox-60.0.1.tar.bz2";
230230 locale = "hu";
231231 arch = "linux-x86_64";
232− sha512 = "737634b022794a37223779592ec948015a90c6c96c952acff5821c3af9c060e7fc60c988f17d87d5faa822fb860e6697e233601c7fb910ab5596935fce12ba49";
232+ sha512 = "d00f603275a624ad6ded66f71b287e38afc8c4904b194fa0c71ab4f148ce2ddeda286eadc1b2395c316a4ace7aa7ea39e6f50ae8b8177bcafd60774661295e23";
233233 }
234− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/hy-AM/firefox-59.0.2.tar.bz2";
234+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/hy-AM/firefox-60.0.1.tar.bz2";
235235 locale = "hy-AM";
236236 arch = "linux-x86_64";
237− sha512 = "53d3a10011e8cbd22bbe86c6ed256775de580f7b8094ce30d8337268362cffa2df85267fe11432f659a012047a164a63d1c143014c0dd26ff865760119223f5c";
237+ sha512 = "da238fd6afbb3bbd7586f9f057ccb53d5dd8068fc12ce6ced6602384ede890b71e964c0c516b776154f5de358b1bf6b06daf91526dd8fd334bc6fb8fa650bc1a";
238238 }
239− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ia/firefox-59.0.2.tar.bz2";
239+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ia/firefox-60.0.1.tar.bz2";
240240 locale = "ia";
241241 arch = "linux-x86_64";
242− sha512 = "5d1ba2fa31d3c5ee692d3bf8ae0995ab166ea0c31044e056b4806bca141d34f93ed5117630c311c072d22cf65d12efefa812203a8237464cc9a285c236439810";
242+ sha512 = "dad9d2b95fa47fc1b34aa9bd47f785e7640eaf44ee51dc0cee8df6897939e3c77977c60b7a8fd3427b23dddb10bf4d0758b3ba08d305c61f7b42dab6b490a6fd";
243243 }
244− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/id/firefox-59.0.2.tar.bz2";
244+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/id/firefox-60.0.1.tar.bz2";
245245 locale = "id";
246246 arch = "linux-x86_64";
247− sha512 = "b94a086208cff6fa7b4b3f7eb4d681e77d2042ef1c6b21af322ef7316b8551344aa72c3d7a39b86826b8c6d69f847b9d20f60143a048ee28db88847dedfd1d37";
247+ sha512 = "17f8ceee4f31a8a37684d1319f9b84685c05f3f2aa0ba3a8801c4132c2f61755ef9427eeffdb38420829e92fbbd24dcbe54906de59d89ff149f055ede61b751d";
248248 }
249− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/is/firefox-59.0.2.tar.bz2";
249+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/is/firefox-60.0.1.tar.bz2";
250250 locale = "is";
251251 arch = "linux-x86_64";
252− sha512 = "9767dcbe58dd91364b313f4b7b8f85e1768148080ff97220fa1dfb3dc8d5a69e6fb8fbd607a92411d5f4adbfb856c101bc80f922b0b1ce8b63a79039e84c329b";
252+ sha512 = "9dc8a651bcf460e48a64661dea924d56d48e37424579b369ce4bce113d3a3405fd65f542096c8d199a2a3db42463dc28964fe92c42419c8aa5020084b82059a9";
253253 }
254− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/it/firefox-59.0.2.tar.bz2";
254+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/it/firefox-60.0.1.tar.bz2";
255255 locale = "it";
256256 arch = "linux-x86_64";
257− sha512 = "f8ffccb521f97f0f18f70a0cd2cecc1c31162072bbbd929a1952823275d7b7d07f36e64bf6811e1aaba64b880c432b1dd342483b9ad5a594971a0bd068c45197";
257+ sha512 = "49a8881a2ae10544db31aba2a8f54bce5948ad25a47f8bd221d8982f12fa66cc7caa43e8c1963cc3ed156ded31bcc331ca0b2f784655c7ef0d8af89d7fd2c271";
258258 }
259− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ja/firefox-59.0.2.tar.bz2";
259+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ja/firefox-60.0.1.tar.bz2";
260260 locale = "ja";
261261 arch = "linux-x86_64";
262− sha512 = "bd97cbffe8c4c1ca0fd8e44615a6e04dc5929c8ab896952911a04da3796a9132f797a4e32ee262af7a2d8bad294a30e11349731306d86ad18200715408337437";
262+ sha512 = "9af0675507f54ec12924c29e051fa4727ea7b380ebcbb8fac1a91481c0405585b4e593324f72b4778538f0acc0efe8878f21f16a02272c5b02acc5ba7be7245c";
263263 }
264− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ka/firefox-59.0.2.tar.bz2";
264+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ka/firefox-60.0.1.tar.bz2";
265265 locale = "ka";
266266 arch = "linux-x86_64";
267− sha512 = "1b5a69053263a0571227e614e0ed05ca1cf8bfd7a6294fb82778c2bc99b209fc68b7d644cafa223686ae2a54ee125036a91a3a847a753c194982c0f2327b3b49";
267+ sha512 = "c5b52b448bdb19945baab604b820d383f48cf75a3fef2b8d734f0874d7aa8ba1e3ac6493e9892d8003371fde1bec8405cb1bb0991656b8d9d537e8c0b77a062d";
268268 }
269− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/kab/firefox-59.0.2.tar.bz2";
269+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/kab/firefox-60.0.1.tar.bz2";
270270 locale = "kab";
271271 arch = "linux-x86_64";
272− sha512 = "33805bf3976c9ff6699767ef69336f06eb86f08b540b54b33c8997b6af42eaac6be7b9dc8f29d3099ca9530209516ef84e819fcf98f3a7bef3e8d47be8d372b2";
272+ sha512 = "7f93bb78f7e57004fc22863d7dcd40f9407e32a606ff07bbc20a3e4e8d348720fff541d72d962d119eab70998925cdb81ab816086bb8d95c4724a9c02a723587";
273273 }
274− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/kk/firefox-59.0.2.tar.bz2";
274+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/kk/firefox-60.0.1.tar.bz2";
275275 locale = "kk";
276276 arch = "linux-x86_64";
277− sha512 = "c2bc89ceadb7ea2c81ee2b4d72bfbeac8a34cd1838f0c2201d7ef0c819e597b87a935a0e6be0831b997ecd290e286de7a1c9b903a10daaa5dfc0fdec2309b260";
277+ sha512 = "fc60ad4c8c2db9252e4975534a50b373bd5b223ea8ae6e6d2a7a07bbaa4834d078ef2756b40dcbab2cc4dc1bdb5feb1def890021c1d44620a179dbb10ec2ab28";
278278 }
279− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/km/firefox-59.0.2.tar.bz2";
279+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/km/firefox-60.0.1.tar.bz2";
280280 locale = "km";
281281 arch = "linux-x86_64";
282− sha512 = "cb1919f31651b38a77683850077cccd73c27496e1f9b4354accfc35f294d479b92549ebbfa173fdfadf95b03bbb45cf1baa0c8a4e51f132448ffb9fb2293a67b";
282+ sha512 = "c6a544c825f3895ec390275e823da876113d74e16fe3c61838c55afae38b9ba7abdc05e28d1b66bdd3477be0e4b0b792fa2244eb6dfa7aa4a189da438badd823";
283283 }
284− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/kn/firefox-59.0.2.tar.bz2";
284+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/kn/firefox-60.0.1.tar.bz2";
285285 locale = "kn";
286286 arch = "linux-x86_64";
287− sha512 = "4293747292be73ccf60a19744120f9cc13b45a7be0c5de4243dacb5a2258eb88391d6dc6b240420ca5097ff5f5e2d5d36240289f6a5c51ba7d0fd31729d342fe";
287+ sha512 = "c42366e72d38cbe3301d52ec5c6e34d5b623d5f1a06e8309cdacb5ed6b6a3a356034cbe95ccc5c6a8b320dd41e8a92564b66effddab4a03476dacf00acab3fc9";
288288 }
289− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ko/firefox-59.0.2.tar.bz2";
289+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ko/firefox-60.0.1.tar.bz2";
290290 locale = "ko";
291291 arch = "linux-x86_64";
292− sha512 = "1a4723d890649ae29e9030ed2fe3208e44ed10adbe35c25877003a6adc21e033278874241bf5fc971b93f94d33fb4b503dda438153a8bc80b187b584841423ae";
292+ sha512 = "4e05c5d8956661956581acd8bbd93eebaa84b6d5972da34b976bb6f654a06d1d0286504350b89dc43988675a3a9c57890dcec81c4a39ad87e0fbd0593a0e1d63";
293293 }
294− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/lij/firefox-59.0.2.tar.bz2";
294+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/lij/firefox-60.0.1.tar.bz2";
295295 locale = "lij";
296296 arch = "linux-x86_64";
297− sha512 = "564260546bc6436dc47ebe6b413abad6d2d25dd7a64d9b5ddbd52fdec49af951b9ce26f3aeccc330aa9601605bec7b3b1f8701668d2b01ee06a228f723600fc1";
297+ sha512 = "68120d34a56f65afe99930e32c0b35660c36b38d61e5f60f7ad5da131b1c95d02e241124379c11b6287d2f8794191d27ef1fff1f5c4eed5dd3a5df6f5a2183cb";
298298 }
299− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/lt/firefox-59.0.2.tar.bz2";
299+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/lt/firefox-60.0.1.tar.bz2";
300300 locale = "lt";
301301 arch = "linux-x86_64";
302− sha512 = "0aa6b9bb99ae8284f7287def5048af21372d03211a279f2226de7a739523fe189b3e06e207660be7ab35751b5ccc6aaa1b53dc293417971300a4a8e7cc162b6d";
302+ sha512 = "149ee7cedc772534427202309ec4060e8187a847b79dd686096d5ec2c44b1a0656e8c3099606e921942e8c426d0206551fa5952dc0e9abd1d510320fee26926a";
303303 }
304− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/lv/firefox-59.0.2.tar.bz2";
304+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/lv/firefox-60.0.1.tar.bz2";
305305 locale = "lv";
306306 arch = "linux-x86_64";
307− sha512 = "f63955b57e40d2d49d5d1b276ad5b2bdd5122daf476c560dc64e82afa36e4a649e384957c69609e74ff96935004ddbd45c8043a27991d082e59e0f42e7221aac";
307+ sha512 = "0e630d9a09895fdb06c6893d7f9f3bfe3c3832d4a1682e2f12ee89611570b6bbca695bafd8dcfa583525645db86a156bfcf97afb575c44c19f801a43edd824cb";
308308 }
309− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/mai/firefox-59.0.2.tar.bz2";
309+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/mai/firefox-60.0.1.tar.bz2";
310310 locale = "mai";
311311 arch = "linux-x86_64";
312− sha512 = "7e857033b14656e972ecbb6f60454cc63f79a9c775bb1fdc669f44af3bde4e1d04ceac3f7028eaab17fccd8136c417d937009b6fc0e80c45200b279660924bd5";
312+ sha512 = "6c3dc9e2230a3f7d74390e00e661eca28306996cb8d5379ee7fde818dc09beb813ae5ccf09319510a1df84e3ebd45b7f1a8a08e776d046e39a69f724fbd79da9";
313313 }
314− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/mk/firefox-59.0.2.tar.bz2";
314+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/mk/firefox-60.0.1.tar.bz2";
315315 locale = "mk";
316316 arch = "linux-x86_64";
317− sha512 = "8f7bf3418145af3ab47372af8e131b4a8b350dcfa8a7f74720a96812563327a4e4816976c2fd655fbaced91fadeb98489bf0fd043e103e5e0923b9c2ee408188";
317+ sha512 = "60353c437af1ed116c5d16a4e5d57a1b99016a36eeca8f8e4e8379553a5374cea543dd8a9864e448028b2f188ae16180590da7e199ef96fad604e172fa1f6e55";
318318 }
319− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ml/firefox-59.0.2.tar.bz2";
319+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ml/firefox-60.0.1.tar.bz2";
320320 locale = "ml";
321321 arch = "linux-x86_64";
322− sha512 = "b9e65dd54f8b4c1da28f6079938320f9943ff94ea0a0a7857192805ff84b53e7de6b762d05f8a66b6dee9f8586623932c5cac7163db2829fe41a13b3c73c27a2";
322+ sha512 = "6065d13e781728dcf587a1389d3893ee69e7e49b601cccb293e2c13dd5e0b5b039ddcef5de3b8b61baf30aa0e994f44eed6f29b38c94b3b24df88f102b0721fd";
323323 }
324− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/mr/firefox-59.0.2.tar.bz2";
324+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/mr/firefox-60.0.1.tar.bz2";
325325 locale = "mr";
326326 arch = "linux-x86_64";
327− sha512 = "80e20cc4d30dd2ce2a7d5c40b4c98271a0c0834cff7bf201c3db8df4bece056becbe71dce7056d24b837d16889cb15ec73be7e853384d88447d9d00eada4fcd6";
327+ sha512 = "ddaf770f926ffcb612bef6169cbf073ed4c624635d00db6edd3ac6c6051ebd9ab926ae48f2a9b92a5816c6aa2e6b5ed33ea90827f18c70b7364bc33d6ff9174d";
328328 }
329− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ms/firefox-59.0.2.tar.bz2";
329+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ms/firefox-60.0.1.tar.bz2";
330330 locale = "ms";
331331 arch = "linux-x86_64";
332− sha512 = "ab4e6a3c244a7e1c4683f58252d02865cc9e8be51a2fe189d8bf555c968260dde63af130a491a8c3b093776a1d1d6b883e32b4054c19a20a9d1856685b4cbe35";
332+ sha512 = "4b9f1e63cfce7b99e05d54f99b7d42255f2e2875718e2ba0e173a7aa53113ed990f1547ecafd508a8547b696f036ec88826260545ab7a6b03d4acde8afbd1fc4";
333333 }
334− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/my/firefox-59.0.2.tar.bz2";
334+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/my/firefox-60.0.1.tar.bz2";
335335 locale = "my";
336336 arch = "linux-x86_64";
337− sha512 = "aef82a1dff4adc9d93c967ca4fa3e4601772e8b748c3d41a08d2893667bc661a0c640b02450bfa647d35b9c097919ce90a4a4034f83cf4ec51d2341651205aab";
337+ sha512 = "a82103f7dc6880e8e81ec3f0f9b07af4dc13de369eb87398dc977f2935387e489c6e61ff2f5a2c883d5d69ec24cd556bc44c722592d432a3a8f82420fadf11d0";
338338 }
339− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/nb-NO/firefox-59.0.2.tar.bz2";
339+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/nb-NO/firefox-60.0.1.tar.bz2";
340340 locale = "nb-NO";
341341 arch = "linux-x86_64";
342− sha512 = "edd9601c678f8f551fa379d7f3c31d2e4c68434d9d3401b40f2945622e6c844993fcf3aaf010ec5b3bc13eb8c8cbe951d76b66a908b4824526b8da368361a347";
342+ sha512 = "4a68aabf3a6a085a8a7abfe705ee67b724243696e63bbd5a9324a1a39c2765db0c75d1fd8b652b78982702702fa1997831945e2eb56b059efe55d64d351723d6";
343343 }
344− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ne-NP/firefox-59.0.2.tar.bz2";
344+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ne-NP/firefox-60.0.1.tar.bz2";
345345 locale = "ne-NP";
346346 arch = "linux-x86_64";
347− sha512 = "6d7a5d81e0551e675d8dee4be7fc0b8a39afb37b74949d408f197562bb8d7866706dd1b9fad60de4410cac9bc91a4ecdb92aa75a60b2fc2e2b7cc51fc9e46c60";
347+ sha512 = "760c819b44b1b2d694ddd5841a97f586c46fe2661c18a2d9f6831ae24a1f67a90beaf5592d8dccba35868a0e608f80b0a652f9c3af8e01601dbfe771d35c38d2";
348348 }
349− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/nl/firefox-59.0.2.tar.bz2";
349+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/nl/firefox-60.0.1.tar.bz2";
350350 locale = "nl";
351351 arch = "linux-x86_64";
352− sha512 = "3d4c3714c7d1c7d4865bace3827df94068bf0cfa4037af130cb7ce0a5f6cf7eaa0e37d091fb36758b13f52a5307288e5480ddcae50bd8645cec527481c03d7f3";
352+ sha512 = "698c765c19647bbd6cf55e3812501131720ffdb485058e90e79446b5310d056ee09162253ee334535ff0eff2d544748385ea88d3bc1fb3bfa0044d4eefac8f07";
353353 }
354− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/nn-NO/firefox-59.0.2.tar.bz2";
354+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/nn-NO/firefox-60.0.1.tar.bz2";
355355 locale = "nn-NO";
356356 arch = "linux-x86_64";
357− sha512 = "753e792e3402a5b75043899a5f50f5926ce31d2439ee1eed16193932e962338cddd974194ac94f7aa1ef0df548d95f901a50988abbf9f3e9820f89ac372e39d0";
357+ sha512 = "5cd75409e8f952a681cf7485860a0c45bcb77a9b6f3d645f27b34560802772917a8d29eb465b8eca2fafdaa5db1cfd5a37ef2219cd14444296c81b1c53008375";
358358 }
359− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/or/firefox-59.0.2.tar.bz2";
359+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/oc/firefox-60.0.1.tar.bz2";
360+ locale = "oc";
361+ arch = "linux-x86_64";
362+ sha512 = "765bee0da88cdf168a37521e94249e14dfc80f72248e9d6805b098af8d99801ba38b96eadd6461bfa523fc2bb9999652ca2309ae9fa9202a5e5e00d4aecb506c";
363+ }
364+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/or/firefox-60.0.1.tar.bz2";
360365 locale = "or";
361366 arch = "linux-x86_64";
362− sha512 = "ac0068afcdd2b6bf5416298e1be065387606bb0b79cffa364aeef9011535ca5c155d1d28fec0715a648f065628efd2c847f47785ac7f27415ceda1902da1add8";
367+ sha512 = "06fdff27a007b45357d17f77fb22b589bd2f0d07866e0f64f00af46a1403f7375df82cda101997d008882232ba34043f26e0e8db0f796bfe30d442eb990ddfec";
363368 }
364− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pa-IN/firefox-59.0.2.tar.bz2";
369+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pa-IN/firefox-60.0.1.tar.bz2";
365370 locale = "pa-IN";
366371 arch = "linux-x86_64";
367− sha512 = "fe77072b374c34f5026de80ffae16fd4b30705969a795079ef9e81dcf66dddddfe01287dd44bb4f0001427935671d2753d22a8b80469f9c4e896e215400dd9f1";
372+ sha512 = "8a416b28b1f2d73865d151480ff329843e53ad45dea6a1e931fa6426d1d448d47b6ef2e8cf2125d7e03c69bbed90351bf6fe65036be490dbe7688598eb01a8ff";
368373 }
369− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pl/firefox-59.0.2.tar.bz2";
374+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pl/firefox-60.0.1.tar.bz2";
370375 locale = "pl";
371376 arch = "linux-x86_64";
372− sha512 = "e4b05ab04418e65880f989d642478023bde4ba5ce17627f806b223d19005b4e6825d8a9d5c532c878a397b3cbd8220c4aa4c2627b17b83fd6f4acc395c0a1923";
377+ sha512 = "df635d41fc27ccab2eb30d6b73effe6ee33a44f543fa0f7cdfcb9e2ba8a70ba3a5608a914bb80bd4f450b623d3d6b05e0d9cb250a660560cbefdf98d501425b6";
373378 }
374− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pt-BR/firefox-59.0.2.tar.bz2";
379+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pt-BR/firefox-60.0.1.tar.bz2";
375380 locale = "pt-BR";
376381 arch = "linux-x86_64";
377− sha512 = "9d67c1264b90dc58ac62fa094792955b75724791b7941354d5836cecf2c5c13ec279cad12f93287e524f0f0dfc2302f68f7585dd783998630007dac806f7e2d3";
382+ sha512 = "b5e23c79428ab50ee97ceb79305331cb36b19f9f76b8473a53f83e669178eecbf06fcf79d067923147fda14863d56bdc157d1123b50cf64841ef3d8fd77f7cd8";
378383 }
379− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/pt-PT/firefox-59.0.2.tar.bz2";
384+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/pt-PT/firefox-60.0.1.tar.bz2";
380385 locale = "pt-PT";
381386 arch = "linux-x86_64";
382− sha512 = "a241e003b6d1a3537b5232fc793aa6dce194433028987753bbeaa5c21cdec58b326e12bd4136656cb35bae3cdece5dac100f912151aeee7548420de2d3875e93";
387+ sha512 = "03e3dc135b4d0d8c74ed9cd087edebdf26b256768adbf42d3a8e6745b438a9e617d717d9fa68533d9aa5e7c07c64ed42540b5005cd1b36fa04e9912b4e046090";
383388 }
384− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/rm/firefox-59.0.2.tar.bz2";
389+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/rm/firefox-60.0.1.tar.bz2";
385390 locale = "rm";
386391 arch = "linux-x86_64";
387− sha512 = "87ada5bbfeb43e3a42f1eaa44c58e025f66ddce965e1c97de8ca0df190ca18106eacd2d1f28c959a104e79df583672206c047eb79c51a32f431f8cb6fd68bccb";
392+ sha512 = "74884aa4baf61bef8707eb94c9cd523707426ee5c5e280a2f18ddc1cb5535d15a83c7125b4734e3472c9e0ffcf2a8aa7837b9c150ecfc2b1767ee42750cd2a3c";
388393 }
389− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ro/firefox-59.0.2.tar.bz2";
394+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ro/firefox-60.0.1.tar.bz2";
390395 locale = "ro";
391396 arch = "linux-x86_64";
392− sha512 = "97c5d69e1e40bcb779ce058820b0a4afa4000b3c12170c63ecff1ad4b5994f71ddf36c49536280edefb971fafa6be52a3b436a405ca9a1762aa08d2cd61022c0";
397+ sha512 = "d245c0322e0a4d94b3a837c75c8b800505c82472363202520fdc99d0db04b2830bbf522bf1cc63285d103a0fab22083b8dba93c1117df78ec8ccb6c03cb36633";
393398 }
394− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ru/firefox-59.0.2.tar.bz2";
399+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ru/firefox-60.0.1.tar.bz2";
395400 locale = "ru";
396401 arch = "linux-x86_64";
397− sha512 = "74fb10b42eef3a2391aeab0e3dd1ce463b58cadba5c42e2fc8a5e0bdb1f9df122aec65a662c9ecb8a14b1ee76bb060c64de93f116a37d207b4cc0887ecc0e2bd";
402+ sha512 = "1ff03c04e419498d3e2ea565c02f4716f41370fc97c24166e54d6a07d92ad6f0ffb6ba13f708e4079d00a4c98fc24e36c278414c7b638e29cc7e5f2891417348";
398403 }
399− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/si/firefox-59.0.2.tar.bz2";
404+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/si/firefox-60.0.1.tar.bz2";
400405 locale = "si";
401406 arch = "linux-x86_64";
402− sha512 = "d63503345ef7896e9d9a3ecfc80395b6ced67c38b02c19f7afcf94a9efde01f3ac53f1d581b8151d78eed6c7f8eb69f9edccaa3be49133aa3abf2a1eb759a02e";
407+ sha512 = "4467d0a6a69d7ce89e1849d1cfaa81f2588cf8019e50a5fac6f292a2a50c55750130e885334659f834190969636ab74a3af97d6175be5f88e45b97cb772a55e5";
403408 }
404− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sk/firefox-59.0.2.tar.bz2";
409+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sk/firefox-60.0.1.tar.bz2";
405410 locale = "sk";
406411 arch = "linux-x86_64";
407− sha512 = "1020baafadd4a1de8118bbdf4e281c704595730937d3aca9c8185a6ada54f4a72b8efcc7c493200c32a6a11e7121ef52d7aace68c47784eb5d17ed7fdda32d60";
412+ sha512 = "1060fbd4bf7f83c851d74773ce0277ebcb7f22769ef95b75775d7546b3fbad930e2a04deead17d37e5bee69f39aa978b65c41e20862235209528bb91a776550c";
408413 }
409− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sl/firefox-59.0.2.tar.bz2";
414+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sl/firefox-60.0.1.tar.bz2";
410415 locale = "sl";
411416 arch = "linux-x86_64";
412− sha512 = "a93e20498b5b3a2b5d19197bbeb48c4502217e44a25c48372f8855a49f762e89438262ccf5dde1fea24af1199bc8cc5c935b1bc886e0bb581d698d10a59d60e9";
417+ sha512 = "75f0d0a4af65fc3f3992cd859c7f7f7a9292aa4f0e1906fd4e7bb4106edad80f3cf086cd843bb526cf2958cdfd94403fd110c83d232c533b105e7a79b6b01b06";
413418 }
414− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/son/firefox-59.0.2.tar.bz2";
419+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/son/firefox-60.0.1.tar.bz2";
415420 locale = "son";
416421 arch = "linux-x86_64";
417− sha512 = "24411644b553e6f3c305b8a893a7bcd4ed59568a6fb7001b999be114a3e88f30d40ac6f3351c28b3287bd2a9e6aec461c54433caa45fdd349aea07e83401fc2f";
422+ sha512 = "4f5a8dbd2c60874a4158a4f78b66377a193265751c1f7629836c789ce0abb83de85ff1bee97ab8708ef86bb123d0d2ea5bbb2bb21fcdc52950e1c1164fc13684";
418423 }
419− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sq/firefox-59.0.2.tar.bz2";
424+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sq/firefox-60.0.1.tar.bz2";
420425 locale = "sq";
421426 arch = "linux-x86_64";
422− sha512 = "40ec8fdcc4fcec937a710e5d19077243d0ff5cd832bd20365817e4f4ff1cae5eeb2a664906ce7f60a5184fb053735df5825ffddce41276797fcce3a11548f4db";
427+ sha512 = "5b226608e43a7fe4ae8f23eced67af9f512adda9f70c4f33b81f0a4e779e78e9301bb5e95a4b4362ee79a04ac5da81c36005c5b4e903d40f6f4af84b5503c113";
423428 }
424− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sr/firefox-59.0.2.tar.bz2";
429+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sr/firefox-60.0.1.tar.bz2";
425430 locale = "sr";
426431 arch = "linux-x86_64";
427− sha512 = "e538596cf0de4a9d8af4e801d7c17d00c1e63c56775cef0d087a77e320cda2269cca74f0c73f679208a184c6cbf4b20c56d1d222e8846f15fc4a91c16ae3ea5e";
432+ sha512 = "143de2c6f87385f71deb0faf6db20cfa5680c5e3f682e89456602f05494624d22db9c577b92934cda98e041f27682103d1755864b0dec5bc3b2b6d9121133532";
428433 }
429− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/sv-SE/firefox-59.0.2.tar.bz2";
434+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/sv-SE/firefox-60.0.1.tar.bz2";
430435 locale = "sv-SE";
431436 arch = "linux-x86_64";
432− sha512 = "3466f482ec04f5e8827f437c9456908f04e78c67ffd299b841f2f82cdc2c38a61a566c8d85405312c144aa5c45698b5f6e81190aaee739adf4384f95c81f9e76";
437+ sha512 = "09e52958d73ec2b32331109a1f1d9798493cecae739fde6542dc4d6ba026b4d2e1d1f3816b4d2b16d71faa3a3840417329b97eb7a8c0fac2cd168b159a61eb7f";
433438 }
434− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ta/firefox-59.0.2.tar.bz2";
439+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ta/firefox-60.0.1.tar.bz2";
435440 locale = "ta";
436441 arch = "linux-x86_64";
437− sha512 = "7598994ca03afb1c2933b640298453a618d140791fe20255789081babb0d9788c4f3ab34d5ede82e1d688f5dc0486fa0f842f1d125dc5a955580d14b1efb6489";
442+ sha512 = "72b0e1a7b94eccade119f7e4b251b803f4f0c54783faeb506649b9048d663698e084e15664baccfa79ad2f6c6238a19c1bc61bcf840fbf003df94cd62ef38deb";
438443 }
439− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/te/firefox-59.0.2.tar.bz2";
444+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/te/firefox-60.0.1.tar.bz2";
440445 locale = "te";
441446 arch = "linux-x86_64";
442− sha512 = "759be69dcd9b795f7b1b8192928e27799061d83d86e0234cd2a1fdda0d922a7a9d958b19655bbe976d409297f2e2fb2d2a6a525f90f77fa53071d510ffdc6438";
447+ sha512 = "0478768a0e6b228ad924dcda9dca83fbe2d51646503db931ae4600bd107fa15c8f1bcfd4034b6201a72debf561a815c28c54396a45100dacb68d9f04c2c0a45f";
443448 }
444− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/th/firefox-59.0.2.tar.bz2";
449+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/th/firefox-60.0.1.tar.bz2";
445450 locale = "th";
446451 arch = "linux-x86_64";
447− sha512 = "a46d7eae4a2670615e100707ec3e340d48502b63d6f6f98d4a3140c1bc9d0826b44001bd8ef940c4e786ba5d3f8a00e350faa18d30fcc7663f9c29f20e7a20fd";
452+ sha512 = "499aa56d62d5293e050bc67a50feefaf5019385291e4d3a602f35c1e8b58937acaea893a36d4d77e0e4eacacc3c406054b9e81bfe8cdb27c687b4cc6efcf1b2e";
448453 }
449− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/tr/firefox-59.0.2.tar.bz2";
454+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/tr/firefox-60.0.1.tar.bz2";
450455 locale = "tr";
451456 arch = "linux-x86_64";
452− sha512 = "ec5ecf9c76315d1fdc508c94023cdd60edaeba44ef6ee49859ba0689413819f11f54c9ba787000a166b0fd7f628e3c2b42f42c9014f9e7823da257d0abe88cba";
457+ sha512 = "8c3f26b9d37e47e3445fb14ca547f143961f19eab66c93ee4a560828a4bed3c773fe09d2e77c350effd76e0a0c447a0121c9ed29774a5ed93de3d707891a024e";
453458 }
454− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/uk/firefox-59.0.2.tar.bz2";
459+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/uk/firefox-60.0.1.tar.bz2";
455460 locale = "uk";
456461 arch = "linux-x86_64";
457− sha512 = "430cbe8281803ca0a4e124fb62a8d2dcafb751ae20441e22dbfd45e544cf906371eef4889f16df5c1be91a4eafa193303e053f75ff15fbe82a836df3ef19a5ff";
462+ sha512 = "ef7a776d6aadd6d9c70594260679810325a4cbd11002bedf5e7d58d36bfc82f72c3c2c352f0d693292992ad6bf9fc323e5947183f6c713f85c353ebe72203b7f";
458463 }
459− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/ur/firefox-59.0.2.tar.bz2";
464+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/ur/firefox-60.0.1.tar.bz2";
460465 locale = "ur";
461466 arch = "linux-x86_64";
462− sha512 = "b293eaea548f8d1e96087e111e96fa35940254477599a3c2aec9bbe005347cdcfdcd79f9e3e6d22829fe52b091d6d18dc04ce768724f9709a6e397838974c45a";
467+ sha512 = "9096d21d134c2e55d694ea9a6e06a669e636b15fc4532bcda12b9944d38eef325e256106004e6f9fa503f5590e5077da5f72a535b8887501a53d4a8c9c0c4c55";
463468 }
464− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/uz/firefox-59.0.2.tar.bz2";
469+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/uz/firefox-60.0.1.tar.bz2";
465470 locale = "uz";
466471 arch = "linux-x86_64";
467− sha512 = "dc0a6b771469b89cca470a50afe47c642fe6bae284599c876c51c2c5834147cec435508c101f33d76d1e4ce5760f52f3a59592495c82db314de426a9602097ab";
472+ sha512 = "d856195097a7923d42a7efb257a9758ce4bb5ec3d93de798bfcea1ff20dbbe1664d71fcd8bc72dc9592bb4c4e8e45a041164fb9b9174c2c75e2c04ade968e532";
468473 }
469− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/vi/firefox-59.0.2.tar.bz2";
474+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/vi/firefox-60.0.1.tar.bz2";
470475 locale = "vi";
471476 arch = "linux-x86_64";
472− sha512 = "6f7b9acc584e41be34b884da9b9f2d7aae602958cbac9843d73dada11d1a584101e603f9111c24983dc3ca0b70462091cbcf755c93b7811469b179aa2b3ecc60";
477+ sha512 = "7ce9b59b89c77e289b56ee8b358409aa6bca3c47b6be004a38037f7c156834213dc5704e1ffabe3fa86f1ba89243abb6efa2fba31eb5bd1f4d95e0f225d0253d";
473478 }
474− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/xh/firefox-59.0.2.tar.bz2";
479+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/xh/firefox-60.0.1.tar.bz2";
475480 locale = "xh";
476481 arch = "linux-x86_64";
477− sha512 = "7623715582708bf3e18ce924aa6e1d0fc6c8bf38503691d3ede092070860db3a116b2f39ee1e467d286e0566bad594679b489b39d2c5b5885321982689b8a56a";
482+ sha512 = "7dfc5627038c97188e4875af30cb88baea359463d5bd47d11440c9f33f84ad4168d860e947e90c104ac647a09f3134892a394b8a8435639f71f7bb9edd92bcae";
478483 }
479− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/zh-CN/firefox-59.0.2.tar.bz2";
484+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/zh-CN/firefox-60.0.1.tar.bz2";
480485 locale = "zh-CN";
481486 arch = "linux-x86_64";
482− sha512 = "9d0e41df6cf6a7244c4aa29913ac664c67463ad50b91ffa1e7e345601eaeba76d8553523b322ae477ef0f0c5fce55ad2e1cf5bfc5fd777d9433ebedcd2474d98";
487+ sha512 = "75d8a96eac39c0c60814718929997e9d4a60a2fd273ceab744bead7164d6bbdbd8057a94a3310709da7b6287549cd44f6d7dabc4bba1bfe1f48f3345193cd142";
483488 }
484− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-x86_64/zh-TW/firefox-59.0.2.tar.bz2";
489+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-x86_64/zh-TW/firefox-60.0.1.tar.bz2";
485490 locale = "zh-TW";
486491 arch = "linux-x86_64";
487− sha512 = "c65832ecb353527c6b9e11dacccc9e3d1cbfbb16db1872c8afb4472f632a0e2b4f994af43144e430aa8c8ba6aa6a579d3c024c9111fcbfa6531a4b2b7377414c";
492+ sha512 = "d0465db2b3aa8a52d8e60c480605c069c31f0fcf80cc757980022bb538c0509b99563ce7fd06f2660dc8169dcd3fb6a8681859218365a3ef2ea822eebeb29e12";
488493 }
489− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ach/firefox-59.0.2.tar.bz2";
494+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ach/firefox-60.0.1.tar.bz2";
490495 locale = "ach";
491496 arch = "linux-i686";
492− sha512 = "468b25a5e90b385514b0f486bc3fd09a1e7c8c7230b8e31b04dc4bd18027396078b525fc5b51c9747e642d1bc60be49a7e2cfafafd528d95f08033abd12b0757";
497+ sha512 = "7770772e90d57f9bfe30a5f965cd89fe367ded55c4fc146da547d150c85d0fbe906fa092c2a62ae8df3cccd5702e6a7b1b1680e0522e3164d1df20d2538993e0";
493498 }
494− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/af/firefox-59.0.2.tar.bz2";
499+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/af/firefox-60.0.1.tar.bz2";
495500 locale = "af";
496501 arch = "linux-i686";
497− sha512 = "a3b92e792d1ef58e029fc097eb354940094c8a94da97dd39b1f69610ffdb9a1a6527b01da2b6716c6c199d85886b6e05aa084bab30f8a2d0ba33ad4c2f6c36ef";
502+ sha512 = "c615df0582484ce23cb16556cda202cdd81056d197a78be02b31d3f71059644378c2e24cd42b4afcbb0b610a3f25d87aa1178671ba04437a0885cd90b0954f97";
498503 }
499− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/an/firefox-59.0.2.tar.bz2";
504+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/an/firefox-60.0.1.tar.bz2";
500505 locale = "an";
501506 arch = "linux-i686";
502− sha512 = "9fcb76d123b657b9eb7c62c53c703ea27afa2f41b5107cd67dc01923ffb9dc6d3f334f5d801058f05925b18afea289eac03dfc3c2b188bd2059f4dd0c40710fe";
507+ sha512 = "ab0fd2292c5aac5ec5e1669c49f0aa6568f0c8d0bbea8c20c18ead6a52e88ddf08e3ca44e24386a9a0102f0bd7eec12b9e2b9e6713a3958cf13bd978106f7009";
503508 }
504− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ar/firefox-59.0.2.tar.bz2";
509+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ar/firefox-60.0.1.tar.bz2";
505510 locale = "ar";
506511 arch = "linux-i686";
507− sha512 = "eee65b88c2269081dd04fbb37d360b0738e6527581e60dfef60093719a3a15b44d0d594321b4865a35784d2f378e8d86f308736d8be76c1cb7d39152b916bbc8";
512+ sha512 = "dac0df9a18f1a7d01c1caf05e17edbffa6029733c6d439c26fed0b12d1fa8ad325fa10ccca51cde25ada1f76e338c0e6a8792e400f0ae44771231a3a49a33a8d";
508513 }
509− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/as/firefox-59.0.2.tar.bz2";
514+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/as/firefox-60.0.1.tar.bz2";
510515 locale = "as";
511516 arch = "linux-i686";
512− sha512 = "f2e54d00258b6f1c55bd8a1deed5e9c9b1e6f1579447ad832f348b50bec8fce66e50c78b2ee6e05c885359a6b2b1f9d298e907fe99478536967103708143f24a";
517+ sha512 = "d57627a4cfad823602cf5e243c5a1c1d8e5e7fd5cbbd345cac1db7ca23947fbe0dfc8a4dad223c6af8b5059f3544a34afde8502ea29f9ed6e41623ce4d856f98";
513518 }
514− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ast/firefox-59.0.2.tar.bz2";
519+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ast/firefox-60.0.1.tar.bz2";
515520 locale = "ast";
516521 arch = "linux-i686";
517− sha512 = "4f23798708447a4a3801b392a2ac27207df7d2b722291d3836163b3900c7745404399cb700873cf6afa70121c429ba31bbd8b0b1f597e8c91b2f970d0d6421e5";
522+ sha512 = "32bd3dcfa0a8c63605aefe54a3c96f2dea826d41edce8c71bdc4da5eaffc2b303c8f1c057ce0a4c6ce5d853d4ef55484b5dacb51f27dad5e50b96cdeaa2298c1";
518523 }
519− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/az/firefox-59.0.2.tar.bz2";
524+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/az/firefox-60.0.1.tar.bz2";
520525 locale = "az";
521526 arch = "linux-i686";
522− sha512 = "2f12c45870d5ac1a6baea455bda954cf3b112b0a3b46249a23b7cfc064c6eb00cf0ed2952deb220777cc084fa2345368b95388e143dad6e45042e7863c6c3038";
527+ sha512 = "e94f419ec6a34100242babf4afbbf23b98106748b7c2f02b83ff4b0a396bf5e003ec1bb3ed36feeeff82c79fb17c18918ee6e9ddc038ffccc0e121dcaf0eb1f4";
523528 }
524− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/be/firefox-59.0.2.tar.bz2";
529+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/be/firefox-60.0.1.tar.bz2";
525530 locale = "be";
526531 arch = "linux-i686";
527− sha512 = "f70af6a6f464b6098802e65226b198f670e5d9ecb2fd56f9c375cabec1e602211c4cf7d80e430f961bb56694cb1d546aa116c7a5aaeb06d13319ed41e3e69ddb";
532+ sha512 = "b23cc179f2c4c5b3d79f6009d87f4772dedba67150e014b792a5d892fd1e09a413ed405d86f82e9f74a1c2e36ab76b2a9e41bd49dc7d16483749d195b56791de";
528533 }
529− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bg/firefox-59.0.2.tar.bz2";
534+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bg/firefox-60.0.1.tar.bz2";
530535 locale = "bg";
531536 arch = "linux-i686";
532− sha512 = "87377e96a52ed8866be4a3e6ee9c20c6d8acfaaccb53de0d2a4fd553060166c20b3677a2cd3322523f3b3f7d03618e6a6c27e485113184698207cd4b88b7e699";
537+ sha512 = "0d8abaa490719185579d4c24b02ce38971191ec13bdd1798966364c2f9fc118bf46dfa4ae0621d1c6427beeb03f487a1ebccb0a4e49d6ec93372397de56c4851";
533538 }
534− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bn-BD/firefox-59.0.2.tar.bz2";
539+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bn-BD/firefox-60.0.1.tar.bz2";
535540 locale = "bn-BD";
536541 arch = "linux-i686";
537− sha512 = "0d275fdd76d8ee85615f67a11ef46bbf8b718c54a09cf6f3c7f2336098e0bc282caf429a4b228e31e7c3622be41f41384af174da9fa856fe36dc46271f55ed1f";
542+ sha512 = "db9e15472c21880a07e1337e92fde44ec19a8f6297992b589f20bc05ec37140c41d65097f1759734b9ac13b75c806996e17c70bd5fd0bbe65e3acd6a0bb0a854";
538543 }
539− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bn-IN/firefox-59.0.2.tar.bz2";
544+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bn-IN/firefox-60.0.1.tar.bz2";
540545 locale = "bn-IN";
541546 arch = "linux-i686";
542− sha512 = "b77374481f21f37e246eb325ee41202fed9916ce36065a88f51e28fe5a015e2df341417b3420d2bff0df93437a56adb4e1fae0422bb094918a19157c655fa34d";
547+ sha512 = "2017273b405a8ff2b9bb1d1c1120c74679a1583ddee9f32e4643f62ef22fd3174e4e01f22e374af92b9821a550b8711d2b65987c71b44215236c161827f679b0";
543548 }
544− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/br/firefox-59.0.2.tar.bz2";
549+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/br/firefox-60.0.1.tar.bz2";
545550 locale = "br";
546551 arch = "linux-i686";
547− sha512 = "ba071fe6a668ebc7c00baec930a568a90d03c866a0b5f0011b25e8427f40fd32d54fd770e94610da43775a882eb27eff6359c67d65670fa0fc6179e788cd1394";
552+ sha512 = "9e7648e312d78397bdc06b0a6921f76acf1916c28c8ae05aa9dc7c70c83d522898ef7e2e847cc3c0cbb19553a572ada7914b60424a46d57c0d7fc207941af3dc";
548553 }
549− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/bs/firefox-59.0.2.tar.bz2";
554+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/bs/firefox-60.0.1.tar.bz2";
550555 locale = "bs";
551556 arch = "linux-i686";
552− sha512 = "de70dff3aa71422c96e17e637bd56c18d4b74c8cf1ef5834f1f077249f6d7d1e95703f55063737b464916b2aa87eb4469d197e3fe772d168d184e72979712e65";
557+ sha512 = "6e93cd48d03f87e027e913199e0e7b99f5d66d2d81a4d7da52b8f6a38b9b1e43d5ac5ffa56a6eb46c921a695f1826c6f5b936d4622aab3501e6132da26395888";
553558 }
554− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ca/firefox-59.0.2.tar.bz2";
559+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ca/firefox-60.0.1.tar.bz2";
555560 locale = "ca";
556561 arch = "linux-i686";
557− sha512 = "e197d847b044a9ff4e09b67c64a2e4bca5eb2a1770ed4cd9ba965342106b7ec809950d611367308fe2c556c4b413640f050cbbaa00532402d71b59d51c4b60c6";
562+ sha512 = "0e49140d11167e2b6c7d15f75f2b121ab44afffaf1af9135012314c9234af25555a5e18a7ae866d3219e6c0c6752f7ae313f66c7312959fc101c32e417feaed1";
558563 }
559− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/cak/firefox-59.0.2.tar.bz2";
564+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/cak/firefox-60.0.1.tar.bz2";
560565 locale = "cak";
561566 arch = "linux-i686";
562− sha512 = "a716ff884d1d5260b9ed830877223eff731ad301c1349c9f1dcfea5b9dbed0770269c27aa8a336516270386c4b896a87721e3a5e433e92bd579e0d88311271e9";
567+ sha512 = "75c5532e9ee936aa24c5fad77c96fb8aa9e84d3531ac6d36330fd3c324c8bdf13f2e7f815d844e639fd06096c6203e4253c9d97e0c7a564b0b393543a892e56d";
563568 }
564− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/cs/firefox-59.0.2.tar.bz2";
569+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/cs/firefox-60.0.1.tar.bz2";
565570 locale = "cs";
566571 arch = "linux-i686";
567− sha512 = "d66e5f440b2bcece18013499129462ed20d85d9b27ec803ed27bb7d4302d2369331b2320970d256b6e61ba77d93e362171ed012843ec926047c281223218a25a";
572+ sha512 = "32835014bb3b7acb93d566710bf52ebb3bde52f9c17f4b4de64ec598e4a40b9ee8644a2c1866a48aa6598ace07969912eeb09a47811d67d6cb317078e8e99e99";
568573 }
569− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/cy/firefox-59.0.2.tar.bz2";
574+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/cy/firefox-60.0.1.tar.bz2";
570575 locale = "cy";
571576 arch = "linux-i686";
572− sha512 = "87c2c1056bb56b5fc3d1fa9aaf8a1d99a5ad5558016b3953d0dd1f7c70b989863fd1d66f6a8d7a0d14fff351dee8f436b89d5dc593e610721068fe187055aca4";
577+ sha512 = "7b29c7e69a18e817828fd7cfc05faee51a9f9bd1b229a1943443cc3676b4a3e8daf4b52232633c713f0cc3ec4d9ef43a6dae0ec1dcec66caf0ab9d67b1be9467";
573578 }
574− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/da/firefox-59.0.2.tar.bz2";
579+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/da/firefox-60.0.1.tar.bz2";
575580 locale = "da";
576581 arch = "linux-i686";
577− sha512 = "6243867a2a5a7a30176c4698888e7998c35ad84790a75a86808e6490f013990890a8137579928573564ac7dadaee6efe921579423773a0c25aa57db17a216eeb";
582+ sha512 = "41aa2e220651b92b8aef3e868d1b9080d1872841d5b82cafa7c1f2d1b0db063c487198949643d89fa0121bfa4287b7dcda99c245f8095b1f3dd86bfe960ab257";
578583 }
579− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/de/firefox-59.0.2.tar.bz2";
584+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/de/firefox-60.0.1.tar.bz2";
580585 locale = "de";
581586 arch = "linux-i686";
582− sha512 = "d21c6a44def103db09a072ad72fc42d3876fee9095c5b660fd491084301e2d3bbe383b4c7f9419d666dbf280bec59743a034b4f576cd618142dc7f498fc69e5b";
587+ sha512 = "7d25282bb59a627dcf09b39ca15777253593c4b91e61e6f9d4d2138426cf8ee16f6d8e509398824d8697e42eb301db29e6843eebfad5eaee1fdaaba5fbe7f76c";
583588 }
584− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/dsb/firefox-59.0.2.tar.bz2";
589+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/dsb/firefox-60.0.1.tar.bz2";
585590 locale = "dsb";
586591 arch = "linux-i686";
587− sha512 = "34446bdb17e81da9ec3689eac248b2ca0fb11ceff7a153bb502a5e0d62a16d2d4a090f9a29e4ff61ae1f87ec68f2fef94be53895a409678d14ad99331058495c";
592+ sha512 = "1f1245297135c1c1550db1ceb110546bc0b436ceaf364bbcd531f6df4770ab694c1602de9f39bf0d9083dccdefa1d5fea21cf9f4e46925cf1357bcc5043f8926";
588593 }
589− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/el/firefox-59.0.2.tar.bz2";
594+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/el/firefox-60.0.1.tar.bz2";
590595 locale = "el";
591596 arch = "linux-i686";
592− sha512 = "f5d73ccbe24e30eed81546b6132dc70f08feaac68dffb749ecd7af14052b343aaa4de7bf0ff73924b28b4c5b86c29ca1f6a69caf85ee77d4c4088b925547825b";
597+ sha512 = "58763f729f19722446e87dc7f0e8044993f9cff5b7f707c3d1256628d00011c48973f4408a8cbca67551b621f67256a9596d91f353ecd82482e3b9278fe8b687";
593598 }
594− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/en-GB/firefox-59.0.2.tar.bz2";
599+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-GB/firefox-60.0.1.tar.bz2";
595600 locale = "en-GB";
596601 arch = "linux-i686";
597− sha512 = "4dbf56a7aa86341c2d08b799d76c7e0dde04d418539657f74e18a088df29d390ee10b60c1b9625bdf46ffc4f458b6ca3e86aa93b1a2d948f10b7d7bb6ac250d4";
602+ sha512 = "d51d6942aaed323fd82eb833a84ee13e4ce8b2d7c461a5bd1f2f48b2b1ae8c9d900280bd21a2891455bf17711f01cbbe70e793f18e3a0c2e9b15cec274c3da1b";
598603 }
599− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/en-US/firefox-59.0.2.tar.bz2";
604+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-US/firefox-60.0.1.tar.bz2";
600605 locale = "en-US";
601606 arch = "linux-i686";
602− sha512 = "15e93c9d069d0e4761520cefa508fdd7e06cca979ddb9cfa1762d70d104f5758fdccfecb531c6099f9372f112abc88dd273a29a67f720cbfa1be5c440378363e";
607+ sha512 = "6c849a9fe358e06c9db01fcc1f811c9cce59cfc150423dcbf8f83eb1407113378b25641de67a8ce8bfeea4930937fd0ff4e919648ef80b219f84eebc3ebee546";
603608 }
604− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/en-ZA/firefox-59.0.2.tar.bz2";
609+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/en-ZA/firefox-60.0.1.tar.bz2";
605610 locale = "en-ZA";
606611 arch = "linux-i686";
607− sha512 = "772ca9b0318e1175e455d2243ea537a5bfab8d84541a7ee306b3670084240b9eb165935f41ef874650c3b1f5e4632ad2d5c0bce3f29a05a0676ed3ddf133cbd0";
612+ sha512 = "42280dcb3627c457097887b51a2530eaf32850c4b01e25c62fde1c89e3cc8392ad29ee72ed8cdec11d78f776e4d720235e4f33b21883cef0c4c99823f26c7c10";
608613 }
609− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/eo/firefox-59.0.2.tar.bz2";
614+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/eo/firefox-60.0.1.tar.bz2";
610615 locale = "eo";
611616 arch = "linux-i686";
612− sha512 = "cc3c98e80c343b065ac8f6af6875d1b2146113303ebaac42c5866d03ff254aebab2cafe398aa1fe38ef8c9d4fb8ece87345e09114145e06a2a7d6c783f1ef601";
617+ sha512 = "0ada2ad4b8ef63b0881d1249b29a39aca65bf2714614e5c074d80d8901124a54d63ec5af4301ffe1483f4e70c6cfcb62db398042b8d12005aca7d95079588065";
613618 }
614− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-AR/firefox-59.0.2.tar.bz2";
619+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-AR/firefox-60.0.1.tar.bz2";
615620 locale = "es-AR";
616621 arch = "linux-i686";
617− sha512 = "fea909cd16c4558ed05602cab2c3a22186d727da969143b77deb9515ef4d87dd41e59e7fc6a322e924f0b809b6205f37297576106a50b5896b4920cdab2e4749";
622+ sha512 = "5c548ab1b0ddbf832d0ae42ff5bc6457ff7aee08b8ac3e94ef65a0e3ab326bfdf6f85be8745fca64e66efd2b45ee992499ccfff963ae21308519fca1bc72cfb5";
618623 }
619− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-CL/firefox-59.0.2.tar.bz2";
624+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-CL/firefox-60.0.1.tar.bz2";
620625 locale = "es-CL";
621626 arch = "linux-i686";
622− sha512 = "5015cdb3a1d803abed9a143fca7a118a239e37a38a65898de7ae60981066113f270260fe8e9b83822385115c2b5e378cc58ed68949ef6297e0f7fc1e28c9c8e8";
627+ sha512 = "509acc1e54e03aadf6c2b1b21d0366d52fa02a51f1983107ef88a7a175226021a574bbdeccc5715bd63ad596f934fa69e1c10bc0122359409632d06bde63f14a";
623628 }
624− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-ES/firefox-59.0.2.tar.bz2";
629+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-ES/firefox-60.0.1.tar.bz2";
625630 locale = "es-ES";
626631 arch = "linux-i686";
627− sha512 = "81fe49a2f31913c030cb801180daf730855dedc5f6adbd39d7d1d8a4b359a3aeee063d7fef0ce35641f163f5f8c965603bc549a1ae3b2458682c390d16a0faf0";
632+ sha512 = "e23028c9a8234744001b267ba43899b2740b63e5655ff289d1e45b1132f3fa97e28d7d800bdeaf2d016ede782432db8f7cae1dd8598eaffba3899c9f7a99ff37";
628633 }
629− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/es-MX/firefox-59.0.2.tar.bz2";
634+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/es-MX/firefox-60.0.1.tar.bz2";
630635 locale = "es-MX";
631636 arch = "linux-i686";
632− sha512 = "24bff972bb2f27530b18cb7a640f2f85190977725cd82b1e86c1b47578f1d3058fcb7387d19cb2e1dece49b72c17048829bf6a66aabee2592a4b9503e3c4e546";
637+ sha512 = "a5974914bf0e664ee4dfc0ca2697be5971563e24249adb6b7a7528be67329ec43005fa77acf9bd51970776e9da110019d8bc353a4d6cbce3a27c122399c88cb3";
633638 }
634− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/et/firefox-59.0.2.tar.bz2";
639+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/et/firefox-60.0.1.tar.bz2";
635640 locale = "et";
636641 arch = "linux-i686";
637− sha512 = "d60b637f9d78a2b9e53dbab8e6db27aafa701af3cde841e056158d3de53d1c0c1032c5381f7c388edf59b1476078e0dc8166e82f39f7c006fc28c5d897f0e1b4";
642+ sha512 = "9701a3d97558c3a6946294aa3196d816ada9c721d72993a2b10be24640d48ec37c5675abe3a42df9ca986e8b92f3fffabe0649d3be335e2e557f39f63d454997";
638643 }
639− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/eu/firefox-59.0.2.tar.bz2";
644+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/eu/firefox-60.0.1.tar.bz2";
640645 locale = "eu";
641646 arch = "linux-i686";
642− sha512 = "47ed51fa6f27e8b7bd9dd0c3556af3d85e6b004d5c6a5868db8c844ba97a06eba4d3998295058ef92c4a49dad31fca0a3c24b19603e1fafccbf6b7d461596080";
647+ sha512 = "119c5b59dd5520017334db3ff95511ca8ab2d674dfbc85f0cd6f77fac919bbc0e99af18c59f05fb6cdf75f6015cb83ac24d15d0cf4ae3a2b5ed7564c8bc7bf9d";
643648 }
644− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fa/firefox-59.0.2.tar.bz2";
649+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fa/firefox-60.0.1.tar.bz2";
645650 locale = "fa";
646651 arch = "linux-i686";
647− sha512 = "8919e1daf708630e397200f09b3e9810b3aa40feb87769af5e1f0ae44ab49c63fcda1982cae5ac4753c600164b34f533054e055293a87e5a8fcf55809cda61c0";
652+ sha512 = "c45fa6ace31733812411d597362bc56f4672fb7a8bd9b127eb288d7ddd2de3e129721c2ec44a08d8adbc8c15672328ef62384e0139a1e37c6a12ba9ae35ceb7f";
648653 }
649− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ff/firefox-59.0.2.tar.bz2";
654+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ff/firefox-60.0.1.tar.bz2";
650655 locale = "ff";
651656 arch = "linux-i686";
652− sha512 = "b0a6f5a974750f3ee5b485872d1e7c51a3d894c4118de139b718e85eab94624be302ce2603233fdc3a75df3f12242d4d57c9a96ca1f429bf9e0613d2b299ee86";
657+ sha512 = "cf96e6cdc941ec347036b5d737d0060a892220ebe6f72a71354a21099a7c82a0fd337bfeb6e6eba53d95af88754687888abc4dfa307348d5073315692a4f3496";
653658 }
654− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fi/firefox-59.0.2.tar.bz2";
659+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fi/firefox-60.0.1.tar.bz2";
655660 locale = "fi";
656661 arch = "linux-i686";
657− sha512 = "7dc300de36cd860d566a9b84de0ce2c4fdd5eeda4bf641a45e40779e98087c7dc881d2c623c99f8551c08bc84b98b1ab4547ab8144b1a22795710f57112285c6";
662+ sha512 = "0b4bc6fc0559c05b92e42bcd11513ae20d2101384189ffcff337cb017bfbc5a90151e5c4b8bfe29442ffddfb48eba552a06b3a1db24f7dbb78ff45bfc6a4b5f2";
658663 }
659− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fr/firefox-59.0.2.tar.bz2";
664+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fr/firefox-60.0.1.tar.bz2";
660665 locale = "fr";
661666 arch = "linux-i686";
662− sha512 = "ff793e4873e8895259b2657d613513404953d27d81bcb0c26ac97c3c2ef2c1ed8db3ec909ecb744dcaa7d194b4fa0660885daf96932270f1382742dd55e0f5b0";
667+ sha512 = "0ce803471b565c8ca715b1700a54be80894205434060751c31d8696d1716f3d3b8fc19c5a0baa82e78f7ffe0df462780e479597c975d2c476b10540de1e98656";
663668 }
664− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/fy-NL/firefox-59.0.2.tar.bz2";
669+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/fy-NL/firefox-60.0.1.tar.bz2";
665670 locale = "fy-NL";
666671 arch = "linux-i686";
667− sha512 = "cbb9bf54a401aad2bc8bb869f8680ee4c00e5ae206ca9b7db732c955ee256e4ad226ccb8ffa320cb3e08aaaa787032b3dbed06aad548e733ba43ec87ddb52bb9";
672+ sha512 = "3dae49cc320f46622ec92d7ad948455a1861f8986cfe9b98bc73035fa41ae44c9b150b9223c037c87c42c5d93c62bdff40784010d2e7f8ee6ee8fb7725c3ee55";
668673 }
669− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ga-IE/firefox-59.0.2.tar.bz2";
674+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ga-IE/firefox-60.0.1.tar.bz2";
670675 locale = "ga-IE";
671676 arch = "linux-i686";
672− sha512 = "bdfc3de17be432cb55219bf3f2a3d1371f3fe4776f452a0fb37ce4f5259fadb46487778ec63f6065dfec2cce43758be2e5ed8c5f75394f1604f3318e96f56363";
677+ sha512 = "9bc562d1e432e6e45e56de1238b61f27303fe5b475f0ab0528e44f7c15424911b6b699b08e0386dec8cc7c15df9345b7690361b24b9d467841df63d5677392f6";
673678 }
674− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gd/firefox-59.0.2.tar.bz2";
679+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gd/firefox-60.0.1.tar.bz2";
675680 locale = "gd";
676681 arch = "linux-i686";
677− sha512 = "008548e75853625b690bd92e60cea25c1d9b302f7f78f42fdb4536413c10b8203f337c8384b45c3c9b729e6541f57a22e12ba264594ccfa82742373df571ebff";
682+ sha512 = "fd343b25a8f07fd3d5f276372bdeea05bd9692b761051c9fa968beafb6518619ccc40e2d69ef00737ed4da23f092363ba575099137aec85dfb7f6a813384ca7f";
678683 }
679− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gl/firefox-59.0.2.tar.bz2";
684+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gl/firefox-60.0.1.tar.bz2";
680685 locale = "gl";
681686 arch = "linux-i686";
682− sha512 = "212ce344a4592ff36006e4671c29b7a4734e513d5267c4ed0e7c50c6d0b794547cb042d543feeb55a48ced69bf001670683df159354f152f9d45786cc7184c03";
687+ sha512 = "2be7fd719d946a96325e684a14247ea344e9c5e096378f02629f87bcc1180d01010cf46f3baa4edc2cebeb4fb99aa5e1d79c24e7b2d1c4d5da1c747ae884be3c";
683688 }
684− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gn/firefox-59.0.2.tar.bz2";
689+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gn/firefox-60.0.1.tar.bz2";
685690 locale = "gn";
686691 arch = "linux-i686";
687− sha512 = "6f60fe0c208b6447b4ee9f8c550805f070f4b3209632de91fd0a60853cdba70aa9e6653a29429ea4686dff3ccfe5dcc5a1fedd6495c7d7c38b623f31c2cfe19d";
692+ sha512 = "d19176ca380d778ed407db04712d51098b57090487564ffefbe0d2e25c4a35596e3ba2b10b9d179e886f38a4d3a4fbdfa7454116a49ec82b6701678c3af7d8dd";
688693 }
689− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/gu-IN/firefox-59.0.2.tar.bz2";
694+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/gu-IN/firefox-60.0.1.tar.bz2";
690695 locale = "gu-IN";
691696 arch = "linux-i686";
692− sha512 = "0ec6bdefeffbbd52655d332b9c21be2b372f6ee260684cd28216679aa1af267d0408d5ba641a5dcee145b80c357936a090700427520f9ee7d712e20eec13c57f";
697+ sha512 = "d219e58d9699ff8b3d87822421f032fbcb4f8c3dd7c13b928e7e8a1661d0672cc1582ea55fb348fb168641307d430d66aaa7912e32a9ac1c78091e3f46867723";
693698 }
694− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/he/firefox-59.0.2.tar.bz2";
699+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/he/firefox-60.0.1.tar.bz2";
695700 locale = "he";
696701 arch = "linux-i686";
697− sha512 = "2a4a76c674fd53eed5a73f3ef5d143138752e9d52db5c69d56fd5d0dff1c19349afba6987c4736d53391bc602245c1d4ac9f5c9b60a0c1d561f4162c859ae3b5";
702+ sha512 = "cf2e5f7f7da94e75f26be5fb6c9e90d089dbab94779fa026ab61f87bbbb0e6ae75e16160c65f19de809bf6527b9d8a92bb0cec97ad18657b07ebb107b88edd6c";
698703 }
699− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hi-IN/firefox-59.0.2.tar.bz2";
704+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hi-IN/firefox-60.0.1.tar.bz2";
700705 locale = "hi-IN";
701706 arch = "linux-i686";
702− sha512 = "34d932f073e803678990098623149dc0ea427a70ed3e604651fb622a87404ddaf25c3a79503f4e343315101704f5cd1db058a262ed47ae02eba85f102a64f780";
707+ sha512 = "08626ae0313f7227eb144bd264a6f9c7d2e041b88fce8f1ea182bfdf438496ecc1899d9caf76bf00b6ea25604fa6032807766a93de088764e17a2c8449bd548c";
703708 }
704− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hr/firefox-59.0.2.tar.bz2";
709+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hr/firefox-60.0.1.tar.bz2";
705710 locale = "hr";
706711 arch = "linux-i686";
707− sha512 = "474f5d71087f8eb2646750bb6a14c993b2d3708234a09b4ecee7b43e2ed75a8b9d249749f16408751a019b9a32ed8be57c5d61f9fdc36ad0f1e7aa7b5863ab9f";
712+ sha512 = "1c9e3ae0e271ed1ed332fe1c6f820cd0ebf0cb01e86ec713b9523a7247efb8ddd4c6d5f0dd93d5522adab2e18e1bcf9ed44ed2a86be03643f1836e260b498524";
708713 }
709− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hsb/firefox-59.0.2.tar.bz2";
714+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hsb/firefox-60.0.1.tar.bz2";
710715 locale = "hsb";
711716 arch = "linux-i686";
712− sha512 = "9b9127af72f9f4d780714c41a54d26ac3e8065c8ec42e0ed1318013896a3e8d920786713c79ba626f4930c92d44f2acad72ac600b5735122470fa3e3ea317965";
717+ sha512 = "669c3c36fc77359edabced7532e558d0f4e24fef66766b49ca71b4f32d19cc3a1856fc92b716de8507d742905fcb82d6d23f62d542f5adf151a95b99068c7195";
713718 }
714− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hu/firefox-59.0.2.tar.bz2";
719+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hu/firefox-60.0.1.tar.bz2";
715720 locale = "hu";
716721 arch = "linux-i686";
717− sha512 = "cec7b19e6e3fc11708c4b67105b191433880b53da8316fc8fa4d6af9eea23cf17423bbfa2f6283490815ee5c7ab33ba8e66ee7bdc201e3eef39808db34d572e0";
722+ sha512 = "c84788b5f7c670e0a0afda91f47d91f51a40e4441522e049b850bed89908363c74dfea7c9023bf3d54068c1fcdb7752f327f57b6f8812e880363881434f893f7";
718723 }
719− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/hy-AM/firefox-59.0.2.tar.bz2";
724+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/hy-AM/firefox-60.0.1.tar.bz2";
720725 locale = "hy-AM";
721726 arch = "linux-i686";
722− sha512 = "4c25802601dadbac82dc260e329db69dff3b69d1eb9237fff76ae6de98a00a79dde0702d4cecfe67016a26e2a7ea4b1f15ce70eb82f422ea3bb8afb9810313bb";
727+ sha512 = "ca81e92cc2ddf30c55dbf7124c4f11f0c2dc00466d17e8f518d2969ae57e04e2a543118756bae3e55bc72e668bc9e78ea1e11d952fb233e43941560720cfa90c";
723728 }
724− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ia/firefox-59.0.2.tar.bz2";
729+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ia/firefox-60.0.1.tar.bz2";
725730 locale = "ia";
726731 arch = "linux-i686";
727− sha512 = "99b3d9c4533d376ee7a9f8fd364b9b44a8f0b9f235346a60755f144fae4550a6d51993952736b58e28ed3d07a549cd1d2da5223d7af28f187c78b41959e5d733";
732+ sha512 = "8914b9e45e37602eec6aa20a77ed5c9cf618b0c5d789fbe1821d13ea909148606923d1acbb79006c3fc3e38a4657e926eab02d91a1f47717a9b6f527c935c629";
728733 }
729− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/id/firefox-59.0.2.tar.bz2";
734+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/id/firefox-60.0.1.tar.bz2";
730735 locale = "id";
731736 arch = "linux-i686";
732− sha512 = "27275c8e2deb6716c8492fbc4ff56b8a2061be51101a2a7085c0a4bdf35c0bfec77af1f650236d13096ad204b93df695d5ab238ff6c312f9092f4d8adbc8d431";
737+ sha512 = "ccdc3eceb51e7ee33f3a49bbb752055bd000152dfe3af1bf9bd7d8a617e217c8615bea4c3ce1d8bb51ab60477956867f5ce93bad472da47fbf47404ab0db9524";
733738 }
734− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/is/firefox-59.0.2.tar.bz2";
739+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/is/firefox-60.0.1.tar.bz2";
735740 locale = "is";
736741 arch = "linux-i686";
737− sha512 = "54b6be973aab07231843455b3e0adf8f7dbc19ecd1e484795af7d6a3e346ae717621d0950297379c88a955bd75af0a19497f55015cc624609510fc3ff7b8355e";
742+ sha512 = "802c8d9b77678bdf051633b19a452544028a4be76fde686240a78fad9d25dc7ed38de0c58b54fbe214bcdc46e0cd1b6f2cad5ec646a8fabe3e8c7072b84b627a";
738743 }
739− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/it/firefox-59.0.2.tar.bz2";
744+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/it/firefox-60.0.1.tar.bz2";
740745 locale = "it";
741746 arch = "linux-i686";
742− sha512 = "bea36ccf3c3202bb41d09ef07cf4a30d8f3b7d64a96e4955f1e62c6ce1c252726991bb3dbd1d41b840ad7d626ca2abc83eca59a1997325d0f54231daea95ff06";
747+ sha512 = "44cc35fb9e6375739c5e88bc8e7489c15a80faa9d0327ffb2793916d2674cf71a4b237a41073f05477fcb142bdac8d4ada684ce2101027f551a7241eb46bb7b9";
743748 }
744− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ja/firefox-59.0.2.tar.bz2";
749+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ja/firefox-60.0.1.tar.bz2";
745750 locale = "ja";
746751 arch = "linux-i686";
747− sha512 = "bfc409fd6487ff113045732d1826589f8020597958cad12d2b821f496eeb53e65cd4e1b1d002527f6255350254b60a96d9d04c47bcde8bac89483b04270f5b86";
752+ sha512 = "8daac42dcb02ad640a56196ce500b9528c4fbc2a562549f08d76bfd990e51dc2c938a99becd26860c659e4bdaf90465d6c9c909f6cea95030c61839adc79a4a7";
748753 }
749− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ka/firefox-59.0.2.tar.bz2";
754+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ka/firefox-60.0.1.tar.bz2";
750755 locale = "ka";
751756 arch = "linux-i686";
752− sha512 = "f62ff3d950324b140238dc9e521e6a038a64dcc22c2679b36b59900b0f58b15d774084fdea7a1f82125a7d09d1b5c831808424e63612aac9e0a61320f6a3e4f8";
757+ sha512 = "2cd50870e0ebad8d385b5e1feffa546dbdee31c2916277c36afa9835d01f9e9dc1d7d4c0f386d4baca38eef11a6c0b1cf1657bc7588a1cd5512e894b12acb9d7";
753758 }
754− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/kab/firefox-59.0.2.tar.bz2";
759+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/kab/firefox-60.0.1.tar.bz2";
755760 locale = "kab";
756761 arch = "linux-i686";
757− sha512 = "573b7cbca69294ac56fd714308caed1549dbaff2c3716887765cf968c20d0ed37b1e0f2849af2481ef237d7c617c6641c42ecf0337fb0fc18afba82c89def034";
762+ sha512 = "8c292f95480d21ad521df9e4fbbd580306c2615705a37a75ceaffc8f6ca5a24648fa1e0bc97006c34a38b6e58a523a487953c414395c1bef8f58c11b68bdf5e5";
758763 }
759− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/kk/firefox-59.0.2.tar.bz2";
764+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/kk/firefox-60.0.1.tar.bz2";
760765 locale = "kk";
761766 arch = "linux-i686";
762− sha512 = "0503e33fc8716dd94c455a0a6201334ad2bbe1f3ad9cbce057d69ec77d65bdda48a126464335cee62117b3638be636e8f2908a003951dd2866908c964a9f889d";
767+ sha512 = "285e6bb268d6b9968d9a0d2cda10c82a790be9d0dde686ba3c0230d84029eae28943e1edf70188fb32c96a7712f13ed9087eac57d690bae222736593515e80e3";
763768 }
764− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/km/firefox-59.0.2.tar.bz2";
769+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/km/firefox-60.0.1.tar.bz2";
765770 locale = "km";
766771 arch = "linux-i686";
767− sha512 = "15797d366faf6f4daa60191e4c91cd9feab242e0879204ae8114ca5824a78fc42941c79d190526e1387ec28d2c150d008d4f69c78c450fa6c6aa9d3cbbd151c9";
772+ sha512 = "a939d51066e185a68170bd7c3d21523c4e3c5d69189822496ddbde0bda46ffba3728211efcebb89808ca6d70d76ba12547bfdea8c8fb3420000dbe39fecb8232";
768773 }
769− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/kn/firefox-59.0.2.tar.bz2";
774+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/kn/firefox-60.0.1.tar.bz2";
770775 locale = "kn";
771776 arch = "linux-i686";
772− sha512 = "53908d7a78feb6b4ac8365aeacfa7cc845af5f324b57e0fed6bce78eb4298b316ccad268d022e9adc409eb9be49b9777c7f01197dad4ab79746b8805877c1706";
777+ sha512 = "2207b6883e5dc506d556f8f79bc773f304168029b3282835282296c8b2104ebee6a12e5b1f3887645d366339bc026e53021a004bbab893e3e0362ca28921c78d";
773778 }
774− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ko/firefox-59.0.2.tar.bz2";
779+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ko/firefox-60.0.1.tar.bz2";
775780 locale = "ko";
776781 arch = "linux-i686";
777− sha512 = "ee4bc8ffdbd1a329df5dac2580122d883895418b93c69146206ae4e516ba1e5e993b23870ff487fb26df198b3ad73b708f9cd1f8c3f6a9f60dab73dea6ecd373";
782+ sha512 = "02b13260a74edecb18543679e8d0f969d95b40f87dc237f39465399ddfb5cdd66293408ffda594a53a6514a83ee120c464f3827064b6a286187916109eb0cb03";
778783 }
779− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/lij/firefox-59.0.2.tar.bz2";
784+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/lij/firefox-60.0.1.tar.bz2";
780785 locale = "lij";
781786 arch = "linux-i686";
782− sha512 = "a3e92d13e071ec8e76c9a4b946fadc146664263b5176ecd56dc6d412d4a0b8165b67c6be568805455e2179dacb2dc9d5d917981e3b6d52b8ce994d4062d7aae5";
787+ sha512 = "2386a05577d90599c48c04083ef1305d84b7a88b6cf22eb331fcda80ef5678755f7d60f418c053dda9aa992aab5ac6ada99bc5e76afca9cec1dd0d250313d277";
783788 }
784− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/lt/firefox-59.0.2.tar.bz2";
789+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/lt/firefox-60.0.1.tar.bz2";
785790 locale = "lt";
786791 arch = "linux-i686";
787− sha512 = "47c6066bea50fa958812ac3389efa3408b2c35ace30c99d9ffb91ae037f1a2444933eb081992b97e3419554ef6ede9aff7c445b5262a59a324e7c1301059f149";
792+ sha512 = "6eac885d100539167429293655033e86387d50fddc6d6702f5b9e8ee6f21758e3bf01e340c4dee702958851cdf89c3159ed940545b2d439f8d32a90bc3c272a4";
788793 }
789− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/lv/firefox-59.0.2.tar.bz2";
794+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/lv/firefox-60.0.1.tar.bz2";
790795 locale = "lv";
791796 arch = "linux-i686";
792− sha512 = "090db495b0e0883e0e378d992a855aee03e2f2fa02ea257522485742e5a879ca42231029c2e36b8a8c31425e343ea0fcc2568a9a961752ca709737c3b3bc32ce";
797+ sha512 = "984840eff4cf03915d04ca12ed78ce06db9c765db069d2cb647d3b795f8fbe6927f6abfa5d8ccc1c2806f10ab45fa7d612a08f4a0aee1b129c9aa4ad31bf4613";
793798 }
794− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/mai/firefox-59.0.2.tar.bz2";
799+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/mai/firefox-60.0.1.tar.bz2";
795800 locale = "mai";
796801 arch = "linux-i686";
797− sha512 = "b073c397f8d5196e14d0bbd45485532ac11cd01c42fba883c6d2f3b8f831b6cd6ce095f44e279b17ec60a12e48b776004edbc22ab76fde69af875842a48fb2c6";
802+ sha512 = "b063a79532ec9345751d69a41a1e3542256c2b623532a524724eda4f04aba6f5174c568cb45f60e332b1224f3cc0f9a0e641e455e3668cbbb52048571715a559";
798803 }
799− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/mk/firefox-59.0.2.tar.bz2";
804+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/mk/firefox-60.0.1.tar.bz2";
800805 locale = "mk";
801806 arch = "linux-i686";
802− sha512 = "eb20befd569cf18a9bd8455d56d152e48b194e6703cc21457af6407348f5db0405d9fa6a7b503b8c72c96b9cda953c3e0167e5803f6f62947751e042562ad427";
807+ sha512 = "944882edf6c53dc02682733d50dd09c1df3b06c8bb32e05ee1307504936ced2d408623b7ec6588aac3a26e5c82861cf5bb4db44cd4462c9fd8d9fe62dec19743";
803808 }
804− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ml/firefox-59.0.2.tar.bz2";
809+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ml/firefox-60.0.1.tar.bz2";
805810 locale = "ml";
806811 arch = "linux-i686";
807− sha512 = "d91c916c45e9ac2abeb655bb318030553139294859701ad99cbaed1c946a24b71ebe63b7efc2d66f995cefe09b7d04bc5bda17784713d8e4a5f27702c4ac7797";
812+ sha512 = "b206d4ceffcf460c73b31326ce2a7cc5d8fefd851a3d824a0012793d0bb0cd773b6abfda81cfcb721f11b3f6b4f38de727a04ab2a32a56f3f7ab7abde6632d3a";
808813 }
809− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/mr/firefox-59.0.2.tar.bz2";
814+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/mr/firefox-60.0.1.tar.bz2";
810815 locale = "mr";
811816 arch = "linux-i686";
812− sha512 = "9d925c4828a427bc77631b28ffd6857f5adc38266731be58e283aa99b2fb4ed304ab464b32f33bce4ce1506c13c76947264891eabd7e63dfdbd020605bb1e8c6";
817+ sha512 = "965c85edf69d05c96f3f23b987376c3747dfe9694af92f925c405a42544ac8a2992782c7aea60bce3fab4072db153b37e0f2873a4f42e564e821731eefd05400";
813818 }
814− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ms/firefox-59.0.2.tar.bz2";
819+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ms/firefox-60.0.1.tar.bz2";
815820 locale = "ms";
816821 arch = "linux-i686";
817− sha512 = "2e0f463f9db9f6c0e44e354ea495cc06f5dda8c92af586745744434c112073f4f46eab7576d1e26c93a7a8b739deb09930b10cca01eea70f6bc245a44d58fa74";
822+ sha512 = "ae5938803a9acc6871577d6629579c0bd5ac4d7404e87cfe373876b94204d5af1110425400f9a7642b13bf2a68f32f2c485c8b9e3565f4d3c49ffd967a8e6df0";
818823 }
819− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/my/firefox-59.0.2.tar.bz2";
824+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/my/firefox-60.0.1.tar.bz2";
820825 locale = "my";
821826 arch = "linux-i686";
822− sha512 = "3e279289928231a02436cb344f1629b990b220c22df04e4cd3583a4995e59901a0062763e246e8cbc44ec696c7a94eb8e25ab7534a9f32b957f1332228af9b7f";
827+ sha512 = "4fb3ac47fcd3b7b36bb66fa24ac82bf9ade26fbadf8eea125b78fced6222ae0f2c3c45638b3511b630b50e27fce70739733fbb357744ba89febd16544703b356";
823828 }
824− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/nb-NO/firefox-59.0.2.tar.bz2";
829+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/nb-NO/firefox-60.0.1.tar.bz2";
825830 locale = "nb-NO";
826831 arch = "linux-i686";
827− sha512 = "abf3048155dff62d4225471531568292410bae499f10a7f51caa493bf3c66d45a30fd3fe62db2bc21447259aa75e024681abd8b1f8567fd7647202b7399b256e";
832+ sha512 = "c469e49346a29b8b2bb87b6d3be37f72be7db18977a9085240184a66cced8da5c8a62d09c84424985418e106d8cc1a2359ce8778e515430188ff6921d403b42f";
828833 }
829− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ne-NP/firefox-59.0.2.tar.bz2";
834+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ne-NP/firefox-60.0.1.tar.bz2";
830835 locale = "ne-NP";
831836 arch = "linux-i686";
832− sha512 = "a0a9a872bb6f92cc1f5fbf17e8ffa06fe841d5c0f50bfc543779caf10726e1a0a18bd003aef9619b25110b5a37510375de077461c3fab276cd58b319f4107a1c";
837+ sha512 = "5374a889f9ae7934c4138b4742dfe50c360858e460b7e348be5ba7196f001453466c84b8bb55e8c1178a194e9500831684f50866c13ccfdd6228a8fb4d17e607";
833838 }
834− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/nl/firefox-59.0.2.tar.bz2";
839+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/nl/firefox-60.0.1.tar.bz2";
835840 locale = "nl";
836841 arch = "linux-i686";
837− sha512 = "0b0a0b5df01a72c4a433938dd8f750c60594e393108564ba20745205fa87e30231e8518e28bedb770d5b988c3684ea80f27f7de28d864a26da69fda3a5c39617";
842+ sha512 = "f937a25191c60c973b0676cc9ad993c07c221dbdc3c3f794c8cfbb2981ebe4d85b0450702b5c7270f47f6daa7b55bb4fb617e113686bc7b496811f5304ae8053";
838843 }
839− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/nn-NO/firefox-59.0.2.tar.bz2";
844+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/nn-NO/firefox-60.0.1.tar.bz2";
840845 locale = "nn-NO";
841846 arch = "linux-i686";
842− sha512 = "0a8c474d2e0103dad61e7efbfe8bdabcf246395e7abc213a6b195aff79ae28d843c4dbcfcdbb1740c6d49e2329a1afbbde8e798dc50044be4924450c7f024396";
847+ sha512 = "d95de4ef017c0fb951fcf8c90488acc63f5fa82ec7c72bc87f02aa4f2f4f75c2f4cf1a805958fadacd65759e68fef1be21181ad8511c6d1158bbf331c72b97d2";
848+ }
849+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/oc/firefox-60.0.1.tar.bz2";
850+ locale = "oc";
851+ arch = "linux-i686";
852+ sha512 = "d4757d7a79b953a9aa92363c7fc40a7545fd7dcfa5ed03ee45af2b48b71b74a0fcbb841fd580244e6ddcc392c6fd105fbaaa03e42256522e2b51e6b18f433fb3";
843853 }
844− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/or/firefox-59.0.2.tar.bz2";
854+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/or/firefox-60.0.1.tar.bz2";
845855 locale = "or";
846856 arch = "linux-i686";
847− sha512 = "3b97c26b98859f1fa6e8cd682908c46fcfac7bc4aa6d6e8b0495bcdd4e1ddb53f924d4436499dcf0f059ab24d516439c2c8b4881c938d74ebb7c0e2b30911a14";
857+ sha512 = "e5d6ec46f23bb31fd32ec5bf58049d7d948fb7632a198fdac34c004c23b58d2bb08c163e4b53e789529d1f6232fd050142a0c84d7d43d1d334ad3b66857a747e";
848858 }
849− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pa-IN/firefox-59.0.2.tar.bz2";
859+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pa-IN/firefox-60.0.1.tar.bz2";
850860 locale = "pa-IN";
851861 arch = "linux-i686";
852− sha512 = "978e0143198910d4c8c47764f7fce401cace00018318e5deb71a22666d7f94df735304354dd07ec2ca4386898ed4c15c8cd3efb1104dd054a4c1c11661b7619a";
862+ sha512 = "bc2d7ef61b866fae30e6b2fe6c542e206e879d4d0edeff4764a635c9927430cd763e6e907d8676914a5dc95d7a670958f332a62d09517446cfa1a32ebbc858df";
853863 }
854− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pl/firefox-59.0.2.tar.bz2";
864+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pl/firefox-60.0.1.tar.bz2";
855865 locale = "pl";
856866 arch = "linux-i686";
857− sha512 = "618f2dd7460090dd0b1c0edff4b33d5ae51f1298f20ec5ccf845e5e6e5e4128c55b937496257ef49064806a720b5c8326cedca9764702824391447a83ed2118c";
867+ sha512 = "c8ee365012576e66468c848d232af3d28796fc7bb8a2971e953ae0f4783b3eee06bd4c1da5725732ee5bd964c2447d1d3cd11041f5d56d88877fc36a6a568dab";
858868 }
859− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pt-BR/firefox-59.0.2.tar.bz2";
869+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pt-BR/firefox-60.0.1.tar.bz2";
860870 locale = "pt-BR";
861871 arch = "linux-i686";
862− sha512 = "7e12f0f18562fb628b994df2e2c2a9bac4fe85ad593a0de37f3e1c3b1dce60406d2f28606aec5cf84ecec05570b38e7dd95d6f348dbadee09bf27ac34d52b47e";
872+ sha512 = "e708e25ba08c0ba92981c0abd27b170086fd7e54be5604ba5b6c4be47012d4cc467f5ee81e5a50ee1ccf413d5e4e3fa29fafca0ce84d4b35001e59e46afa796b";
863873 }
864− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/pt-PT/firefox-59.0.2.tar.bz2";
874+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/pt-PT/firefox-60.0.1.tar.bz2";
865875 locale = "pt-PT";
866876 arch = "linux-i686";
867− sha512 = "80d9c00f741ab177a5d0ffd94a8462077240c07a56dfb49213e222264224d5df5f4f964dac55d097b0ba9d658dd42ed50761ca86fc087c29cc4ef9d2972956ae";
877+ sha512 = "5a227d1954a93f35d83b7f89b48d6fef10f1ce09c239eb84a3fbf76b2c93f03ecb0890a9c18bc2d2edb01fece405aeafe16ced0420ef8b8ff90efb232d13569b";
868878 }
869− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/rm/firefox-59.0.2.tar.bz2";
879+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/rm/firefox-60.0.1.tar.bz2";
870880 locale = "rm";
871881 arch = "linux-i686";
872− sha512 = "9ef01b038cb0971b41fbb19d250db4ca96adc31f0a9cf8b7197ebe700acfab69b2dae35f2c3487ae1983df0793cacd5a7aca7d9fdec8b7fa94cb245ff1308338";
882+ sha512 = "9f2caae925cebb42c49c4c2b139dcfd961174aa8a4dd4d323b65d84b6acbef5beb1e5c844f09454d6fa3af882758137d452ba1cbad5cf017a8b54766f4967ba1";
873883 }
874− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ro/firefox-59.0.2.tar.bz2";
884+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ro/firefox-60.0.1.tar.bz2";
875885 locale = "ro";
876886 arch = "linux-i686";
877− sha512 = "d60ec8a9bddaabdae7b210c7b8f4229b10ae1080a89a3a661b6ffbffae479c81ec8f620b82655d92a792e31d4f1fad9477d195005dfdc803a7f3998d4a091413";
887+ sha512 = "a24ffa5fb4f05bb700025df13384ca5f57183eb94d9826fa82560dc45d50a05c3f96c7c58fb1f609e1efdf3b9d3b86bd720a044d5c5c0ae8886e1d4218189635";
878888 }
879− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ru/firefox-59.0.2.tar.bz2";
889+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ru/firefox-60.0.1.tar.bz2";
880890 locale = "ru";
881891 arch = "linux-i686";
882− sha512 = "8a42c89e4a0ac8f26421450637c2781c2dac2fd4469080f5d17a86cbbaa2c1cae56cc641797e6c1efb1576467c2d9e960b8a486f4b79556eba1d8a099d82e567";
892+ sha512 = "e256695c13cdce7fbd0650561c2e68ca7b3c6eafef5c451b54db67ebd6dc0c14f1c84622cc2550a573932b4ef1ffe20d1608a2d36d3fe0033ec18399ca80448d";
883893 }
884− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/si/firefox-59.0.2.tar.bz2";
894+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/si/firefox-60.0.1.tar.bz2";
885895 locale = "si";
886896 arch = "linux-i686";
887− sha512 = "230b155c90db9c05a8f896357c1cb2baca0f96cada2a62fced73caa94a49116459b4ae42a4f61ce03dd08d9ce03541067a5cc64a53ad17cd63debbfe645a2614";
897+ sha512 = "b42ffbb1c3948555320d89e7732c145061b91453ed6f70a7d334754264ede63759201ff36bf94b1e33814c0d171541e450f8eb53ef95e8c5320d0e408475ba5c";
888898 }
889− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sk/firefox-59.0.2.tar.bz2";
899+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sk/firefox-60.0.1.tar.bz2";
890900 locale = "sk";
891901 arch = "linux-i686";
892− sha512 = "1072c117830b85c54e7c1ead8ca552e92ce0c1971f26a28d27490802ceeb15fc105323599fd768a8ecd94597b3f51f8efdfb3e91743395c19b52a152ffb383d5";
902+ sha512 = "d224b3ae2edeea852e2d26314b3f8d22d7c048eebd540107281b2863c23dd7c7caeab9ec814c90434da515e912acfea35d5331beede5b9e6bc74ec77ca8e8781";
893903 }
894− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sl/firefox-59.0.2.tar.bz2";
904+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sl/firefox-60.0.1.tar.bz2";
895905 locale = "sl";
896906 arch = "linux-i686";
897− sha512 = "5580f6777ce0acd2d47af993a8bec2e23ef16d77e6fb653147637e1efa08e82006a41108b94b213e7bb6d57b9dc27e8cc2bc1f0a26e9c2cf766e9c82dcc673d9";
907+ sha512 = "c3c1ae0ce8858d1dfeba2e56d9b92769ab06585c86519f754f3ac97a527816bbf7c56df6e8055c04e7b06370c1b9c397ca522991c5f23371ef4e76fb3811cd23";
898908 }
899− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/son/firefox-59.0.2.tar.bz2";
909+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/son/firefox-60.0.1.tar.bz2";
900910 locale = "son";
901911 arch = "linux-i686";
902− sha512 = "0f930af28da8a3643d424dc957643682909d86f83d2cde87656abb33fd5d9c5277a46cf46d4ed28a790eaa0b5681f48cc43a2184c8273cb85c821359d07ad46e";
912+ sha512 = "7622a3c211e34c48185e5756168378d60bbfb52784cb9b4e1b37d9e985d92d3d88ba6b29b750578136db9beb5f2123cb1b7c9f47d4b8139b0441b92884620c4a";
903913 }
904− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sq/firefox-59.0.2.tar.bz2";
914+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sq/firefox-60.0.1.tar.bz2";
905915 locale = "sq";
906916 arch = "linux-i686";
907− sha512 = "08589b3b4bfb670a912045614bb408a856b48aee4184b98e475101b1ff0ce3f6659c13ae4ffeb981e28f0b7243ba6b340065224dae0cef85e6f5877b0b150db0";
917+ sha512 = "8f4f30bd858bba7c2e90655821395522f6a96e38ff169334b034f182162294af8ca2d00da375e03c3e18e1c96c113333ec4f7d41ac01d385a12a7acb3e188653";
908918 }
909− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sr/firefox-59.0.2.tar.bz2";
919+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sr/firefox-60.0.1.tar.bz2";
910920 locale = "sr";
911921 arch = "linux-i686";
912− sha512 = "2abe8a5c502564823ffeaf59925d6749463e4aa0fcb0732f0c68acd8243b5a1bf5a71834fd9e519df8aa4b7b32fe69336ed9976b1ffb2ca67068cbe47f9b6987";
922+ sha512 = "00b4b3ef5d8217d7acfb2504c86338ca729f9ca3b69f2a0616def97ca88bcf61f2669f1a4e4acf4ccf5473db08de53c4308a342cc3ce944634743fdc1b8e5a11";
913923 }
914− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/sv-SE/firefox-59.0.2.tar.bz2";
924+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/sv-SE/firefox-60.0.1.tar.bz2";
915925 locale = "sv-SE";
916926 arch = "linux-i686";
917− sha512 = "ff79a7639d654cc2714f75e619c0c6c5862c1e4216fe7e2eeaf3876c47e16a6555dfa28e9be6b8215fe9e308e4c8753c5d70bcc6f3979c8a70fd7330652126ed";
927+ sha512 = "287ae1efdc8ec6a34165bd4588b51c0f81203685d47ed59c01922e87d7d9aae9ab23b1351a7297a493d45645635c2da7458b245ef56991e7ec928fe264576e57";
918928 }
919− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ta/firefox-59.0.2.tar.bz2";
929+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ta/firefox-60.0.1.tar.bz2";
920930 locale = "ta";
921931 arch = "linux-i686";
922− sha512 = "fb4d4c6def12ffe32eb9517858488921f1c77380f3d1d35a8652ebe7b9e14429709debffa6dd6a1008fee71c664fd8f582db1052a203dc1d7c10ba418222f7fc";
932+ sha512 = "fde55160176bf7f5c016d7d780e8a78e556ba6d04e1703e6fd6e90ffa278b23822855e8e26a7b86ff38cf006dad3042ea9cd7d4f75b810efa5f543ac28126f6a";
923933 }
924− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/te/firefox-59.0.2.tar.bz2";
934+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/te/firefox-60.0.1.tar.bz2";
925935 locale = "te";
926936 arch = "linux-i686";
927− sha512 = "ae97d60ac98c6cd9bad620a7c5dba8d51bdb2b035132daa0d915d1fc1e04802a25137bbbac82009ec51c0d858346e2f5c43f9981c48e991cc094cf11711fdeef";
937+ sha512 = "5cd75ab1ed134ceae22c0020d753cae351caabf513a025dfe30ab3b146f5c693cdf202f5cb4f48a00fafdfe6584ff693d383a5a3f973e307e9ef056e61bcc43e";
928938 }
929− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/th/firefox-59.0.2.tar.bz2";
939+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/th/firefox-60.0.1.tar.bz2";
930940 locale = "th";
931941 arch = "linux-i686";
932− sha512 = "695fae213cc6705ec130c4dc08dd1c28f6ad605e0a2d0e92deef13737cc2780cd420dd883dc5153bf9cd174e1740effbc817054b16417fed90d04be04f21ab24";
942+ sha512 = "037b7e200bb6246e3d95983f5cd9451a10c54be0fcbbf30ec35ddc115395cf8fda3274a212285bbb1dcadd69f3efaab60606345765ed3f69471c5ea2d47c467e";
933943 }
934− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/tr/firefox-59.0.2.tar.bz2";
944+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/tr/firefox-60.0.1.tar.bz2";
935945 locale = "tr";
936946 arch = "linux-i686";
937− sha512 = "f79e1f5027a84b772358d25f0441744036f60da7de5c0b26428ebd81900977e70d2c36b454e73f7026b7e20c058830502c92bdb8cc7d55c3ab40df43b7380d31";
947+ sha512 = "d2cd7b818c64a6529387d5bf540174aee44b5e863479978b15aac20fe62d102f231d2f1367454c5ddf9f3009776e6176fca8d96eeb221730a477c4fced4b45d7";
938948 }
939− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/uk/firefox-59.0.2.tar.bz2";
949+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/uk/firefox-60.0.1.tar.bz2";
940950 locale = "uk";
941951 arch = "linux-i686";
942− sha512 = "30b7661e84a875ff356284a87d1dc00a9e8fc1c03c953c471d785445e78cf4568450fec97bb16a1c63b092931719119510f33f55f02ff56e38adf4fb3be3f2c8";
952+ sha512 = "4f8ed8dbd4f7bc8184ee4c128382a5ccc5dd6b93840199657a6a2ce5e6ffa5b192d7e17d50ea4a4631f2ef0a5fa225506de953a03e92b4f51e731c436d4d2b11";
943953 }
944− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/ur/firefox-59.0.2.tar.bz2";
954+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/ur/firefox-60.0.1.tar.bz2";
945955 locale = "ur";
946956 arch = "linux-i686";
947− sha512 = "9ef6fed1bea2857fc60e22eb9a87db8261316ba0852a3c5d35d65c3ead474ae34ee532588e25942f76be2f13a341c9bd9b672e5b192db1d3ccfee3f6a6787b83";
957+ sha512 = "4c8db3bf7affc403705bcb5c4da7685a43cc6119e02f3efe8fa499bc22da18a6f43f7d720fe07c32d226d97e6f92ea1611f153d85f7ebd25c038e938acaa3da8";
948958 }
949− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/uz/firefox-59.0.2.tar.bz2";
959+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/uz/firefox-60.0.1.tar.bz2";
950960 locale = "uz";
951961 arch = "linux-i686";
952− sha512 = "ab75b5c8e81b6bfc12b07b4fb2872cf2297c7249c352f5b66d95d867698f3e9a601f273e708bcb8855505eaba87b384e2b62f9d0b85e5976acf1c948e5e5a3e1";
962+ sha512 = "933c279629ce254da1f7886825a934413a129e2371eb72a8999dc846e0cee12648e68ea9f3b01264aea4c1b5fb2f9081e039b02bc7f5c808307135e8675e05f7";
953963 }
954− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/vi/firefox-59.0.2.tar.bz2";
964+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/vi/firefox-60.0.1.tar.bz2";
955965 locale = "vi";
956966 arch = "linux-i686";
957− sha512 = "d08e244d22c92c0e64c1104d5bbaaa19fa3b0d8f7a3616ae0df71d8f141039f1e7e87480f52d319f57d545f58c7095da643d4bac150e47c3e595b27cb793076f";
967+ sha512 = "c2bd138c1edd4425ee7f9cf341cb01d2ef04c1924185c8632a7b2e8ce3c87b4847611827dedfd826ad12028d486a27536c2053b9a677edcf74232183f36a49d7";
958968 }
959− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/xh/firefox-59.0.2.tar.bz2";
969+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/xh/firefox-60.0.1.tar.bz2";
960970 locale = "xh";
961971 arch = "linux-i686";
962− sha512 = "b956f01619afc421ed23ac644af51f62fa9f5cffcd7f5b6bf640014d1326583f8ba871e4e4f5cf8e81ab0a2b46335b5e921243e71ed16d51b2c89f0a7d1a1280";
972+ sha512 = "2ee93f40b882c52b80297075864a079b9a91ad30f9fbb64d64d4eeddf9cee31b717d4fbf59d25c8fd40944a2df2f0b67e95d1a57cb1031277429a7fe97be0d05";
963973 }
964− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/zh-CN/firefox-59.0.2.tar.bz2";
974+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/zh-CN/firefox-60.0.1.tar.bz2";
965975 locale = "zh-CN";
966976 arch = "linux-i686";
967− sha512 = "80f3c557a7fa2d51f5ba2d07adef2bd6980a4cd256b95702ee4fac2967d039476ea3b828ce951b354be9fea9508ecae2ea12a8b29f8feb0101b2101d741bf633";
977+ sha512 = "1ab340e9827d84d757f7b88c165ff07ab2d6202cdf939b6a50d40e23d09c002a49daaf9d4e7b90fdf20cfe36160e2d6518fcedf455de5a9f49c05badd6f0cb69";
968978 }
969− { url = "http://archive.mozilla.org/pub/firefox/releases/59.0.2/linux-i686/zh-TW/firefox-59.0.2.tar.bz2";
979+ { url = "http://archive.mozilla.org/pub/firefox/releases/60.0.1/linux-i686/zh-TW/firefox-60.0.1.tar.bz2";
970980 locale = "zh-TW";
971981 arch = "linux-i686";
972− sha512 = "50668a428310083cd175ce0dd9d09742866143d56efb0b13d11de1905d5b1d9f61e441bf1364e518aa87ebc790a335cc3b69d2438d3a4f92b4802345b8a443fa";
982+ sha512 = "3886ef200481d8f0dcb4add628144dfda705edeea37f1560fdeee7a45e797b75b885a2e590193d59f84d13b2c848c42d0e0f94986d3f4c514a9410e6924a71f4";
973983 }
974984 ];
975985}
pkgs/applications/networking/browsers/firefox/common.nix+4−1
@@ -28,7 +28,9 @@
2828# WARNING: NEVER set any of the options below to `true` by default.
2929# Set to `privacySupport` or `false`.
3030
31−, webrtcSupport ? !privacySupport
31+# webrtcSupport breaks the aarch64 build on version >= 60.
32+# https://bugzilla.mozilla.org/show_bug.cgi?id=1434589
33+, webrtcSupport ? (if lib.versionAtLeast version "60" && stdenv.isAarch64 then false else !privacySupport)
3234, geolocationSupport ? !privacySupport
3335, googleAPISupport ? geolocationSupport
3436, crashreporterSupport ? false
@@ -213,6 +215,7 @@ stdenv.mkDerivation (rec {
213215 ++ extraMakeFlags;
214216
215217 enableParallelBuilding = true;
218+ doCheck = false; # "--disable-tests" above
216219
217220 preInstall = ''
218221 # The following is needed for startup cache creation on grsecurity kernels.
pkgs/applications/networking/browsers/firefox/no-buildconfig.patch+3−3
@@ -1,7 +1,7 @@
11diff -ru -x '*~' firefox-55.0.3-orig/docshell/base/nsAboutRedirector.cpp firefox-55.0.3/docshell/base/nsAboutRedirector.cpp
22--- firefox-55.0.3-orig/docshell/base/nsAboutRedirector.cpp 2017-07-31 18:20:51.000000000 +0200
33+++ firefox-55.0.3/docshell/base/nsAboutRedirector.cpp 2017-09-26 22:02:00.814151731 +0200
4−@@ -40,10 +40,6 @@
4+@@ -36,10 +36,6 @@
55 nsIAboutModule::ALLOW_SCRIPT
66 },
77 {
@@ -20,6 +20,6 @@ diff -ru -x '*~' firefox-55.0.3-orig/toolkit/content/jar.mn firefox-55.0.3/toolk
2020 content/global/browser-child.js
2121 content/global/browser-content.js
2222-* content/global/buildconfig.html
23+ content/global/buildconfig.css
2324 content/global/contentAreaUtils.js
24− #ifndef MOZ_FENNEC
25− content/global/customizeToolbar.css
25+ content/global/datepicker.xhtml
pkgs/applications/networking/browsers/firefox/packages.nix+35−8
@@ -12,21 +12,27 @@ let
1212 ./fix-pa-context-connect-retval.patch
1313 ];
1414
15+ firefox60_aarch64_skia_patch = fetchpatch {
16+ name = "aarch64-skia.patch";
17+ url = https://src.fedoraproject.org/rpms/firefox/raw/8cff86d95da3190272d1beddd45b41de3148f8ef/f/build-aarch64-skia.patch;
18+ sha256 = "11acb0ms4jrswp7268nm2p8g8l4lv8zc666a5bqjbb09x9k6b78k";
19+ };
20+
1521in
1622
1723rec {
1824
1925 firefox = common rec {
2026 pname = "firefox";
21− version = "59.0.2";
27+ version = "60.0.1";
2228 src = fetchurl {
23− url = "https://hg.mozilla.org/releases/mozilla-release/archive/239e434d6d2b8e1e2b697c3416d1e96d48fe98e5.tar.bz2";
24− sha512 = "3kfh224sfc9ig4733frnskcs49xzjkrs00lxllsvx1imm6f4sf117mqlvc7bhgrn8ldiqn6vaa5g6gd9b7awkk1g975bbzk9namb3yv";
29+ url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
30+ sha512 = "083bhfh32dy1cz4c4wn92i2lnl9mqikkd9dlkwd5i6clyjb9pc6d5g87kvb8si0n6jll4alyhw792j56a7gmzny3d93068hr4zyh3qn";
2531 };
2632
2733 patches = nixpkgsPatches ++ [
2834 ./no-buildconfig.patch
29− ];
35+ ] ++ lib.optional stdenv.isAarch64 firefox60_aarch64_skia_patch;
3036
3137 meta = {
3238 description = "A web browser built from Firefox source tree";
@@ -39,12 +45,12 @@ rec {
3945 };
4046 } {};
4147
42− firefox-esr = common rec {
48+ firefox-esr-52 = common rec {
4349 pname = "firefox-esr";
44− version = "52.7.3esr";
50+ version = "52.8.0esr";
4551 src = fetchurl {
4652 url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
47− sha512 = "31y3qrslg61724vmly6gr1lqcrqgpkh3zsl8riax45gizfcp3qbgkvmd5wwfn9fiwjqi6ww3i08j51wxrfxcxznv7c6qzsvzzc30mgw";
53+ sha512 = "4136fa582e4ffd754d46a79bdb562bd12da4d013d87dfe40fa92addf377e95f5f642993c8b783edd5290089619beeb5a907a0810b68b8808884f087986977df1";
4854 };
4955
5056 patches = nixpkgsPatches;
@@ -53,7 +59,28 @@ rec {
5359 description = "A web browser built from Firefox Extended Support Release source tree";
5460 };
5561 updateScript = callPackage ./update.nix {
56− attrPath = "firefox-esr-unwrapped";
62+ attrPath = "firefox-esr-52-unwrapped";
63+ versionSuffix = "esr";
64+ };
65+ } {};
66+
67+ firefox-esr-60 = common rec {
68+ pname = "firefox-esr";
69+ version = "60.0.1esr";
70+ src = fetchurl {
71+ url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
72+ sha512 = "2kswaf2d8qbhx1ry4ai7y2hr8cprpm00wwdr9qwpdr31m7w0jzndh0fn7jn1f57s42j6jk0jg78d34x10p2rvdii8hrbbr9q9sw8v4b";
73+ };
74+
75+ patches = nixpkgsPatches ++ [
76+ ./no-buildconfig.patch
77+ ] ++ lib.optional stdenv.isAarch64 firefox60_aarch64_skia_patch;
78+
79+ meta = firefox.meta // {
80+ description = "A web browser built from Firefox Extended Support Release source tree";
81+ };
82+ updateScript = callPackage ./update.nix {
83+ attrPath = "firefox-esr-60-unwrapped";
5784 versionSuffix = "esr";
5885 };
5986 } {};
pkgs/applications/networking/browsers/firefox/update.nix+1−5
@@ -28,9 +28,5 @@ writeScript "update-${attrPath}" ''
2828 sort --version-sort | \
2929 tail -n 1`
3030
31− source_url=`curl --silent $url$version/SOURCE | grep -o 'https://.*\.tar\.bz2'`
32−
33− shasum=`curl --silent $url$version/SHA512SUMS | grep 'source\.tar\.xz' | cut -d ' ' -f 1`
34−
35− update-source-version ${attrPath} "$version" "$shasum" "$source_url"
31+ update-source-version ${attrPath} "$version"
3632''
pkgs/applications/networking/browsers/firefox/wrapper.nix−2
@@ -7,7 +7,6 @@
77, trezor-bridge, bluejeans, djview4, adobe-reader
88, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
99, esteidfirefoxplugin
10−, vlc_npapi
1110, browserpass, chrome-gnome-shell, uget-integrator
1211, libudev
1312, kerberos
@@ -57,7 +56,6 @@ let
5756 ++ lib.optional (cfg.enableBluejeans or false) bluejeans
5857 ++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
5958 ++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
60− ++ lib.optional (cfg.enableVLC or false) vlc_npapi
6159 ++ extraPlugins
6260 );
6361 nativeMessagingHosts =
pkgs/applications/networking/cluster/terraform/default.nix+3−3
@@ -60,8 +60,8 @@ let
6060 # of plugins, which might be counterintuitive if someone just wants a vanilla Terraform.
6161 if actualPlugins == []
6262 then terraform.overrideAttrs (orig: { passthru = orig.passthru // passthru; })
63− else stdenv.mkDerivation {
64− name = "${terraform.name}-with-plugins";
63+ else lib.appendToName "with-plugins "(stdenv.mkDerivation {
64+ inherit (terraform) name;
6565 buildInputs = [ makeWrapper ];
6666
6767 buildCommand = ''
@@ -72,7 +72,7 @@ let
7272 '';
7373
7474 inherit passthru;
75− };
75+ });
7676 in withPlugins (_: []);
7777
7878 plugins = import ./providers { inherit stdenv lib buildGoPackage fetchFromGitHub; };
pkgs/applications/networking/gmailieer/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, python3Packages }:
22
33python3Packages.buildPythonApplication rec {
4− name = "gmailieer";
4+ name = "gmailieer-${version}";
55 version = "0.6";
66
77 src = fetchFromGitHub {
pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix+10−7
@@ -21,13 +21,16 @@ stdenv.mkDerivation rec {
2121 pkgconfig intltool autoconf-archive
2222 appstream-glib
2323 ];
24+
2425 buildInputs = [ gtk3 json-glib curl glib hicolor-icon-theme ];
2526
26− meta = with stdenv.lib;
27− { description = "GTK remote control for the Transmission BitTorrent client";
28− homepage = https://github.com/ajf8/transmission-remote-gtk;
29− license = licenses.gpl2;
30− maintainers = [ maintainers.ehmry ];
31− platforms = platforms.linux;
32− };
27+ doCheck = false; # fails with style validation error
28+
29+ meta = with stdenv.lib; {
30+ description = "GTK remote control for the Transmission BitTorrent client";
31+ homepage = https://github.com/ajf8/transmission-remote-gtk;
32+ license = licenses.gpl2;
33+ maintainers = [ maintainers.ehmry ];
34+ platforms = platforms.linux;
35+ };
3336}
pkgs/applications/networking/remote/citrix-receiver/default.nix+1−1
@@ -23,7 +23,7 @@
2323, alsaLib
2424, libidn
2525, zlib
26−, version ? null
26+, version ? "13.9.0"
2727}:
2828
2929let
pkgs/applications/office/atlassian-cli/default.nix+27−9
@@ -1,14 +1,30 @@
11{ stdenv, fetchzip, jre }:
2−stdenv.mkDerivation {
3− name = "atlassian-cli";
2+
3+stdenv.mkDerivation rec {
4+ name = "atlassian-cli-${version}";
45 version = "7.8.0";
6+
57 src = fetchzip {
6− url = https://bobswift.atlassian.net/wiki/download/attachments/16285777/atlassian-cli-7.8.0-distribution.zip;
7− sha256 = "111s4d9m6vxq8jwh1d6ar1f4n5zmyjg7gi2vl3aq63kxbfld9vw7";
8+ url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${name}-distribution.zip";
9+ sha256 = "111s4d9m6vxq8jwh1d6ar1f4n5zmyjg7gi2vl3aq63kxbfld9vw7";
810 extraPostFetch = "chmod go-w $out";
911 };
10− tools = [ "agile" "bamboo" "bitbucket" "confluence" "csv"
11− "hipchat" "jira" "servicedesk" "structure" "tempo" "trello" "upm" ];
12+
13+ tools = [
14+ "agile"
15+ "bamboo"
16+ "bitbucket"
17+ "confluence"
18+ "csv"
19+ "hipchat"
20+ "jira"
21+ "servicedesk"
22+ "structure"
23+ "tempo"
24+ "trello"
25+ "upm"
26+ ];
27+
1228 installPhase = ''
1329 mkdir -p $out/{bin,share/doc/atlassian-cli}
1430 cp -r lib $out/share/java
@@ -22,10 +38,12 @@ stdenv.mkDerivation {
2238 chmod +x $out/bin/$tool
2339 done
2440 '';
41+
2542 meta = with stdenv.lib; {
2643 description = "An integrated family of CLI’s for various Atlassian applications";
27− homepage = https://bobswift.atlassian.net/wiki/spaces/ACLI/overview;
28− maintainers = [ maintainers.twey ];
29− license = [ licenses.unfreeRedistributable ];
44+ homepage = https://bobswift.atlassian.net/wiki/spaces/ACLI/overview;
45+ license = licenses.unfreeRedistributable;
46+ maintainers = with maintainers; [ twey ];
47+ inherit (jre.meta) platforms;
3048 };
3149}
pkgs/applications/science/machine-learning/torch/torch-distro.nix+2
@@ -57,6 +57,8 @@ let
5757 in
5858 stdenv.mkDerivation (args // {
5959
60+ name = "${args.name}-${lua.luaversion}";
61+
6062 inherit preBuild postInstall;
6163
6264 inherit luadeps runtimeDeps;
pkgs/applications/science/misc/simgrid/default.nix+54−60
@@ -10,42 +10,37 @@
1010, moreTests ? false
1111}:
1212
13−# helpers for options
14−let optionals = stdenv.lib.optionals;
15− optionalString = stdenv.lib.optionalString;
16− optionOnOff = option: "${if option then "on" else "off"}";
13+with stdenv.lib;
14+
15+let
16+ optionOnOff = option: "${if option then "on" else "off"}";
17+ urlVersion = replaceStrings ["."] ["_"];
1718in
1819
1920stdenv.mkDerivation rec {
20− major_version = "3";
21− minor_version = "17";
22− version = "v${major_version}.${minor_version}";
23− tagged_version = "${major_version}_${minor_version}";
24− name = "simgrid";
21+ name = "simgrid-${version}";
22+ version = "3.17";
2523
2624 src = fetchFromGitHub {
2725 owner = "simgrid";
2826 repo = "simgrid";
29− rev = "v3_17";
27+ rev = "v${urlVersion version}";
3028 sha256 = "0ffs9w141qhw571jsa9sch1cnr332vs4sgj6dsiij2mc24m6wpb4";
31− #rev = "master";
32− #sha256 = "0qvh1jzc2lpnp8234kjx1x4g1a5kfdn6kb15vhk160qgvj98nyqm";
3329 };
3430
35− nativeBuildInputs = [ cmake perl elfutils python3 boost valgrind]
36− ++ optionals fortranSupport [gfortran]
37− ++ optionals buildJavaBindings [openjdk]
38− ++ optionals buildDocumentation [transfig ghostscript doxygen]
39− ++ optionals modelCheckingSupport [libunwind libevent];
31+ nativeBuildInputs = [ cmake perl elfutils python3 boost valgrind ]
32+ ++ optionals fortranSupport [ gfortran ]
33+ ++ optionals buildJavaBindings [ openjdk ]
34+ ++ optionals buildDocumentation [ transfig ghostscript doxygen ]
35+ ++ optionals modelCheckingSupport [ libunwind libevent ];
4036
4137 #buildInputs = optional luaSupport lua5;
4238
43− preConfigure =
44− # Make it so that libsimgrid.so will be found when running programs from
45− # the build dir.
46− ''
39+ # Make it so that libsimgrid.so will be found when running programs from
40+ # the build dir.
41+ preConfigure = ''
4742 export LD_LIBRARY_PATH="$PWD/build/lib"
48− '';
43+ '';
4944
5045 # Release mode is not supported in SimGrid
5146 cmakeBuildType = "Debug";
@@ -60,58 +55,57 @@ stdenv.mkDerivation rec {
6055 # For more information see:
6156 # http://simgrid.gforge.inria.fr/simgrid/latest/doc/install.html#install_cmake_list
6257 cmakeFlags= ''
63− -Denable_documentation=${optionOnOff buildDocumentation}
64− -Denable_java=${optionOnOff buildJavaBindings}
65− -Denable_fortran=${optionOnOff fortranSupport}
66− -Denable_model-checking=${optionOnOff modelCheckingSupport}
67− -Denable_ns3=off
68− -Denable_lua=off
69− -Denable_lib_in_jar=off
70− -Denable_maintainer_mode=off
71− -Denable_mallocators=on
72− -Denable_debug=on
73− -Denable_smpi=on
74− -Denable_smpi_ISP_testsuite=${optionOnOff moreTests}
75− -Denable_smpi_MPICH3_testsuite=${optionOnOff moreTests}
76− -Denable_compile_warnings=${optionOnOff debug}
77− -Denable_compile_optimizations=${optionOnOff (!debug)}
78− -Denable_lto=${optionOnOff (!debug)}
79− '';
80− #-Denable_lua=${optionOnOff luaSupport}
81− #-Denable_smpi_papi=${optionOnOff moreTests}
58+ -Denable_documentation=${optionOnOff buildDocumentation}
59+ -Denable_java=${optionOnOff buildJavaBindings}
60+ -Denable_fortran=${optionOnOff fortranSupport}
61+ -Denable_model-checking=${optionOnOff modelCheckingSupport}
62+ -Denable_ns3=off
63+ -Denable_lua=off
64+ -Denable_lib_in_jar=off
65+ -Denable_maintainer_mode=off
66+ -Denable_mallocators=on
67+ -Denable_debug=on
68+ -Denable_smpi=on
69+ -Denable_smpi_ISP_testsuite=${optionOnOff moreTests}
70+ -Denable_smpi_MPICH3_testsuite=${optionOnOff moreTests}
71+ -Denable_compile_warnings=${optionOnOff debug}
72+ -Denable_compile_optimizations=${optionOnOff (!debug)}
73+ -Denable_lto=${optionOnOff (!debug)}
74+ '';
75+ # -Denable_lua=${optionOnOff luaSupport}
76+ # -Denable_smpi_papi=${optionOnOff moreTests}
8277
8378 makeFlags = optionalString debug "VERBOSE=1";
8479
85− preBuild =
86− ''
87− # Some perl scripts are called to generate test during build which
88− # is before the fixupPhase of nix, so do this manualy here:
89− patchShebangs ..
90− '';
80+ # Some Perl scripts are called to generate test during build which
81+ # is before the fixupPhase, so do this manualy here:
82+ preBuild = ''
83+ patchShebangs ..
84+ '';
9185
9286 doCheck = true;
87+
9388 checkPhase = ''
9489 runHook preCheck
95−
9690 ctest --output-on-failure -E smpi-replay-multiple
97−
9891 runHook postCheck
99− '';
92+ '';
93+
10094 enableParallelBuilding = true;
10195
102− meta = with stdenv.lib; {
96+ meta = {
10397 description = "Framework for the simulation of distributed applications";
104− longDescription =
105− '' SimGrid is a toolkit that provides core functionalities for the
106− simulation of distributed applications in heterogeneous distributed
107− environments. The specific goal of the project is to facilitate
108− research in the area of distributed and parallel application
109− scheduling on distributed computing platforms ranging from simple
110− network of workstations to Computational Grids.
111− '';
98+ longDescription = ''
99+ SimGrid is a toolkit that provides core functionalities for the
100+ simulation of distributed applications in heterogeneous distributed
101+ environments. The specific goal of the project is to facilitate
102+ research in the area of distributed and parallel application
103+ scheduling on distributed computing platforms ranging from simple
104+ network of workstations to Computational Grids.
105+ '';
112106 homepage = http://simgrid.gforge.inria.fr/;
107+ license = licenses.lgpl2Plus;
113108 maintainers = with maintainers; [ mickours ];
114109 platforms = platforms.x86_64;
115− license = licenses.lgpl2Plus;
116110 };
117111}
pkgs/applications/version-management/cvs/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation {
3030
3131 buildInputs = [ nano ];
3232
33+ doCheck = false; # fails 1 of 1 tests
34+
3335 meta = {
3436 homepage = http://cvs.nongnu.org;
3537 description = "Concurrent Versions System - a source control system";
pkgs/applications/version-management/git-and-tools/bfg-repo-cleaner/default.nix+1−1
@@ -8,7 +8,7 @@ in
88 stdenv.mkDerivation {
99 inherit version jarName;
1010
11− name = "bfg-repo-cleaner";
11+ name = "bfg-repo-cleaner-${version}";
1212
1313 src = fetchurl {
1414 url = mavenUrl;
pkgs/applications/version-management/git-and-tools/git/default.nix+68−12
@@ -18,7 +18,7 @@ assert sendEmailSupport -> perlSupport;
1818assert svnSupport -> perlSupport;
1919
2020let
21− version = "2.16.3";
21+ version = "2.17.0";
2222 svn = subversionClient.override { perlBindings = perlSupport; };
2323in
2424
@@ -27,19 +27,24 @@ stdenv.mkDerivation {
2727
2828 src = fetchurl {
2929 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
30− sha256 = "0j1dwvg5llnj3g0fp8hdgpms4hp90qw9f6509vqw30dhwplrjpfn";
30+ sha256 = "1ismz7nsz8dgjmk782xr9s0mr2qh06f72pdcgbxfmnw1bvlya5p9";
3131 };
3232
3333 outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";
3434
3535 hardeningDisable = [ "format" ];
3636
37+ enableParallelBuilding = true;
38+
39+ ## Patch
40+
3741 patches = [
3842 ./docbook2texi.patch
3943 ./symlinks-in-bin.patch
4044 ./git-sh-i18n.patch
4145 ./ssh-path.patch
4246 ./git-send-email-honor-PATH.patch
47+ ./installCheck-path.patch
4348 ];
4449
4550 postPatch = ''
@@ -47,6 +52,10 @@ stdenv.mkDerivation {
4752 substituteInPlace "$x" \
4853 --subst-var-by ssh "${openssh}/bin/ssh"
4954 done
55+
56+ # Fix references to gettext introduced by ./git-sh-i18n.patch
57+ substituteInPlace git-sh-i18n.sh \
58+ --subst-var-by gettext ${gettext}
5059 '';
5160
5261 nativeBuildInputs = [ gettext perl ]
@@ -58,7 +67,6 @@ stdenv.mkDerivation {
5867 ++ stdenv.lib.optionals withpcre2 [ pcre2 ]
5968 ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.Security ];
6069
61−
6270 # required to support pthread_cancel()
6371 NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.cc.isClang) "-lgcc_s"
6472 + stdenv.lib.optionalString (stdenv.isFreeBSD) "-lthr";
@@ -68,6 +76,10 @@ stdenv.mkDerivation {
6876 "ac_cv_snprintf_returns_bogus=no"
6977 ];
7078
79+ preBuild = ''
80+ makeFlagsArray+=( perllibdir=$out/$(perl -MConfig -wle 'print substr $Config{installsitelib}, 1 + length $Config{siteprefixexp}') )
81+ '';
82+
7183 makeFlags = [
7284 "prefix=\${out}"
7385 "SHELL_PATH=${stdenv.shell}"
@@ -86,15 +98,17 @@ stdenv.mkDerivation {
8698 popd
8799 '';
88100
89− # FIXME: "make check" requires Sparse; the Makefile must be tweaked
90− # so that `SPARSE_FLAGS' corresponds to the current architecture...
91− #doCheck = true;
101+
102+ ## Install
103+
104+ # WARNING: Do not `rm` or `mv` files from the source tree; use `cp` instead.
105+ # We need many of these files during the installCheckPhase.
92106
93107 installFlags = "NO_INSTALL_HARDLINKS=1";
94108
95109 preInstall = stdenv.lib.optionalString stdenv.isDarwin ''
96110 mkdir -p $out/bin
97− mv $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin
111+ cp -a $PWD/contrib/credential/osxkeychain/git-credential-osxkeychain $out/bin
98112 '';
99113
100114 postInstall =
@@ -112,7 +126,7 @@ stdenv.mkDerivation {
112126
113127 # Install contrib stuff.
114128 mkdir -p $out/share/git
115− mv contrib $out/share/git/
129+ cp -a contrib $out/share/git/
116130 ln -s "$out/share/git/contrib/credential/netrc/git-credential-netrc" $out/bin/
117131 mkdir -p $out/share/emacs/site-lisp
118132 ln -s "$out/share/git/contrib/emacs/"*.el $out/share/emacs/site-lisp/
@@ -145,9 +159,6 @@ stdenv.mkDerivation {
145159 perl -0777 -i -pe "$SCRIPT" \
146160 $out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,stash,submodule,subtree,web--browse}
147161
148− # Fix references to gettext.
149− substituteInPlace $out/libexec/git-core/git-sh-i18n \
150− --subst-var-by gettext ${gettext}
151162
152163 # Also put git-http-backend into $PATH, so that we can use smart
153164 # HTTP(s) transports for pushing
@@ -225,7 +236,52 @@ EOF
225236 '';
226237
227238
228− enableParallelBuilding = true;
239+ ## InstallCheck
240+
241+ doInstallCheck = true;
242+
243+ installCheckTarget = "test";
244+
245+ # see also installCheckFlagsArray
246+ installCheckFlags = "DEFAULT_TEST_TARGET=prove";
247+
248+ preInstallCheck = ''
249+ installCheckFlagsArray+=(
250+ GIT_PROVE_OPTS="--jobs $NIX_BUILD_CORES --failures --state=failed,save"
251+ GIT_TEST_INSTALLED=$out/bin
252+ ${stdenv.lib.optionalString (!svnSupport) "NO_SVN_TESTS=y"}
253+ )
254+
255+ function disable_test {
256+ local test=$1 pattern=$2
257+ if [ $# -eq 1 ]; then
258+ mv t/{,skip-}$test.sh || true
259+ else
260+ sed -i t/$test.sh \
261+ -e "/^ *test_expect_.*$pattern/,/^ *' *\$/{s/^/#/}"
262+ fi
263+ }
264+
265+ # Shared permissions are forbidden in sandbox builds.
266+ disable_test t0001-init shared
267+ disable_test t1301-shared-repo
268+
269+ # Our patched gettext never fallbacks
270+ disable_test t0201-gettext-fallbacks
271+
272+ ${stdenv.lib.optionalString (!sendEmailSupport) ''
273+ # Disable sendmail tests
274+ disable_test t9001-send-email
275+ ''}
276+
277+ # XXX: I failed to understand why this one fails.
278+ # Could someone try to re-enable it on the next release ?
279+ disable_test t1700-split-index "null sha1"
280+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
281+ # Test fails (as of 2.17.0, musl 1.1.19)
282+ disable_test t3900-i18n-commit
283+ '';
284+
229285
230286 meta = {
231287 homepage = https://git-scm.com/;
pkgs/applications/version-management/git-and-tools/git/docbook2texi.patch+8−8
@@ -2,19 +2,19 @@ This patch does two things: (1) use the right name for `docbook2texi',
22and (2) make sure `gitman.info' isn't produced since it's broken (duplicate
33node names).
44
5−diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile
6−--- git-1.8.4-orig/Documentation/Makefile 2013-08-23 21:38:43.000000000 +0200
7−+++ git-1.8.4/Documentation/Makefile 2013-09-30 14:48:51.532890378 +0200
8−@@ -101,7 +101,7 @@
5+diff --git a/Documentation/Makefile b/Documentation/Makefile
6+--- a/Documentation/Makefile
7++++ b/Documentation/Makefile
8+@@ -122,7 +122,7 @@
99
1010 MAKEINFO = makeinfo
1111 INSTALL_INFO = install-info
1212-DOCBOOK2X_TEXI = docbook2x-texi
1313+DOCBOOK2X_TEXI = docbook2texi
1414 DBLATEX = dblatex
15− ifndef PERL_PATH
16− PERL_PATH = /usr/bin/perl
17−@@ -205,7 +205,7 @@
15+ ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
16+ DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
17+@@ -240,7 +240,7 @@
1818 man5: $(DOC_MAN5)
1919 man7: $(DOC_MAN7)
2020
@@ -23,7 +23,7 @@ diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile
2323
2424 pdf: user-manual.pdf
2525
26−@@ -221,10 +221,9 @@
26+@@ -256,10 +256,9 @@
2727
2828 install-info: info
2929 $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
pkgs/applications/version-management/git-and-tools/git/git-send-email-honor-PATH.patch+3−5
@@ -1,22 +1,20 @@
11diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
2−index 8060ea35c..c81067a19 100644
32--- a/Documentation/git-send-email.txt
43+++ b/Documentation/git-send-email.txt
5−@@ -203,8 +203,7 @@ a password is obtained using 'git-credential'.
4+@@ -208,8 +208,7 @@ a password is obtained using 'git-credential'.
65 specify a full pathname of a sendmail-like program instead;
76 the program must support the `-i` option. Default value can
87 be specified by the `sendemail.smtpServer` configuration
98- option; the built-in default is to search for `sendmail` in
109- `/usr/sbin`, `/usr/lib` and $PATH if such program is
11−+ option; the built-in default is to search in $PATH if such program is
10++ option; the built-in default is to search in $PATH if such program is
1211 available, falling back to `localhost` otherwise.
1312
1413 --smtp-server-port=<port>::
1514diff --git a/git-send-email.perl b/git-send-email.perl
16−index edcc6d346..8e357aeab 100755
1715--- a/git-send-email.perl
1816+++ b/git-send-email.perl
19−@@ -885,8 +885,7 @@ if (defined $initial_reply_to) {
17+@@ -944,8 +944,7 @@ if (defined $reply_to) {
2018 }
2119
2220 if (!defined $smtp_server) {
pkgs/applications/version-management/git-and-tools/git/installCheck-path.patchnew file+12
@@ -0,0 +1,12 @@
1+diff --git a/t/test-lib.sh b/t/test-lib.sh
2+--- a/t/test-lib.sh
3++++ b/t/test-lib.sh
4+@@ -923,7 +923,7 @@
5+ then
6+ GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
7+ error "Cannot run git from $GIT_TEST_INSTALLED."
8+- PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR:$PATH
9++ PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$GIT_BUILD_DIR:$PATH
10+ GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
11+ else # normal case, use ../bin-wrappers only unless $with_dashes:
12+ git_bin_dir="$GIT_BUILD_DIR/bin-wrappers"
pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patch+4−4
@@ -1,7 +1,7 @@
1−diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile
2−--- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200
3−+++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200
4−@@ -2319,8 +2319,7 @@
1+diff --git a/Makefile b/Makefile
2+--- a/Makefile
3++++ b/Makefile
4+@@ -2609,8 +2609,7 @@
55 { test "$$bindir/" = "$$execdir/" || \
66 for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
77 $(RM) "$$execdir/$$p" && \
pkgs/applications/version-management/git-and-tools/gitweb/default.nix+1−1
@@ -10,7 +10,7 @@ let
1010 sha256 = "0wksqma41z36dbv6w6iplkjfdm0ha3njp222fakyh4lismajr71p";
1111 };
1212in stdenv.mkDerivation {
13− name = "gitweb";
13+ name = "gitweb-${stdenv.lib.getVersion git}";
1414
1515 src = git.gitweb;
1616
pkgs/applications/version-management/subversion/default.nix+2
@@ -88,6 +88,8 @@ let
8888
8989 enableParallelBuilding = true;
9090
91+ doCheck = false; # fails 10 out of ~2300 tests
92+
9193 meta = {
9294 description = "A version control system intended to be a compelling replacement for CVS in the open source community";
9395 homepage = http://subversion.apache.org/;
pkgs/applications/video/lightworks/default.nix+1−1
@@ -77,7 +77,7 @@ let
7777
7878# Lightworks expects some files in /usr/share/lightworks
7979in buildFHSUserEnv rec {
80− name = "lightworks";
80+ name = "lightworks-${stdenv.lib.getVersion lightworks}";
8181
8282 targetPkgs = pkgs: [
8383 lightworks
pkgs/applications/video/omxplayer/default.nix+11−11
@@ -12,9 +12,13 @@ let
1212 sha256 = "03s1zsprz5p6gjgwwqcf7b6cvzwwid6l8k7bamx9i0f1iwkgdm0j";
1313 };
1414
15+ configurePlatforms = [];
1516 configureFlags = [
16− "--arch=arm"
17+ "--arch=${hostPlatform.parsed.cpu.name}"
18+ ] ++ stdenv.lib.optionals stdenv.hostPlatform.isAarch32 [
19+ # TODO be better with condition
1720 "--cpu=arm1176jzf-s"
21+ ] ++ [
1822 "--disable-muxers"
1923 "--enable-muxer=spdif"
2024 "--enable-muxer=adts"
@@ -42,19 +46,14 @@ let
4246 "--enable-hardcoded-tables"
4347 "--disable-runtime-cpudetect"
4448 "--disable-debug"
49+ "--arch=${hostPlatform.parsed.cpu.name}"
50+ "--target_os=${hostPlatform.parsed.kernel.name}"
51+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
52+ "--cross-prefix=${stdenv.cc.targetPrefix}"
53+ "--enable-cross-compile"
4554 ];
4655
4756 enableParallelBuilding = true;
48−
49− crossAttrs = {
50− configurePlatforms = [];
51− configureFlags = configureFlags ++ [
52− "--cross-prefix=${stdenv.cc.targetPrefix}"
53− "--enable-cross-compile"
54− "--target_os=linux"
55− "--arch=${hostPlatform.parsed.cpu.name}"
56− ];
57− };
5857
5958 meta = {
6059 homepage = http://www.ffmpeg.org/;
@@ -83,5 +82,6 @@ stdenv.mkDerivation rec {
8382 homepage = https://github.com/huceke/omxplayer;
8483 description = "Commandline OMX player for the Raspberry Pi";
8584 license = stdenv.lib.licenses.gpl2Plus;
85+ platforms = stdenv.lib.platforms.arm;
8686 };
8787}
pkgs/applications/video/vlc/default.nix+47−52
@@ -1,86 +1,81 @@
1−{ stdenv, fetchurl, xz, bzip2, perl, xorg, libdvdnav, libbluray
1+{ stdenv, fetchurl, autoreconfHook
2+, libarchive, perl, xorg, libdvdnav, libbluray
23, zlib, a52dec, libmad, faad2, ffmpeg, alsaLib
34, pkgconfig, dbus, fribidi, freefont_ttf, libebml, libmatroska
4−, libvorbis, libtheora, speex, lua5, libgcrypt, libupnp
5+, libvorbis, libtheora, speex, lua5, libgcrypt, libgpgerror, libupnp
56, libcaca, libpulseaudio, flac, schroedinger, libxml2, librsvg
6−, mpeg2dec, udev, gnutls, avahi, libcddb, libjack2, SDL, SDL_image
7+, mpeg2dec, systemd, gnutls, avahi, libcddb, libjack2, SDL, SDL_image
78, libmtp, unzip, taglib, libkate, libtiger, libv4l, samba, liboggz
8−, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
9−, libvdpau, libsamplerate, live555, fluidsynth
10−, qt4 ? null
11−, withQt5 ? false, qtbase ? null, qtx11extras ? null
9+, libass, libva-full, libdvbpsi, libdc1394, libraw1394, libopus
10+, libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
11+, onlyLibVLC ? false
12+, withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null
1213, jackSupport ? false
1314, fetchpatch
1415}:
1516
1617with stdenv.lib;
1718
18−assert (withQt5 -> qtbase != null && qtx11extras != null);
19−assert (!withQt5 -> qt4 != null);
19+assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null);
2020
2121stdenv.mkDerivation rec {
2222 name = "vlc-${version}";
23− version = "2.2.8";
23+ version = "3.0.1";
2424
2525 src = fetchurl {
2626 url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
27− sha256 = "1v32snw46rkgbdqdy3dssl2y13i8p2cr1cw1i18r6vdmiy24dw4v";
27+ sha256 = "008krfhykm9447wc1kkw82bsw3f6ikljgrqyb1sinwlxnkghqw6f";
2828 };
2929
30− # Comment-out the Qt 5.5 version check, as we do apply the relevant patch.
31− # https://trac.videolan.org/vlc/ticket/16497
32− postPatch = if (!withQt5) then null else
33− "sed '/I78ef29975181ee22429c9bd4b11d96d9e68b7a9c/s/^/: #/' -i configure";
34−
35− buildInputs =
36− [ xz bzip2 perl zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
37− libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt
38− libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
39− udev gnutls avahi libcddb SDL SDL_image libmtp unzip taglib
40− libkate libtiger libv4l samba liboggz libass libdvbpsi libva
41− xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
42− libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate live555
43− fluidsynth
44− ]
45− ++ [(if withQt5 then qtbase else qt4)]
46− ++ optional withQt5 qtx11extras
30+ # VLC uses a *ton* of libraries for various pieces of functionality, many of
31+ # which are not included here for no other reason that nobody has mentioned
32+ # needing them
33+ buildInputs = [
34+ zlib a52dec libmad faad2 ffmpeg alsaLib libdvdnav libdvdnav.libdvdread
35+ libbluray dbus fribidi libvorbis libtheora speex lua5 libgcrypt libgpgerror
36+ libupnp libcaca libpulseaudio flac schroedinger libxml2 librsvg mpeg2dec
37+ systemd gnutls avahi libcddb SDL SDL_image libmtp unzip taglib libarchive
38+ libkate libtiger libv4l samba liboggz libass libdvbpsi libva-full
39+ xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
40+ libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate live555
41+ fluidsynth wayland wayland-protocols
42+ ] ++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
4743 ++ optional jackSupport libjack2;
4844
49− nativeBuildInputs = [ pkgconfig ];
45+ nativeBuildInputs = [ autoreconfHook perl pkgconfig ];
46+
47+ enableParallelBuilding = true;
5048
5149 LIVE555_PREFIX = live555;
5250
53− preConfigure = ''
54− sed -e "s@/bin/echo@echo@g" -i configure
55− '' + optionalString withQt5 ''
56− # Make sure we only *add* "-std=c++11" to CXXFLAGS instead of overriding the
57− # values figured out by configure (for example "-g -O2").
58− sed -i -re '/^ *CXXFLAGS=("[^$"]+")? *$/s/CXXFLAGS="?/&-std=c++11 /' \
59− configure
60− '';
51+ # vlc depends on a c11-gcc wrapper script which we don't have so we need to
52+ # set the path to the compiler
53+ BUILDCC = "${stdenv.cc}/bin/gcc";
6154
62− configureFlags =
63− [ "--enable-alsa"
64− "--with-kde-solid=$out/share/apps/solid/actions"
65− "--enable-dc1394"
66− "--enable-ncurses"
67− "--enable-vdpau"
68− "--enable-dvdnav"
69− "--enable-samplerate"
70− ];
55+ postPatch = ''
56+ substituteInPlace configure \
57+ --replace /bin/echo echo
7158
72− enableParallelBuilding = true;
59+ substituteInPlace modules/text_renderer/freetype/platform_fonts.h --replace \
60+ /usr/share/fonts/truetype/freefont ${freefont_ttf}/share/fonts/truetype
61+ '';
7362
74− preBuild = ''
75− substituteInPlace modules/text_renderer/freetype.c --replace \
76− /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf \
77− ${freefont_ttf}/share/fonts/truetype/FreeSerifBold.ttf
63+ # https://github.com/NixOS/nixpkgs/pull/35124#issuecomment-370552830
64+ postFixup = ''
65+ find $out/lib/vlc/plugins -exec touch -d @1 '{}' ';'
66+ $out/lib/vlc/vlc-cache-gen $out/vlc/plugins
7867 '';
7968
69+ # Most of the libraries are auto-detected so we don't need to set a bunch of
70+ # "--enable-foo" flags here
71+ configureFlags = [
72+ "--with-kde-solid=$out/share/apps/solid/actions"
73+ ] ++ optional onlyLibVLC "--disable-vlc";
74+
8075 meta = with stdenv.lib; {
8176 description = "Cross-platform media player and streaming server";
8277 homepage = http://www.videolan.org/vlc/;
83− platforms = platforms.linux;
8478 license = licenses.lgpl21Plus;
79+ platforms = platforms.linux;
8580 };
8681}
pkgs/applications/video/vlc/plugin.nixdeleted−34
@@ -1,34 +0,0 @@
1−{ stdenv, fetchgit, vlc, autoconf, automake, libtool, pkgconfig, npapi_sdk,
2−libxcb, xlibsWrapper, gtk}:
3−
4−with stdenv.lib;
5−
6−stdenv.mkDerivation rec {
7− name = "vlc-plugin-${version}";
8− version = "2.2.2"; # This 2.2.2 builds fine with vlc 2.2.4
9−
10− src = fetchgit {
11− url = "https://code.videolan.org/videolan/npapi-vlc.git";
12− rev = "5fa6fbc11cf5bad983f57656c0085e47e18fbf20";
13− sha256 = "0k4s0657kv1mx1md8vj87scs0hz59xy7syqdsxb48w3w8gnfljs0";
14− };
15−
16− preConfigure = "sh autogen.sh";
17−
18− nativeBuildInputs = [ pkgconfig ];
19− buildInputs = [ vlc autoconf automake libtool npapi_sdk libxcb
20− xlibsWrapper gtk ];
21−
22− enableParallelBuilding = true;
23−
24− passthru = {
25− mozillaPlugin = "/lib/mozilla/plugins";
26− };
27−
28− meta = with stdenv.lib; {
29− description = "Webplugins based on libVLC (for firefox, npapi)";
30− homepage = https://code.videolan.org/videolan/npapi-vlc;
31− platforms = platforms.linux;
32− license = licenses.gpl2Plus;
33− };
34−}
pkgs/applications/virtualization/qemu/default.nix+2
@@ -119,6 +119,8 @@ stdenv.mkDerivation rec {
119119 ++ optional openGLSupport "--enable-opengl"
120120 ++ optional virglSupport "--enable-virglrenderer";
121121
122+ doCheck = false; # tries to access /dev
123+
122124 postFixup =
123125 ''
124126 for exe in $out/bin/qemu-system-* ; do
pkgs/build-support/bintools-wrapper/add-flags.sh+4−12
@@ -5,28 +5,20 @@ var_templates_list=(
55 NIX+LDFLAGS_BEFORE
66 NIX+LDFLAGS_AFTER
77 NIX+LDFLAGS_HARDEN
8+ NIX+HARDENING_ENABLE
89)
910var_templates_bool=(
1011 NIX+SET_BUILD_ID
1112 NIX+DONT_SET_RPATH
1213)
1314
14−declare -a role_infixes=()
15−if [ "${NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]; then
16− role_infixes+=(_BUILD_)
17−fi
18−if [ "${NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_HOST:-}" ]; then
19− role_infixes+=(_)
20−fi
21−if [ "${NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]; then
22− role_infixes+=(_TARGET_)
23−fi
15+accumulateRoles
2416
2517for var in "${var_templates_list[@]}"; do
26− mangleVarList "$var" "${role_infixes[@]}"
18+ mangleVarList "$var" ${role_infixes[@]+"${role_infixes[@]}"}
2719done
2820for var in "${var_templates_bool[@]}"; do
29− mangleVarBool "$var" "${role_infixes[@]}"
21+ mangleVarBool "$var" ${role_infixes[@]+"${role_infixes[@]}"}
3022done
3123
3224if [ -e @out@/nix-support/libc-ldflags ]; then
pkgs/build-support/bintools-wrapper/add-hardening.sh+46−41
@@ -1,53 +1,58 @@
1−hardeningFlags=(relro bindnow)
2−# Intentionally word-split in case 'hardeningEnable' is defined in
3−# Nix. Also, our bootstrap tools version of bash is old enough that
4−# undefined arrays trip `set -u`.
5−if [[ -v hardeningEnable[@] ]]; then
6− hardeningFlags+=(${hardeningEnable[@]})
7−fi
8−hardeningLDFlags=()
1+declare -a hardeningLDFlags=()
2+
3+declare -A hardeningEnableMap=()
94
10−declare -A hardeningDisableMap
5+# Intentionally word-split in case 'NIX_HARDENING_ENABLE' is defined in Nix. The
6+# array expansion also prevents undefined variables from causing trouble with
7+# `set -u`.
8+for flag in ${NIX_@infixSalt@_HARDENING_ENABLE-}; do
9+ hardeningEnableMap["$flag"]=1
10+done
1111
12−# Intentionally word-split in case 'hardeningDisable' is defined in Nix.
13−for flag in ${hardeningDisable[@]:-IGNORED_KEY} @hardening_unsupported_flags@
14−do
15− hardeningDisableMap[$flag]=1
12+# Remove unsupported flags.
13+for flag in @hardening_unsupported_flags@; do
14+ unset -v "hardeningEnableMap[$flag]"
1615done
1716
1817if (( "${NIX_DEBUG:-0}" >= 1 )); then
18+ declare -a allHardeningFlags=(pie relro bindnow)
19+ declare -A hardeningDisableMap=()
20+
21+ # Determine which flags were effectively disabled so we can report below.
22+ for flag in "${allHardeningFlags[@]}"; do
23+ if [[ -z "${hardeningEnableMap[$flag]-}" ]]; then
24+ hardeningDisableMap[$flag]=1
25+ fi
26+ done
27+
1928 printf 'HARDENING: disabled flags:' >&2
2029 (( "${#hardeningDisableMap[@]}" )) && printf ' %q' "${!hardeningDisableMap[@]}" >&2
2130 echo >&2
22−fi
2331
24−if [[ -z "${hardeningDisableMap[all]:-}" ]]; then
25− if (( "${NIX_DEBUG:-0}" >= 1 )); then
32+ if (( "${#hardeningEnableMap[@]}" )); then
2633 echo 'HARDENING: Is active (not completely disabled with "all" flag)' >&2;
2734 fi
28− for flag in "${hardeningFlags[@]}"
29− do
30− if [[ -z "${hardeningDisableMap[$flag]:-}" ]]; then
31− case $flag in
32− pie)
33− if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
34− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
35− hardeningLDFlags+=('-pie')
36− fi
37− ;;
38− relro)
39− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling relro >&2; fi
40− hardeningLDFlags+=('-z' 'relro')
41− ;;
42− bindnow)
43− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling bindnow >&2; fi
44− hardeningLDFlags+=('-z' 'now')
45− ;;
46− *)
47− # Ignore unsupported. Checked in Nix that at least *some*
48− # tool supports each flag.
49− ;;
50− esac
51− fi
52− done
5335fi
36+
37+for flag in "${!hardeningEnableMap[@]}"; do
38+ case $flag in
39+ pie)
40+ if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
41+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
42+ hardeningLDFlags+=('-pie')
43+ fi
44+ ;;
45+ relro)
46+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling relro >&2; fi
47+ hardeningLDFlags+=('-z' 'relro')
48+ ;;
49+ bindnow)
50+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling bindnow >&2; fi
51+ hardeningLDFlags+=('-z' 'now')
52+ ;;
53+ *)
54+ # Ignore unsupported. Checked in Nix that at least *some*
55+ # tool supports each flag.
56+ ;;
57+ esac
58+done
pkgs/build-support/bintools-wrapper/default.nix+10−4
@@ -74,7 +74,7 @@ in
7474
7575stdenv.mkDerivation {
7676 name = targetPrefix
77− + (if name != "" then name else "${bintoolsName}-wrapper")
77+ + (if name != "" then name else stdenv.lib.removePrefix targetPrefix "${bintoolsName}-wrapper")
7878 + (stdenv.lib.optionalString (bintools != null && bintoolsVersion != "") "-${bintoolsVersion}");
7979
8080 preferLocalBuild = true;
@@ -188,9 +188,15 @@ stdenv.mkDerivation {
188188 else throw "unknown emulation for platform: " + targetPlatform.config;
189189 in targetPlatform.platform.bfdEmulation or (fmt + sep + arch);
190190
191+ strictDeps = true;
191192 depsTargetTargetPropagated = extraPackages;
192193
193− setupHook = ./setup-hook.sh;
194+ wrapperName = "BINTOOLS_WRAPPER";
195+
196+ setupHooks = [
197+ ../setup-hooks/role.bash
198+ ./setup-hook.sh
199+ ];
194200
195201 postFixup =
196202 ''
@@ -289,7 +295,7 @@ stdenv.mkDerivation {
289295 set +u
290296 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
291297 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
292− substituteAll ${../cc-wrapper/utils.sh} $out/nix-support/utils.sh
298+ substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
293299
294300 ##
295301 ## Extra custom steps
@@ -300,7 +306,7 @@ stdenv.mkDerivation {
300306
301307 inherit dynamicLinker expand-response-params;
302308
303− # for substitution in utils.sh
309+ # for substitution in utils.bash
304310 expandResponseParams = "${expand-response-params}/bin/expand-response-params";
305311
306312 meta =
pkgs/build-support/bintools-wrapper/ld-wrapper.sh+3−3
@@ -14,7 +14,7 @@ if [ -n "@coreutils_bin@" ]; then
1414 PATH="@coreutils_bin@/bin"
1515fi
1616
17−source @out@/nix-support/utils.sh
17+source @out@/nix-support/utils.bash
1818
1919if [ -z "${NIX_BINTOOLS_WRAPPER_@infixSalt@_FLAGS_SET:-}" ]; then
2020 source @out@/nix-support/add-flags.sh
@@ -57,8 +57,8 @@ fi
5757
5858source @out@/nix-support/add-hardening.sh
5959
60−extraAfter=("${hardeningLDFlags[@]}")
61−extraBefore=()
60+extraAfter=()
61+extraBefore=(${hardeningLDFlags[@]+"${hardeningLDFlags[@]}"})
6262
6363if [ -z "${NIX_@infixSalt@_LDFLAGS_SET:-}" ]; then
6464 extraAfter+=($NIX_@infixSalt@_LDFLAGS)
pkgs/build-support/bintools-wrapper/setup-hook.sh+13−31
@@ -8,47 +8,25 @@ set -u
88# native compile.
99#
1010# TODO(@Ericson2314): No native exception
11−[[ -z ${crossConfig-} ]] || (( "$hostOffset" < 0 )) || return 0
11+[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0
1212
1313bintoolsWrapper_addLDVars () {
14− case $depHostOffset in
15− -1) local role='BUILD_' ;;
16− 0) local role='' ;;
17− 1) local role='TARGET_' ;;
18− *) echo "bintools-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
19− return 1 ;;
20− esac
14+ # See ../setup-hooks/role.bash
15+ local role_post role_pre
16+ getTargetRoleEnvHook
2117
2218 if [[ -d "$1/lib64" && ! -L "$1/lib64" ]]; then
23− export NIX_${role}LDFLAGS+=" -L$1/lib64"
19+ export NIX_${role_pre}LDFLAGS+=" -L$1/lib64"
2420 fi
2521
2622 if [[ -d "$1/lib" ]]; then
27− export NIX_${role}LDFLAGS+=" -L$1/lib"
23+ export NIX_${role_pre}LDFLAGS+=" -L$1/lib"
2824 fi
2925}
3026
31−case $targetOffset in
32− -1)
33− export NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_BUILD=1
34− role_pre='BUILD_'
35− role_post='_FOR_BUILD'
36− ;;
37− 0)
38− export NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_HOST=1
39− role_pre=''
40− role_post=''
41− ;;
42− 1)
43− export NIX_BINTOOLS_WRAPPER_@infixSalt@_TARGET_TARGET=1
44− role_pre='TARGET_'
45− role_post='_FOR_TARGET'
46− ;;
47− *)
48− echo "cc-wrapper: used as improper sort of dependency" >2;
49− return 1
50− ;;
51−esac
27+# See ../setup-hooks/role.bash
28+getTargetRole
29+getTargetRoleWrapper
5230
5331addEnvHooks "$targetOffset" bintoolsWrapper_addLDVars
5432
@@ -83,6 +61,10 @@ do
8361 fi
8462done
8563
64+# If unset, assume the default hardening flags.
65+: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
66+export NIX_HARDENING_ENABLE
67+
8668# No local scope in sourced file
8769unset -v role_pre role_post cmd upper_case
8870set +u
pkgs/build-support/cc-wrapper/add-flags.sh+3−14
@@ -14,26 +14,15 @@ var_templates_bool=(
1414 NIX+ENFORCE_NO_NATIVE
1515)
1616
17−# Accumulate infixes for taking in the right input parameters. See setup-hook
18−# for details.
19−declare -a role_infixes=()
20−if [ "${NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD:-}" ]; then
21− role_infixes+=(_BUILD_)
22−fi
23−if [ "${NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST:-}" ]; then
24− role_infixes+=(_)
25−fi
26−if [ "${NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET:-}" ]; then
27− role_infixes+=(_TARGET_)
28−fi
17+accumulateRoles
2918
3019# We need to mangle names for hygiene, but also take parameters/overrides
3120# from the environment.
3221for var in "${var_templates_list[@]}"; do
33− mangleVarList "$var" "${role_infixes[@]}"
22+ mangleVarList "$var" ${role_infixes[@]+"${role_infixes[@]}"}
3423done
3524for var in "${var_templates_bool[@]}"; do
36− mangleVarBool "$var" "${role_infixes[@]}"
25+ mangleVarBool "$var" ${role_infixes[@]+"${role_infixes[@]}"}
3726done
3827
3928# `-B@out@/bin' forces cc to use ld-wrapper.sh when calling ld.
pkgs/build-support/cc-wrapper/add-hardening.sh+60−55
@@ -1,67 +1,72 @@
1−hardeningFlags=(fortify stackprotector pic strictoverflow format relro bindnow)
2−# Intentionally word-split in case 'hardeningEnable' is defined in
3−# Nix. Also, our bootstrap tools version of bash is old enough that
4−# undefined arrays trip `set -u`.
5−if [[ -v hardeningEnable[@] ]]; then
6− hardeningFlags+=(${hardeningEnable[@]})
7−fi
8−hardeningCFlags=()
1+declare -a hardeningCFlags=()
2+
3+declare -A hardeningEnableMap=()
94
10−declare -A hardeningDisableMap
5+# Intentionally word-split in case 'NIX_HARDENING_ENABLE' is defined in Nix. The
6+# array expansion also prevents undefined variables from causing trouble with
7+# `set -u`.
8+for flag in ${NIX_@infixSalt@_HARDENING_ENABLE-}; do
9+ hardeningEnableMap["$flag"]=1
10+done
1111
12−# Intentionally word-split in case 'hardeningDisable' is defined in Nix.
13−for flag in ${hardeningDisable[@]:-IGNORED_KEY} @hardening_unsupported_flags@
14−do
15− hardeningDisableMap[$flag]=1
12+# Remove unsupported flags.
13+for flag in @hardening_unsupported_flags@; do
14+ unset -v "hardeningEnableMap[$flag]"
1615done
1716
1817if (( "${NIX_DEBUG:-0}" >= 1 )); then
18+ declare -a allHardeningFlags=(fortify stackprotector pie pic strictoverflow format)
19+ declare -A hardeningDisableMap=()
20+
21+ # Determine which flags were effectively disabled so we can report below.
22+ for flag in "${allHardeningFlags[@]}"; do
23+ if [[ -z "${hardeningEnableMap[$flag]-}" ]]; then
24+ hardeningDisableMap["$flag"]=1
25+ fi
26+ done
27+
1928 printf 'HARDENING: disabled flags:' >&2
2029 (( "${#hardeningDisableMap[@]}" )) && printf ' %q' "${!hardeningDisableMap[@]}" >&2
2130 echo >&2
22−fi
2331
24−if [[ -z "${hardeningDisableMap[all]:-}" ]]; then
25− if (( "${NIX_DEBUG:-0}" >= 1 )); then
32+ if (( "${#hardeningEnableMap[@]}" )); then
2633 echo 'HARDENING: Is active (not completely disabled with "all" flag)' >&2;
2734 fi
28− for flag in "${hardeningFlags[@]}"
29− do
30− if [[ -z "${hardeningDisableMap[$flag]:-}" ]]; then
31− case $flag in
32− fortify)
33− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
34− hardeningCFlags+=('-O2' '-D_FORTIFY_SOURCE=2')
35− ;;
36− stackprotector)
37− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stackprotector >&2; fi
38− hardeningCFlags+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
39− ;;
40− pie)
41− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling CFlags -fPIE >&2; fi
42− hardeningCFlags+=('-fPIE')
43− if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
44− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
45− hardeningCFlags+=('-pie')
46− fi
47− ;;
48− pic)
49− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling pic >&2; fi
50− hardeningCFlags+=('-fPIC')
51− ;;
52− strictoverflow)
53− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling strictoverflow >&2; fi
54− hardeningCFlags+=('-fno-strict-overflow')
55− ;;
56− format)
57− if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling format >&2; fi
58− hardeningCFlags+=('-Wformat' '-Wformat-security' '-Werror=format-security')
59− ;;
60− *)
61− # Ignore unsupported. Checked in Nix that at least *some*
62− # tool supports each flag.
63− ;;
64− esac
65− fi
66− done
6735fi
36+
37+for flag in "${!hardeningEnableMap[@]}"; do
38+ case $flag in
39+ fortify)
40+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling fortify >&2; fi
41+ hardeningCFlags+=('-O2' '-D_FORTIFY_SOURCE=2')
42+ ;;
43+ stackprotector)
44+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling stackprotector >&2; fi
45+ hardeningCFlags+=('-fstack-protector-strong' '--param' 'ssp-buffer-size=4')
46+ ;;
47+ pie)
48+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling CFlags -fPIE >&2; fi
49+ hardeningCFlags+=('-fPIE')
50+ if [[ ! ("$*" =~ " -shared " || "$*" =~ " -static ") ]]; then
51+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling LDFlags -pie >&2; fi
52+ hardeningCFlags+=('-pie')
53+ fi
54+ ;;
55+ pic)
56+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling pic >&2; fi
57+ hardeningCFlags+=('-fPIC')
58+ ;;
59+ strictoverflow)
60+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling strictoverflow >&2; fi
61+ hardeningCFlags+=('-fno-strict-overflow')
62+ ;;
63+ format)
64+ if (( "${NIX_DEBUG:-0}" >= 1 )); then echo HARDENING: enabling format >&2; fi
65+ hardeningCFlags+=('-Wformat' '-Wformat-security' '-Werror=format-security')
66+ ;;
67+ *)
68+ # Ignore unsupported. Checked in Nix that at least *some*
69+ # tool supports each flag.
70+ ;;
71+ esac
72+done
pkgs/build-support/cc-wrapper/cc-wrapper.sh+3−3
@@ -15,7 +15,7 @@ if [[ -n "@coreutils_bin@" && -n "@gnugrep_bin@" ]]; then
1515 PATH="@coreutils_bin@/bin:@gnugrep_bin@/bin"
1616fi
1717
18−source @out@/nix-support/utils.sh
18+source @out@/nix-support/utils.bash
1919
2020# Flirting with a layer violation here.
2121if [ -z "${NIX_BINTOOLS_WRAPPER_@infixSalt@_FLAGS_SET:-}" ]; then
@@ -134,8 +134,8 @@ fi
134134source @out@/nix-support/add-hardening.sh
135135
136136# Add the flags for the C compiler proper.
137−extraAfter=($NIX_@infixSalt@_CFLAGS_COMPILE "${hardeningCFlags[@]}")
138−extraBefore=()
137+extraAfter=($NIX_@infixSalt@_CFLAGS_COMPILE)
138+extraBefore=(${hardeningCFlags[@]+"${hardeningCFlags[@]}"})
139139
140140if [ "$dontLink" != 1 ]; then
141141
pkgs/build-support/cc-wrapper/default.nix+10−4
@@ -71,7 +71,7 @@ assert nativePrefix == bintools.nativePrefix;
7171
7272stdenv.mkDerivation {
7373 name = targetPrefix
74− + (if name != "" then name else "${ccName}-wrapper")
74+ + (if name != "" then name else stdenv.lib.removePrefix targetPrefix "${ccName}-wrapper")
7575 + (stdenv.lib.optionalString (cc != null && ccVersion != "") "-${ccVersion}");
7676
7777 preferLocalBuild = true;
@@ -188,10 +188,16 @@ stdenv.mkDerivation {
188188 wrap ${targetPrefix}gccgo ${./cc-wrapper.sh} $ccPath/${targetPrefix}gccgo
189189 '';
190190
191+ strictDeps = true;
191192 propagatedBuildInputs = [ bintools ];
192193 depsTargetTargetPropagated = extraPackages;
193194
194− setupHook = ./setup-hook.sh;
195+ wrapperName = "CC_WRAPPER";
196+
197+ setupHooks = [
198+ ../setup-hooks/role.bash
199+ ./setup-hook.sh
200+ ];
195201
196202 postFixup =
197203 ''
@@ -277,7 +283,7 @@ stdenv.mkDerivation {
277283 + ''
278284 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
279285 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
280− substituteAll ${./utils.sh} $out/nix-support/utils.sh
286+ substituteAll ${../wrapper-common/utils.bash} $out/nix-support/utils.bash
281287
282288 ##
283289 ## Extra custom steps
@@ -288,7 +294,7 @@ stdenv.mkDerivation {
288294
289295 inherit expand-response-params;
290296
291− # for substitution in utils.sh
297+ # for substitution in utils.bash
292298 expandResponseParams = "${expand-response-params}/bin/expand-response-params";
293299
294300 meta =
pkgs/build-support/cc-wrapper/setup-hook.sh+13−42
@@ -60,61 +60,28 @@ set -u
6060# native compile.
6161#
6262# TODO(@Ericson2314): No native exception
63−[[ -z ${crossConfig-} ]] || (( "$hostOffset" < 0 )) || return 0
63+[[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0
6464
6565# It's fine that any other cc-wrapper will redefine this. Bash functions close
6666# over no state, and there's no @-substitutions within, so any redefined
6767# function is guaranteed to be exactly the same.
6868ccWrapper_addCVars () {
69− # The `depHostOffset` describes how the host platform of the dependencies
70− # are slid relative to the depending package. It is brought into scope of
71− # the environment hook defined as the role of the dependency being applied.
72− case $depHostOffset in
73− -1) local role='BUILD_' ;;
74− 0) local role='' ;;
75− 1) local role='TARGET_' ;;
76− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
77− return 1 ;;
78− esac
69+ # See ../setup-hooks/role.bash
70+ local role_post role_pre
71+ getTargetRoleEnvHook
7972
8073 if [[ -d "$1/include" ]]; then
81− export NIX_${role}CFLAGS_COMPILE+=" ${ccIncludeFlag:--isystem} $1/include"
74+ export NIX_${role_pre}CFLAGS_COMPILE+=" ${ccIncludeFlag:--isystem} $1/include"
8275 fi
8376
8477 if [[ -d "$1/Library/Frameworks" ]]; then
85− export NIX_${role}CFLAGS_COMPILE+=" -F$1/Library/Frameworks"
78+ export NIX_${role_pre}CFLAGS_COMPILE+=" -F$1/Library/Frameworks"
8679 fi
8780}
8881
89−# Since the same cc-wrapper derivation can be depend on in multiple ways, we
90−# need to accumulate *each* role (i.e. target platform relative the depending
91−# derivation) in which the cc-wrapper derivation is used.
92−# `NIX_CC_WRAPPER_@infixSalt@_TARGET_*` tracks this (needs to be an exported env
93−# var so can't use fancier data structures).
94−#
95−# We also need to worry about what role is being added on *this* invocation of
96−# setup-hook, which `role` tracks.
97−case $targetOffset in
98− -1)
99− export NIX_CC_WRAPPER_@infixSalt@_TARGET_BUILD=1
100− role_pre='BUILD_'
101− role_post='_FOR_BUILD'
102− ;;
103− 0)
104− export NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST=1
105− role_pre=''
106− role_post=''
107− ;;
108− 1)
109− export NIX_CC_WRAPPER_@infixSalt@_TARGET_TARGET=1
110− role_pre='TARGET_'
111− role_post='_FOR_TARGET'
112− ;;
113− *)
114− echo "cc-wrapper: used as improper sort of dependency" >2;
115− return 1
116− ;;
117−esac
82+# See ../setup-hooks/role.bash
83+getTargetRole
84+getTargetRoleWrapper
11885
11986# We use the `targetOffset` to choose the right env hook to accumulate the right
12087# sort of deps (those with that offset).
@@ -147,6 +114,10 @@ export ${role_pre}CXX=@named_cxx@
147114export CC${role_post}=@named_cc@
148115export CXX${role_post}=@named_cxx@
149116
117+# If unset, assume the default hardening flags.
118+: ${NIX_HARDENING_ENABLE="fortify stackprotector pic strictoverflow format relro bindnow"}
119+export NIX_HARDENING_ENABLE
120+
150121# No local scope in sourced file
151122unset -v role_pre role_post
152123set +u
pkgs/build-support/rust/default.nix+1−1
@@ -91,7 +91,7 @@ in stdenv.mkDerivation (args // {
9191 installPhase = args.installPhase or ''
9292 runHook preInstall
9393 mkdir -p $out/bin
94− find target/release -maxdepth 1 -executable -exec cp "{}" $out/bin \;
94+ find target/release -maxdepth 1 -executable -type f -exec cp "{}" $out/bin \;
9595 runHook postInstall
9696 '';
9797
pkgs/build-support/setup-hooks/role.bashnew file+75
@@ -0,0 +1,75 @@
1+# Since the same derivation can be depend on in multiple ways, we need to
2+# accumulate *each* role (i.e. host and target platforms relative the depending
3+# derivation) in which the derivation is used.
4+#
5+# The role is intened to be use as part of other variables names like
6+# - $NIX_${role_pre}_SOMETHING
7+# - $NIX_SOMETHING_${role_post}
8+
9+function getRole() {
10+ case $1 in
11+ -1)
12+ role_pre='BUILD_'
13+ role_post='_FOR_BUILD'
14+ ;;
15+ 0)
16+ role_pre=''
17+ role_post=''
18+ ;;
19+ 1)
20+ role_pre='TARGET_'
21+ role_post='_FOR_TARGET'
22+ ;;
23+ *)
24+ echo "@name@: used as improper sort of dependency" >2
25+ return 1
26+ ;;
27+ esac
28+}
29+
30+# `hostOffset` describes how the host platform of the package is slid relative
31+# to the depending package. `targetOffset` likewise describes the target
32+# platform of the package. Both are brought into scope of the setup hook defined
33+# for dependency whose setup hook is being processed relative to the package
34+# being built.
35+
36+function getHostRole() {
37+ getRole "$hostOffset"
38+}
39+function getTargetRole() {
40+ getRole "$targetOffset"
41+}
42+
43+# `depHostOffset` describes how the host platform of the dependencies are slid
44+# relative to the depending package. `depTargetOffset` likewise describes the
45+# target platform of dependenices. Both are brought into scope of the
46+# environment hook defined for the dependency being applied relative to the
47+# package being built.
48+
49+function getHostRoleEnvHook() {
50+ getRole "$depHostOffset"
51+}
52+function getTargetRoleEnvHook() {
53+ getRole "$depTargetOffset"
54+}
55+
56+# This variant is inteneded specifically for code-prodocing tool wrapper scripts
57+# `NIX_@wrapperName@_@infixSalt@_TARGET_*` tracks this (needs to be an exported
58+# env var so can't use fancier data structures).
59+function getTargetRoleWrapper() {
60+ case $targetOffset in
61+ -1)
62+ export NIX_@wrapperName@_@infixSalt@_TARGET_BUILD=1
63+ ;;
64+ 0)
65+ export NIX_@wrapperName@_@infixSalt@_TARGET_HOST=1
66+ ;;
67+ 1)
68+ export NIX_@wrapperName@_@infixSalt@_TARGET_TARGET=1
69+ ;;
70+ *)
71+ echo "@name@: used as improper sort of dependency" >2
72+ return 1
73+ ;;
74+ esac
75+}
pkgs/build-support/cc-wrapper/utils.sh → pkgs/build-support/wrapper-common/utils.bashrenamed+15
@@ -1,3 +1,18 @@
1+# Accumulate infixes for taking in the right input parameters with the `mangle*`
2+# functions below. See setup-hook for details.
3+accumulateRoles() {
4+ declare -ga role_infixes=()
5+ if [ "${NIX_@wrapperName@_@infixSalt@_TARGET_BUILD:-}" ]; then
6+ role_infixes+=(_BUILD_)
7+ fi
8+ if [ "${NIX_@wrapperName@_@infixSalt@_TARGET_HOST:-}" ]; then
9+ role_infixes+=(_)
10+ fi
11+ if [ "${NIX_@wrapperName@_@infixSalt@_TARGET_TARGET:-}" ]; then
12+ role_infixes+=(_TARGET_)
13+ fi
14+}
15+
116mangleVarList() {
217 local var="$1"
318 shift
pkgs/data/fonts/liberationsansnarrow/default.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 pname = "liberationsansnarrow";
55 version = "1.07.3";
6− name = "${pname}";
6+ name = "${pname}-${version}";
77
88 src = fetchurl {
99 url = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-${version}.tar.gz";
pkgs/data/fonts/meslo-lg/default.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 version = "1.2.1";
55
6− name = "meslo-lg";
6+ name = "meslo-lg-${version}";
77
88 meslo-lg = fetchurl {
99 url="https://github.com/andreberg/Meslo-Font/blob/master/dist/v${version}/Meslo%20LG%20v${version}.zip?raw=true";
pkgs/data/fonts/mph-2b-damase/default.nix+1−1
@@ -1,7 +1,7 @@
11{stdenv, fetchzip}:
22
33fetchzip {
4− name = "MPH-2B-Damase";
4+ name = "MPH-2B-Damase-2";
55
66 url = http://www.wazu.jp/downloads/damase_v.2.zip;
77
pkgs/data/misc/poppler-data/default.nix+2−2
@@ -1,11 +1,11 @@
11{ fetchurl, stdenv, cmake, ninja }:
22
33stdenv.mkDerivation rec {
4− name = "poppler-data-0.4.8";
4+ name = "poppler-data-0.4.9";
55
66 src = fetchurl {
77 url = "http://poppler.freedesktop.org/${name}.tar.gz";
8− sha256 = "0wi8yyynladny51r4q53z7ygh7y491ayp8nqqv6wqqzjc60s35hh";
8+ sha256 = "04i0wgdkn5lhda8cyxd1ll4a2p41pwqrwd47n9mdpl7cx5ypx70z";
99 };
1010
1111 nativeBuildInputs = [ cmake ninja ];
pkgs/data/misc/tzdata/default.nix+2
@@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
3737
3838 depsBuildBuild = [ buildPackages.stdenv.cc ];
3939
40+ doCheck = false; # needs more tools
41+
4042 installFlags = [ "ZIC=./zic-native" ];
4143
4244 preInstall = ''
pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix+2
@@ -38,4 +38,6 @@ stdenv.mkDerivation rec {
3838 preConfigure = optionalString stdenv.isDarwin ''
3939 intltoolize --force
4040 '';
41+
42+ doCheck = false; # requires X11 daemon
4143}
pkgs/desktops/gnome-2/desktop/zenity/default.nix+2
@@ -13,4 +13,6 @@ stdenv.mkDerivation {
1313 buildInputs = [ gtk libglade libxml2 libxslt libX11 docbook_xml_dtd_412 ];
1414
1515 nativeBuildInputs = [ pkgconfig intltool gnome-doc-utils which ];
16+
17+ doCheck = false; # fails, tries to access the net
1618}
pkgs/desktops/gnome-2/platform/gnome-vfs/default.nix+2
@@ -21,4 +21,6 @@ stdenv.mkDerivation rec {
2121 propagatedBuildInputs = [ GConf glib ];
2222
2323 postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
24+
25+ doCheck = false; # needs dbus daemon
2426}
pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix+3
@@ -24,6 +24,9 @@ in stdenv.mkDerivation rec {
2424 meson ninja vala pkgconfig gettext itstool wrapGAppsHook gobjectIntrospection desktop-file-utils
2525 ];
2626
27+ # Required for USB redirection PolicyKit rules file
28+ propagatedUserEnvPkgs = [ spice-gtk ];
29+
2730 buildInputs = [
2831 libvirt-glib glib gtk3 gtkvnc libxml2
2932 libvirt spice-gtk spice-protocol libsoup json-glib webkitgtk libosinfo systemd
pkgs/desktops/gnome-3/core/dconf/default.nix+2
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
2323 nativeBuildInputs = [ meson ninja vala pkgconfig python3 libxslt libxml2 docbook_xsl ];
2424 buildInputs = [ glib dbus-glib ];
2525
26+ doCheck = false; # fails 2 out of 9 tests, maybe needs dbus daemon?
27+
2628 passthru = {
2729 updateScript = gnome3.updateScript {
2830 packageName = pname;
pkgs/desktops/xfce/core/xfconf.nix+2−1
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
1919 buildInputs = [ intltool glib libxfce4util ];
2020 propagatedBuildInputs = [ dbus-glib ];
2121
22+ doCheck = false; # requires dbus daemon
23+
2224 meta = with stdenv.lib; {
2325 homepage = http://docs.xfce.org/xfce/xfconf/start;
2426 description = "Simple client-server configuration storage and query system for Xfce";
@@ -26,4 +28,3 @@ stdenv.mkDerivation rec {
2628 platforms = platforms.linux;
2729 };
2830}
29−
pkgs/development/compilers/adobe-flex-sdk/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, unzip }:
22
33stdenv.mkDerivation rec {
4− name = "adobe-flex-sdk-4.0.0.14159-mpl";
4+ name = "adobe-flex-sdk-4.0.0.14159";
55
66 src = fetchurl {
77 # This is the open source distribution
pkgs/development/compilers/emscripten/fastcomp/default.nix+1−1
@@ -15,7 +15,7 @@ let
1515 '';
1616 };
1717 emscriptenfastcomp = symlinkJoin {
18− name = "emscriptenfastcomp";
18+ name = "emscriptenfastcomp-${stdenv.lib.getVersion self.emscriptenfastcomp-unwrapped}";
1919 paths = [ self.emscriptenfastcomp-wrapped self.emscriptenfastcomp-unwrapped ];
2020 preferLocalBuild = false;
2121 allowSubstitutes = true;
pkgs/development/compilers/gcc/4.8/default.nix+12−20
@@ -25,7 +25,8 @@
2525, libcCross ? null
2626, crossStageStatic ? false
2727, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2930, gnused ? null
3031, darwin ? null
3132, buildPlatform, hostPlatform, targetPlatform
@@ -154,7 +155,7 @@ let version = "4.8.5";
154155 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
155156 ]));
156157 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
157− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
158+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
158159
159160 bootstrap = targetPlatform == hostPlatform;
160161
@@ -164,7 +165,7 @@ in
164165assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
165166
166167stdenv.mkDerivation ({
167− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
168+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
168169
169170 builder = ../builder.sh;
170171
@@ -267,11 +268,7 @@ stdenv.mkDerivation ({
267268 dontDisableStatic = true;
268269
269270 # TODO(@Ericson2314): Always pass "--target" and always prefix.
270− configurePlatforms =
271− # TODO(@Ericson2314): Figure out what's going wrong with Arm
272− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
273− then []
274− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
271+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
275272
276273 configureFlags =
277274 # Basic dependencies
@@ -351,21 +348,19 @@ stdenv.mkDerivation ({
351348
352349 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
353350
354− buildFlags = if bootstrap then
355− (if profiledCompiler then "profiledbootstrap" else "bootstrap")
356− else "";
351+ buildFlags = optional
352+ (bootstrap && hostPlatform == buildPlatform)
353+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
354+
355+ dontStrip = !stripped;
356+
357+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
357358
358359 installTargets =
359360 if stripped
360361 then "install-strip"
361362 else "install";
362363
363− /* For cross-built gcc (build != host == target) */
364− crossAttrs = {
365− dontStrip = true;
366− buildFlags = "";
367− };
368−
369364 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
370365 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
371366
@@ -467,8 +462,5 @@ stdenv.mkDerivation ({
467462 installTargets = "install-gcc install-target-libgcc";
468463}
469464
470−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
471−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
472−
473465// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
474466)
pkgs/development/compilers/gcc/4.9/default.nix+12−20
@@ -25,7 +25,8 @@
2525, libcCross ? null
2626, crossStageStatic ? false
2727, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2930, gnused ? null
3031, darwin ? null
3132, buildPlatform, hostPlatform, targetPlatform
@@ -162,7 +163,7 @@ let version = "4.9.4";
162163 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
163164 ]));
164165 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
165− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
166+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
166167
167168 bootstrap = targetPlatform == hostPlatform;
168169
@@ -172,7 +173,7 @@ in
172173assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
173174
174175stdenv.mkDerivation ({
175− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
176+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
176177
177178 builder = ../builder.sh;
178179
@@ -290,11 +291,7 @@ stdenv.mkDerivation ({
290291 dontDisableStatic = true;
291292
292293 # TODO(@Ericson2314): Always pass "--target" and always prefix.
293− configurePlatforms =
294− # TODO(@Ericson2314): Figure out what's going wrong with Arm
295− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
296− then []
297− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
294+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
298295
299296 configureFlags =
300297 # Basic dependencies
@@ -373,21 +370,19 @@ stdenv.mkDerivation ({
373370
374371 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
375372
376− buildFlags = if bootstrap then
377− (if profiledCompiler then "profiledbootstrap" else "bootstrap")
378− else "";
373+ buildFlags = optional
374+ (bootstrap && hostPlatform == buildPlatform)
375+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
376+
377+ dontStrip = !stripped;
378+
379+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
379380
380381 installTargets =
381382 if stripped
382383 then "install-strip"
383384 else "install";
384385
385− /* For cross-built gcc (build != host == target) */
386− crossAttrs = {
387− dontStrip = true;
388− buildFlags = "";
389− };
390−
391386 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
392387 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
393388
@@ -485,9 +480,6 @@ stdenv.mkDerivation ({
485480 installTargets = "install-gcc install-target-libgcc";
486481}
487482
488−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
489−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
490−
491483// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
492484
493485// optionalAttrs (langJava) {
pkgs/development/compilers/gcc/5/default.nix+12−20
@@ -25,7 +25,8 @@
2525, libcCross ? null
2626, crossStageStatic ? false
2727, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2930, gnused ? null
3031, cloog # unused; just for compat with gcc4, as we override the parameter on some places
3132, darwin ? null
@@ -148,7 +149,7 @@ let version = "5.5.0";
148149 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
149150 ]));
150151 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
151− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
152+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
152153
153154 bootstrap = targetPlatform == hostPlatform;
154155
@@ -158,7 +159,7 @@ in
158159assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
159160
160161stdenv.mkDerivation ({
161− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
162+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
162163
163164 builder = ../builder.sh;
164165
@@ -292,11 +293,7 @@ stdenv.mkDerivation ({
292293 dontDisableStatic = true;
293294
294295 # TODO(@Ericson2314): Always pass "--target" and always prefix.
295− configurePlatforms =
296− # TODO(@Ericson2314): Figure out what's going wrong with Arm
297− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
298− then []
299− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
296+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
300297
301298 configureFlags =
302299 # Basic dependencies
@@ -372,21 +369,19 @@ stdenv.mkDerivation ({
372369
373370 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
374371
375− buildFlags = if bootstrap then
376− (if profiledCompiler then "profiledbootstrap" else "bootstrap")
377− else "";
372+ buildFlags = optional
373+ (bootstrap && hostPlatform == buildPlatform)
374+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
375+
376+ dontStrip = !stripped;
377+
378+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
378379
379380 installTargets =
380381 if stripped
381382 then "install-strip"
382383 else "install";
383384
384− /* For cross-built gcc (build != host == target) */
385− crossAttrs = {
386− dontStrip = true;
387− buildFlags = "";
388− };
389−
390385 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
391386 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
392387
@@ -484,8 +479,5 @@ stdenv.mkDerivation ({
484479 installTargets = "install-gcc install-target-libgcc";
485480}
486481
487−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
488−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
489−
490482// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
491483)
pkgs/development/compilers/gcc/6/default.nix+12−19
@@ -25,7 +25,8 @@
2525, libcCross ? null
2626, crossStageStatic ? false
2727, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
28+, # Strip kills static libs of other archs (hence no cross)
29+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2930, gnused ? null
3031, cloog # unused; just for compat with gcc4, as we override the parameter on some places
3132, darwin ? null
@@ -151,7 +152,7 @@ let version = "6.4.0";
151152 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
152153 ]));
153154 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
154− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
155+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
155156
156157 bootstrap = targetPlatform == hostPlatform;
157158
@@ -161,7 +162,7 @@ in
161162assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
162163
163164stdenv.mkDerivation ({
164− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
165+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
165166
166167 builder = ../builder.sh;
167168
@@ -300,11 +301,7 @@ stdenv.mkDerivation ({
300301 dontDisableStatic = true;
301302
302303 # TODO(@Ericson2314): Always pass "--target" and always prefix.
303− configurePlatforms =
304− # TODO(@Ericson2314): Figure out what's going wrong with Arm
305− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
306− then []
307− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
304+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
308305
309306 configureFlags =
310307 # Basic dependencies
@@ -380,20 +377,19 @@ stdenv.mkDerivation ({
380377
381378 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
382379
383− buildFlags =
384− optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
380+ buildFlags = optional
381+ (bootstrap && hostPlatform == buildPlatform)
382+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
383+
384+ dontStrip = !stripped;
385+
386+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
385387
386388 installTargets =
387389 if stripped
388390 then "install-strip"
389391 else "install";
390392
391− /* For cross-built gcc (build != host == target) */
392− crossAttrs = {
393− dontStrip = true;
394− buildFlags = "";
395− };
396−
397393 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
398394 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
399395
@@ -491,9 +487,6 @@ stdenv.mkDerivation ({
491487 installTargets = "install-gcc install-target-libgcc";
492488}
493489
494−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
495−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
496−
497490// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
498491
499492// optionalAttrs (langJava) {
pkgs/development/compilers/gcc/7/default.nix+18−89
@@ -2,30 +2,24 @@
22, langC ? true, langCC ? true, langFortran ? false
33, langObjC ? targetPlatform.isDarwin
44, langObjCpp ? targetPlatform.isDarwin
5−, langJava ? false
65, langGo ? false
76, profiledCompiler ? false
87, staticCompiler ? false
98, enableShared ? true
109, texinfo ? null
11−, perl ? null # optional, for texi2pod (then pod2man); required for Java
10+, perl ? null # optional, for texi2pod (then pod2man)
1211, gmp, mpfr, libmpc, gettext, which
1312, libelf # optional, for link-time optimizations (LTO)
1413, isl ? null # optional, for the Graphite optimization framework.
15−, zlib ? null, boehmgc ? null
16−, zip ? null, unzip ? null, pkgconfig ? null
17−, gtk2 ? null, libart_lgpl ? null
18−, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
19−, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
20−, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
21−, x11Support ? langJava
14+, zlib ? null
2215, enableMultilib ? false
2316, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
2417, name ? "gcc"
2518, libcCross ? null
2619, crossStageStatic ? false
2720, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
21+, # Strip kills static libs of other archs (hence no cross)
22+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2923, gnused ? null
3024, cloog # unused; just for compat with gcc4, as we override the parameter on some places
3125, darwin ? null
@@ -33,10 +27,6 @@
3327, buildPackages
3428}:
3529
36−assert langJava -> zip != null && unzip != null
37− && zlib != null && boehmgc != null
38− && perl != null; # for `--enable-java-home'
39−
4030# LTO needs libelf and zlib.
4131assert libelf != null -> zlib != null;
4232
@@ -70,29 +60,6 @@ let version = "7.3.0";
7060 })
7161 ++ optional langFortran ../gfortran-driving.patch;
7262
73− javaEcj = fetchurl {
74− # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
75− # `configure' time.
76−
77− # XXX: Eventually we might want to take it from upstream.
78− url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
79− sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
80− };
81−
82− # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a
83− # binary distribution here to allow the whole chain to be bootstrapped.
84− javaAntlr = fetchurl {
85− url = http://www.antlr.org/download/antlr-4.4-complete.jar;
86− sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz";
87− };
88−
89− xlibs = [
90− libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
91− xproto renderproto xextproto inputproto randrproto
92− ];
93−
94− javaAwtGtk = langJava && x11Support;
95−
9663 /* Cross-gcc settings (build == host != target) */
9764 crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
9865 crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
@@ -156,17 +123,14 @@ let version = "7.3.0";
156123 "--disable-decimal-float" # No final libdecnumber (it may work only in 386)
157124 ]));
158125 stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
159− crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
126+ crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else "";
160127
161128 bootstrap = targetPlatform == hostPlatform;
162129
163130in
164131
165−# We need all these X libraries when building AWT with GTK+.
166−assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
167−
168132stdenv.mkDerivation ({
169− name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
133+ name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
170134
171135 builder = ../builder.sh;
172136
@@ -262,13 +226,12 @@ stdenv.mkDerivation ({
262226
263227 # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
264228 crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
265− inherit noSysDirs staticCompiler langJava
229+ inherit noSysDirs staticCompiler
266230 libcCross crossMingw;
267231
268232 depsBuildBuild = [ buildPackages.stdenv.cc ];
269233 nativeBuildInputs = [ texinfo which gettext ]
270− ++ (optional (perl != null) perl)
271− ++ (optional javaAwtGtk pkgconfig);
234+ ++ (optional (perl != null) perl);
272235
273236 # For building runtime libs
274237 depsBuildTarget =
@@ -283,8 +246,6 @@ stdenv.mkDerivation ({
283246 targetPackages.stdenv.cc.bintools # For linking code at run-time
284247 ] ++ (optional (isl != null) isl)
285248 ++ (optional (zlib != null) zlib)
286− ++ (optionals langJava [ boehmgc zip unzip ])
287− ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs))
288249 ++ (optionals (targetPlatform != hostPlatform) [targetPackages.stdenv.cc.bintools])
289250
290251 # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
@@ -305,11 +266,7 @@ stdenv.mkDerivation ({
305266 dontDisableStatic = true;
306267
307268 # TODO(@Ericson2314): Always pass "--target" and always prefix.
308− configurePlatforms =
309− # TODO(@Ericson2314): Figure out what's going wrong with Arm
310− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
311− then []
312− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
269+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
313270
314271 configureFlags =
315272 # Basic dependencies
@@ -336,7 +293,6 @@ stdenv.mkDerivation ({
336293 ( optional langC "c"
337294 ++ optional langCC "c++"
338295 ++ optional langFortran "fortran"
339− ++ optional langJava "java"
340296 ++ optional langGo "go"
341297 ++ optional langObjC "objc"
342298 ++ optional langObjCpp "obj-c++"
@@ -357,18 +313,6 @@ stdenv.mkDerivation ({
357313 # Optional features
358314 optional (isl != null) "--with-isl=${isl}" ++
359315
360− # Java options
361− optionals langJava [
362− "--with-ecj-jar=${javaEcj}"
363−
364− # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
365− # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
366− "--enable-java-home"
367− "--with-java-home=\${prefix}/lib/jvm/jre"
368− ] ++
369− optional javaAwtGtk "--enable-java-awt=gtk" ++
370− optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
371−
372316 (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
373317 optional (targetPlatform != hostPlatform) crossConfigureFlags ++
374318 optional (!bootstrap) "--disable-bootstrap" ++
@@ -386,31 +330,25 @@ stdenv.mkDerivation ({
386330
387331 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
388332
389− buildFlags =
390− optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
333+ buildFlags = optional
334+ (bootstrap && hostPlatform == buildPlatform)
335+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
336+
337+ dontStrip = !stripped;
338+
339+ doCheck = false; # requires a lot of tools, causes a dependency cycle for stdenv
391340
392341 installTargets =
393342 if stripped
394343 then "install-strip"
395344 else "install";
396345
397− /* For cross-built gcc (build != host == target) */
398− crossAttrs = {
399− dontStrip = true;
400− buildFlags = "";
401− };
402−
403346 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
404347 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
405348
406349 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
407350 # library headers and binaries, regarless of the language being compiled.
408351 #
409− # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
410− # `--with-gmp' et al., e.g., when building
411− # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
412− # them to $CPATH and $LIBRARY_PATH in this case.
413− #
414352 # Likewise, the LTO code doesn't find zlib.
415353 #
416354 # Cross-compiling, we need gcc not to read ./specs in order to build the g++
@@ -419,9 +357,6 @@ stdenv.mkDerivation ({
419357
420358 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([]
421359 ++ optional (zlib != null) zlib
422− ++ optional langJava boehmgc
423− ++ optionals javaAwtGtk xlibs
424− ++ optionals javaAwtGtk [ gmp mpfr ]
425360 ++ optional (libpthread != null) libpthread
426361 ++ optional (libpthreadCross != null) libpthreadCross
427362
@@ -433,9 +368,6 @@ stdenv.mkDerivation ({
433368
434369 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ([]
435370 ++ optional (zlib != null) zlib
436− ++ optional langJava boehmgc
437− ++ optionals javaAwtGtk xlibs
438− ++ optionals javaAwtGtk [ gmp mpfr ]
439371 ++ optional (libpthread != null) libpthread)
440372 );
441373
@@ -476,8 +408,8 @@ stdenv.mkDerivation ({
476408
477409 longDescription = ''
478410 The GNU Compiler Collection includes compiler front ends for C, C++,
479− Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well
480− as libraries for these languages (libstdc++, libgcj, libgomp,...).
411+ Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
412+ libraries for these languages (libstdc++, libgomp,...).
481413
482414 GCC development is a part of the GNU Project, aiming to improve the
483415 compiler used in the GNU system including the GNU/Linux variant.
@@ -497,8 +429,5 @@ stdenv.mkDerivation ({
497429 installTargets = "install-gcc install-target-libgcc";
498430}
499431
500−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
501−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
502−
503432// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
504433)
pkgs/development/compilers/gcc/8/default.nix+8−17
@@ -18,7 +18,8 @@
1818, libcCross ? null
1919, crossStageStatic ? false
2020, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
21−, stripped ? true
21+, # Strip kills static libs of other archs (hence no cross)
22+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2223, gnused ? null
2324, cloog # unused; just for compat with gcc4, as we override the parameter on some places
2425, darwin ? null
@@ -260,11 +261,7 @@ stdenv.mkDerivation ({
260261 dontDisableStatic = true;
261262
262263 # TODO(@Ericson2314): Always pass "--target" and always prefix.
263− configurePlatforms =
264− # TODO(@Ericson2314): Figure out what's going wrong with Arm
265− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
266− then []
267− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
264+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
268265
269266 configureFlags =
270267 # Basic dependencies
@@ -327,20 +324,17 @@ stdenv.mkDerivation ({
327324
328325 targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
329326
330− buildFlags =
331− optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
327+ buildFlags = optional
328+ (bootstrap && hostPlatform == buildPlatform)
329+ (if profiledCompiler then "profiledbootstrap" else "bootstrap");
330+
331+ dontStrip = !stripped;
332332
333333 installTargets =
334334 if stripped
335335 then "install-strip"
336336 else "install";
337337
338− /* For cross-built gcc (build != host == target) */
339− crossAttrs = {
340− dontStrip = true;
341− buildFlags = "";
342− };
343−
344338 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
345339 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
346340
@@ -427,8 +421,5 @@ stdenv.mkDerivation ({
427421 installTargets = "install-gcc install-target-libgcc";
428422}
429423
430−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
431−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }
432−
433424// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
434425)
pkgs/development/compilers/gcc/libstdc++-hook.sh+5−2
@@ -1,2 +1,5 @@
1−export NIX_CXXSTDLIB_COMPILE+=" -isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/$(@gcc@/bin/gcc -dumpmachine)"
2−export NIX_CXXSTDLIB_LINK=" -stdlib=libstdc++"
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
4+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem $(echo -n @gcc@/include/c++/*) -isystem $(echo -n @gcc@/include/c++/*)/$(@gcc@/bin/gcc -dumpmachine)"
5+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libstdc++"
pkgs/development/compilers/gcc/snapshot/default.nix+12−84
@@ -2,30 +2,24 @@
22, langC ? true, langCC ? true, langFortran ? false
33, langObjC ? targetPlatform.isDarwin
44, langObjCpp ? targetPlatform.isDarwin
5−, langJava ? false
65, langGo ? false
76, profiledCompiler ? false
87, staticCompiler ? false
98, enableShared ? true
109, texinfo ? null
11−, perl ? null # optional, for texi2pod (then pod2man); required for Java
10+, perl ? null # optional, for texi2pod (then pod2man)
1211, gmp, mpfr, libmpc, gettext, which
1312, libelf # optional, for link-time optimizations (LTO)
1413, isl ? null # optional, for the Graphite optimization framework.
15−, zlib ? null, boehmgc ? null
16−, zip ? null, unzip ? null, pkgconfig ? null
17−, gtk2 ? null, libart_lgpl ? null
18−, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
19−, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
20−, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
21−, x11Support ? langJava
14+, zlib ? null
2215, enableMultilib ? false
2316, enablePlugin ? hostPlatform == buildPlatform # Whether to support user-supplied plug-ins
2417, name ? "gcc"
2518, libcCross ? null
2619, crossStageStatic ? false
2720, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
28−, stripped ? true
21+, # Strip kills static libs of other archs (hence no cross)
22+ stripped ? hostPlatform == buildPlatform && targetPlatform == hostPlatform
2923, gnused ? null
3024, cloog # unused; just for compat with gcc4, as we override the parameter on some places
3125, darwin ? null
@@ -34,10 +28,6 @@
3428, buildPackages
3529}:
3630
37−assert langJava -> zip != null && unzip != null
38− && zlib != null && boehmgc != null
39− && perl != null; # for `--enable-java-home'
40−
4131# LTO needs libelf and zlib.
4232assert libelf != null -> zlib != null;
4333
@@ -63,29 +53,6 @@ let version = "7-20170409";
6353 ++ optional noSysDirs ../no-sys-dirs.patch
6454 ++ optional langFortran ../gfortran-driving.patch;
6555
66− javaEcj = fetchurl {
67− # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
68− # `configure' time.
69−
70− # XXX: Eventually we might want to take it from upstream.
71− url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
72− sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
73− };
74−
75− # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a
76− # binary distribution here to allow the whole chain to be bootstrapped.
77− javaAntlr = fetchurl {
78− url = http://www.antlr.org/download/antlr-4.4-complete.jar;
79− sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz";
80− };
81−
82− xlibs = [
83− libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
84− xproto renderproto xextproto inputproto randrproto
85− ];
86−
87− javaAwtGtk = langJava && x11Support;
88−
8956 /* Cross-gcc settings (build == host != target) */
9057 crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
9158 crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
@@ -150,9 +117,6 @@ let version = "7-20170409";
150117
151118in
152119
153−# We need all these X libraries when building AWT with GTK+.
154−assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
155−
156120stdenv.mkDerivation ({
157121 name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
158122
@@ -225,13 +189,12 @@ stdenv.mkDerivation ({
225189
226190 # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
227191 crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
228− inherit noSysDirs staticCompiler langJava
192+ inherit noSysDirs staticCompiler
229193 libcCross crossMingw;
230194
231195 depsBuildBuild = [ buildPackages.stdenv.cc ];
232196 nativeBuildInputs = [ texinfo which gettext ]
233− ++ (optional (perl != null) perl)
234− ++ (optional javaAwtGtk pkgconfig);
197+ ++ (optional (perl != null) perl);
235198
236199 # For building runtime libs
237200 depsBuildTarget =
@@ -246,8 +209,6 @@ stdenv.mkDerivation ({
246209 targetPackages.stdenv.cc.bintools # For linking code at run-time
247210 ] ++ (optional (isl != null) isl)
248211 ++ (optional (zlib != null) zlib)
249− ++ (optionals langJava [ boehmgc zip unzip ])
250− ++ (optionals javaAwtGtk ([ gtk2 libart_lgpl ] ++ xlibs))
251212 ++ (optionals (targetPlatform != hostPlatform) [targetPackages.stdenv.cc.bintools])
252213
253214 # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
@@ -268,11 +229,7 @@ stdenv.mkDerivation ({
268229 dontDisableStatic = true;
269230
270231 # TODO(@Ericson2314): Always pass "--target" and always prefix.
271− configurePlatforms =
272− # TODO(@Ericson2314): Figure out what's going wrong with Arm
273− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
274− then []
275− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
232+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
276233
277234 configureFlags =
278235 # Basic dependencies
@@ -299,7 +256,6 @@ stdenv.mkDerivation ({
299256 ( optional langC "c"
300257 ++ optional langCC "c++"
301258 ++ optional langFortran "fortran"
302− ++ optional langJava "java"
303259 ++ optional langGo "go"
304260 ++ optional langObjC "objc"
305261 ++ optional langObjCpp "obj-c++"
@@ -320,17 +276,6 @@ stdenv.mkDerivation ({
320276 # Optional features
321277 optional (isl != null) "--with-isl=${isl}" ++
322278
323− # Java options
324− optionals langJava [
325− "--with-ecj-jar=${javaEcj}"
326−
327− # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
328− # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
329− "--enable-java-home"
330− "--with-java-home=\${prefix}/lib/jvm/jre"
331− ] ++
332− optional javaAwtGtk "--enable-java-awt=gtk" ++
333− optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
334279
335280 (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
336281 optional (targetPlatform != hostPlatform) crossConfigureFlags ++
@@ -351,28 +296,20 @@ stdenv.mkDerivation ({
351296 (if profiledCompiler then "profiledbootstrap" else "bootstrap")
352297 else "";
353298
299+ dontStrip = !stripped;
300+ NIX_STRIP_DEBUG = !stripped;
301+
354302 installTargets =
355303 if stripped
356304 then "install-strip"
357305 else "install";
358306
359− /* For cross-built gcc (build != host == target) */
360− crossAttrs = {
361− dontStrip = true;
362− buildFlags = "";
363− };
364−
365307 # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
366308 ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64";
367309
368310 # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
369311 # library headers and binaries, regarless of the language being compiled.
370312 #
371− # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
372− # `--with-gmp' et al., e.g., when building
373− # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
374− # them to $CPATH and $LIBRARY_PATH in this case.
375− #
376313 # Likewise, the LTO code doesn't find zlib.
377314 #
378315 # Cross-compiling, we need gcc not to read ./specs in order to build the g++
@@ -381,9 +318,6 @@ stdenv.mkDerivation ({
381318
382319 CPATH = optionals (targetPlatform == hostPlatform) (makeSearchPathOutput "dev" "include" ([]
383320 ++ optional (zlib != null) zlib
384− ++ optional langJava boehmgc
385− ++ optionals javaAwtGtk xlibs
386− ++ optionals javaAwtGtk [ gmp mpfr ]
387321 ++ optional (libpthread != null) libpthread
388322 ++ optional (libpthreadCross != null) libpthreadCross
389323
@@ -395,9 +329,6 @@ stdenv.mkDerivation ({
395329
396330 LIBRARY_PATH = optionals (targetPlatform == hostPlatform) (makeLibraryPath ([]
397331 ++ optional (zlib != null) zlib
398− ++ optional langJava boehmgc
399− ++ optionals javaAwtGtk xlibs
400− ++ optionals javaAwtGtk [ gmp mpfr ]
401332 ++ optional (libpthread != null) libpthread)
402333 );
403334
@@ -438,8 +369,8 @@ stdenv.mkDerivation ({
438369
439370 longDescription = ''
440371 The GNU Compiler Collection includes compiler front ends for C, C++,
441− Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well
442− as libraries for these languages (libstdc++, libgcj, libgomp,...).
372+ Objective-C, Fortran, OpenMP for C/C++/Fortran, and Ada, as well as
373+ libraries for these languages (libstdc++, libgomp,...).
443374
444375 GCC development is a part of the GNU Project, aiming to improve the
445376 compiler used in the GNU system including the GNU/Linux variant.
@@ -461,8 +392,5 @@ stdenv.mkDerivation ({
461392 installTargets = "install-gcc install-target-libgcc";
462393}
463394
464−# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
465−// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; NIX_STRIP_DEBUG = 0; }
466−
467395// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
468396)
pkgs/development/compilers/ghc/7.10.3.nix+2−4
@@ -138,10 +138,8 @@ stdenv.mkDerivation rec {
138138 "--disable-large-address-space"
139139 ];
140140
141− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
142− # compatability. This will be replaced with something clearer in a future
143− # masss-rebuild.
144− crossConfig = true;
141+ # Make sure we never relax`$PATH` and hooks support for compatability.
142+ strictDeps = true;
145143
146144 nativeBuildInputs = [
147145 perl libxml2 libxslt docbook_xsl docbook_xml_dtd_45 docbook_xml_dtd_42
pkgs/development/compilers/ghc/8.0.2.nix+2−4
@@ -139,10 +139,8 @@ stdenv.mkDerivation rec {
139139 "--disable-large-address-space"
140140 ];
141141
142− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
143− # compatability. This will be replaced with something clearer in a future
144− # masss-rebuild.
145− crossConfig = true;
142+ # Make sure we never relax`$PATH` and hooks support for compatability.
143+ strictDeps = true;
146144
147145 nativeBuildInputs = [
148146 perl sphinx
pkgs/development/compilers/ghc/8.2.2.nix+5−4
@@ -152,10 +152,8 @@ stdenv.mkDerivation rec {
152152 "--disable-large-address-space"
153153 ];
154154
155− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
156− # compatability. This will be replaced with something clearer in a future
157− # masss-rebuild.
158− crossConfig = true;
155+ # Make sure we never relax`$PATH` and hooks support for compatability.
156+ strictDeps = true;
159157
160158 nativeBuildInputs = [
161159 autoconf autoreconfHook automake perl python3 sphinx
@@ -178,6 +176,9 @@ stdenv.mkDerivation rec {
178176 stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
179177
180178 checkTarget = "test";
179+ doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
180+
181+ hardeningDisable = [ "format" ];
181182
182183 postInstall = ''
183184 for bin in "$out"/lib/${name}/bin/*; do
pkgs/development/compilers/ghc/8.4.2.nix+2−4
@@ -147,10 +147,8 @@ stdenv.mkDerivation rec {
147147 "--disable-large-address-space"
148148 ];
149149
150− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
151− # compatability. This will be replaced with something clearer in a future
152− # masss-rebuild.
153− crossConfig = true;
150+ # Make sure we never relax`$PATH` and hooks support for compatability.
151+ strictDeps = true;
154152
155153 nativeBuildInputs = [
156154 perl autoconf automake m4 python3
pkgs/development/compilers/ghc/head.nix+2−4
@@ -145,10 +145,8 @@ stdenv.mkDerivation rec {
145145 "--disable-large-address-space"
146146 ];
147147
148− # Hack to make sure we never to the relaxation `$PATH` and hooks support for
149− # compatability. This will be replaced with something clearer in a future
150− # masss-rebuild.
151− crossConfig = true;
148+ # Make sure we never relax`$PATH` and hooks support for compatability.
149+ strictDeps = true;
152150
153151 nativeBuildInputs = [
154152 perl autoconf automake m4 python3
pkgs/development/compilers/go/1.10.nix+2−2
@@ -25,13 +25,13 @@ in
2525
2626stdenv.mkDerivation rec {
2727 name = "go-${version}";
28− version = "1.10.1";
28+ version = "1.10.2";
2929
3030 src = fetchFromGitHub {
3131 owner = "golang";
3232 repo = "go";
3333 rev = "go${version}";
34− sha256 = "1wqwy52ibb343a4v7b9q26xa6r5jk4khfxd90wbpcayws8cxly8m";
34+ sha256 = "1lbxnlj5l9i8k1dg33dh8ndx9vspk9dkpcbg06jbbswy6kadmx6f";
3535 };
3636
3737 # perl is used for testing go vet
pkgs/development/compilers/llvm/3.4/clang.nix+4−1
@@ -29,7 +29,10 @@ stdenv.mkDerivation {
2929 # Clang expects to find LLVMgold in its own prefix
3030 # Clang expects to find sanitizer libraries in its own prefix
3131 postInstall = ''
32− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
32+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
33+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
34+ fi
35+
3336 ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
3437 '';
3538
pkgs/development/compilers/llvm/3.5/clang.nix+6−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, clang-tools-extra_src }:
1+{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src }:
22let
33 gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
44in stdenv.mkDerivation {
@@ -12,7 +12,7 @@ in stdenv.mkDerivation {
1212 mv clang-tools-extra-* $sourceRoot/tools/extra
1313 '';
1414
15− buildInputs = [ cmake libedit libxml2 llvm ];
15+ buildInputs = [ cmake libxml2 llvm ];
1616
1717 cmakeFlags = [
1818 "-DCMAKE_CXX_FLAGS=-std=c++11"
@@ -31,7 +31,10 @@ in stdenv.mkDerivation {
3131 # Clang expects to find LLVMgold in its own prefix
3232 # Clang expects to find sanitizer libraries in its own prefix
3333 postInstall = ''
34− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
34+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
35+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
36+ fi
37+
3538 ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
3639 ln -sv $out/bin/clang $out/bin/cpp
3740 '';
pkgs/development/compilers/llvm/3.5/libc++/default.nix+4−1
@@ -39,7 +39,10 @@ stdenv.mkDerivation rec {
3939
4040 linkCxxAbi = stdenv.isLinux;
4141
42− setupHook = ./setup-hook.sh;
42+ setupHooks = [
43+ ../../../../../build-support/setup-hooks/role.bash
44+ ./setup-hook.sh
45+ ];
4346
4447 meta = {
4548 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.5/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/3.7/clang/default.nix+6−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, clang-tools-extra_src }:
1+{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src }:
22
33let
44 gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
@@ -13,7 +13,7 @@ let
1313 mv clang-tools-extra-* $sourceRoot/tools/extra
1414 '';
1515
16− buildInputs = [ cmake libedit libxml2 llvm ];
16+ buildInputs = [ cmake libxml2 llvm ];
1717
1818 cmakeFlags = [
1919 "-DCMAKE_CXX_FLAGS=-std=c++11"
@@ -32,7 +32,10 @@ let
3232 # Clang expects to find LLVMgold in its own prefix
3333 # Clang expects to find sanitizer libraries in its own prefix
3434 postInstall = ''
35− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
35+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
36+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
37+ fi
38+
3639 ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
3740 ln -sv $out/bin/clang $out/bin/cpp
3841 '';
pkgs/development/compilers/llvm/3.7/libc++/default.nix+4−1
@@ -33,7 +33,10 @@ stdenv.mkDerivation rec {
3333
3434 linkCxxAbi = stdenv.isLinux;
3535
36− setupHook = ./setup-hook.sh;
36+ setupHooks = [
37+ ../../../../../build-support/setup-hooks/role.bash
38+ ./setup-hook.sh
39+ ];
3740
3841 meta = {
3942 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.7/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/3.8/clang/default.nix+6−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, clang-tools-extra_src, python }:
1+{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python }:
22
33let
44 gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
@@ -13,7 +13,7 @@ let
1313 mv clang-tools-extra-* $sourceRoot/tools/extra
1414 '';
1515
16− buildInputs = [ cmake libedit libxml2 llvm python ];
16+ buildInputs = [ cmake libxml2 llvm python ];
1717
1818 cmakeFlags = [
1919 "-DCMAKE_CXX_FLAGS=-std=c++11"
@@ -34,7 +34,10 @@ let
3434 # Clang expects to find LLVMgold in its own prefix
3535 # Clang expects to find sanitizer libraries in its own prefix
3636 postInstall = ''
37− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
37+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
38+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
39+ fi
40+
3841 ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
3942 ln -sv $out/bin/clang $out/bin/cpp
4043
pkgs/development/compilers/llvm/3.8/libc++/default.nix+4−1
@@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
3131
3232 linkCxxAbi = stdenv.isLinux;
3333
34− setupHook = ./setup-hook.sh;
34+ setupHooks = [
35+ ../../../../../build-support/setup-hooks/role.bash
36+ ./setup-hook.sh
37+ ];
3538
3639 meta = {
3740 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.8/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/3.9/clang/default.nix+6−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, clang-tools-extra_src, python }:
1+{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python }:
22
33let
44 gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
@@ -15,7 +15,7 @@ let
1515
1616 nativeBuildInputs = [ cmake ];
1717
18− buildInputs = [ libedit libxml2 llvm python ];
18+ buildInputs = [ libxml2 llvm python ];
1919
2020 cmakeFlags = [
2121 "-DCMAKE_CXX_FLAGS=-std=c++11"
@@ -36,7 +36,10 @@ let
3636 # Clang expects to find LLVMgold in its own prefix
3737 # Clang expects to find sanitizer libraries in its own prefix
3838 postInstall = ''
39− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
39+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
40+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
41+ fi
42+
4043 ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
4144 ln -sv $out/bin/clang $out/bin/cpp
4245
pkgs/development/compilers/llvm/3.9/libc++/default.nix+4−1
@@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
3131
3232 linkCxxAbi = stdenv.isLinux;
3333
34− setupHook = ./setup-hook.sh;
34+ setupHooks = [
35+ ../../../../../build-support/setup-hooks/role.bash
36+ ./setup-hook.sh
37+ ];
3538
3639 meta = {
3740 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/3.9/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/4/clang/default.nix+6−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python
1+{ stdenv, fetch, cmake, libxml2, llvm, version, release_version, clang-tools-extra_src, python
22, fixDarwinDylibNames
33, enableManpages ? false
44}:
@@ -19,7 +19,7 @@ let
1919 nativeBuildInputs = [ cmake python ]
2020 ++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
2121
22− buildInputs = [ libedit libxml2 llvm ]
22+ buildInputs = [ libxml2 llvm ]
2323 ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
2424
2525 cmakeFlags = [
@@ -52,7 +52,10 @@ let
5252 # Clang expects to find LLVMgold in its own prefix
5353 # Clang expects to find sanitizer libraries in its own prefix
5454 postInstall = ''
55− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
55+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
56+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
57+ fi
58+
5659 ln -sv ${llvm}/lib/clang/${release_version}/lib $out/lib/clang/${release_version}/
5760 ln -sv $out/bin/clang $out/bin/cpp
5861
pkgs/development/compilers/llvm/4/libc++/default.nix+4−1
@@ -44,7 +44,10 @@ stdenv.mkDerivation rec {
4444
4545 linkCxxAbi = stdenv.isLinux;
4646
47− setupHook = ./setup-hook.sh;
47+ setupHooks = [
48+ ../../../../../build-support/setup-hooks/role.bash
49+ ./setup-hook.sh
50+ ];
4851
4952 meta = {
5053 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/4/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/5/clang/default.nix+8−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python
1+{ stdenv, fetch, cmake, libxml2, llvm, version, release_version, clang-tools-extra_src, python
22, fixDarwinDylibNames
33, enableManpages ? false
44}:
@@ -9,7 +9,7 @@ let
99 name = "clang-${version}";
1010
1111 unpackPhase = ''
12− unpackFile ${fetch "cfe" "1zyh4dggxd55lnfg73c8fybnkssqcaa6bq2h4bzimnnj1jdnqpqk"}
12+ unpackFile ${fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s"}
1313 mv cfe-${version}* clang
1414 sourceRoot=$PWD/clang
1515 unpackFile ${clang-tools-extra_src}
@@ -19,7 +19,7 @@ let
1919 nativeBuildInputs = [ cmake python ]
2020 ++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
2121
22− buildInputs = [ libedit libxml2 llvm ]
22+ buildInputs = [ libxml2 llvm ]
2323 ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
2424
2525 cmakeFlags = [
@@ -50,10 +50,12 @@ let
5050
5151 outputs = [ "out" "lib" "python" ];
5252
53− # Clang expects to find LLVMgold in its own prefix
54− # Clang expects to find sanitizer libraries in its own prefix
5553 postInstall = ''
56− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
54+ # Clang expects to find LLVMgold in its own prefix
55+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
56+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
57+ fi
58+ # Clang expects to find sanitizer libraries in its own prefix
5759 ln -sv ${llvm}/lib/clang/${release_version}/lib $out/lib/clang/${release_version}/
5860 ln -sv $out/bin/clang $out/bin/cpp
5961
pkgs/development/compilers/llvm/5/default.nix+3−3
@@ -6,7 +6,7 @@
66}:
77
88let
9− release_version = "5.0.1";
9+ release_version = "5.0.2";
1010 version = release_version; # differentiating these is important for rc's
1111
1212 fetch = name: sha256: fetchurl {
@@ -14,8 +14,8 @@ let
1414 inherit sha256;
1515 };
1616
17− compiler-rt_src = fetch "compiler-rt" "1nlmm0b3wpdwxkldqp1klzv3rpqf94q2a248xgqb7aapyhbi9paf";
18− clang-tools-extra_src = fetch "clang-tools-extra" "09fjii7w43kvxvsxxs6gig9vz95vnvx1779rqd36h8kksvws3bcs";
17+ compiler-rt_src = fetch "compiler-rt" "0ipd4jdxpczgr2w6lzrabymz6dhzj69ywmyybjjc1q397zgrvziy";
18+ clang-tools-extra_src = fetch "clang-tools-extra" "018b3fiwah8f8br5i26qmzh6sjvzchpn358sn8v079m49f2jldm3";
1919
2020 # Add man output without introducing extra dependencies.
2121 overrideManOutput = drv:
pkgs/development/compilers/llvm/5/libc++/default.nix+5−2
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 name = "libc++-${version}";
55
6− src = fetch "libcxx" "003wwniwlikgh38cbqbcshc5gkiv3a2jkmbn6am9s46y5gfrk3zs";
6+ src = fetch "libcxx" "1672aaf95fgy4xsfra8pw24f6r93zwzpan1033hkcm8p2glqipvf";
77
88 postUnpack = ''
99 unpackFile ${libcxxabi.src}
@@ -40,7 +40,10 @@ stdenv.mkDerivation rec {
4040
4141 linkCxxAbi = stdenv.isLinux;
4242
43− setupHook = ./setup-hook.sh;
43+ setupHooks = [
44+ ../../../../../build-support/setup-hooks/role.bash
45+ ./setup-hook.sh
46+ ];
4447
4548 meta = {
4649 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/5/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/llvm/5/libc++abi.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation {
44 name = "libc++abi-${version}";
55
6− src = fetch "libcxxabi" "0m78yr4arlz2b9m96xcygk15m2pbz8i10snk78i3q7pjnwn1a9as";
6+ src = fetch "libcxxabi" "12lp799rskr4fc2xr64qn4jfkjnfd8b1aymvsxyn4k9ar7r9pgqv";
77
88 nativeBuildInputs = [ cmake ];
99 buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
pkgs/development/compilers/llvm/5/lld.nix+1−1
@@ -10,7 +10,7 @@
1010stdenv.mkDerivation {
1111 name = "lld-${version}";
1212
13− src = fetch "lld" "15fq2zvkliyiw5qi7ig2r8bshgbz4kzvs5in16mhfkw20l06rcym";
13+ src = fetch "lld" "1ah75rjly6747jk1zbwca3z0svr9b09ylgxd4x9ns721xir6sia6";
1414
1515 nativeBuildInputs = [ cmake ];
1616 buildInputs = [ llvm ];
pkgs/development/compilers/llvm/5/lldb.nix+1−1
@@ -17,7 +17,7 @@
1717stdenv.mkDerivation {
1818 name = "lldb-${version}";
1919
20− src = fetch "lldb" "0sipv8k37ai44m7jcf6wsbm2q41dgk3sk9m3i6823jkmg7kckhdp";
20+ src = fetch "lldb" "05j2a63yzln43852nng8a7y47spzlyr1cvdmgmbxgd29c8r0bfkq";
2121
2222 postPatch = ''
2323 # Fix up various paths that assume llvm and clang are installed in the same place
pkgs/development/compilers/llvm/5/llvm.nix+1−1
@@ -20,7 +20,7 @@
2020}:
2121
2222let
23− src = fetch "llvm" "1c07i0b61j69m578lgjkyayg419sh7sn40xb3j112nr2q2gli9sz";
23+ src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
2424
2525 # Used when creating a version-suffixed symlink of libLLVM.dylib
2626 shortVersion = with stdenv.lib;
pkgs/development/compilers/llvm/5/openmp.nix+1−1
@@ -10,7 +10,7 @@
1010stdenv.mkDerivation {
1111 name = "openmp-${version}";
1212
13− src = fetch "openmp" "0lr6r87xzg87w1q9rrh04nqpyr8c929dh4qy3csjiy7rsb6kbdmd";
13+ src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir";
1414
1515 nativeBuildInputs = [ cmake perl ];
1616 buildInputs = [ llvm ];
pkgs/development/compilers/llvm/6/clang/default.nix+5−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetch, cmake, libxml2, libedit, llvm, version, release_version, clang-tools-extra_src, python
1+{ stdenv, fetch, cmake, libxml2, llvm, version, release_version, clang-tools-extra_src, python
22, fixDarwinDylibNames
33, enableManpages ? false
44}:
@@ -19,7 +19,7 @@ let
1919 nativeBuildInputs = [ cmake python ]
2020 ++ stdenv.lib.optional enableManpages python.pkgs.sphinx;
2121
22− buildInputs = [ libedit libxml2 llvm ]
22+ buildInputs = [ libxml2 llvm ]
2323 ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
2424
2525 cmakeFlags = [
@@ -49,7 +49,9 @@ let
4949
5050 # Clang expects to find LLVMgold in its own prefix
5151 postInstall = ''
52− ln -sv ${llvm}/lib/LLVMgold.so $out/lib
52+ if [ -e ${llvm}/lib/LLVMgold.so ]; then
53+ ln -sv ${llvm}/lib/LLVMgold.so $out/lib
54+ fi
5355
5456 ln -sv $out/bin/clang $out/bin/cpp
5557
pkgs/development/compilers/llvm/6/libc++/default.nix+4−1
@@ -40,7 +40,10 @@ stdenv.mkDerivation rec {
4040
4141 linkCxxAbi = stdenv.isLinux;
4242
43− setupHook = ./setup-hook.sh;
43+ setupHooks = [
44+ ../../../../../build-support/setup-hooks/role.bash
45+ ./setup-hook.sh
46+ ];
4447
4548 meta = {
4649 homepage = http://libcxx.llvm.org/;
pkgs/development/compilers/llvm/6/libc++/setup-hook.sh+5−2
@@ -1,3 +1,6 @@
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
3+
14linkCxxAbi="@linkCxxAbi@"
2−export NIX_CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
3−export NIX_CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
5+export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
6+export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
pkgs/development/compilers/openjdk/8.nix+2
@@ -133,6 +133,8 @@ let
133133
134134 buildFlags = [ "all" ];
135135
136+ doCheck = false; # fails with "No rule to make target 'y'."
137+
136138 installPhase = ''
137139 mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
138140
pkgs/development/haskell-modules/generic-builder.nix+2−1
@@ -355,6 +355,8 @@ stdenv.mkDerivation ({
355355 runHook postBuild
356356 '';
357357
358+ inherit doCheck;
359+
358360 checkPhase = ''
359361 runHook preCheck
360362 ${setupCommand} test ${testTarget}
@@ -469,7 +471,6 @@ stdenv.mkDerivation ({
469471// optionalAttrs (postConfigure != "") { inherit postConfigure; }
470472// optionalAttrs (preBuild != "") { inherit preBuild; }
471473// optionalAttrs (postBuild != "") { inherit postBuild; }
472−// optionalAttrs (doCheck) { inherit doCheck; }
473474// optionalAttrs (doBenchmark) { inherit doBenchmark; }
474475// optionalAttrs (checkPhase != "") { inherit checkPhase; }
475476// optionalAttrs (preCheck != "") { inherit preCheck; }
pkgs/development/idris-modules/with-packages.nix+3−3
@@ -4,9 +4,9 @@
44
55let paths = stdenv.lib.closePropagation packages;
66in
7−symlinkJoin {
7+stdenv.lib.appendToName "with-packages" (symlinkJoin {
88
9− name = idris.name + "-with-packages";
9+ inherit (idris) name;
1010
1111 paths = paths ++ [idris] ;
1212
@@ -17,4 +17,4 @@ symlinkJoin {
1717 --set IDRIS_LIBRARY_PATH $out/libs
1818 '';
1919
20−}
20+})
pkgs/development/interpreters/dart/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, unzip, version }:
1+{ stdenv, fetchurl, unzip, version ? "1.24.3" }:
22
33let
44
@@ -57,9 +57,9 @@ stdenv.mkDerivation {
5757 '';
5858
5959 libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ];
60−
60+
6161 dontStrip = true;
62−
62+
6363 meta = {
6464 platforms = [ "i686-linux" "x86_64-linux" ];
6565 homepage = https://www.dartlang.org/;
pkgs/development/interpreters/guile/1.8.nix+6−10
@@ -16,7 +16,11 @@ stdenv.mkDerivation rec {
1616 setOutputFlags = false; # $dev gets into the library otherwise
1717
1818 # GCC 4.6 raises a number of set-but-unused warnings.
19− configureFlags = [ "--disable-error-on-warning" ];
19+ configureFlags = [ "--disable-error-on-warning" ]
20+ # Guile needs patching to preset results for the configure tests about
21+ # pthreads, which work only in native builds.
22+ ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
23+ "--with-threads=no";
2024
2125 depsBuildBuild = [ buildPackages.stdenv.cc ]
2226 ++ stdenv.lib.optional (hostPlatform != buildPlatform)
@@ -34,17 +38,8 @@ stdenv.mkDerivation rec {
3438 libtool
3539 ];
3640
37−
3841 patches = [ ./cpp-4.5.patch ];
3942
40− # Guile needs patching to preset results for the configure tests
41− # about pthreads, which work only in native builds.
42− preConfigure = ''
43− if test -n "$crossConfig"; then
44− configureFlags="--with-threads=no $configureFlags"
45− fi
46− '';
47−
4843 preBuild = ''
4944 sed -e '/lt_dlinit/a lt_dladdsearchdir("'$out/lib'");' -i libguile/dynl.c
5045 '';
@@ -66,6 +61,7 @@ stdenv.mkDerivation rec {
6661 # This is fixed here:
6762 # <http://git.savannah.gnu.org/cgit/guile.git/commit/?h=branch_release-1-8&id=a0aa1e5b69d6ef0311aeea8e4b9a94eae18a1aaf>.
6863 doCheck = false;
64+ doInstallCheck = doCheck;
6965
7066 setupHook = ./setup-hook.sh;
7167
pkgs/development/interpreters/guile/2.0.nix+1
@@ -89,6 +89,7 @@
8989 # make check doesn't work on darwin
9090 # On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
9191 doCheck = false;
92+ doInstallCheck = doCheck;
9293
9394 setupHook = ./setup-hook-2.0.sh;
9495
pkgs/development/interpreters/guile/default.nix+1
@@ -85,6 +85,7 @@
8585 # make check doesn't work on darwin
8686 # On Linuxes+Hydra the tests are flaky; feel free to investigate deeper.
8787 doCheck = false;
88+ doInstallCheck = doCheck;
8889
8990 setupHook = ./setup-hook-2.2.sh;
9091
pkgs/development/interpreters/perl/default.nix+2
@@ -105,6 +105,8 @@ let
105105
106106 passthru.libPrefix = "lib/perl5/site_perl";
107107
108+ doCheck = false; # some tests fail, expensive
109+
108110 # TODO: it seems like absolute paths to some coreutils is required.
109111 postInstall =
110112 ''
pkgs/development/interpreters/python/build-python-package.nix+2−1
@@ -2,6 +2,7 @@
22# and can build packages that use distutils, setuptools or flit.
33
44{ lib
5+, config
56, python
67, wrapPython
78, setuptools
@@ -19,7 +20,7 @@ let
1920 wheel-specific = import ./build-python-package-wheel.nix { };
2021 common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
2122 mkPythonDerivation = import ./mk-python-derivation.nix {
22− inherit lib python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook toPythonModule namePrefix;
23+ inherit lib config python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook toPythonModule namePrefix;
2324 };
2425in
2526
pkgs/development/interpreters/python/cpython/2.7/default.nix+8−5
@@ -31,7 +31,7 @@ with stdenv.lib;
3131
3232let
3333 majorVersion = "2.7";
34− minorVersion = "14";
34+ minorVersion = "15";
3535 minorVersionSuffix = "";
3636 pythonVersion = majorVersion;
3737 version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
@@ -40,7 +40,7 @@ let
4040
4141 src = fetchurl {
4242 url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz";
43− sha256 = "0rka541ys16jwzcnnvjp2v12m4cwgd2jp6wj4kj511p715pb5zvi";
43+ sha256 = "0x2mvz9dp11wj7p5ccvmk9s0hzjk2fa1m462p395l4r6bfnb3n92";
4444 };
4545
4646 hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
@@ -58,8 +58,6 @@ let
5858 # if DETERMINISTIC_BUILD env var is set
5959 ./deterministic-build.patch
6060
61− ./properly-detect-curses.patch
62−
6361 ] ++ optionals (x11Support && stdenv.isDarwin) [
6462 ./use-correct-tcl-tk-on-darwin.patch
6563 ] ++ optionals stdenv.isLinux [
@@ -140,7 +138,10 @@ let
140138 "ac_cv_computed_gotos=yes"
141139 "ac_cv_file__dev_ptmx=yes"
142140 "ac_cv_file__dev_ptc=yes"
143− ];
141+ ]
142+ # Never even try to use lchmod on linux,
143+ # don't rely on detecting glibc-isms.
144+ ++ optional hostPlatform.isLinux "ac_cv_func_lchmod=no";
144145
145146 postConfigure = if hostPlatform.isCygwin then ''
146147 sed -i Makefile -e 's,PYTHONPATH="$(srcdir),PYTHONPATH="$(abs_srcdir),'
@@ -241,6 +242,8 @@ in stdenv.mkDerivation {
241242
242243 enableParallelBuilding = true;
243244
245+ doCheck = false; # expensive, and fails
246+
244247 meta = {
245248 homepage = http://python.org;
246249 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/cpython/2.7/properly-detect-curses.patchdeleted−116
@@ -1,116 +0,0 @@
1−From 6dc83db69b5e29d25ba6d73646ea2e9a1097848a Mon Sep 17 00:00:00 2001
2−From: Roumen Petrov <local@example.net>
3−Date: Sun, 19 Feb 2012 16:13:24 +0200
4−Subject: [PATCH] CROSS-properly detect WINDOW _flags for different ncurses versions
5−
6−---
7− Include/py_curses.h | 5 +++++
8− configure.ac | 40 ++++++++++++++++++++++++++++++++++++++--
9− pyconfig.h.in | 6 ++++++
10− 3 files changed, 49 insertions(+), 2 deletions(-)
11−
12−diff --git a/Include/py_curses.h b/Include/py_curses.h
13−index f2c08f6..a9b5260 100644
14−--- a/Include/py_curses.h
15−+++ b/Include/py_curses.h
16−@@ -14,7 +14,9 @@
17− /* the following define is necessary for OS X 10.6; without it, the
18− Apple-supplied ncurses.h sets NCURSES_OPAQUE to 1, and then Python
19− can't get at the WINDOW flags field. */
20−+/* NOTE configure check if ncurses require such definition
21− #define NCURSES_OPAQUE 0
22−+*/
23− #endif /* __APPLE__ */
24−
25− #ifdef __FreeBSD__
26−@@ -57,9 +59,12 @@
27− #ifdef HAVE_NCURSES_H
28− /* configure was checking <curses.h>, but we will
29− use <ncurses.h>, which has all these features. */
30−+/* NOTE configure check for existence of flags
31−+ * Also flags are visible only if WINDOW structure is not opaque
32− #ifndef WINDOW_HAS_FLAGS
33− #define WINDOW_HAS_FLAGS 1
34− #endif
35−+*/
36− #ifndef MVWDELCH_IS_EXPRESSION
37− #define MVWDELCH_IS_EXPRESSION 1
38− #endif
39−diff --git a/configure.ac b/configure.ac
40−index 0a3a186..75f5142 100644
41−--- a/configure.ac
42−+++ b/configure.ac
43−@@ -4150,15 +4150,51 @@ then
44− fi
45−
46− AC_MSG_CHECKING(whether WINDOW has _flags)
47−-AC_CACHE_VAL(ac_cv_window_has_flags,
48− AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[
49− WINDOW *w;
50− w->_flags = 0;
51− ]])],
52− [ac_cv_window_has_flags=yes],
53−-[ac_cv_window_has_flags=no]))
54−+[ac_cv_window_has_flags=no])
55− AC_MSG_RESULT($ac_cv_window_has_flags)
56−
57−+py_curses_window_is_opaque=no
58−+if test no = $ac_cv_window_has_flags; then
59−+ AC_MSG_CHECKING([whether WINDOW has _flags in non-opaque structure])
60−+ AC_COMPILE_IFELSE([
61−+ AC_LANG_PROGRAM([[
62−+ #define NCURSES_OPAQUE 0
63−+ #include <curses.h>
64−+ ]],[[
65−+ WINDOW *w;
66−+ w->_flags = 0;
67−+ ]])],
68−+ [py_curses_window_is_opaque=yes])
69−+ AC_MSG_RESULT([$py_curses_window_is_opaque])
70−+fi
71−+if test yes = $py_curses_window_is_opaque; then
72−+ ac_cv_window_has_flags=yes
73−+ AC_DEFINE([NCURSES_OPAQUE], [0], [Define to 0 if you have WINDOW _flags in non-opaque structure.])
74−+fi
75−+
76−+py_curses_window_is_internal=no
77−+if test no = $ac_cv_window_has_flags; then
78−+ AC_MSG_CHECKING([whether WINDOW has _flags as internal structure])
79−+ AC_COMPILE_IFELSE([
80−+ AC_LANG_PROGRAM([[
81−+ #define NCURSES_INTERNALS 1
82−+ #include <curses.h>
83−+ ]],[[
84−+ WINDOW *w;
85−+ w->_flags = 0;
86−+ ]])],
87−+ [py_curses_window_is_internal=yes])
88−+ AC_MSG_RESULT([$py_curses_window_is_internal])
89−+fi
90−+if test yes = $py_curses_window_is_internal; then
91−+ ac_cv_window_has_flags=yes
92−+ AC_DEFINE([NCURSES_INTERNALS], [1], [Define to 1 if you have WINDOW _flags as internal structure.])
93−+fi
94−
95− if test "$ac_cv_window_has_flags" = yes
96− then
97−diff --git a/pyconfig.h.in b/pyconfig.h.in
98−index 3ca3a4f..484c817 100644
99−--- a/pyconfig.h.in
100−+++ b/pyconfig.h.in
101−@@ -1130,6 +1130,12 @@
102− /* Define if mvwdelch in curses.h is an expression. */
103− #undef MVWDELCH_IS_EXPRESSION
104−
105−+/* Define to 1 if you have WINDOW _flags as internal structure. */
106−+#undef NCURSES_INTERNALS
107−+
108−+/* Define to 0 if you have WINDOW _flags in non-opaque structure. */
109−+#undef NCURSES_OPAQUE
110−+
111− /* Define to the address where bug reports for this package should be sent. */
112− #undef PACKAGE_BUGREPORT
113−
114−--
115−1.6.4
116−
pkgs/development/interpreters/python/cpython/3.4/default.nix+20−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl
1+{ stdenv, fetchurl, fetchpatch
22, bzip2
33, expat
44, libffi
@@ -39,6 +39,8 @@ let
3939 ++ optionals x11Support [ tcl tk libX11 xproto ]
4040 ++ optionals stdenv.isDarwin [ CF configd ];
4141
42+ hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
43+
4244in stdenv.mkDerivation {
4345 name = "python3-${version}";
4446 pythonVersion = majorVersion;
@@ -69,6 +71,16 @@ in stdenv.mkDerivation {
6971 ./ld_library_path.patch
7072 ] ++ optionals (x11Support && stdenv.isDarwin) [
7173 ./use-correct-tcl-tk-on-darwin.patch
74+ ] ++ optionals hasDistutilsCxxPatch [
75+ # Fix for http://bugs.python.org/issue1222585
76+ # Upstream distutils is calling C compiler to compile C++ code, which
77+ # only works for GCC and Apple Clang. This makes distutils to call C++
78+ # compiler when needed.
79+ (fetchpatch {
80+ url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch";
81+ sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8";
82+ extraPrefix = "";
83+ })
7284 ];
7385
7486 postPatch = ''
@@ -96,7 +108,10 @@ in stdenv.mkDerivation {
96108 "--without-ensurepip"
97109 "--with-system-expat"
98110 "--with-system-ffi"
99− ];
111+ ]
112+ # Never even try to use lchmod on linux,
113+ # don't rely on detecting glibc-isms.
114+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
100115
101116 preConfigure = ''
102117 for i in /usr /sw /opt /pkg; do # improve purity
@@ -163,7 +178,7 @@ in stdenv.mkDerivation {
163178 passthru = let
164179 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
165180 in rec {
166− inherit libPrefix sitePackages x11Support;
181+ inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
167182 executable = "${libPrefix}m";
168183 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
169184 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
@@ -176,6 +191,8 @@ in stdenv.mkDerivation {
176191
177192 enableParallelBuilding = true;
178193
194+ doCheck = false; # expensive, and fails
195+
179196 meta = {
180197 homepage = http://python.org;
181198 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/cpython/3.5/default.nix+25−2
@@ -39,6 +39,8 @@ let
3939 ++ optionals x11Support [ tcl tk libX11 xproto ]
4040 ++ optionals stdenv.isDarwin [ CF configd ];
4141
42+ hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
43+
4244in stdenv.mkDerivation {
4345 name = "python3-${version}";
4446 pythonVersion = majorVersion;
@@ -67,8 +69,24 @@ in stdenv.mkDerivation {
6769 patches = [
6870 ./no-ldconfig.patch
6971 ./ld_library_path.patch
72+ ] ++ optionals stdenv.isDarwin [
73+ # Fix for https://bugs.python.org/issue24658
74+ (fetchpatch {
75+ url = "https://bugs.python.org/file45178/issue24658-3-3.6.diff";
76+ sha256 = "1x060hs80nl34mcl2ji2i7l4shxkmxwgq8h8lcmav8rjqqz1nb4a";
77+ })
7078 ] ++ optionals (x11Support && stdenv.isDarwin) [
7179 ./use-correct-tcl-tk-on-darwin.patch
80+ ] ++ optionals hasDistutilsCxxPatch [
81+ # Fix for http://bugs.python.org/issue1222585
82+ # Upstream distutils is calling C compiler to compile C++ code, which
83+ # only works for GCC and Apple Clang. This makes distutils to call C++
84+ # compiler when needed.
85+ (fetchpatch {
86+ url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch";
87+ sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8";
88+ extraPrefix = "";
89+ })
7290 ];
7391
7492 postPatch = ''
@@ -90,7 +108,10 @@ in stdenv.mkDerivation {
90108 "--without-ensurepip"
91109 "--with-system-expat"
92110 "--with-system-ffi"
93− ];
111+ ]
112+ # Never even try to use lchmod on linux,
113+ # don't rely on detecting glibc-isms.
114+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
94115
95116 preConfigure = ''
96117 for i in /usr /sw /opt /pkg; do # improve purity
@@ -157,7 +178,7 @@ in stdenv.mkDerivation {
157178 passthru = let
158179 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
159180 in rec {
160− inherit libPrefix sitePackages x11Support;
181+ inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
161182 executable = "${libPrefix}m";
162183 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
163184 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
@@ -169,6 +190,8 @@ in stdenv.mkDerivation {
169190
170191 enableParallelBuilding = true;
171192
193+ doCheck = false; # expensive, and fails
194+
172195 meta = {
173196 homepage = http://python.org;
174197 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/cpython/3.6/default.nix+25−2
@@ -42,6 +42,8 @@ let
4242 nativeBuildInputs =
4343 optional (stdenv.hostPlatform != stdenv.buildPlatform) buildPackages.python3;
4444
45+ hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);
46+
4547in stdenv.mkDerivation {
4648 name = "python3-${version}";
4749 pythonVersion = majorVersion;
@@ -69,8 +71,24 @@ in stdenv.mkDerivation {
6971
7072 patches = [
7173 ./no-ldconfig.patch
74+ ] ++ optionals stdenv.isDarwin [
75+ # Fix for https://bugs.python.org/issue24658
76+ (fetchpatch {
77+ url = "https://bugs.python.org/file45178/issue24658-3-3.6.diff";
78+ sha256 = "1x060hs80nl34mcl2ji2i7l4shxkmxwgq8h8lcmav8rjqqz1nb4a";
79+ })
7280 ] ++ optionals (x11Support && stdenv.isDarwin) [
7381 ./use-correct-tcl-tk-on-darwin.patch
82+ ] ++ optionals hasDistutilsCxxPatch [
83+ # Fix for http://bugs.python.org/issue1222585
84+ # Upstream distutils is calling C compiler to compile C++ code, which
85+ # only works for GCC and Apple Clang. This makes distutils to call C++
86+ # compiler when needed.
87+ (fetchpatch {
88+ url = "https://bugs.python.org/file47046/python-3.x-distutils-C++.patch";
89+ sha256 = "0dgdn9k2kmw4wh90vdnjcrnn97ylxgx7mbn9l87fwz6j501jqvk8";
90+ extraPrefix = "";
91+ })
7492 ];
7593
7694 postPatch = ''
@@ -113,7 +131,10 @@ in stdenv.mkDerivation {
113131 "ac_cv_computed_gotos=yes"
114132 "ac_cv_file__dev_ptmx=yes"
115133 "ac_cv_file__dev_ptc=yes"
116− ];
134+ ]
135+ # Never even try to use lchmod on linux,
136+ # don't rely on detecting glibc-isms.
137+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
117138
118139 preConfigure = ''
119140 for i in /usr /sw /opt /pkg; do # improve purity
@@ -180,7 +201,7 @@ in stdenv.mkDerivation {
180201 passthru = let
181202 pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
182203 in rec {
183− inherit libPrefix sitePackages x11Support;
204+ inherit libPrefix sitePackages x11Support hasDistutilsCxxPatch;
184205 executable = "${libPrefix}m";
185206 buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
186207 withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
@@ -193,6 +214,8 @@ in stdenv.mkDerivation {
193214
194215 enableParallelBuilding = true;
195216
217+ doCheck = false; # expensive, and fails
218+
196219 meta = {
197220 homepage = http://python.org;
198221 description = "A high-level dynamically-typed programming language";
pkgs/development/interpreters/python/mk-python-derivation.nix+3−2
@@ -1,6 +1,7 @@
11# Generic builder.
22
33{ lib
4+, config
45, python
56, wrapPython
67, setuptools
@@ -53,7 +54,7 @@
5354
5455, passthru ? {}
5556
56−, doCheck ? false
57+, doCheck ? config.doCheckByDefault or false
5758
5859, ... } @ attrs:
5960
@@ -74,7 +75,6 @@ toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attrs [
7475
7576 buildInputs = [ wrapPython ]
7677 ++ lib.optional (lib.hasSuffix "zip" (attrs.src.name or "")) unzip
77− ++ lib.optionals doCheck checkInputs
7878 ++ lib.optional catchConflicts setuptools # If we no longer propagate setuptools
7979 ++ buildInputs
8080 ++ pythonPath;
@@ -85,6 +85,7 @@ toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attrs [
8585 # Python packages don't have a checkPhase, only an installCheckPhase
8686 doCheck = false;
8787 doInstallCheck = doCheck;
88+ installCheckInputs = checkInputs;
8889
8990 postFixup = lib.optionalString (!dontWrapPythonPrograms) ''
9091 wrapPythonPrograms
pkgs/development/libraries/appstream-glib/default.nix+2
@@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
3939 "-Ddep11=false"
4040 ];
4141
42+ doCheck = false; # fails at least 1 test
43+
4244 postInstall = ''
4345 moveToOutput "share/installed-tests" "$installedTests"
4446 '';
pkgs/development/libraries/apr-util/default.nix+3−2
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030 configureFlags = [ "--with-apr=${apr.dev}" "--with-expat=${expat.dev}" ]
3131 ++ optional (!stdenv.isCygwin) "--with-crypto"
3232 ++ optional sslSupport "--with-openssl=${openssl.dev}"
33− ++ optional bdbSupport "--with-berkeley-db=${db}"
33+ ++ optional bdbSupport "--with-berkeley-db=${db.dev}"
3434 ++ optional ldapSupport "--with-ldap=ldap"
3535 ++ optionals stdenv.isCygwin
3636 [ "--without-pgsql" "--without-sqlite2" "--without-sqlite3"
@@ -44,9 +44,10 @@ stdenv.mkDerivation rec {
4444 ++ optional stdenv.isFreeBSD cyrus_sasl;
4545
4646 postInstall = ''
47− for f in $out/lib/*.la $out/lib/apr-util-1/*.la; do
47+ for f in $out/lib/*.la $out/lib/apr-util-1/*.la $dev/bin/apu-1-config; do
4848 substituteInPlace $f \
4949 --replace "${expat.dev}/lib" "${expat.out}/lib" \
50+ --replace "${db.dev}/lib" "${db.out}/lib" \
5051 --replace "${openssl.dev}/lib" "${openssl.out}/lib"
5152 done
5253
pkgs/development/libraries/at-spi2-atk/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
1616 buildInputs = [ python popt atk libX11 libICE xorg.libXtst libXi
1717 dbus-glib at-spi2-core libSM ];
1818
19+ doCheck = false; # needs dbus daemon
20+
1921 meta = with stdenv.lib; {
2022 platforms = platforms.unix;
2123 };
pkgs/development/libraries/at-spi2-core/default.nix+2
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
2323 # ToDo: on non-NixOS we create a symlink from there?
2424 configureFlags = "--with-dbus-daemondir=/run/current-system/sw/bin/";
2525
26+ doCheck = false; # needs dbus daemon
27+
2628 meta = with stdenv.lib; {
2729 platforms = platforms.unix;
2830 };
pkgs/development/libraries/avahi/default.nix+4−2
@@ -20,13 +20,15 @@ stdenv.mkDerivation rec {
2020 buildInputs = [ libdaemon dbus perl perlXMLParser glib expat libiconv ]
2121 ++ (stdenv.lib.optional qt4Support qt4);
2222
23− nativeBuildInputs = [ pkgconfig gettext intltool ];
23+ nativeBuildInputs = [ pkgconfig gettext intltool glib ];
2424
2525 configureFlags =
2626 [ "--disable-qt3" "--disable-gdbm" "--disable-mono"
2727 "--disable-gtk" "--disable-gtk3"
2828 "--${if qt4Support then "enable" else "disable"}-qt4"
29− "--disable-python" "--localstatedir=/var" "--with-distro=none" ]
29+ "--disable-python" "--localstatedir=/var" "--with-distro=none"
30+ # A systemd unit is provided by the avahi-daemon NixOS module
31+ "--with-systemdsystemunitdir=no" ]
3032 ++ stdenv.lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
3133 # autoipd won't build on darwin
3234 ++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
pkgs/development/libraries/boehm-gc/default.nix+2−2
@@ -4,14 +4,14 @@
44
55stdenv.mkDerivation rec {
66 name = "boehm-gc-${version}";
7− version = "7.6.4";
7+ version = "7.6.6";
88
99 src = fetchurl {
1010 urls = [
1111 "http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
1212 "https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
1313 ];
14− sha256 = "076dzsqqyxd3nlzs0z277vvhqjp8nv5dqi763s0m90zr6ljiyk5r";
14+ sha256 = "1p1r015a7jbpvkkbgzv1y8nxrbbp6dg0mq3ksi6ji0qdz3wfss79";
1515 };
1616
1717 buildInputs = [ libatomic_ops ];
pkgs/development/libraries/boost/generic.nix+2−2
@@ -55,11 +55,11 @@ let
5555 "--layout=${layout}"
5656 "variant=${variant}"
5757 "threading=${threading}"
58− "runtime-link=${runtime-link}"
5958 "link=${link}"
6059 "-sEXPAT_INCLUDE=${expat.dev}/include"
6160 "-sEXPAT_LIBPATH=${expat.out}/lib"
62− ] ++ optional (variant == "release") "debug-symbols=off"
61+ ] ++ optional (link != "static") "runtime-link=${runtime-link}"
62+ ++ optional (variant == "release") "debug-symbols=off"
6363 ++ optional (toolset != null) "toolset=${toolset}"
6464 ++ optional (mpi != null || hostPlatform != buildPlatform) "--user-config=user-config.jam"
6565 ++ optionals (hostPlatform.libc == "msvcrt") [
pkgs/development/libraries/c-ares/default.nix+2−2
@@ -2,11 +2,11 @@
22
33let self =
44stdenv.mkDerivation rec {
5− name = "c-ares-1.13.0";
5+ name = "c-ares-1.14.0";
66
77 src = fetchurl {
88 url = "http://c-ares.haxx.se/download/${name}.tar.gz";
9− sha256 = "19qxhv9aiw903fr808y77r6l9js0fq9m3gcaqckan9jan7qhixq3";
9+ sha256 = "0vnwmbvymw677k780kpb6sb8i3szdp89rzy8mz1fwg1657yw3ls5";
1010 };
1111
1212 meta = with stdenv.lib; {
pkgs/development/libraries/c-blosc/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, cmake }:
22
33stdenv.mkDerivation rec {
4− name = "c-blosc";
4+ name = "c-blosc-${version}";
55 version = "1.11.3";
66
77 src = fetchFromGitHub {
pkgs/development/libraries/cairo/default.nix+9−15
@@ -9,25 +9,17 @@
99
1010assert glSupport -> libGL != null;
1111
12−let inherit (stdenv.lib) optional optionals; in
13−
14−stdenv.mkDerivation rec {
15− name = "cairo-1.14.10";
12+let
13+ version = "1.15.10";
14+ inherit (stdenv.lib) optional optionals;
15+in stdenv.mkDerivation rec {
16+ name = "cairo-${version}";
1617
1718 src = fetchurl {
18− url = "http://cairographics.org/releases/${name}.tar.xz";
19− sha256 = "02banr0wxckq62nbhc3mqidfdh2q956i2r7w2hd9bjgjb238g1vy";
19+ url = "http://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${name}.tar.xz";
20+ sha256 = "14l3jll98pjdlpm8f972v0spzcsf6y5nz85y2k8iybyg6ihj5jk2";
2021 };
2122
22− patches = [
23− # from https://bugs.freedesktop.org/show_bug.cgi?id=98165
24− (fetchpatch {
25− name = "cairo-CVE-2016-9082.patch";
26− url = "https://bugs.freedesktop.org/attachment.cgi?id=127421";
27− sha256 = "03sfyaclzlglip4pvfjb4zj4dmm8mlphhxl30mb6giinkc74bfri";
28− })
29− ];
30−
3123 outputs = [ "out" "dev" "devdoc" ];
3224 outputBin = "dev"; # very small
3325
@@ -80,6 +72,8 @@ stdenv.mkDerivation rec {
8072
8173 enableParallelBuilding = true;
8274
75+ doCheck = false; # fails
76+
8377 postInstall = stdenv.lib.optionalString stdenv.isDarwin glib.flattenInclude;
8478
8579 meta = with stdenv.lib; {
pkgs/development/libraries/celt/generic.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
1616 buildInputs = []
1717 ++ stdenv.lib.optional liboggSupport libogg;
1818
19+ doCheck = false; # fails
20+
1921 meta = with stdenv.lib; {
2022 description = "Ultra-low delay audio codec";
2123 homepage = http://www.celt-codec.org/;
pkgs/development/libraries/ctpp2/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
1616 sed -ie 's/<stdlib.h>/<stdlib.h>\n#include <unistd.h>/' src/CTPP2FileSourceLoader.cpp
1717 '';
1818
19+ doCheck = false; # fails
20+
1921 meta = {
2022 description = "A high performance templating engine";
2123 homepage = http://ctpp.havoc.ru;
pkgs/development/libraries/db/generic.nix+2
@@ -20,6 +20,8 @@ stdenv.mkDerivation (rec {
2020
2121 patches = extraPatches;
2222
23+ outputs = [ "bin" "out" "dev" ];
24+
2325 configureFlags =
2426 [
2527 (if cxxSupport then "--enable-cxx" else "--disable-cxx")
pkgs/development/libraries/dbus-glib/default.nix+3−3
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
22
33stdenv.mkDerivation rec {
4− name = "dbus-glib-0.108";
4+ name = "dbus-glib-0.110";
55
66 src = fetchurl {
77 url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
8− sha256 = "0b307hw9j41npzr6niw1bs6ryp87m5yafg492gqwvsaj4dz0qd4z";
8+ sha256 = "09g8swvc95bk1z6j8sw463p2v0dqmgm2zjfndf7i8sbcyq67dr3w";
99 };
1010
1111 outputs = [ "out" "dev" "devdoc" ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 configureFlagsArray+=("--exec-prefix=$dev")
2222 '';
2323
24− doCheck = true;
24+ doCheck = false;
2525
2626 passthru = { inherit dbus glib; };
2727
pkgs/development/libraries/dbus/default.nix+2−2
@@ -6,8 +6,8 @@ assert x11Support -> libX11 != null
66 && libSM != null;
77
88let
9− version = "1.12.6";
10− sha256 = "05picaq8j60wlwyi84qvw5liw3nd0cws9va3krnc3pms0wm906v2";
9+ version = "1.12.8";
10+ sha256 = "1cvfi7jiby12h0f5gbysphhk99m6mch87ab3cqxkj0w36gkrkp72";
1111
1212self = stdenv.mkDerivation {
1313 name = "dbus-${version}";
pkgs/development/libraries/eigen/default.nix+5−3
@@ -5,19 +5,21 @@ let
55in
66stdenv.mkDerivation {
77 name = "eigen-${version}";
8−
8+
99 src = fetchurl {
1010 url = "http://bitbucket.org/eigen/eigen/get/${version}.tar.gz";
1111 name = "eigen-${version}.tar.gz";
1212 sha256 = "00l52y7m276gh8wjkqqcxz6x687azrm7a70s3iraxnpy9bxa9y04";
1313 };
14−
14+
1515 nativeBuildInputs = [ cmake ];
1616
17+ doCheck = false; # a couple of tests fail with "Child aborted"
18+
1719 postInstall = ''
1820 sed -e '/Cflags:/s@''${prefix}/@@' -i "$out"/share/pkgconfig/eigen3.pc
1921 '';
20−
22+
2123 meta = with stdenv.lib; {
2224 description = "C++ template library for linear algebra: vectors, matrices, and related algorithms";
2325 license = licenses.lgpl3Plus;
pkgs/development/libraries/enchant/2.x.nix+2
@@ -17,6 +17,8 @@ in stdenv.mkDerivation rec {
1717 buildInputs = [ glib hunspell ];
1818 propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
1919
20+ doCheck = false; # fails to compile with with "UnitTest++.h: No such file or directory"
21+
2022 meta = with stdenv.lib; {
2123 description = "Generic spell checking library";
2224 homepage = https://abiword.github.io/enchant/;
pkgs/development/libraries/epoxy/default.nix+4−2
@@ -6,13 +6,13 @@ with stdenv.lib;
66
77stdenv.mkDerivation rec {
88 name = "epoxy-${version}";
9− version = "1.5.0";
9+ version = "1.5.1";
1010
1111 src = fetchFromGitHub {
1212 owner = "anholt";
1313 repo = "libepoxy";
1414 rev = "${version}";
15− sha256 = "1ixpqb10pmdy3n9nxd5inflig9dal5502ggadcns5b58j6jr0yv0";
15+ sha256 = "1811agxr7g9wd832np8sw152j468kg3qydmfkc564v54ncfcgaci";
1616 };
1717
1818 outputs = [ "out" "dev" ];
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
2929
3030 NIX_CFLAGS_COMPILE = ''-DLIBGL_PATH="${getLib libGL}/lib"'';
3131
32+ doCheck = false; # needs X11
33+
3234 meta = {
3335 description = "A library for handling OpenGL function pointer management";
3436 homepage = https://github.com/anholt/libepoxy;
pkgs/development/libraries/ffmpeg-full/default.nix+6−15
@@ -250,7 +250,10 @@ stdenv.mkDerivation rec {
250250 --replace /usr/local/lib/frei0r-1 ${frei0r}/lib/frei0r-1
251251 '';
252252
253+ configurePlatforms = [];
253254 configureFlags = [
255+ "--target_os=${hostPlatform.parsed.kernel.name}"
256+ "--arch=${hostPlatform.parsed.cpu.name}"
254257 /*
255258 * Licensing flags
256259 */
@@ -371,8 +374,6 @@ stdenv.mkDerivation rec {
371374 #(enableFeature quvi "libquvi")
372375 (enableFeature (rtmpdump != null) "librtmp")
373376 #(enableFeature (schroedinger != null) "libschroedinger")
374− #(enableFeature (shine != null) "libshine")
375− (enableFeature (samba != null && gplLicensing && version3Licensing) "libsmbclient")
376377 (enableFeature (SDL2 != null) "sdl2")
377378 (enableFeature (soxr != null) "libsoxr")
378379 (enableFeature (speex != null) "libspeex")
@@ -396,6 +397,9 @@ stdenv.mkDerivation rec {
396397 (enableFeature optimizationsDeveloper "optimizations")
397398 (enableFeature extraWarningsDeveloper "extra-warnings")
398399 (enableFeature strippingDeveloper "stripping")
400+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
401+ "--cross-prefix=${stdenv.cc.targetPrefix}"
402+ "--enable-cross-compile"
399403 ];
400404
401405 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
@@ -432,21 +436,8 @@ stdenv.mkDerivation rec {
432436 done
433437 '';
434438
435−
436439 enableParallelBuilding = true;
437440
438− /* Cross-compilation is untested, consider this an outline, more work
439− needs to be done to portions of the build to get it to work correctly */
440− crossAttrs = {
441− configurePlatforms = [];
442− configureFlags = configureFlags ++ [
443− "--cross-prefix=${stdenv.cc.targetPrefix}"
444− "--enable-cross-compile"
445− "--target_os=${hostPlatform.parsed.kernel.name}"
446− "--arch=${hostPlatform.parsed.cpu.name}"
447− ];
448− };
449−
450441 meta = with stdenv.lib; {
451442 description = "A complete, cross-platform solution to record, convert and stream audio and video";
452443 homepage = https://www.ffmpeg.org/;
pkgs/development/libraries/ffmpeg/generic.nix+8−13
@@ -79,7 +79,10 @@ stdenv.mkDerivation rec {
7979 ++ optional (reqMin "1.0") "doc" ; # just dev-doc
8080 setOutputFlags = false; # doesn't accept all and stores configureFlags in libs!
8181
82+ configurePlatforms = [];
8283 configureFlags = [
84+ "--arch=${hostPlatform.parsed.cpu.name}"
85+ "--target_os=${hostPlatform.parsed.kernel.name}"
8386 # License
8487 "--enable-gpl"
8588 "--enable-version3"
@@ -145,6 +148,9 @@ stdenv.mkDerivation rec {
145148 "--disable-stripping"
146149 # Disable mmx support for 0.6.90
147150 (verFix null "0.6.90" "--disable-mmx")
151+ ] ++ optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
152+ "--cross-prefix=${stdenv.cc.targetPrefix}"
153+ "--enable-cross-compile"
148154 ] ++ optional stdenv.cc.isClang "--cc=clang";
149155
150156 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
@@ -160,26 +166,15 @@ stdenv.mkDerivation rec {
160166 ++ optional vdpauSupport libvdpau
161167 ++ optional sdlSupport (if reqMin "3.2" then SDL2 else SDL);
162168
163−
164169 enableParallelBuilding = true;
165170
171+ doCheck = false; # fails
172+
166173 postFixup = ''
167174 moveToOutput bin "$bin"
168175 moveToOutput share/ffmpeg/examples "$doc"
169176 '';
170177
171− /* Cross-compilation is untested, consider this an outline, more work
172− needs to be done to portions of the build to get it to work correctly */
173− crossAttrs = {
174− configurePlatforms = [];
175− configureFlags = configureFlags ++ [
176− "--cross-prefix=${stdenv.cc.targetPrefix}"
177− "--enable-cross-compile"
178− "--target_os=${hostPlatform.parsed.kernel.name}"
179− "--arch=${hostPlatform.parsed.cpu.name}"
180− ];
181− };
182−
183178 installFlags = [ "install-man" ];
184179
185180 passthru = {
pkgs/development/libraries/fontconfig/2.10.nix+3−11
@@ -17,23 +17,15 @@ stdenv.mkDerivation rec {
1717 buildInputs = [ expat ];
1818
1919 configureFlags = [
20+ "--with-arch=${hostPlatform.parsed.cpu.name}"
2021 "--sysconfdir=/etc"
2122 "--with-cache-dir=/var/cache/fontconfig"
2223 "--disable-docs"
2324 "--with-default-fonts="
25+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
26+ "--with-arch=${hostPlatform.parsed.cpu.name}"
2427 ];
2528
26− # We should find a better way to access the arch reliably.
27− crossArch = if stdenv.hostPlatform != stdenv.buildPlatform
28− then hostPlatform.parsed.cpu.name
29− else null;
30−
31− preConfigure = ''
32− if test -n "$crossConfig"; then
33− configureFlags="$configureFlags --with-arch=$crossArch";
34− fi
35− '';
36−
3729 enableParallelBuilding = true;
3830
3931 doCheck = true;
pkgs/development/libraries/fontconfig/default.nix+3−11
@@ -40,23 +40,15 @@ stdenv.mkDerivation rec {
4040 buildInputs = [ expat ];
4141
4242 configureFlags = [
43+ "--with-arch=${hostPlatform.parsed.cpu.name}"
4344 "--with-cache-dir=/var/cache/fontconfig" # otherwise the fallback is in $out/
4445 "--disable-docs"
4546 # just <1MB; this is what you get when loading config fails for some reason
4647 "--with-default-fonts=${dejavu_fonts.minimal}"
48+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
49+ "--with-arch=${hostPlatform.parsed.cpu.name}"
4750 ];
4851
49− # We should find a better way to access the arch reliably.
50− crossArch = if stdenv.hostPlatform != stdenv.buildPlatform
51− then hostPlatform.parsed.cpu.name
52− else null;
53−
54− preConfigure = ''
55− if test -n "$crossConfig"; then
56− configureFlags="$configureFlags --with-arch=$crossArch";
57− fi
58− '';
59−
6052 enableParallelBuilding = true;
6153
6254 doCheck = true;
pkgs/development/libraries/gdk-pixbuf/default.nix+57−20
@@ -1,40 +1,74 @@
1−{ stdenv, fetchurl, pkgconfig, glib, libtiff, libjpeg, libpng, libX11, gnome3
2−, jasper, gobjectIntrospection, doCheck ? false }:
1+{ stdenv, fetchurl, fetchgit, fetchpatch, meson, ninja, pkgconfig, gettext, python3, libxml2, libxslt, docbook_xsl
2+, docbook_xml_dtd_43, gtk-doc, glib, libtiff, libjpeg, libpng, libX11, gnome3
3+, jasper, gobjectIntrospection, doCheck ? false, makeWrapper }:
34
45let
56 pname = "gdk-pixbuf";
6− version = "2.36.7";
7− # TODO: since 2.36.8 gdk-pixbuf gets configured to use mime-type sniffing,
8− # which apparently requires access to shared-mime-info files during runtime.
7+ version = "2.36.12";
98in
109stdenv.mkDerivation rec {
1110 name = "${pname}-${version}";
1211
13− src = fetchurl {
14− url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
15− sha256 = "1b6e5eef09d98f05f383014ecd3503e25dfb03d7e5b5f5904e5a65b049a6a4d8";
12+ # TODO: Change back once tests/bug753605-atsize.jpg is part of the dist tarball
13+ # src = fetchurl {
14+ # url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
15+ # sha256 = "0d534ysa6n9prd17wwzisq7mj6qkhwh8wcf8qgin1ar3hbs5ry7z";
16+ # };
17+ src = fetchgit {
18+ url = https://git.gnome.org/browse/gdk-pixbuf;
19+ rev = version;
20+ sha256 = "18lwqg63vyap2m1mw049rnb8fm869429xbf7636a2n21gs3d3jwv";
1621 };
1722
18− outputs = [ "out" "dev" "devdoc" ];
23+ patches = [
24+ # TODO: since 2.36.8 gdk-pixbuf gets configured to use mime-type sniffing,
25+ # which requires access to shared-mime-info files during runtime.
26+ # For now, we are patching the build script to avoid the dependency.
27+ ./no-mime-sniffing.patch
1928
20− setupHook = ./setup-hook.sh;
29+ # Fix installed tests with meson
30+ # https://bugzilla.gnome.org/show_bug.cgi?id=795527
31+ (fetchurl {
32+ url = https://bugzilla.gnome.org/attachment.cgi?id=371381;
33+ sha256 = "0nl1cixkjfa5kcfh0laz8h6hdsrpdkxqn7a1k35jrb6zwc9hbydn";
34+ })
35+
36+ # Add missing test file bug753605-atsize.jpg
37+ (fetchpatch {
38+ url = https://git.gnome.org/browse/gdk-pixbuf/patch/?id=87f8f4bf01dfb9982c1ef991e4060a5e19fdb7a7;
39+ sha256 = "1slzywwnrzfx3zjzdsxrvp4g2q4skmv50pdfmyccp41j7bfyb2j0";
40+ })
2141
22− enableParallelBuilding = true;
42+ # Move installed tests to a separate output
43+ ./installed-tests-path.patch
44+ ];
45+
46+ outputs = [ "out" "dev" "man" "devdoc" "installedTests" ];
47+
48+ setupHook = ./setup-hook.sh;
2349
2450 # !!! We might want to factor out the gdk-pixbuf-xlib subpackage.
25− buildInputs = [ libX11 gobjectIntrospection ];
51+ buildInputs = [ libX11 ];
2652
27− nativeBuildInputs = [ pkgconfig ];
53+ nativeBuildInputs = [
54+ meson ninja pkgconfig gettext python3 libxml2 libxslt docbook_xsl docbook_xml_dtd_43
55+ gtk-doc gobjectIntrospection makeWrapper
56+ ];
2857
2958 propagatedBuildInputs = [ glib libtiff libjpeg libpng jasper ];
3059
31− configureFlags = "--with-libjasper --with-x11"
32− + stdenv.lib.optionalString (gobjectIntrospection != null) " --enable-introspection=yes"
33− ;
60+ mesonFlags = [
61+ "-Ddocs=true"
62+ "-Djasper=true"
63+ "-Dx11=true"
64+ "-Dgir=${if gobjectIntrospection != null then "true" else "false"}"
65+ ];
66+
67+ postPatch = ''
68+ chmod +x build-aux/* # patchShebangs only applies to executables
69+ patchShebangs build-aux
3470
35− # on darwin, tests don't link
36− preBuild = stdenv.lib.optionalString (stdenv.isDarwin && !doCheck) ''
37− substituteInPlace Makefile --replace "docs tests" "docs"
71+ substituteInPlace tests/meson.build --subst-var-by installedtestsprefix "$installedTests"
3872 '';
3973
4074 postInstall =
@@ -42,10 +76,13 @@ stdenv.mkDerivation rec {
4276 ''
4377 moveToOutput "bin" "$dev"
4478 moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
79+
80+ # We need to install 'loaders.cache' in lib/gdk-pixbuf-2.0/2.10.0/
81+ $dev/bin/gdk-pixbuf-query-loaders --update-cache
4582 '';
4683
4784 # The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).
48− inherit (doCheck);
85+ inherit doCheck;
4986
5087 passthru = {
5188 updateScript = gnome3.updateScript {
pkgs/development/libraries/gdk-pixbuf/installed-tests-path.patchnew file+13
@@ -0,0 +1,13 @@
1+--- a/tests/meson.build
2++++ b/tests/meson.build
3+@@ -85,8 +85,8 @@
4+ 'aero.gif',
5+ ]
6+
7+-installed_test_bindir = join_paths(gdk_pixbuf_libexecdir, 'installed-tests', meson.project_name())
8+-installed_test_datadir = join_paths(gdk_pixbuf_datadir, 'installed-tests', meson.project_name())
9++installed_test_bindir = join_paths('@installedtestsprefix@', 'libexec', 'installed-tests', meson.project_name())
10++installed_test_datadir = join_paths('@installedtestsprefix@', 'share', 'installed-tests', meson.project_name())
11+
12+ install_data(test_data, install_dir: installed_test_bindir)
13+ install_subdir('test-images', install_dir: installed_test_bindir)
pkgs/development/libraries/gdk-pixbuf/no-mime-sniffing.patchnew file+18
@@ -0,0 +1,18 @@
1+--- a/meson.build
2++++ b/meson.build
3+@@ -186,13 +186,8 @@
4+ gmodule_dep = dependency('gmodule-no-export-2.0')
5+ gio_dep = dependency('gio-2.0')
6+
7+-# On non-Windows/macOS systems we always required shared-mime-info and GIO
8+-if host_system != 'windows' and host_system != 'darwin'
9+- shared_mime_dep = dependency('shared-mime-info')
10+- gdk_pixbuf_conf.set('GDK_PIXBUF_USE_GIO_MIME', 1)
11+-else
12+- shared_mime_dep = []
13+-endif
14++# No MIME sniffing for now
15++shared_mime_dep = []
16+
17+ gdk_pixbuf_deps = [ mathlib_dep, gobject_dep, gmodule_dep, gio_dep, shared_mime_dep ]
18+
pkgs/development/libraries/gegl/default.nix+2
@@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
2525
2626 nativeBuildInputs = [ pkgconfig ];
2727
28+ doCheck = false; # fails 3 out of 19 tests
29+
2830 meta = {
2931 description = "Graph-based image processing framework";
3032 homepage = http://www.gegl.org;
pkgs/development/libraries/geoclue/2.0.nix+2−2
@@ -5,11 +5,11 @@
55with stdenv.lib;
66
77stdenv.mkDerivation rec {
8− name = "geoclue-2.4.7";
8+ name = "geoclue-2.4.8";
99
1010 src = fetchurl {
1111 url = "http://www.freedesktop.org/software/geoclue/releases/2.4/${name}.tar.xz";
12− sha256 = "19hfmr8fa1js8ynazdyjxlyrqpjn6m1719ay70ilga4rayxrcyyi";
12+ sha256 = "08yg1r7m0n9hwyvcy769qkmkf8lslqwv69cjfffwnc3zm5km25qj";
1313 };
1414
1515 outputs = [ "out" "dev" ];
pkgs/development/libraries/gettext/default.nix+16−17
@@ -16,12 +16,19 @@ stdenv.mkDerivation rec {
1616
1717 LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
1818
19− configureFlags = [ "--disable-csharp" "--with-xz" ]
19+ configureFlags = [
20+ "--disable-csharp" "--with-xz"
2021 # avoid retaining reference to CF during stdenv bootstrap
21− ++ lib.optionals stdenv.isDarwin [
22− "gt_cv_func_CFPreferencesCopyAppValue=no"
23− "gt_cv_func_CFLocaleCopyCurrent=no"
24− ];
22+ ] ++ lib.optionals stdenv.isDarwin [
23+ "gt_cv_func_CFPreferencesCopyAppValue=no"
24+ "gt_cv_func_CFLocaleCopyCurrent=no"
25+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
26+ # On cross building, gettext supposes that the wchar.h from libc
27+ # does not fulfill gettext needs, so it tries to work with its
28+ # own wchar.h file, which does not cope well with the system's
29+ # wchar.h and stddef.h (gcc-4.3 - glibc-2.9)
30+ "gl_cv_func_wcwidth_works=yes"
31+ ];
2532
2633 postPatch = ''
2734 substituteAllInPlace gettext-runtime/src/gettext.sh.in
@@ -33,22 +40,14 @@ stdenv.mkDerivation rec {
3340 sed -i -e "s/\(libgettextsrc_la_LDFLAGS = \)/\\1..\/gnulib-lib\/libxml_rpl.la /" gettext-tools/src/Makefile.in
3441 '';
3542
36− # On cross building, gettext supposes that the wchar.h from libc
37− # does not fulfill gettext needs, so it tries to work with its
38− # own wchar.h file, which does not cope well with the system's
39− # wchar.h and stddef.h (gcc-4.3 - glibc-2.9)
40− preConfigure = ''
41− if test -n "$crossConfig"; then
42− echo gl_cv_func_wcwidth_works=yes > cachefile
43− configureFlags="$configureFlags --cache-file=`pwd`/cachefile"
44− fi
45− '';
46−
4743 nativeBuildInputs = [ xz xz.bin ];
4844 # HACK, see #10874 (and 14664)
4945 buildInputs = stdenv.lib.optional (!stdenv.isLinux && !hostPlatform.isCygwin) libiconv;
5046
51− setupHook = ./gettext-setup-hook.sh;
47+ setupHooks = [
48+ ../../../build-support/setup-hooks/role.bash
49+ ./gettext-setup-hook.sh
50+ ];
5251 gettextNeedsLdflags = hostPlatform.libc != "glibc" && !hostPlatform.isMusl;
5352
5453 enableParallelBuilding = true;
pkgs/development/libraries/gettext/gettext-setup-hook.sh+6−17
@@ -1,6 +1,8 @@
11gettextDataDirsHook() {
2+ # See pkgs/build-support/setup-hooks/role.bash
3+ getHostRoleEnvHook
24 if [ -d "$1/share/gettext" ]; then
3− addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
5+ addToSearchPath "GETTEXTDATADIRS${role_post}" "$1/share/gettext"
46 fi
57}
68
@@ -8,21 +10,8 @@ addEnvHooks "$hostOffset" gettextDataDirsHook
810
911# libintl must be listed in load flags on non-Glibc
1012# it doesn't hurt to have it in Glibc either though
11−gettextLdflags() {
12− # The `depHostOffset` describes how the host platform of the dependencies
13− # are slid relative to the depending package. It is brought into scope of
14− # the environment hook defined as the role of the dependency being applied.
15− case $depHostOffset in
16− -1) local role='BUILD_' ;;
17− 0) local role='' ;;
18− 1) local role='TARGET_' ;;
19− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
20− return 1 ;;
21− esac
22−
23− export NIX_${role}LDFLAGS+=" -lintl"
24−}
25−
2613if [ ! -z "@gettextNeedsLdflags@" ]; then
27− addEnvHooks "$hostOffset" gettextLdflags
14+ # See pkgs/build-support/setup-hooks/role.bash
15+ getHostRole
16+ export NIX_${role_pre}LDFLAGS+=" -lintl"
2817fi
pkgs/development/libraries/git2/0.25.nix+2
@@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
2525
2626 enableParallelBuilding = true;
2727
28+ doCheck = false; # hangs. or very expensive?
29+
2830 meta = {
2931 description = "The Git linkable library";
3032 homepage = https://libgit2.github.com/;
pkgs/development/libraries/git2/default.nix+2
@@ -26,6 +26,8 @@ stdenv.mkDerivation (rec {
2626
2727 enableParallelBuilding = true;
2828
29+ doCheck = false; # hangs. or very expensive?
30+
2931 meta = with stdenv.lib; {
3032 description = "The Git linkable library";
3133 homepage = https://libgit2.github.com/;
pkgs/development/libraries/glib/default.nix+1−1
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
6565 ++ optionals stdenv.isLinux [ utillinuxMinimal ] # for libmount
6666 ++ optionals doCheck [ tzdata libxml2 desktop-file-utils shared-mime-info ];
6767
68− nativeBuildInputs = [ pkgconfig perl python ];
68+ nativeBuildInputs = [ pkgconfig perl python gettext ];
6969
7070 propagatedBuildInputs = [ zlib libffi gettext libiconv ];
7171
pkgs/development/libraries/glibc/common.nix+2
@@ -188,6 +188,8 @@ stdenv.mkDerivation ({
188188
189189 preBuild = lib.optionalString withGd "unset NIX_DONT_SET_RPATH";
190190
191+ doCheck = false; # fails
192+
191193 meta = {
192194 homepage = http://www.gnu.org/software/libc/;
193195 description = "The GNU C Library";
pkgs/development/libraries/glibc/default.nix+7−6
@@ -71,14 +71,15 @@ callPackage ./common.nix { inherit stdenv; } {
7171
7272 # Get rid of more unnecessary stuff.
7373 rm -rf $out/var $bin/bin/sln
74−
74+ ''
7575 # For some reason these aren't stripped otherwise and retain reference
7676 # to bootstrap-tools; on cross-arm this stripping would break objects.
77− if [ -z "$crossConfig" ]; then
78− for i in "$out"/lib/*.a; do
79− [ "$i" = "$out/lib/libm.a" ] || strip -S "$i"
80− done
81− fi
77+ + stdenv.lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
78+
79+ for i in "$out"/lib/*.a; do
80+ [ "$i" = "$out/lib/libm.a" ] || $STRIP -S "$i"
81+ done
82+ '' + ''
8283
8384 # Put libraries for static linking in a separate output. Note
8485 # that libc_nonshared.a and libpthread_nonshared.a are required
pkgs/development/libraries/gnu-config/default.nix+3−3
@@ -1,16 +1,16 @@
11{ stdenv, fetchurl }:
22
33let
4− rev = "6a82322dd05cdc57b4cd9f7effdf1e2fd6f7482b";
4+ rev = "b75cdc942a6172f63b34faf642b8c797239f6776";
55
66 # Don't use fetchgit as this is needed during Aarch64 bootstrapping
77 configGuess = fetchurl {
88 url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=${rev}";
9− sha256 = "1yj9yi94h7z4z6jzickddv64ksz1aq5kj0c7krgzjn8xf8p3avmh";
9+ sha256 = "1bb8z1wzjs81p9qrvji4bc2a8zyxjinz90k8xq7sxxdp6zrmq1sv";
1010 };
1111 configSub = fetchurl {
1212 url = "http://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=${rev}";
13− sha256 = "1qsqdpla6icbzskkk7v3zxrpzlpqlc94ny9hyy5wh5lm5rwwfvb7";
13+ sha256 = "00dn5i2cp4iqap5vr368r5ifrgcjfq5pr97i4dkkdbha1han5hsc";
1414 };
1515in
1616stdenv.mkDerivation rec {
pkgs/development/libraries/gobject-introspection/default.nix+2
@@ -49,6 +49,8 @@ stdenv.mkDerivation rec {
4949 cairoLib = "${getLib cairo}/lib";
5050 });
5151
52+ doCheck = false; # fails
53+
5254 passthru = {
5355 updateScript = gnome3.updateScript {
5456 packageName = pname;
pkgs/development/libraries/grantlee/5/default.nix+2
@@ -31,6 +31,8 @@ mkDerivation rec {
3131
3232 setupHook = ./setup-hook.sh;
3333
34+ doCheck = false; # fails all the tests (ctest)
35+
3436 meta = with lib; {
3537 description = "Qt5 port of Django template system";
3638 longDescription = ''
pkgs/development/libraries/gstreamer/bad/default.nix+5
@@ -70,4 +70,9 @@ stdenv.mkDerivation rec {
7070 ++ optional (!stdenv.isDarwin) wildmidi
7171 # TODO: mjpegtools uint64_t is not compatible with guint64 on Darwin
7272 ++ optional (!stdenv.isDarwin) mjpegtools;
73+
74+ enableParallelBuilding = true;
75+
76+ doCheck = false; # fails 20 out of 58 tests, expensive
77+
7378}
pkgs/development/libraries/gstreamer/base/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, fetchpatch, lib
22, pkgconfig, meson, ninja, gettext, gobjectIntrospection
33, python, gstreamer, orc, pango, libtheora, libvisual
4−, libintl
4+, libintl, libopus
55, enableX11 ? stdenv.isLinux, libXv
66, enableWayland ? stdenv.isLinux, wayland
77, enableAlsa ? stdenv.isLinux, alsaLib
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 # Introspection fails on my MacBook currently
4343 ++ lib.optional stdenv.isDarwin "--disable-introspection";
4444
45− buildInputs = [ orc libtheora libintl ]
45+ buildInputs = [ orc libtheora libintl libopus ]
4646 ++ lib.optional enableAlsa alsaLib
4747 ++ lib.optionals enableX11 [ libXv pango ]
4848 ++ lib.optional enableWayland wayland
pkgs/development/libraries/gtk+/2.x.nix+10−1
@@ -4,6 +4,7 @@
44, cupsSupport ? true, cups ? null
55, gdktarget ? "x11"
66, AppKit, Cocoa
7+, fetchpatch
78}:
89
910assert xineramaSupport -> xorg.libXinerama != null;
@@ -28,7 +29,13 @@ stdenv.mkDerivation rec {
2829
2930 nativeBuildInputs = [ setupHook perl pkgconfig gettext gobjectIntrospection ];
3031
31− patches = [ ./2.0-immodules.cache.patch ./gtk2-theme-paths.patch ];
32+ patches = [
33+ ./2.0-immodules.cache.patch
34+ ./gtk2-theme-paths.patch
35+ ] ++ optional stdenv.isDarwin (fetchpatch {
36+ url = https://bug557780.bugzilla-attachments.gnome.org/attachment.cgi?id=306776;
37+ sha256 = "0sp8f1r5c4j2nlnbqgv7s7nxa4cfwigvm033hvhb1ld652pjag4r";
38+ });
3239
3340 propagatedBuildInputs = with xorg;
3441 [ glib cairo pango gdk_pixbuf atk ]
@@ -49,6 +56,8 @@ stdenv.mkDerivation rec {
4956 "--disable-visibility"
5057 ];
5158
59+ doCheck = false; # needs X11
60+
5261 postInstall = ''
5362 moveToOutput share/gtk-2.0/demo "$devdoc"
5463 # The updater is needed for nixos env and it's tiny.
pkgs/development/libraries/gtk+/3.x.nix+2
@@ -63,6 +63,8 @@ stdenv.mkDerivation rec {
6363 "--enable-wayland-backend"
6464 ];
6565
66+ doCheck = false; # needs X11
67+
6668 postInstall = optionalString (!stdenv.isDarwin) ''
6769 substituteInPlace "$out/lib/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.la" \
6870 --replace '-L${gmp.dev}/lib' '-L${gmp.out}/lib'
pkgs/development/libraries/gts/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ pkgconfig ];
1414 buildInputs = [ glib gettext ];
1515
16+ doCheck = false; # fails with "permission denied"
17+
1618 meta = {
1719 homepage = http://gts.sourceforge.net/;
1820 license = stdenv.lib.licenses.lgpl2Plus;
pkgs/development/libraries/id3lib/default.nix+3−1
@@ -9,12 +9,14 @@ stdenv.mkDerivation {
99 ];
1010
1111 buildInputs = [ zlib ];
12−
12+
1313 src = fetchurl {
1414 url = mirror://sourceforge/id3lib/id3lib-3.8.3.tar.gz;
1515 sha256 = "0yfhqwk0w8q2hyv1jib1008jvzmwlpsxvc8qjllhna6p1hycqj97";
1616 };
1717
18+ doCheck = false; # fails to compile
19+
1820 meta = {
1921 platforms = stdenv.lib.platforms.unix;
2022 };
pkgs/development/libraries/jasper/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
3030
3131 enableParallelBuilding = true;
3232
33+ doCheck = false; # fails
34+
3335 postInstall = ''
3436 moveToOutput bin "$bin"
3537 '';
pkgs/development/libraries/kerberos/heimdal.nix+8−6
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, perl, yacc, flex
22, texinfo, perlPackages
33, openldap, libcap_ng, sqlite, openssl, db, libedit, pam
4−
4+, CoreFoundation, Security, SystemConfiguration
55# Extra Args
66, type ? ""
77}:
@@ -26,8 +26,9 @@ stdenv.mkDerivation rec {
2626 nativeBuildInputs = [ autoreconfHook pkgconfig python2 perl yacc flex ]
2727 ++ (with perlPackages; [ JSON ])
2828 ++ optional (!libOnly) texinfo;
29− buildInputs = optionals (!stdenv.isFreeBSD) [ libcap_ng db ]
30− ++ [ sqlite openssl libedit ]
29+ buildInputs = optionals (stdenv.isLinux) [ libcap_ng ]
30+ ++ [ db sqlite openssl libedit ]
31+ ++ optionals (stdenv.isDarwin) [ CoreFoundation Security SystemConfiguration ]
3132 ++ optionals (!libOnly) [ openldap pam ];
3233
3334 ## ugly, X should be made an option
@@ -39,10 +40,11 @@ stdenv.mkDerivation rec {
3940 "--with-libedit=${libedit}"
4041 "--with-openssl=${openssl.dev}"
4142 "--without-x"
42− "--with-berkeley-db=${db}"
43+ "--with-berkeley-db"
44+ "--with-berkeley-db-include=${db.dev}/include"
4345 ] ++ optionals (!libOnly) [
4446 "--with-openldap=${openldap.dev}"
45− ] ++ optionals (!stdenv.isFreeBSD) [
47+ ] ++ optionals (stdenv.isLinux) [
4648 "--with-capng"
4749 ];
4850
@@ -92,7 +94,7 @@ stdenv.mkDerivation rec {
9294 meta = {
9395 description = "An implementation of Kerberos 5 (and some more stuff)";
9496 license = licenses.bsd3;
95− platforms = platforms.linux ++ platforms.freebsd;
97+ platforms = platforms.unix;
9698 maintainers = with maintainers; [ wkennington ];
9799 };
98100
pkgs/development/libraries/kerberos/krb5.nix+1
@@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
6262 '';
6363
6464 enableParallelBuilding = true;
65+ doCheck = false; # fails with "No suitable file for testing purposes"
6566
6667 meta = {
6768 description = "MIT Kerberos 5";
pkgs/development/libraries/languagemachines/frog.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "frog";
12+ name = "frog-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "frog-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/frogdata.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "frogdata";
12+ name = "frogdata-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "frogdata-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/libfolia.nix+1−1
@@ -8,7 +8,7 @@ let
88in
99
1010stdenv.mkDerivation {
11− name = "libfolia";
11+ name = "libfolia-${release.version}";
1212 version = release.version;
1313 src = fetchurl { inherit (release) url sha256;
1414 name = "libfolia-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/mbt.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "mbt";
12+ name = "mbt-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "mbt-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/ticcutils.nix+1−1
@@ -7,7 +7,7 @@ let
77in
88
99stdenv.mkDerivation {
10− name = "ticcutils";
10+ name = "ticcutils-${release.version}";
1111 version = release.version;
1212 src = fetchurl { inherit (release) url sha256;
1313 name = "ticcutils-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/timbl.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "timbl";
12+ name = "timbl-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "timbl-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/timblserver.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "timblserver";
12+ name = "timblserver-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "timblserver-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/ucto.nix+1−1
@@ -9,7 +9,7 @@ let
99in
1010
1111stdenv.mkDerivation {
12− name = "ucto";
12+ name = "ucto-${release.version}";
1313 version = release.version;
1414 src = fetchurl { inherit (release) url sha256;
1515 name = "ucto-${release.version}.tar.gz"; };
pkgs/development/libraries/languagemachines/uctodata.nix+1−1
@@ -8,7 +8,7 @@ let
88in
99
1010stdenv.mkDerivation {
11− name = "uctodata";
11+ name = "uctodata-${release.version}";
1212 version = release.version;
1313 src = fetchurl { inherit (release) url sha256;
1414 name = "uctodata-${release.version}.tar.gz"; };
pkgs/development/libraries/lcms/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation {
1212
1313 outputs = [ "bin" "dev" "out" "man" ];
1414
15+ doCheck = false; # fails with "Error in Linear interpolation (2p): Must be i=8000, But is n=8001"
16+
1517 meta = {
1618 description = "Color management engine";
1719 homepage = http://www.littlecms.com/;
pkgs/development/libraries/ldns/default.nix+3
@@ -40,6 +40,9 @@ stdenv.mkDerivation rec {
4040 "--with-trust-anchor=${dns-root-data}/root.key"
4141 "--with-drill"
4242 "--disable-gost"
43+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
44+ "ac_cv_func_malloc_0_nonnull=yes"
45+ "ac_cv_func_realloc_0_nonnull=yes"
4346 ];
4447
4548 postInstall = ''
pkgs/development/libraries/libappindicator/default.nix+1−1
@@ -2,7 +2,7 @@
22
33{ stdenv, fetchurl, lib, file
44, pkgconfig, autoconf
5−, glib, dbus-glib, gtkVersion
5+, glib, dbus-glib, gtkVersion ? "3"
66, gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null
77, gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null
88, python2Packages, gobjectIntrospection, vala
pkgs/development/libraries/libarchive/default.nix+2
@@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
3838 echo "#include <windows.h>" >> config.h
3939 '' else null;
4040
41+ doCheck = false; # fails
42+
4143 preFixup = ''
4244 sed -i $lib/lib/libarchive.la \
4345 -e 's|-lcrypto|-L${openssl.out}/lib -lcrypto|' \
pkgs/development/libraries/libav/default.nix+24−28
@@ -18,7 +18,7 @@
1818
1919assert faacSupport -> enableUnfree;
2020
21−let inherit (stdenv.lib) optional optionals hasPrefix; in
21+let inherit (stdenv.lib) optional optionals hasPrefix enableFeature; in
2222
2323/* ToDo:
2424 - more deps, inspiration: http://packages.ubuntu.com/raring/libav-tools
@@ -51,29 +51,35 @@ let
5151 substituteInPlace ./configure --replace "#! /bin/sh" "#!${bash}/bin/sh"
5252 '';
5353
54− configureFlags =
55− assert stdenv.lib.all (x: x!=null) buildInputs;
56− [
54+ configurePlatforms = [];
55+ configureFlags = assert stdenv.lib.all (x: x!=null) buildInputs; [
56+ "--arch=${hostPlatform.parsed.cpu.name}"
57+ "--target_os=${hostPlatform.parsed.kernel.name}"
5758 #"--enable-postproc" # it's now a separate package in upstream
5859 "--disable-avserver" # upstream says it's in a bad state
5960 "--enable-avplay"
6061 "--enable-shared"
6162 "--enable-runtime-cpudetect"
6263 "--cc=cc"
63− ]
64− ++ optionals enableGPL [ "--enable-gpl" "--enable-swscale" ]
65− ++ optional mp3Support "--enable-libmp3lame"
66− ++ optional speexSupport "--enable-libspeex"
67− ++ optional theoraSupport "--enable-libtheora"
68− ++ optional vorbisSupport "--enable-libvorbis"
69− ++ optional vpxSupport "--enable-libvpx"
70− ++ optional x264Support "--enable-libx264"
71− ++ optional xvidSupport "--enable-libxvid"
72− ++ optional faacSupport "--enable-libfaac --enable-nonfree"
73− ++ optional vaapiSupport "--enable-vaapi"
74− ++ optional vdpauSupport "--enable-vdpau"
75− ++ optional freetypeSupport "--enable-libfreetype"
76− ;
64+ (enableFeature enableGPL "gpl")
65+ (enableFeature enableGPL "swscale")
66+ (enableFeature mp3Support "libmp3lame")
67+ (enableFeature mp3Support "libmp3lame")
68+ (enableFeature speexSupport "libspeex")
69+ (enableFeature theoraSupport "libtheora")
70+ (enableFeature vorbisSupport "libvorbis")
71+ (enableFeature vpxSupport "libvpx")
72+ (enableFeature x264Support "libx264")
73+ (enableFeature xvidSupport "libxvid")
74+ (enableFeature faacSupport "libfaac")
75+ (enableFeature faacSupport "nonfree")
76+ (enableFeature vaapiSupport "vaapi")
77+ (enableFeature vdpauSupport "vdpau")
78+ (enableFeature freetypeSupport "libfreetype")
79+ ] ++ optional (stdenv.hostPlatform != stdenv.buildPlatform) [
80+ "--cross-prefix=${stdenv.cc.targetPrefix}"
81+ "--enable-cross-compile"
82+ ];
7783
7884 nativeBuildInputs = [ pkgconfig perl ];
7985 buildInputs = [ lame yasm zlib bzip2 SDL bash ]
@@ -112,16 +118,6 @@ let
112118 doInstallCheck = false; # fails randomly
113119 installCheckTarget = "check"; # tests need to be run *after* installation
114120
115− crossAttrs = {
116− configurePlatforms = [];
117− configureFlags = configureFlags ++ [
118− "--cross-prefix=${stdenv.cc.targetPrefix}"
119− "--enable-cross-compile"
120− "--target_os=linux"
121− "--arch=${hostPlatform.parsed.cpu.name}"
122− ];
123− };
124−
125121 passthru = { inherit vdpauSupport; };
126122
127123 meta = with stdenv.lib; {
pkgs/development/libraries/libblocksruntime/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, clang }:
22
33stdenv.mkDerivation {
4− name = "blocksruntime";
4+ name = "blocksruntime-20140624";
55
66 src = fetchFromGitHub {
77 owner = "mackyle";
pkgs/development/libraries/libcddb/default.nix+2
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
1010
1111 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
1212
13+ doCheck = false; # fails 3 of 5 tests with locale errors
14+
1315 meta = with stdenv.lib; {
1416 description = "C library to access data on a CDDB server (freedb.org)";
1517 homepage = http://libcddb.sourceforge.net/;
pkgs/development/libraries/libcue/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
1313
1414 nativeBuildInputs = [ cmake bison flex ];
1515
16+ doCheck = false; # fails all the tests (ctest)
17+
1618 meta = with stdenv.lib; {
1719 description = "CUE Sheet Parser Library";
1820 longDescription = ''
pkgs/development/libraries/libdrm/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, pkgconfig, libpthreadstubs, libpciaccess, valgrind-light }:
22
33stdenv.mkDerivation rec {
4− name = "libdrm-2.4.91";
4+ name = "libdrm-2.4.92";
55
66 src = fetchurl {
77 url = "http://dri.freedesktop.org/libdrm/${name}.tar.bz2";
8− sha256 = "0068dn47c478vm1lyyhy02gilrpsma0xmcblhvs0dzqyrk80wjk3";
8+ sha256 = "1yirzx8hmlvv6r0l7lb3zxmgy5la2mri9al0k16xqfg19pdqzr79";
99 };
1010
1111 outputs = [ "out" "dev" "bin" ];
pkgs/development/libraries/libdvdcss/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "libdvdcss-${version}";
5− version = "1.4.1";
5+ version = "1.4.2";
66
77 buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
88
99 src = fetchurl {
1010 url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
11− sha256 = "1b7awvyahivglp7qmgx2g5005kc5npv257gw7wxdprjsnx93f1zb";
11+ sha256 = "0x957zzpf4w2cp8zlk29prj8i2q6hay3lzdzsyz8y3cwxivyvhkq";
1212 };
1313
1414 meta = with stdenv.lib; {
pkgs/development/libraries/libevdev/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, python }:
22
33stdenv.mkDerivation rec {
4− name = "libevdev-1.5.8";
4+ name = "libevdev-1.5.9";
55
66 src = fetchurl {
77 url = "https://www.freedesktop.org/software/libevdev/${name}.tar.xz";
8− sha256 = "0vac7n1miqdprikq4g63vsk681q8v416r0nbh2xai7b08qgdi0v0";
8+ sha256 = "0xca343ff12wh6nsq76r0nbsfrm8dypjrzm4fqz9vv9v8i8kfrp1";
99 };
1010
1111 buildInputs = [ python ];
pkgs/development/libraries/libevent/default.nix+2
@@ -29,6 +29,8 @@ stdenv.mkDerivation rec {
2929 ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames
3030 ;
3131
32+ doCheck = false; # needs the net
33+
3234 postInstall = stdenv.lib.optionalString sslSupport ''
3335 moveToOutput "lib/libevent_openssl*" "$openssl"
3436 substituteInPlace "$dev/lib/pkgconfig/libevent_openssl.pc" \
pkgs/development/libraries/libgudev/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, udev, glib, gnome3 }:
1+{ stdenv, fetchurl, pkgconfig, udev, glib, gobjectIntrospection, gnome3 }:
22
33let
44 pname = "libgudev";
@@ -6,12 +6,14 @@ in stdenv.mkDerivation rec {
66 name = "libgudev-${version}";
77 version = "232";
88
9+ outputs = [ "out" "dev" ];
10+
911 src = fetchurl {
1012 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
1113 sha256 = "ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860";
1214 };
1315
14− nativeBuildInputs = [ pkgconfig ];
16+ nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
1517 buildInputs = [ udev glib ];
1618
1719 # There's a dependency cycle with umockdev and the tests fail to LD_PRELOAD anyway.
pkgs/development/libraries/libical/default.nix+2
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
1818 ./respect-env-tzdir.patch
1919 ];
2020
21+ doCheck = false; # fails all the tests (ctest)
22+
2123 meta = with stdenv.lib; {
2224 homepage = https://github.com/libical/libical;
2325 description = "An Open Source implementation of the iCalendar protocols";
pkgs/development/libraries/libiconv/default.nix+4−1
@@ -14,7 +14,10 @@ stdenv.mkDerivation rec {
1414 sha256 = "0y1ij745r4p48mxq84rax40p10ln7fc7m243p8k8sia519i3dxfc";
1515 };
1616
17− setupHook = ./setup-hook.sh;
17+ setupHooks = [
18+ ../../../build-support/setup-hooks/role.bash
19+ ./setup-hook.sh
20+ ];
1821
1922 postPatch =
2023 lib.optionalString ((hostPlatform != buildPlatform && hostPlatform.libc == "msvcrt") || stdenv.cc.nativeLibc)
pkgs/development/libraries/libiconv/setup-hook.sh+3−15
@@ -1,18 +1,6 @@
11# libiconv must be listed in load flags on non-Glibc
22# it doesn't hurt to have it in Glibc either though
3−iconvLdflags() {
4− # The `depHostOffset` describes how the host platform of the dependencies
5− # are slid relative to the depending package. It is brought into scope of
6− # the environment hook defined as the role of the dependency being applied.
7− case $depHostOffset in
8− -1) local role='BUILD_' ;;
9− 0) local role='' ;;
10− 1) local role='TARGET_' ;;
11− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
12− return 1 ;;
13− esac
143
15− export NIX_${role}LDFLAGS+=" -liconv"
16−}
17−
18−addEnvHooks "$hostOffset" iconvLdflags
4+# See pkgs/build-support/setup-hooks/role.bash
5+getHostRole
6+export NIX_${role_pre}LDFLAGS+=" -liconv"
pkgs/development/libraries/libidn/default.nix+4−2
@@ -1,11 +1,11 @@
11{ fetchurl, stdenv, libiconv }:
22
33stdenv.mkDerivation rec {
4− name = "libidn-1.33";
4+ name = "libidn-1.34";
55
66 src = fetchurl {
77 url = "mirror://gnu/libidn/${name}.tar.gz";
8− sha256 = "068fjg2arlppjqqpzd714n1lf6gxkpac9v5yyvp1qwmv6nvam9s4";
8+ sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
99 };
1010
1111 outputs = [ "bin" "dev" "out" "info" "devdoc" ];
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
1717
1818 buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
1919
20+ doCheck = false; # fails
21+
2022 meta = {
2123 homepage = http://www.gnu.org/software/libidn/;
2224 description = "Library for internationalized domain names";
pkgs/development/libraries/libidn2/default.nix+2−2
@@ -4,11 +4,11 @@ with stdenv.lib;
44
55stdenv.mkDerivation rec {
66 name = "libidn2-${version}";
7− version = "2.0.4";
7+ version = "2.0.5";
88
99 src = fetchurl {
1010 url = "mirror://gnu/gnu/libidn/${name}.tar.gz";
11− sha256 = "1w6jycr5bbawimhb72wxf9ic92yrhfadahfj0b70myw5n81nnjv4";
11+ sha256 = "1f529jxmhj12q7i1gvw2d9i24zbslz3kj91kbgxac7vgi1q93xjk";
1212 };
1313
1414 outputs = [ "bin" "dev" "out" "info" "devdoc" ];
pkgs/development/libraries/libindicate/default.nix+1−1
@@ -3,7 +3,7 @@
33{ stdenv, fetchurl, lib, file
44, pkgconfig, autoconf
55, glib, dbus-glib, libdbusmenu-glib
6−, gtkVersion, gtk2 ? null, gtk3 ? null
6+, gtkVersion ? "3", gtk2 ? null, gtk3 ? null
77, pythonPackages, gobjectIntrospection, vala, gnome-doc-utils
88, monoSupport ? false, mono ? null, gtk-sharp-2_0 ? null
99 }:
pkgs/development/libraries/libindicator/default.nix+3−1
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, lib, file
22, pkgconfig
3−, gtkVersion, gtk2 ? null, gtk3 ? null }:
3+, gtkVersion ? "3", gtk2 ? null, gtk3 ? null }:
44
55with lib;
66
@@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
4040 "localstatedir=\${TMPDIR}"
4141 ];
4242
43+ doCheck = false; # fails 8 out of 8 tests
44+
4345 meta = {
4446 description = "A set of symbols and convenience functions for Ayatana indicators";
4547 homepage = https://launchpad.net/libindicator;
pkgs/development/libraries/libinput/default.nix+2−2
@@ -16,11 +16,11 @@ in
1616with stdenv.lib;
1717stdenv.mkDerivation rec {
1818 name = "libinput-${version}";
19− version = "1.10.0";
19+ version = "1.10.3";
2020
2121 src = fetchurl {
2222 url = "http://www.freedesktop.org/software/libinput/${name}.tar.xz";
23− sha256 = "0mrzsf0349d1g68lizkzxw7vaw459fl8xhl7v0s8njb31hp2riy2";
23+ sha256 = "0002xk9cqzpqrlhgav1wp8nimsbp9d2w8rd8mgygczq2hjar0lhd";
2424 };
2525
2626 outputs = [ "out" "dev" ];
pkgs/development/libraries/libjpeg-turbo/default.nix−3
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
2929 description = "A faster (using SIMD) libjpeg implementation";
3030 license = licenses.ijg; # and some parts under other BSD-style licenses
3131 maintainers = [ maintainers.vcunat ];
32− # upstream supports darwin (and others), but it doesn't build currently
3332 platforms = platforms.all;
34− hydraPlatforms = platforms.linux;
3533 };
3634}
37−
pkgs/development/libraries/libjpeg/default.nix+3−3
@@ -3,11 +3,11 @@
33with stdenv.lib;
44
55stdenv.mkDerivation {
6− name = "libjpeg-8d";
6+ name = "libjpeg-9c";
77
88 src = fetchurl {
9− url = http://www.ijg.org/files/jpegsrc.v8d.tar.gz;
10− sha256 = "1cz0dy05mgxqdgjf52p54yxpyy95rgl30cnazdrfmw7hfca9n0h0";
9+ url = http://www.ijg.org/files/jpegsrc.v9c.tar.gz;
10+ sha256 = "08kixcf3a7s9x91174abjnk1xbvj4v8crdc73zi4k9h3jfbm00k5";
1111 };
1212
1313 configureFlags = optional static "--enable-static --disable-shared";
pkgs/development/libraries/liblo/default.nix+3−1
@@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
88 sha256 = "0sn0ckc1d0845mhsaa62wf7f9v0c0ykiq796a30ja5096kib9qdc";
99 };
1010
11− meta = {
11+ doCheck = false; # fails 1 out of 3 tests
12+
13+ meta = {
1214 description = "Lightweight library to handle the sending and receiving of messages according to the Open Sound Control (OSC) protocol";
1315 homepage = https://sourceforge.net/projects/liblo;
1416 license = stdenv.lib.licenses.gpl2;
pkgs/development/libraries/libmsgpack/generic.nix+6−7
@@ -13,13 +13,12 @@ stdenv.mkDerivation rec {
1313
1414 enableParallelBuilding = true;
1515
16− crossAttrs = {
17− } // stdenv.lib.optionalAttrs (hostPlatform.libc == "msvcrt") {
18− cmakeFlags = [
19− "-DMSGPACK_BUILD_EXAMPLES=OFF"
20− "-DCMAKE_SYSTEM_NAME=Windows"
21− ];
22− };
16+ cmakeFlags = []
17+ ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform)
18+ "-DMSGPACK_BUILD_EXAMPLES=OFF"
19+ ++ stdenv.lib.optional (hostPlatform.libc == "msvcrt")
20+ "-DCMAKE_SYSTEM_NAME=Windows"
21+ ;
2322
2423 meta = with stdenv.lib; {
2524 description = "MessagePack implementation for C and C++";
pkgs/development/libraries/libnetfilter_conntrack/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "libnetfilter_conntrack-${version}";
5− version = "1.0.6";
5+ version = "1.0.7";
66
77 src = fetchurl {
88 url = "https://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
9− sha256 = "1svzyf3rq9nbrcw1jsricgyhh7x1am8iqn6kjr6mzrw42810ik7g";
9+ sha256 = "1dl9z50yny04xi5pymlykwmy6hcfc9p4nd7m47697zwxw98m6s1k";
1010 };
1111
1212 buildInputs = [ libmnl ];
pkgs/development/libraries/libnfsidmap/default.nix+5−1
@@ -2,12 +2,16 @@
22
33stdenv.mkDerivation rec {
44 name = "libnfsidmap-0.25";
5−
5+
66 src = fetchurl {
77 url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
88 sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
99 };
1010
11+ postPatch = ''
12+ sed -i '1i#include <sys/types.h>' cfg.h
13+ '';
14+
1115 preConfigure =
1216 ''
1317 configureFlags="--with-pluginpath=$out/lib/libnfsidmap"
pkgs/development/libraries/libnftnl/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, pkgconfig, libmnl }:
22
33stdenv.mkDerivation rec {
4− version = "1.0.9";
4+ version = "1.1.0";
55 name = "libnftnl-${version}";
66
77 src = fetchurl {
88 url = "https://netfilter.org/projects/libnftnl/files/${name}.tar.bz2";
9− sha256 = "0d9nkdbdck8sg6msysqyv3m9kjr9sjif5amf26dfa0g3mqjdihgy";
9+ sha256 = "0v4gywcjvv2vg4zk632al1zv3ad0lx87nshynv110l8n3fhsq3pc";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/libnih/default.nix+3−1
@@ -4,7 +4,7 @@ let version = "1.0.3"; in
44
55stdenv.mkDerivation rec {
66 name = "libnih-${version}";
7−
7+
88 src = fetchurl {
99 url = "http://code.launchpad.net/libnih/1.0/${version}/+download/libnih-${version}.tar.gz";
1010 sha256 = "01glc6y7z1g726zwpvp2zm79pyb37ki729jkh45akh35fpgp4xc9";
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ pkgconfig ];
1414 buildInputs = [ dbus expat ];
1515
16+ doCheck = false; # fails 1 of 17 test
17+
1618 meta = {
1719 description = "A small library for C application development";
1820 homepage = https://launchpad.net/libnih;
pkgs/development/libraries/libomxil-bellagio/default.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 patches = [ ./fedora-fixes.patch ];
1616
17+ doCheck = false; # fails
18+
1719 meta = with stdenv.lib; {
1820 homepage = https://sourceforge.net/projects/omxil/;
1921 description = "An opensource implementation of the Khronos OpenMAX Integration Layer API to access multimedia components";
pkgs/development/libraries/libpcap/default.nix+10−10
@@ -12,10 +12,16 @@ stdenv.mkDerivation rec {
1212
1313 # We need to force the autodetection because detection doesn't
1414 # work in pure build enviroments.
15− configureFlags =
16− if stdenv.isLinux then [ "--with-pcap=linux" ]
17− else if stdenv.isDarwin then [ "--with-pcap=bpf" ]
18− else [];
15+ configureFlags = [
16+ ("--with-pcap=" + {
17+ linux = "linux";
18+ darwin = "bpf";
19+ }.${stdenv.hostPlatform.parsed.kernel.name})
20+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
21+ "ac_cv_linux_vers=2"
22+ ];
23+
24+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
1925
2026 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
2127 substituteInPlace configure --replace " -arch i386" ""
@@ -39,12 +45,6 @@ stdenv.mkDerivation rec {
3945
4046 preInstall = ''mkdir -p $out/bin'';
4147
42− crossAttrs = {
43− # Stripping hurts in static libraries
44− dontStrip = true;
45− configureFlags = configureFlags ++ [ "ac_cv_linux_vers=2" ];
46− };
47−
4848 meta = with stdenv.lib; {
4949 homepage = http://www.tcpdump.org;
5050 description = "Packet Capture Library";
pkgs/development/libraries/libproxy/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
3030 )
3131 '';
3232
33+ doCheck = false; # fails 1 out of 10 tests
34+
3335 meta = with stdenv.lib; {
3436 platforms = platforms.linux ++ platforms.darwin;
3537 license = licenses.lgpl21;
pkgs/development/libraries/librdf/raptor2.nix+1−1
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
1717 homepage = http://librdf.org/raptor;
1818 license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
1919 maintainers = with stdenv.lib.maintainers; [ marcweber ];
20− platforms = stdenv.lib.platforms.linux;
20+ platforms = stdenv.lib.platforms.unix;
2121 };
2222}
pkgs/development/libraries/librdf/rasqal.nix+1−1
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
2121 homepage = http://librdf.org/rasqal;
2222 license = with stdenv.lib.licenses; [ lgpl21 asl20 ];
2323 maintainers = with stdenv.lib.maintainers; [ marcweber ];
24− platforms = stdenv.lib.platforms.linux;
24+ platforms = stdenv.lib.platforms.unix;
2525 };
2626}
pkgs/development/libraries/librdf/redland.nix+7−4
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, openssl, libxslt, perl
2−, curl, pcre, libxml2, librdf_rasqal
2+, curl, pcre, libxml2, librdf_rasqal, gmp
33, mysql, withMysql ? false
44, postgresql, withPostgresql ? false
55, sqlite, withSqlite ? true
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 nativeBuildInputs = [ perl pkgconfig ];
1818
19− buildInputs = [ openssl libxslt curl pcre libxml2 ]
19+ buildInputs = [ openssl libxslt curl pcre libxml2 gmp ]
2020 ++ stdenv.lib.optional withMysql mysql.connector-c
2121 ++ stdenv.lib.optional withSqlite sqlite
2222 ++ stdenv.lib.optional withPostgresql postgresql
@@ -28,13 +28,16 @@ stdenv.mkDerivation rec {
2828
2929 configureFlags =
3030 [ "--with-threads" ]
31− ++ stdenv.lib.optional withBdb "--with-bdb=${db}";
31+ ++ stdenv.lib.optionals withBdb [
32+ "--with-bdb-include=${db.dev}/include"
33+ "--with-bdb-lib=${db.out}/lib"
34+ ];
3235
3336 # Fix broken DT_NEEDED in lib/redland/librdf_storage_sqlite.so.
3437 NIX_CFLAGS_LINK = "-lraptor2";
3538
3639 meta = {
3740 homepage = http://librdf.org/;
38− platforms = stdenv.lib.platforms.linux;
41+ platforms = stdenv.lib.platforms.unix;
3942 };
4043}
pkgs/development/libraries/librsvg/default.nix+16−5
@@ -5,17 +5,17 @@
55
66let
77 pname = "librsvg";
8− version = "2.42.2";
8+ version = "2.42.4";
99in
1010stdenv.mkDerivation rec {
1111 name = "${pname}-${version}";
1212
1313 src = fetchurl {
1414 url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
15− sha256 = "0c550a0bffef768a436286116c03d9f6cd3f97f5021c13e7f093b550fac12562";
15+ sha256 = "1qsd0j7s97ab5fzy5b5gix5b7hbw57cr46ia8pkcrr4ylsi80li2";
1616 };
1717
18− outputs = [ "out" "dev" ];
18+ outputs = [ "out" "dev" "installedTests" ];
1919
2020 buildInputs = [ libxml2 libgsf bzip2 libcroco pango libintl ];
2121
@@ -26,8 +26,17 @@ stdenv.mkDerivation rec {
2626 ApplicationServices
2727 ]);
2828
29− configureFlags = [ "--enable-introspection" "--enable-vala" ]
30− ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
29+ configureFlags = [
30+ "--enable-introspection"
31+ "--enable-vala"
32+ "--enable-installed-tests"
33+ "--enable-always-build-tests"
34+ ] ++ stdenv.lib.optional stdenv.isDarwin "--disable-Bsymbolic";
35+
36+ makeFlags = [
37+ "installed_test_metadir=$(installedTests)/share/installed-tests/RSVG"
38+ "installed_testdir=$(installedTests)/libexec/installed-tests/RSVG"
39+ ];
3140
3241 NIX_CFLAGS_COMPILE
3342 = stdenv.lib.optionalString stdenv.isDarwin "-I${cairo.dev}/include/cairo";
@@ -52,6 +61,8 @@ stdenv.mkDerivation rec {
5261 -i gdk-pixbuf-loader/librsvg.thumbnailer.in
5362 '';
5463
64+ doCheck = false; # fails 20 of 145 tests, very likely to be buggy
65+
5566 # Merge gdkpixbuf and librsvg loaders
5667 postInstall = ''
5768 mv $GDK_PIXBUF/loaders.cache $GDK_PIXBUF/loaders.cache.tmp
pkgs/development/libraries/librsync/0.9.nix+1−3
@@ -12,9 +12,7 @@ stdenv.mkDerivation {
1212
1313 configureFlags = if stdenv.isCygwin then "--enable-static" else "--enable-shared";
1414
15− crossAttrs = {
16− dontStrip = true;
17− };
15+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
1816
1917 meta = {
2018 homepage = http://librsync.sourceforge.net/;
pkgs/development/libraries/librsync/default.nix+1−3
@@ -14,9 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ cmake ];
1515 buildInputs = [ perl zlib bzip2 popt ];
1616
17− crossAttrs = {
18− dontStrip = true;
19− };
17+ dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
2018
2119 meta = with stdenv.lib; {
2220 homepage = http://librsync.sourceforge.net/;
pkgs/development/libraries/libsoup/default.nix+2
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
3636 "--with-gnome=${if gnomeSupport then "yes" else "no"}"
3737 ];
3838
39+ doCheck = false; # fails with "no: command not found"
40+
3941 passthru = {
4042 propagatedUserEnvPackages = [ glib-networking.out ];
4143 updateScript = gnome3.updateScript {
pkgs/development/libraries/libtorrent-rasterbar/default.nix+2
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
2727
2828 enableParallelBuilding = true;
2929
30+ doCheck = false; # fails to link
31+
3032 meta = with stdenv.lib; {
3133 homepage = http://www.rasterbar.com/products/libtorrent/;
3234 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
pkgs/development/libraries/libtoxcore/default.nix+6
@@ -29,6 +29,12 @@ let
2929
3030 enableParallelBuilding = true;
3131
32+ doCheck = false; # hangs, tries to access the net?
33+
34+ # for some reason the tests are not running - it says "No tests found!!"
35+ checkInputs = [ check ];
36+ checkPhase = "ctest";
37+
3238 meta = with stdenv.lib; {
3339 description = "P2P FOSS instant messaging application aimed to replace Skype";
3440 homepage = https://tox.chat;
pkgs/development/libraries/libuchardet/default.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 buildInputs = [ cmake ];
1616
17+ doCheck = false; # fails all the tests (ctest)
18+
1719 meta = with stdenv.lib; {
1820 description = "Mozilla's Universal Charset Detector C/C++ API";
1921 homepage = https://www.byvoid.com/zht/project/uchardet;
pkgs/development/libraries/libunwind/default.nix+2
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
2626 done
2727 '';
2828
29+ doCheck = false; # fails
30+
2931 meta = with stdenv.lib; {
3032 homepage = http://www.nongnu.org/libunwind;
3133 description = "A portable and efficient API to determine the call-chain of a program";
pkgs/development/libraries/libuv/default.nix+2−2
@@ -2,14 +2,14 @@
22, ApplicationServices, CoreServices }:
33
44stdenv.mkDerivation rec {
5− version = "1.19.2";
5+ version = "1.20.2";
66 name = "libuv-${version}";
77
88 src = fetchFromGitHub {
99 owner = "libuv";
1010 repo = "libuv";
1111 rev = "v${version}";
12− sha256 = "118r8wigm65107fm7kzfz7gc4awy8xxg0knvwnshx1j40ks08x9z";
12+ sha256 = "14zlf59fr03v684ryapc57r9nfrznyk5xvcd59q04rb435ibib48";
1313 };
1414
1515 postPatch = let
pkgs/development/libraries/libvdpau-va-gl/default.nix+2
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ cmake pkgconfig ];
1616 buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg libGLU ];
1717
18+ doCheck = false; # fails. needs DRI access
19+
1820 meta = with stdenv.lib; {
1921 homepage = https://github.com/i-rinat/libvdpau-va-gl;
2022 description = "VDPAU driver with OpenGL/VAAPI backend";
pkgs/development/libraries/libvpx/default.nix+26−30
@@ -58,13 +58,13 @@ assert isCygwin -> unitTestsSupport && webmIOSupport && libyuvSupport;
5858
5959stdenv.mkDerivation rec {
6060 name = "libvpx-${version}";
61− version = "1.6.1";
61+ version = "1.7.0";
6262
6363 src = fetchFromGitHub {
6464 owner = "webmproject";
6565 repo = "libvpx";
6666 rev = "v${version}";
67− sha256 = "10fs7xilf2bsj5bqw206lb5r5dgl84p5m6nibiirk28lmjx1i3l0";
67+ sha256 = "0vvh89hvp8qg9an9vcmwb7d9k3nixhxaz6zi65qdjnd0i56kkcz6";
6868 };
6969
7070 patchPhase = ''patchShebangs .'';
@@ -72,6 +72,7 @@ stdenv.mkDerivation rec {
7272 outputs = [ "bin" "dev" "out" ];
7373 setOutputFlags = false;
7474
75+ configurePlatforms = [];
7576 configureFlags = [
7677 (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
7778 (enableFeature vp8EncoderSupport "vp8-encoder")
@@ -131,8 +132,29 @@ stdenv.mkDerivation rec {
131132 (enableFeature (experimentalSpatialSvcSupport ||
132133 experimentalFpMbStatsSupport ||
133134 experimentalEmulateHardwareSupport) "experimental")
134− # Experimental features
135− ] ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
135+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
136+ #"--extra-cflags="
137+ #"--extra-cxxflags="
138+ #"--prefix="
139+ #"--libc="
140+ #"--libdir="
141+ "--enable-external-build"
142+ # libvpx darwin targets include darwin version (ie. ARCH-darwinXX-gcc, XX being the darwin version)
143+ # See all_platforms: https://github.com/webmproject/libvpx/blob/master/configure
144+ # Darwin versions: 10.4=8, 10.5=9, 10.6=10, 10.7=11, 10.8=12, 10.9=13, 10.10=14
145+ "--force-target=${hostPlatform.config}${
146+ if hostPlatform.isDarwin then
147+ if hostPlatform.osxMinVersion == "10.10" then "14"
148+ else if hostPlatform.osxMinVersion == "10.9" then "13"
149+ else if hostPlatform.osxMinVersion == "10.8" then "12"
150+ else if hostPlatform.osxMinVersion == "10.7" then "11"
151+ else if hostPlatform.osxMinVersion == "10.6" then "10"
152+ else if hostPlatform.osxMinVersion == "10.5" then "9"
153+ else "8"
154+ else ""}-gcc"
155+ (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
156+ ] # Experimental features
157+ ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
136158 ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
137159 ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
138160
@@ -145,32 +167,6 @@ stdenv.mkDerivation rec {
145167
146168 postInstall = ''moveToOutput bin "$bin" '';
147169
148− crossAttrs = {
149− configurePlatforms = [];
150− configureFlags = configureFlags ++ [
151− #"--extra-cflags="
152− #"--extra-cxxflags="
153− #"--prefix="
154− #"--libc="
155− #"--libdir="
156− "--enable-external-build"
157− # libvpx darwin targets include darwin version (ie. ARCH-darwinXX-gcc, XX being the darwin version)
158− # See all_platforms: https://github.com/webmproject/libvpx/blob/master/configure
159− # Darwin versions: 10.4=8, 10.5=9, 10.6=10, 10.7=11, 10.8=12, 10.9=13, 10.10=14
160− "--force-target=${hostPlatform.config}${
161− if hostPlatform.isDarwin then
162− if hostPlatform.osxMinVersion == "10.10" then "14"
163− else if hostPlatform.osxMinVersion == "10.9" then "13"
164− else if hostPlatform.osxMinVersion == "10.8" then "12"
165− else if hostPlatform.osxMinVersion == "10.7" then "11"
166− else if hostPlatform.osxMinVersion == "10.6" then "10"
167− else if hostPlatform.osxMinVersion == "10.5" then "9"
168− else "8"
169− else ""}-gcc"
170− (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
171− ];
172− };
173−
174170 meta = with stdenv.lib; {
175171 description = "WebM VP8/VP9 codec SDK";
176172 homepage = https://www.webmproject.org/;
pkgs/development/libraries/libvpx/git.nix+15−19
@@ -77,6 +77,7 @@ stdenv.mkDerivation rec {
7777 outputs = [ "bin" "dev" "out" ];
7878 setOutputFlags = false;
7979
80+ configurePlatforms = [];
8081 configureFlags = [
8182 (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8")
8283 (enableFeature vp8EncoderSupport "vp8-encoder")
@@ -139,23 +140,7 @@ stdenv.mkDerivation rec {
139140 (enableFeature (experimentalSpatialSvcSupport ||
140141 experimentalFpMbStatsSupport ||
141142 experimentalEmulateHardwareSupport) "experimental")
142− # Experimental features
143− ] ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
144− ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
145− ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
146−
147− nativeBuildInputs = [ perl yasm ];
148−
149− buildInputs = [ ]
150− ++ optionals unitTestsSupport [ coreutils curl ];
151−
152− enableParallelBuilding = true;
153−
154− postInstall = ''moveToOutput bin "$bin" '';
155−
156− crossAttrs = {
157− configurePlatforms = [];
158− configureFlags = configureFlags ++ [
143+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
159144 #"--extra-cflags="
160145 #"--prefix="
161146 #"--libc="
@@ -175,8 +160,19 @@ stdenv.mkDerivation rec {
175160 else "8"
176161 else ""}-gcc"
177162 (if hostPlatform.isCygwin then "--enable-static-msvcrt" else "")
178− ];
179− };
163+ ] # Experimental features
164+ ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc"
165+ ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats"
166+ ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware";
167+
168+ nativeBuildInputs = [ perl yasm ];
169+
170+ buildInputs = [ ]
171+ ++ optionals unitTestsSupport [ coreutils curl ];
172+
173+ enableParallelBuilding = true;
174+
175+ postInstall = ''moveToOutput bin "$bin" '';
180176
181177 meta = with stdenv.lib; {
182178 description = "WebM VP8/VP9 codec SDK";
pkgs/development/libraries/libwacom/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "libwacom-${version}";
5− version = "0.28";
5+ version = "0.29";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/linuxwacom/libwacom/${name}.tar.bz2";
9− sha256 = "1vv768870597rvwxdb59v6pjn1pxaxg4r6znbb5j3cl828q35mp7";
9+ sha256 = "1diklgcjhmvcxi9p1ifp6wcnyr6k7z9jhrlzfhzjqd6zipk01slw";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/libwebp/default.nix+2−2
@@ -27,11 +27,11 @@ in
2727with stdenv.lib;
2828stdenv.mkDerivation rec {
2929 name = "libwebp-${version}";
30− version = "0.6.1";
30+ version = "1.0.0";
3131
3232 src = fetchurl {
3333 url = "http://downloads.webmproject.org/releases/webp/${name}.tar.gz";
34− sha256 = "1ayq2zq0zbgf5yizbm32zh7p1vb8kibw74am6am1n5cz5mw3ql06";
34+ sha256 = "0nr2hd4iv61fphdbx49g96a56jkmdm9n2qss7jpkg1pii11rq9c4";
3535 };
3636
3737 configureFlags = [
pkgs/development/libraries/libxkbcommon/default.nix+2
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
2727 "-Dx-locale-root=${libX11.out}/share/X11/locale"
2828 ];
2929
30+ doCheck = false; # fails, needs unicode locale
31+
3032 meta = with stdenv.lib; {
3133 description = "A library to handle keyboard descriptions";
3234 homepage = https://xkbcommon.org;
pkgs/development/libraries/libxml2/default.nix+2−2
@@ -10,11 +10,11 @@ let
1010
1111in stdenv.mkDerivation rec {
1212 name = "libxml2-${version}";
13− version = "2.9.7";
13+ version = "2.9.8";
1414
1515 src = fetchurl {
1616 url = "http://xmlsoft.org/sources/${name}.tar.gz";
17− sha256 = "034hylzspvkm0p4bczqbf8q05a7r2disr8dz725x4bin61ymwg7n";
17+ sha256 = "0ci7is75bwqqw2p32vxvrk6ds51ik7qgx73m920rakv5jlayax0b";
1818 };
1919
2020 outputs = [ "bin" "dev" "out" "man" "doc" ]
pkgs/development/libraries/mesa/default.nix+6−6
@@ -34,10 +34,10 @@ else
3434let
3535 defaultGalliumDrivers =
3636 if stdenv.isAarch32
37− then ["nouveau" "freedreno" "vc4" "etnaviv" "imx"]
37+ then ["virgl" "nouveau" "freedreno" "vc4" "etnaviv" "imx"]
3838 else if stdenv.isAarch64
39− then ["nouveau" "vc4" ]
40− else ["svga" "i915" "r300" "r600" "radeonsi" "nouveau"];
39+ then ["virgl" "nouveau" "vc4" ]
40+ else ["virgl" "svga" "i915" "r300" "r600" "radeonsi" "nouveau"];
4141 defaultDriDrivers =
4242 if (stdenv.isAarch32 || stdenv.isAarch64)
4343 then ["nouveau"]
@@ -67,7 +67,7 @@ let
6767in
6868
6969let
70− version = "17.3.8";
70+ version = "18.0.3";
7171 branch = head (splitString "." version);
7272in
7373
@@ -81,7 +81,7 @@ let self = stdenv.mkDerivation {
8181 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
8282 "https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
8383 ];
84− sha256 = "1cd6a4ll5arla3kncxnw9196ak1v4rvnb098aa7lm3n4h7r9p7cg";
84+ sha256 = "0c4yskqwmh5k0wavjrkfcldafvnpcx8gjcx584bscxks69krd789";
8585 };
8686
8787 prePatch = "patchShebangs .";
@@ -161,7 +161,7 @@ let self = stdenv.mkDerivation {
161161 doCheck = false;
162162
163163 installFlags = [
164− "sysconfdir=\${out}/etc"
164+ "sysconfdir=\${drivers}/etc"
165165 "localstatedir=\${TMPDIR}"
166166 "vendorjsondir=\${out}/share/glvnd/egl_vendor.d"
167167 ];
pkgs/development/libraries/mpfi/default.nix+8−3
@@ -1,15 +1,20 @@
11{stdenv, fetchurl, mpfr}:
22stdenv.mkDerivation rec {
33 name = "mpfi-${version}";
4− version = "1.5.1";
4+ version = "1.5.3";
5+ file_nr = "37331";
56 src = fetchurl {
6− url = "https://gforge.inria.fr/frs/download.php/file/30129/mpfi-${version}.tar.bz2";
7− sha256 = "0vk9jfcfiqda0zksg1ffy36pdznpng9b4nl7pfzpz9hps4v6bk1z";
7+ # NOTE: the file_nr is whats important here. The actual package name (including the version)
8+ # is ignored. To find out the correct file_nr, go to https://gforge.inria.fr/projects/mpfi/
9+ # and click on Download in the section "Latest File Releases".
10+ url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tar.bz2";
11+ sha256 = "0bqr8yibl7jbrp0bw7xk1lm7nis7rv26jsz6y8ycvih8n9bx90r3";
812 };
913 buildInputs = [mpfr];
1014 meta = {
1115 inherit version;
1216 description = ''A multiple precision interval arithmetic library based on MPFR'';
17+ homepage = https://gforge.inria.fr/projects/mpfi/;
1318 license = stdenv.lib.licenses.lgpl21Plus;
1419 maintainers = [stdenv.lib.maintainers.raskin];
1520 platforms = stdenv.lib.platforms.linux;
pkgs/development/libraries/mpfr/default.nix+3−2
@@ -3,11 +3,12 @@
33}:
44
55stdenv.mkDerivation rec {
6− name = "mpfr-3.1.6";
6+ version = "4.0.1";
7+ name = "mpfr-${version}";
78
89 src = fetchurl {
910 url = "mirror://gnu/mpfr/${name}.tar.xz";
10− sha256 = "0l598h9klpgkz2bp0rxiqb90mkqh9f2f81n5rpy191j00hdaqqks";
11+ sha256 = "0vp1lrc08gcmwdaqck6bpzllkrykvp06vz5gnqpyw0v3h9h4m1v7";
1112 };
1213
1314 outputs = [ "out" "dev" "doc" "info" ];
pkgs/development/libraries/ncurses/default.nix+6−4
@@ -1,6 +1,6 @@
11{ lib, stdenv, fetchurl, pkgconfig
22
3−, abiVersion
3+, abiVersion ? "6"
44, mouseSupport ? false
55, unicode ? true
66, enableStatic ? stdenv.hostPlatform.useAndroidPrebuilt
@@ -72,7 +72,9 @@ stdenv.mkDerivation rec {
7272 # When building a wide-character (Unicode) build, create backward
7373 # compatibility links from the the "normal" libraries to the
7474 # wide-character libraries (e.g. libncurses.so to libncursesw.so).
75− postFixup = ''
75+ postFixup = let
76+ abiVersion-extension = if stdenv.isDarwin then "${abiVersion}.$dylibtype" else "$dylibtype.${abiVersion}"; in
77+ ''
7678 # Determine what suffixes our libraries have
7779 suffix="$(awk -F': ' 'f{print $3; f=0} /default library suffix/{f=1}' config.log)"
7880 libs="$(ls $dev/lib/pkgconfig | tr ' ' '\n' | sed "s,\(.*\)$suffix\.pc,\1,g")"
@@ -95,12 +97,12 @@ stdenv.mkDerivation rec {
9597 for dylibtype in so dll dylib; do
9698 if [ -e "$out/lib/lib''${library}$suffix.$dylibtype" ]; then
9799 ln -svf lib''${library}$suffix.$dylibtype $out/lib/lib$library$newsuffix.$dylibtype
98− ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/lib$library$newsuffix.$dylibtype.${abiVersion}
100+ ln -svf lib''${library}$suffix.${abiVersion-extension} $out/lib/lib$library$newsuffix.${abiVersion-extension}
99101 if [ "ncurses" = "$library" ]
100102 then
101103 # make libtinfo symlinks
102104 ln -svf lib''${library}$suffix.$dylibtype $out/lib/libtinfo$newsuffix.$dylibtype
103− ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/libtinfo$newsuffix.$dylibtype.${abiVersion}
105+ ln -svf lib''${library}$suffix.${abiVersion-extension} $out/lib/libtinfo$newsuffix.${abiVersion-extension}
104106 fi
105107 fi
106108 done
pkgs/development/libraries/nspr/default.nix+2−2
@@ -1,14 +1,14 @@
11{ stdenv, fetchurl
22, CoreServices ? null }:
33
4−let version = "4.18"; in
4+let version = "4.19"; in
55
66stdenv.mkDerivation {
77 name = "nspr-${version}";
88
99 src = fetchurl {
1010 url = "mirror://mozilla/nspr/releases/v${version}/src/nspr-${version}.tar.gz";
11− sha256 = "0d7vr3wrgp73qbywrvdkikk8vq1s1n9vhf62db80g1zqkg05g5mq";
11+ sha256 = "0agpv3f17h8kmzi0ifibaaxc1k3xc0q61wqw3l6r2xr2z8bmkn9f";
1212 };
1313
1414 outputs = [ "out" "dev" ];
pkgs/development/libraries/nss/default.nix+3−12
@@ -1,13 +1,6 @@
11{ stdenv, fetchurl, nspr, perl, zlib, sqlite, fixDarwinDylibNames }:
22
33let
4−
5− # Fix aarch64 build, shouldn't be needed after 3.35
6− aarch64Patch = fetchurl {
7− url = https://hg.mozilla.org/projects/nss/raw-rev/74e679158d1b;
8− sha256 = "1lhs4h32mb2al3z461yylk227nid769di1pdjr7p0kqm2z1qm3jq";
9− };
10−
114 nssPEM = fetchurl {
125 url = http://dev.gentoo.org/~polynomial-c/mozilla/nss-3.15.4-pem-support-20140109.patch.xz;
136 sha256 = "10ibz6y0hknac15zr6dw4gv9nb5r5z9ym6gq18j3xqx7v7n3vpdw";
@@ -15,11 +8,11 @@ let
158
169in stdenv.mkDerivation rec {
1710 name = "nss-${version}";
18− version = "3.35";
11+ version = "3.36.1";
1912
2013 src = fetchurl {
21− url = "mirror://mozilla/security/nss/releases/NSS_3_35_RTM/src/${name}.tar.gz";
22− sha256 = "1ypn68z9ncbbshi3184ywrhx5i846lyd72gps1grzqzdkgh7s4pl";
14+ url = "mirror://mozilla/security/nss/releases/NSS_3_36_1_RTM/src/${name}.tar.gz";
15+ sha256 = "1zrb49mp7cy3snnday1zv8d76h1mgppbcwxnlkqsgxlga8fl89b0";
2316 };
2417
2518 buildInputs = [ perl zlib sqlite ]
@@ -29,8 +22,6 @@ in stdenv.mkDerivation rec {
2922
3023 prePatch = ''
3124 xz -d < ${nssPEM} | patch -p1
32− '' + stdenv.lib.optionalString stdenv.isAarch64 ''
33− (cd nss && patch -p1 < ${aarch64Patch})
3425 '';
3526
3627 patches =
pkgs/development/libraries/openexr/default.nix+1
@@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
2323 propagatedBuildInputs = [ ilmbase zlib ];
2424
2525 enableParallelBuilding = true;
26+ doCheck = false; # fails 1 of 1 tests
2627
2728 meta = with stdenv.lib; {
2829 homepage = http://www.openexr.com/;
pkgs/development/libraries/openldap/default.nix+2
@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
3434 ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
3535 ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
3636
37+ doCheck = false; # needs a running LDAP server
38+
3739 installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(out)/var" ];
3840
3941 # 1. Fixup broken libtool
pkgs/development/libraries/openssl/default.nix+1−2
@@ -73,8 +73,7 @@ let
7373
7474 makeFlags = [ "MANDIR=$(man)/share/man" ];
7575
76− # Parallel building is broken in OpenSSL.
77− enableParallelBuilding = false;
76+ enableParallelBuilding = true;
7877
7978 postInstall = ''
8079 # If we're building dynamic libraries, then don't install static
pkgs/development/libraries/p11-kit/default.nix+2
@@ -30,6 +30,8 @@ stdenv.mkDerivation rec {
3030
3131 installFlags = [ "exampledir=\${out}/etc/pkcs11" ];
3232
33+ doInstallCheck = false; # probably a bug in this derivation
34+
3335 meta = with stdenv.lib; {
3436 homepage = https://p11-glue.freedesktop.org/;
3537 platforms = platforms.all;
pkgs/development/libraries/pcre2/default.nix+2
@@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
4040
4141 outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];
4242
43+ doCheck = false; # fails 1 of 3 tests
44+
4345 postFixup = ''
4446 moveToOutput bin/pcre2-config "$dev"
4547 '';
pkgs/development/libraries/phonon/backends/vlc.nix+2−2
@@ -7,7 +7,7 @@
77with lib;
88
99let
10− v = "0.9.0";
10+ v = "0.10.1";
1111 pname = "phonon-backend-vlc";
1212in
1313
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525
2626 src = fetchurl {
2727 url = "mirror://kde/stable/phonon/${pname}/${v}/${pname}-${v}.tar.xz";
28− sha256 = "1gnd1j305mqajw5gxm42vg6ajkvi8611bxgc3qhj5k0saz5dgkn0";
28+ sha256 = "0b87mzkw9fdkrwgnh1kw5i5wnrd05rl42hynlykb7cfymsk6v5h9";
2929 };
3030
3131 buildInputs =
pkgs/development/libraries/physics/nlojet/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, fetchpatch }:
22
33stdenv.mkDerivation rec {
4− name = "nlojet++";
4+ name = "nlojet++-${version}";
55 version = "4.1.3";
66
77 src = fetchurl {
pkgs/development/libraries/poppler/default.nix+2−2
@@ -8,7 +8,7 @@
88}:
99
1010let # beware: updates often break cups-filters build
11− version = "0.63.0";
11+ version = "0.65.0";
1212 mkFlag = optset: flag: "-DENABLE_${flag}=${if optset then "on" else "off"}";
1313in
1414stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616
1717 src = fetchurl {
1818 url = "${meta.homepage}/poppler-${version}.tar.xz";
19− sha256 = "04d1z1ygyb3llzc6s6c99wxafvljj2sc5b76djif34f7mzfqmk17";
19+ sha256 = "01wgvpi1l7nqkvixnmhmlpld0fjryhl7rlwvba6agz9yz1rwzj49";
2020 };
2121
2222 outputs = [ "out" "dev" ];
pkgs/development/libraries/popt/default.nix+4−2
@@ -8,10 +8,12 @@ stdenv.mkDerivation rec {
88 sha256 = "1j2c61nn2n351nhj4d25mnf3vpiddcykq005w2h6kw79dwlysa77";
99 };
1010
11− patches = if stdenv.isCygwin then [
11+ patches = stdenv.lib.optionals stdenv.isCygwin [
1212 ./1.16-cygwin.patch
1313 ./1.16-vpath.patch
14− ] else null;
14+ ];
15+
16+ doCheck = false; # fails
1517
1618 meta = {
1719 description = "Command line option parsing library";
pkgs/development/libraries/qt-4.x/4.8/default.nix+2
@@ -192,6 +192,8 @@ stdenv.mkDerivation rec {
192192 sed -i 's/^\(LIBS[[:space:]]*=.*$\)/\1 -lobjc/' ./src/corelib/Makefile.Release
193193 '';
194194
195+ doCheck = false; # qwebframe test fails with fontconfig errors
196+
195197 postInstall = ''
196198 rm -rf $out/tests
197199 '';
pkgs/development/libraries/qt-5/5.10/default.nix+1−3
@@ -37,9 +37,7 @@ let
3737 srcs = import ./srcs.nix { inherit fetchurl; inherit mirror; };
3838
3939 patches = {
40− qtbase = [ ./qtbase.patch ] ++
41− optionals stdenv.isDarwin [ ./qtbase-darwin.patch
42− ./restore-pc-files.patch ];
40+ qtbase = [ ./qtbase.patch ./qtbase-darwin.patch ];
4341 qtdeclarative = [ ./qtdeclarative.patch ];
4442 qtscript = [ ./qtscript.patch ];
4543 qtserialport = [ ./qtserialport.patch ];
pkgs/development/libraries/qt-5/5.10/restore-pc-files.patchdeleted−27
@@ -1,27 +0,0 @@
1−diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
2−index e6a0d97f1a..b50ce77d51 100644
3−--- a/mkspecs/features/qt_module.prf
4−+++ b/mkspecs/features/qt_module.prf
5−@@ -266,7 +266,7 @@ load(qt_installs)
6− load(qt_targets)
7−
8− # this builds on top of qt_common
9−-!internal_module:!lib_bundle:if(unix|mingw) {
10−+!internal_module:if(unix|mingw) {
11− CONFIG += create_pc
12− QMAKE_PKGCONFIG_DESTDIR = pkgconfig
13− host_build: \
14−diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf
15−index 62b88c6fe2..f302f1e202 100644
16−--- a/mkspecs/features/qt_module_headers.prf
17−+++ b/mkspecs/features/qt_module_headers.prf
18−@@ -102,8 +102,7 @@ git_build: \
19− else: \
20− INC_PATH = $$MODULE_BASE_INDIR
21− include($$INC_PATH/include/$$MODULE_INCNAME/headers.pri, "", true)
22−-!lib_bundle: \ # Headers are embedded into the bundle, so don't install them separately.
23−- CONFIG += qt_install_headers
24−+CONFIG += qt_install_headers
25−
26− alien_syncqt: return()
27−
pkgs/development/libraries/qt-5/mkDerivation.nix+3
@@ -16,6 +16,9 @@ let
1616 optional (!debug) "-DQT_NO_DEBUG"
1717 ++ lib.toList (args.NIX_CFLAGS_COMPILE or []);
1818
19+ configureFlags = [ "-no-framework" ]
20+ ++ (args.configureFlags or []);
21+
1922 cmakeFlags =
2023 (args.cmakeFlags or [])
2124 ++ [
pkgs/development/libraries/qt-5/modules/qtbase.nix+6
@@ -327,6 +327,12 @@ stdenv.mkDerivation {
327327 ]
328328 ++ lib.optional withGtk3 "-gtk"
329329 ++ lib.optional (compareVersion "5.9.0" >= 0) "-inotify"
330+ ++ lib.optionals (compareVersion "5.10.0" >= 0) [
331+ # Without these, Qt stops working on kernels < 3.17. See:
332+ # https://github.com/NixOS/nixpkgs/issues/38832
333+ "-no-feature-renameat2"
334+ "-no-feature-getentropy"
335+ ]
330336 );
331337
332338 enableParallelBuilding = true;
pkgs/development/libraries/qt-5/modules/qtwebengine.nix+4
@@ -31,6 +31,10 @@ qtModule {
3131
3232 enableParallelBuilding = true;
3333
34+ # ninja builds some components with -Wno-format,
35+ # which cannot be set at the same time as -Wformat-security
36+ hardeningDisable = [ "format" ];
37+
3438 postPatch =
3539 # Patch Chromium build tools
3640 ''
pkgs/development/libraries/qtinstaller/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, qtdeclarative , qttools, qtbase, qmake }:
22
33stdenv.mkDerivation rec {
4− name = "qtinstaller";
4+ name = "qtinstaller-${version}";
55
66 propagatedBuildInputs = [ qtdeclarative qttools ];
77 nativeBuildInputs = [ qmake ];
pkgs/development/libraries/re2/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
4− name = "re2";
4+ name = "re2-${version}";
55 version = "20140304";
66
77 src = fetchurl {
8− url = "https://re2.googlecode.com/files/${name}-${version}.tgz";
8+ url = "https://re2.googlecode.com/files/${name}.tgz";
99 sha256 = "19wn0472c9dsxp35d0m98hlwhngx1f2xhxqgr8cb5x72gnjx3zqb";
1010 };
1111
pkgs/development/libraries/serf/default.nix+2−6
@@ -17,17 +17,13 @@ stdenv.mkDerivation rec {
1717 sed -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"PATH":os.environ["PATH"]})' \
1818 -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"NIX_CFLAGS_COMPILE":os.environ["NIX_CFLAGS_COMPILE"]})' \
1919 -e '/^env[.]Append(BUILDERS/ienv.Append(ENV={"NIX_LDFLAGS":os.environ["NIX_LDFLAGS"]})' \
20− -e 's,$OPENSSL/lib,${openssl.out}/lib,' \
21− -e 's,$OPENSSL/include,${openssl.dev}/include,' \
2220 -i SConstruct
2321 '';
2422
2523 buildPhase = ''
2624 scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr.dev}"/bin/*-config)" CFLAGS="-I${zlib.dev}/include" \
27− LINKFLAGS="-L${zlib.out}/lib -L${expat}/lib -L${openldap}/lib -L${libiconv}/lib" \
28− APU="$(echo "${aprutil.dev}"/bin/*-config)" CC="${
29− if stdenv.cc.isClang then "clang" else "${stdenv.cc}/bin/gcc"
30− }" ${
25+ LINKFLAGS="-L${zlib.out}/lib -L${openldap}/lib -L${libiconv}/lib" \
26+ APU="$(echo "${aprutil.dev}"/bin/*-config)" CC=$CC ${
3127 if (stdenv.isDarwin || stdenv.isCygwin) then "" else "GSSAPI=\"${kerberos.dev}\""
3228 }
3329 '';
pkgs/development/libraries/spice-gtk/default.nix+1−1
@@ -52,7 +52,7 @@ in stdenv.mkDerivation rec {
5252
5353 nativeBuildInputs = [ pkgconfig gettext libsoup autoreconfHook vala gobjectIntrospection ];
5454
55− PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "share/polkit-1/actions";
55+ PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "$(out)/share/polkit-1/actions";
5656
5757 configureFlags = [
5858 "--with-gtk3"
pkgs/development/libraries/sqlcipher/default.nix+2
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
2020 CFLAGS = [ "-DSQLITE_ENABLE_COLUMN_METADATA=1" "-DSQLITE_SECURE_DELETE=1" "-DSQLITE_ENABLE_UNLOCK_NOTIFY=1" "-DSQLITE_HAS_CODEC" ];
2121 LDFLAGS = lib.optional (readline != null) "-lncurses";
2222
23+ doCheck = false; # fails. requires tcl?
24+
2325 meta = with stdenv.lib; {
2426 homepage = http://sqlcipher.net/;
2527 description = "Full Database Encryption for SQLite";
pkgs/development/libraries/sqlite/analyzer.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, fetchurl, unzip, sqlite, tcl }:
2+
3+let
4+ archiveVersion = import ./archive-version.nix stdenv.lib;
5+in
6+
7+stdenv.mkDerivation rec {
8+ name = "sqlite-analyzer-${version}";
9+ version = "3.23.1";
10+
11+ src = assert version == sqlite.version; fetchurl {
12+ url = "https://sqlite.org/2018/sqlite-src-${archiveVersion version}.zip";
13+ sha256 = "1z3xr8d8ds4l8ndkg34cii13d0w790nlxdkrw6virinqi7wmmd1d";
14+ };
15+
16+ nativeBuildInputs = [ unzip ];
17+ buildInputs = [ tcl ];
18+
19+ makeFlags = [ "sqlite3_analyzer" ];
20+
21+ installPhase = "install -Dt $out/bin sqlite3_analyzer";
22+
23+ meta = with stdenv.lib; {
24+ description = "A tool that shows statistics about SQLite databases";
25+ downloadPage = http://sqlite.org/download.html;
26+ homepage = http://www.sqlite.org;
27+ maintainers = with maintainers; [ pesterhazy ];
28+ platforms = platforms.unix;
29+ };
30+}
pkgs/development/libraries/sqlite/archive-version.nixnew file+11
@@ -0,0 +1,11 @@
1+lib: version:
2+
3+with lib;
4+
5+let
6+ fragments = splitString "." version;
7+ major = head fragments;
8+ minor = concatMapStrings (fixedWidthNumber 2) (tail fragments);
9+in
10+
11+major + minor + "00"
pkgs/development/libraries/sqlite/default.nix+19−10
@@ -1,21 +1,29 @@
1−{ lib, stdenv, fetchurl, interactive ? false, readline ? null, ncurses ? null }:
1+{ stdenv, fetchurl, zlib, interactive ? false, readline ? null, ncurses ? null }:
22
33assert interactive -> readline != null && ncurses != null;
44
5−stdenv.mkDerivation {
6− name = "sqlite-3.22.0";
5+with stdenv.lib;
76
7+let
8+ archiveVersion = import ./archive-version.nix stdenv.lib;
9+in
10+
11+stdenv.mkDerivation rec {
12+ name = "sqlite-${version}";
13+ version = "3.23.1";
14+
15+ # NB! Make sure to update analyzer.nix src (in the same directory).
816 src = fetchurl {
9− url = "http://sqlite.org/2018/sqlite-autoconf-3220000.tar.gz";
10− sha256 = "04n6hnw2g818d7r92cp2608kd5mhzyysy83k29kbq1mp709an918";
17+ url = "https://sqlite.org/2018/sqlite-autoconf-${archiveVersion version}.tar.gz";
18+ sha256 = "09ggapjhqjb2pzk0wkfczil77plijg3d77m2bpzlwx2y7ql2p14j";
1119 };
1220
1321 outputs = [ "bin" "dev" "out" ];
1422 separateDebugInfo = stdenv.isLinux;
1523
16− buildInputs = lib.optionals interactive [ readline ncurses ];
24+ buildInputs = [ zlib ] ++ optionals interactive [ readline ncurses ];
1725
18− configureFlags = [ "--enable-threadsafe" ] ++ lib.optional interactive "--enable-readline";
26+ configureFlags = [ "--enable-threadsafe" ] ++ optional interactive "--enable-readline";
1927
2028 NIX_CFLAGS_COMPILE = [
2129 "-DSQLITE_ENABLE_COLUMN_METADATA"
@@ -59,9 +67,10 @@ stdenv.mkDerivation {
5967 '';
6068
6169 meta = {
62− homepage = http://www.sqlite.org/;
6370 description = "A self-contained, serverless, zero-configuration, transactional SQL database engine";
64− platforms = stdenv.lib.platforms.unix;
65− maintainers = with stdenv.lib.maintainers; [ eelco np ];
71+ downloadPage = http://sqlite.org/download.html;
72+ homepage = http://www.sqlite.org/;
73+ maintainers = with maintainers; [ eelco np ];
74+ platforms = platforms.unix;
6675 };
6776}
pkgs/development/libraries/sqlite/sqlite3_analyzer.nixdeleted−27
@@ -1,27 +0,0 @@
1−{ lib, stdenv, fetchurl, unzip, tcl }:
2−
3−stdenv.mkDerivation {
4− name = "sqlite3_analyzer-3.22.0";
5−
6− src = fetchurl {
7− url = "https://www.sqlite.org/2018/sqlite-src-3220000.zip";
8− sha256 = "04w97jj1659vl84rr73wg1mhj6by8r5075rzpn2xp42n537a7ibv";
9− };
10−
11− nativeBuildInputs = [ unzip ];
12− buildInputs = [ tcl ];
13−
14− makeFlags = [ "sqlite3_analyzer" ];
15−
16− installPhase = ''
17− install -Dm755 sqlite3_analyzer \
18− "$out/bin/sqlite3_analyzer"
19− '';
20−
21− meta = with stdenv.lib; {
22− homepage = http://www.sqlite.org/;
23− description = "A tool that shows statistics about sqlite databases";
24− platforms = platforms.unix;
25− maintainers = with maintainers; [ pesterhazy ];
26− };
27−}
pkgs/development/libraries/srtp/default.nix+2−2
@@ -5,13 +5,13 @@
55with stdenv.lib;
66stdenv.mkDerivation rec {
77 name = "libsrtp-${version}";
8− version = "2.1.0";
8+ version = "2.2.0";
99
1010 src = fetchFromGitHub {
1111 owner = "cisco";
1212 repo = "libsrtp";
1313 rev = "v${version}";
14− sha256 = "1q2rf1d2bsypdnw9k8ag6hrh9vbinfa504d1f42fdgdqw31d6lib";
14+ sha256 = "1ac7xs1djb03j131f1gmqyfmrplblid9qqyxahs0shdy707r5ll6";
1515 };
1616
1717 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/tk/8.5.nix−1
@@ -8,4 +8,3 @@ callPackage ./generic.nix (args // rec {
88 };
99
1010})
11−
pkgs/development/libraries/tk/8.6.nix−1
@@ -10,4 +10,3 @@ callPackage ./generic.nix (args // rec {
1010 patches = [ ./different-prefix-with-tcl.patch ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./Fix-bad-install_name-for-libtk8.6.dylib.patch ];
1111
1212})
13−
pkgs/development/libraries/tk/generic.nix+2
@@ -31,6 +31,8 @@ stdenv.mkDerivation {
3131
3232 NIX_CFLAGS_LINK = if stdenv.isDarwin then "-lfontconfig" else null;
3333
34+ doCheck = false; # fails. can't find itself
35+
3436 inherit tcl;
3537
3638 passthru = rec {
pkgs/development/libraries/wayland/default.nix+2−2
@@ -8,11 +8,11 @@ assert expat != null;
88
99stdenv.mkDerivation rec {
1010 name = "wayland-${version}";
11− version = "1.14.0";
11+ version = "1.15.0";
1212
1313 src = fetchurl {
1414 url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
15− sha256 = "1f3sla6h0bw15fz8pjc67jhwj7pwmfdc7qlj42j5k9v116ycm07d";
15+ sha256 = "1c5fnys8hi71cnzjv5k7j0r8gx80p0yyqlrpmn06mmarhnxvwgzb";
1616 };
1717
1818 configureFlags = [ "--with-scanner" "--disable-documentation" ];
pkgs/development/libraries/wayland/protocols.nix+2−2
@@ -4,11 +4,11 @@
44
55stdenv.mkDerivation rec {
66 name = "wayland-protocols-${version}";
7− version = "1.13";
7+ version = "1.14";
88
99 src = fetchurl {
1010 url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
11− sha256 = "0f4gqvmz53q9d8h0ilhf4z773nb4vskzx11a3d1jycym120bqn07";
11+ sha256 = "1xknjcfhqvdi1s4iq4kk1q61fg2rar3g8q4vlqarpd324imqjj4n";
1212 };
1313
1414 nativeBuildInputs = [ pkgconfig ];
pkgs/development/libraries/x265/default.nix+2−2
@@ -16,14 +16,14 @@ in
1616
1717stdenv.mkDerivation rec {
1818 name = "x265-${version}";
19− version = "2.6";
19+ version = "2.7";
2020
2121 src = fetchurl {
2222 urls = [
2323 "http://get.videolan.org/x265/x265_${version}.tar.gz"
2424 "https://github.com/videolan/x265/archive/${version}.tar.gz"
2525 ];
26− sha256 = "1gyd94jkwdii9308m07nymsbxrmrcl81c0j8i10zhslr2mj07w0v";
26+ sha256 = "18llni1m8kfvdwy5bp950z6gyd0nijmvi3hzd6gd8vpy5yk5zrym";
2727 };
2828
2929 enableParallelBuilding = true;
pkgs/development/libraries/zeromq/3.x.nix+2
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
1010
1111 buildInputs = [ libuuid ];
1212
13+ doCheck = false; # fails all the tests (ctest)
14+
1315 meta = with stdenv.lib; {
1416 branch = "3";
1517 homepage = http://www.zeromq.org;
pkgs/development/libraries/zeromq/4.x.nix+2
@@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
1919 sed -i 's,''${PACKAGE_PREFIX_DIR}/,,g' ZeroMQConfig.cmake.in
2020 '';
2121
22+ doCheck = false; # fails all the tests (ctest)
23+
2224 meta = with stdenv.lib; {
2325 branch = "4";
2426 homepage = http://www.zeromq.org;
pkgs/development/perl-modules/BerkeleyDB/default.nix+2−2
@@ -9,7 +9,7 @@ buildPerlPackage rec {
99 };
1010
1111 preConfigure = ''
12− echo "LIB = ${db}/lib" > config.in
13− echo "INCLUDE = ${db}/include" >> config.in
12+ echo "LIB = ${db.out}/lib" > config.in
13+ echo "INCLUDE = ${db.dev}/include" >> config.in
1414 '';
1515}
pkgs/development/perl-modules/DB_File/default.nix+2−2
@@ -12,8 +12,8 @@ buildPerlPackage rec {
1212 cat > config.in <<EOF
1313 PREFIX = size_t
1414 HASH = u_int32_t
15− LIB = ${db}/lib
16− INCLUDE = ${db}/include
15+ LIB = ${db.out}/lib
16+ INCLUDE = ${db.dev}/include
1717 EOF
1818 '';
1919}
pkgs/development/python-modules/Cython/default.nix+2−2
@@ -13,11 +13,11 @@
1313
1414buildPythonPackage rec {
1515 pname = "Cython";
16− version = "0.28.1";
16+ version = "0.28.2";
1717
1818 src = fetchPypi {
1919 inherit pname version;
20− sha256 = "152ee5f345012ca3bb7cc71da2d3736ee20f52cd8476e4d49e5e25c5a4102b12";
20+ sha256 = "634e2f10fc8d026c633cffacb45cd8f4582149fa68e1428124e762dbc566e68a";
2121 };
2222
2323 nativeBuildInputs = [
pkgs/development/python-modules/Nikola/default.nix+2−2
@@ -29,7 +29,7 @@
2929
3030buildPythonPackage rec {
3131 pname = "Nikola";
32− version = "7.8.14";
32+ version = "7.8.15";
3333
3434 # Nix contains only Python 3 supported version of doit, which is a dependency
3535 # of Nikola. Python 2 support would require older doit 0.29.0 (which on the
@@ -46,7 +46,7 @@ buildPythonPackage rec {
4646
4747 src = fetchPypi {
4848 inherit pname version;
49− sha256 = "0d838817ac30ac6d4b8139a2adc8b49bed22dbb8fbc6261958d2775e10447d92";
49+ sha256 = "182b4b9254f0d710603ba491853429ad6ef3f955f3e718191336b44cfd649000";
5050 };
5151
5252 meta = {
pkgs/development/python-modules/XlsxWriter/default.nix+2−2
@@ -3,11 +3,11 @@
33buildPythonPackage rec {
44 name = "${pname}-${version}";
55 pname = "XlsxWriter";
6− version = "1.0.2";
6+ version = "1.0.4";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "0mpq4l1jfghdqx2vzbzl9v28vw69lkx5vz9gb77gzaw8zypvnsx2";
10+ sha256 = "ad947fd9e8edfb64f25e0ccfb161e109f279e5a5520b3dd22ddc03b7f8220887";
1111 };
1212
1313 meta = {
pkgs/development/python-modules/aenum/default.nix+2−2
@@ -2,12 +2,12 @@
22
33buildPythonPackage rec {
44 pname = "aenum";
5− version = "2.1.0";
5+ version = "2.1.2";
66 name = "${pname}-${version}";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "9eb1c8f48ae13c56d22a7227db0e4b1717131b284c6c0db6e4ccca6f5894df95";
10+ sha256 = "a3208e4b28db3a7b232ff69b934aef2ea1bf27286d9978e1e597d46f490e4687";
1111 };
1212
1313 # For Python 3, locale has to be set to en_US.UTF-8 for
pkgs/development/python-modules/aiohttp/default.nix+2−2
@@ -16,11 +16,11 @@
1616
1717buildPythonPackage rec {
1818 pname = "aiohttp";
19− version = "3.1.2";
19+ version = "3.1.3";
2020
2121 src = fetchPypi {
2222 inherit pname version;
23− sha256 = "df49fe4452a942e0031174c78917f9926d122d4603bf56bae4591639f2a3dc6a";
23+ sha256 = "9fcef0489e3335b200d31a9c1fb6ba80fdafe14cd82b971168c2f9fa1e4508ad";
2424 };
2525
2626 disabled = pythonOlder "3.5";
pkgs/development/python-modules/astral/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "astral";
5− version = "1.6";
5+ version = "1.6.1";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "874b397ddbf0a4c1d8d644b21c2481e8a96b61343f820ad52d8a322d61a15083";
9+ sha256 = "ab0c08f2467d35fcaeb7bad15274743d3ac1ad18b5391f64a0058a9cd192d37d";
1010 };
1111
1212 propagatedBuildInputs = [ pytz requests ];
pkgs/development/python-modules/astropy/default.nix+2−2
@@ -7,7 +7,7 @@
77
88buildPythonPackage rec {
99 pname = "astropy";
10− version = "3.0.1";
10+ version = "3.0.2";
1111
1212 disabled = !isPy3k; # according to setup.py
1313
@@ -15,7 +15,7 @@ buildPythonPackage rec {
1515
1616 src = fetchPypi {
1717 inherit pname version;
18− sha256 = "c35f4433c14ddfcaf2407cc815385f3d85396727e9a1e660cf66a7c4f5dd1067";
18+ sha256 = "22e682904a3b8884595addfb743cf1a3ecf2b539c6616d98f8426208d822d84a";
1919 };
2020
2121 propagatedBuildInputs = [ pytest numpy ]; # yes it really has pytest in install_requires
pkgs/development/python-modules/bayespy/default.nix+2−2
@@ -4,7 +4,7 @@
44
55buildPythonPackage rec {
66 pname = "bayespy";
7− version = "0.5.14";
7+ version = "0.5.17";
88 name = "${pname}-${version}";
99
1010 # Python 2 not supported and not some old Python 3 because MPL doesn't support
@@ -13,7 +13,7 @@ buildPythonPackage rec {
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− sha256 = "129bac6a1c494eedabdd04abf14aac35db176d25db44e27f755c758a18adf03c";
16+ sha256 = "2e04cd9873eea6891ea8dfd5fc6d718727ea7cc416bc2ced50e00a741386925f";
1717 };
1818
1919 checkInputs = [ pytest glibcLocales ];
pkgs/development/python-modules/bootstrapped-pip/default.nix+5−15
@@ -3,9 +3,9 @@
33let
44 wheel_source = fetchPypi {
55 pname = "wheel";
6− version = "0.30.0";
6+ version = "0.31.0";
77 format = "wheel";
8− sha256 = "e721e53864f084f956f40f96124a74da0631ac13fbbd1ba99e8e2b5e9cafdf64";
8+ sha256 = "9cdc8ab2cc9c3c2e2727a4b67c22881dbb0e1c503d592992594c5e131c867107";
99 };
1010 setuptools_source = fetchPypi {
1111 pname = "setuptools";
@@ -14,23 +14,15 @@ let
1414 sha256 = "8010754433e3211b9cdbbf784b50f30e80bf40fc6b05eb5f865fab83300599b8";
1515 };
1616
17− # TODO: Shouldn't be necessary anymore for pip >= 10!
18− # https://github.com/NixOS/nixpkgs/issues/26392
19− # https://github.com/pypa/setuptools/issues/885
20− pkg_resources = fetchurl {
21− url = "https://raw.githubusercontent.com/pypa/setuptools/v36.0.1/pkg_resources/__init__.py";
22− sha256 = "1wdnq3mammk75mifkdmmjx7yhnpydvnvi804na8ym4mj934l2jkv";
23− };
24−
2517in stdenv.mkDerivation rec {
2618 pname = "pip";
27− version = "9.0.3";
19+ version = "10.0.1";
2820 name = "${python.libPrefix}-bootstrapped-${pname}-${version}";
2921
3022 src = fetchPypi {
3123 inherit pname version;
3224 format = "wheel";
33− sha256 = "c3ede34530e0e0b2381e7363aded78e0c33291654937e7373032fda04e8803e5";
25+ sha256 = "717cdffb2833be8409433a93746744b59505f42146e8d37de6c62b430e25d6d7";
3426 };
3527
3628 unpackPhase = ''
@@ -38,8 +30,6 @@ in stdenv.mkDerivation rec {
3830 unzip -d $out/${python.sitePackages} $src
3931 unzip -d $out/${python.sitePackages} ${setuptools_source}
4032 unzip -d $out/${python.sitePackages} ${wheel_source}
41− # TODO: Shouldn't be necessary anymore for pip >= 10!
42− cp ${pkg_resources} $out/${python.sitePackages}/pip/_vendor/pkg_resources/__init__.py
4333 '';
4434
4535 patchPhase = ''
@@ -53,7 +43,7 @@ in stdenv.mkDerivation rec {
5343
5444 # install pip binary
5545 echo '#!${python.interpreter}' > $out/bin/pip
56− echo 'import sys;from pip import main' >> $out/bin/pip
46+ echo 'import sys;from pip._internal import main' >> $out/bin/pip
5747 echo 'sys.exit(main())' >> $out/bin/pip
5848 chmod +x $out/bin/pip
5949
pkgs/development/python-modules/buildout-nix/default.nix+2−2
@@ -2,12 +2,12 @@
22
33buildPythonPackage rec {
44 pname = "zc.buildout";
5− version = "2.11.2";
5+ version = "2.11.3";
66 name = "${pname}-nix-${version}";
77
88 src = fetchurl {
99 url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.tar.gz";
10− sha256 = "e304f3604a4235e896e94ea79230cfb9c0bc54569f04d5c6c4b49cc9dc4fdbf6";
10+ sha256 = "f7fde2cde7b937f67e52a3e94b76f9294b73c1e9bb698430e96778f3f735544c";
1111 };
1212
1313 patches = [ ./nix.patch ];
pkgs/development/python-modules/buildout/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "zc.buildout";
5− version = "2.2.1";
5+ version = "2.2.5";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "1xafi6ndlm964qj7pnmzmvhp719c8pgs7r7wkr508v3cq2jjw4m6";
9+ sha256 = "fb08f24f9e51e647e29d714f6e9ad51a4ea28673dddeed831315617bb5a805d0";
1010 };
1111
1212 meta = with stdenv.lib; {
pkgs/development/python-modules/cmarkgfm/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "cmarkgfm";
5− version = "0.4.0";
5+ version = "0.4.2";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "977d7061779c7ebc5cbe7af71adb795ced96058552fe5f6b646d95b5055959be";
9+ sha256 = "f20900f16377f2109783ae9348d34bc80530808439591c3d3df73d5c7ef1a00c";
1010 };
1111
1212 propagatedBuildInputs = [ cffi ];
pkgs/development/python-modules/colorlog/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "colorlog";
5− version = "3.1.2";
5+ version = "3.1.4";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "0i21sd6pggr2gqza41vyq2rqyb552wf5iwl4bc16i7kqislbd53z";
9+ sha256 = "418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d";
1010 };
1111
1212 checkInputs = [ pytest ];
pkgs/development/python-modules/confluent-kafka/default.nix+2−2
@@ -2,12 +2,12 @@
22
33buildPythonPackage rec {
44 name = "${pname}-${version}";
5− version = "0.11.0";
5+ version = "0.11.4";
66 pname = "confluent-kafka";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "4c34bfe8f823ee3777d93820ec6578365d2bde3cd1302cbd0e44c86b68643667";
10+ sha256 = "8cf480199685127c9692b0bf1e15eac82e71ae34b7967a016ab31a318741abb1";
1111 };
1212
1313 buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro ]) ;
pkgs/development/python-modules/dask/default.nix+2−2
@@ -12,12 +12,12 @@
1212
1313buildPythonPackage rec {
1414 pname = "dask";
15− version = "0.17.2";
15+ version = "0.17.4";
1616 name = "${pname}-${version}";
1717
1818 src = fetchPypi {
1919 inherit pname version;
20− sha256 = "27e470b8cfdd0516189e641b1213fceec0ddc4f37ead1fbce733d3381134fccd";
20+ sha256 = "c111475a3d1f8cba41c8094e1fb1831c65015390dcef0308042a11a9606a2f6d";
2121 };
2222
2323 checkInputs = [ pytest ];
pkgs/development/python-modules/deprecation/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ lib, buildPythonPackage, fetchPypi, python, packaging, unittest2 }:
2+
3+buildPythonPackage rec {
4+ pname = "deprecation";
5+ version = "2.0.2";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "e8d0dc5a17d7d551730e5f23ff3a53fc9e438364b9efb47d41c3e9b05522eabe";
10+ };
11+
12+ propagatedBuildInputs = [ packaging ];
13+
14+ checkInputs = [ unittest2 ];
15+
16+ checkPhase = ''
17+ ${python.interpreter} -m unittest discover
18+ '';
19+
20+ meta = with lib; {
21+ description = "A library to handle automated deprecations";
22+ homepage = https://deprecation.readthedocs.io/;
23+ license = licenses.asl20;
24+ };
25+}
pkgs/development/python-modules/devpi-common/default.nix+2−2
@@ -2,12 +2,12 @@
22
33with pythonPackages;buildPythonPackage rec {
44 pname = "devpi-common";
5− version = "3.2.1";
5+ version = "3.2.3";
66 name = "${pname}-${version}";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "e9afa277a9b227d92335c49fab40be2e9bb112c0f4dda84906c14addb1ded2f7";
10+ sha256 = "d2ecae3a92b2da62ecc6586d1c40d265e61bce70d7f1be2327e8b98598ba2687";
1111 };
1212
1313 propagatedBuildInputs = [ requests py ];
pkgs/development/python-modules/django-ipware/default.nix+2−2
@@ -3,7 +3,7 @@
33buildPythonPackage rec {
44 pname = "django-ipware";
55 name = "${pname}-${version}";
6− version = "2.0.1";
6+ version = "2.0.2";
77
88 meta = {
99 description = "A Django application to retrieve user's IP address";
@@ -13,7 +13,7 @@ buildPythonPackage rec {
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− sha256 = "3fba8821298c8533ce5609debf31dc8a22f228c50e100f42d97637a9f9357d43";
16+ sha256 = "abf2bfbf0ec6c04679372a55c25889c9b08f55ec404bca3dfc08f3cf6c832a11";
1717 };
1818
1919 propagatedBuildInputs = [ django ];
pkgs/development/python-modules/django/2_0.nix+2−2
@@ -7,13 +7,13 @@
77buildPythonPackage rec {
88 pname = "Django";
99 name = "${pname}-${version}";
10− version = "2.0.4";
10+ version = "2.0.5";
1111
1212 disabled = !isPy3k;
1313
1414 src = fetchPypi {
1515 inherit pname version;
16− sha256 = "d81a1652963c81488e709729a80b510394050e312f386037f26b54912a3a10d0";
16+ sha256 = "71d1a584bb4ad2b4f933d07d02c716755c1394feaac1ce61ce37843ac5401092";
1717 };
1818
1919 patches = stdenv.lib.optionals withGdal [
pkgs/development/python-modules/faker/default.nix+2−2
@@ -8,11 +8,11 @@ assert pythonOlder "3.3" -> ipaddress != null;
88
99buildPythonPackage rec {
1010 pname = "Faker";
11− version = "0.8.12";
11+ version = "0.8.13";
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "9cc12b821f32ff45f6edfdc1ab7be3893b60b1224e952d68322a57e5b26a4a15";
15+ sha256 = "48fed4b4a191e2b42ad20c14115f1c6d36d338b80192075d7573f0f42d7fb321";
1616 };
1717
1818 checkInputs = [
pkgs/development/python-modules/fastimport/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "fastimport";
5− version = "0.9.6";
5+ version = "0.9.8";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "1aqjsin4rmqm7ln4j0p73fzxifws6c6ikgyhav7r137m2ixsxl43";
9+ sha256 = "b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9";
1010 };
1111
1212 checkPhase = ''
pkgs/development/python-modules/fiona/default.nix+2−2
@@ -5,12 +5,12 @@
55
66buildPythonPackage rec {
77 pname = "Fiona";
8− version = "1.7.11.post1";
8+ version = "1.7.11.post2";
99 name = "${pname}-${version}";
1010
1111 src = fetchPypi {
1212 inherit pname version;
13− sha256 = "35df044fa805e6b420450f5d4281fc0edf96e1da0545c31032045cd3cfad3abf";
13+ sha256 = "5804c6f5f7e02cf1f95ca404c22653dd47d64e4496a0ba7af5a2d6b2051b872a";
1414 };
1515
1616 buildInputs = [
pkgs/development/python-modules/flake8-future-import/default.nix+4−13
@@ -3,27 +3,18 @@
33
44buildPythonPackage rec {
55 pname = "flake8-future-import";
6− name = "${pname}-${version}";
7− version = "0.4.3";
6+ version = "0.4.5";
7+
88 # PyPI tarball doesn't include the test suite
99 src = fetchFromGitHub {
1010 owner = "xZise";
1111 repo = "flake8-future-import";
1212 rev = version;
13− sha256 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4";
13+ sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr";
1414 };
1515
16− patches = [
17− # Tests in 0.4.3 are broken. We can remove this patch after
18− # the next release.
19− (fetchurl {
20− url = "https://github.com/xZise/flake8-future-import/commit/b4f5a06b22c574fb5270574d1420715667768d5c.patch";
21− sha256 = "06n9ggz9p9kiwjb3vmaj44pm5vi4nhgzjfn7i730m85xn67xzmyn";
22− })
23− ];
24−
25−
2616 propagatedBuildInputs = [ flake8 six ];
17+
2718 meta = {
2819 homepage = https://github.com/xZise/flake8-future-import;
2920 description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base";
pkgs/development/python-modules/flask-cors/default.nix+2−2
@@ -4,11 +4,11 @@
44buildPythonPackage rec {
55 name = "${pname}-${version}";
66 pname = "Flask-Cors";
7− version = "3.0.3";
7+ version = "3.0.4";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "62ebc5ad80dc21ca0ea9f57466c2c74e24a62274af890b391790c260eb7b754b";
11+ sha256 = "bec996f0603a0693c0ea63c8126e5f8e966bb679cf82e6104b254e9c7f3a7d08";
1212 };
1313
1414 buildInputs = [ nose ];
pkgs/development/python-modules/flask/default.nix+2−2
@@ -3,12 +3,12 @@
33
44buildPythonPackage rec {
55 name = "${pname}-${version}";
6− version = "0.12.2";
6+ version = "0.12.4";
77 pname = "Flask";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "1hfs2jr2m5lr51xd4gblb28rncd0xrpycz6c07cyqsbv4dhl9x29";
11+ sha256 = "2ea22336f6d388b4b242bc3abf8a01244a8aa3e236e7407469ef78c16ba355dd";
1212 };
1313
1414 checkInputs = [ pytest ];
pkgs/development/python-modules/google-api-python-client/default.nix+2−2
@@ -3,11 +3,11 @@
33
44buildPythonPackage rec {
55 pname = "google-api-python-client";
6− version = "1.6.6";
6+ version = "1.6.7";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "ec72991f95201996a4edcea44a079cae0292798086beaadb054d91921632fe1b";
10+ sha256 = "05583a386e323f428552419253765314a4b29828c3cee15be735f9ebfa5aebf2";
1111 };
1212
1313 # No tests included in archive
pkgs/development/python-modules/google_api_core/default.nix+2−2
@@ -3,11 +3,11 @@
33
44buildPythonPackage rec {
55 pname = "google-api-core";
6− version = "1.1.0";
6+ version = "1.1.2";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "b4f103de6bd38ab346f7d17236f6098a51ebdff733ff69956a0f1e29cb35f10b";
10+ sha256 = "2000963305e95410a66e6ef6cfcc9f4627a4a95cb1c10abc98268814f2a6cd80";
1111 };
1212
1313 propagatedBuildInputs = [
pkgs/development/python-modules/hdbscan/default.nix+2−2
@@ -10,11 +10,11 @@
1010
1111buildPythonPackage rec {
1212 pname = "hdbscan";
13− version = "0.8.12";
13+ version = "0.8.13";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "0yxi34frg2jwyvjl942qy4gq5pbx8dq4pf4p28d1xah8njchfqir";
17+ sha256 = "31874db29375816688b5541287a051c9bd768f2499ccf1f6a4d88d266530e2a6";
1818 };
1919
2020 checkInputs = [ nose ];
pkgs/development/python-modules/ipywidgets/default.nix+2−2
@@ -14,12 +14,12 @@
1414
1515buildPythonPackage rec {
1616 pname = "ipywidgets";
17− version = "7.2.0";
17+ version = "7.2.1";
1818 name = "${pname}-${version}";
1919
2020 src = fetchPypi {
2121 inherit pname version;
22− sha256 = "f23aac2447f593dbdc89a86833a2d59666ed44af42b23c267de380c324599507";
22+ sha256 = "ab9869cda5af7ba449d8f707b29b7e97a7db97d6366805d6b733338f51096f54";
2323 };
2424
2525 # Tests are not distributed
pkgs/development/python-modules/jira/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "jira";
7− version = "1.0.14";
7+ version = "1.0.15";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "1xncrcaqgj0gnva3bz5c4vwnn7z84v9cmr37pc93zx676w62fpm3";
11+ sha256 = "20108a1d5b0dd058d5d4e0047f2d09ee06aaa413b22ca4d5c249e86167417fe8";
1212 };
1313
1414 buildInputs = [ glibcLocales pytest pytestcov pytestrunner pbr ];
pkgs/development/python-modules/jug/default.nix+2−2
@@ -6,7 +6,7 @@
66buildPythonPackage rec {
77 name = "${pname}-${version}";
88 pname = "Jug";
9− version = "1.6.6";
9+ version = "1.6.7";
1010 buildInputs = [ nose numpy ];
1111 propagatedBuildInputs = [
1212 bottle
@@ -19,7 +19,7 @@ buildPythonPackage rec {
1919
2020 src = fetchPypi {
2121 inherit pname version;
22− sha256 = "897ffbbbe8061772c238b4f436512ea3696016a04473c45a716d78c0de103ec1";
22+ sha256 = "a7faba838f3437163ae8459bff96e2c6ca1298312bdb9104c702685178d17269";
2323 };
2424
2525 meta = with stdenv.lib; {
pkgs/development/python-modules/keras/default.nix+4−5
@@ -1,16 +1,15 @@
11{ stdenv, lib, buildPythonPackage, fetchPypi
22, pytest, pytestcov, pytestpep8, pytest_xdist
3−, six, numpy, scipy, pyyaml
3+, six, numpy, scipy, pyyaml, h5py
44}:
55
66buildPythonPackage rec {
77 pname = "Keras";
8− version = "2.1.5";
9− name = "${pname}-${version}";
8+ version = "2.1.6";
109
1110 src = fetchPypi {
1211 inherit pname version;
13− sha256 = "907ad29add1fff27342a9f4fe3e60003d450d3af41a38f22f629c7736fc8399d";
12+ sha256 = "c14af1081242c25617ade7eb62121d58d01f16e1e744bae9fc4f1f95a417716e";
1413 };
1514
1615 checkInputs = [
@@ -21,7 +20,7 @@ buildPythonPackage rec {
2120 ];
2221
2322 propagatedBuildInputs = [
24− six pyyaml numpy scipy
23+ six pyyaml numpy scipy h5py
2524 ];
2625
2726 # Couldn't get tests working
pkgs/development/python-modules/keyring/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "keyring";
7− version = "12.0.1";
7+ version = "12.0.2";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "846c9c709ee1203bac5444abec19b5228f4601377686f33cba672aa0ba313abd";
11+ sha256 = "445d9521b4fcf900e51c075112e25ddcf8af1db7d1d717380b64eda2cda84abc";
1212 };
1313
1414 nativeBuildInputs = [ setuptools_scm ];
pkgs/development/python-modules/llfuse/default.nix+2−2
@@ -4,12 +4,12 @@
44
55buildPythonPackage rec {
66 pname = "llfuse";
7− version = "1.3.3";
7+ version = "1.3.4";
88 name = pname + "-" + version;
99
1010 src = fetchurl {
1111 url = "mirror://pypi/l/llfuse/${name}.tar.bz2";
12− sha256 = "e514fa390d143530c7395f640c6b527f4f80b03f90995c7b38ff0b2f86e11ce7";
12+ sha256 = "50396c5f3c49c3145e696e5b62df4fcca8b66634788020fba7b6932a858c78c2";
1313 };
1414
1515 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/marisa-trie/default.nix+2−2
@@ -8,11 +8,11 @@
88
99buildPythonPackage rec {
1010 pname = "marisa-trie";
11− version = "0.7.4";
11+ version = "0.7.5";
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "1n4pxnaranbh3x2fcqxwh8j1z2918vy7i4q1z4jn75m9rkm5h8ia";
15+ sha256 = "c73bc25d868e8c4ea7aa7f1e19892db07bba2463351269b05340ccfa06eb2baf";
1616 };
1717
1818 postPatch = ''
pkgs/development/python-modules/marshmallow/default.nix+2−2
@@ -5,7 +5,7 @@
55buildPythonPackage rec {
66 pname = "marshmallow";
77 name = "${pname}-${version}";
8− version = "2.15.0";
8+ version = "2.15.1";
99
1010 meta = {
1111 homepage = "https://github.com/marshmallow-code/marshmallow";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
1818
1919 src = fetchPypi {
2020 inherit pname version;
21− sha256 = "d3f31fe7be2106b1d783cbd0765ef4e1c6615505514695f33082805f929dd584";
21+ sha256 = "b73361eab812af97eaf8e8691333a1096787968450051d132c8b9fb90aa1db5a";
2222 };
2323
2424 propagatedBuildInputs = [ dateutil simplejson ];
pkgs/development/python-modules/moto/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "moto";
7− version = "1.3.1";
7+ version = "1.3.3";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "e6b25a32b61ba97bbc2236960ad6865ab111962a927de720c907475adff4499b";
11+ sha256 = "45d14aca2b06b0083d5e82cfd770ebca0ba77b5070aec6928670240939a78681";
1212 };
1313
1414 postPatch = ''
pkgs/development/python-modules/nipype/default.nix+2−2
@@ -33,11 +33,11 @@ assert !isPy3k -> configparser != null;
3333
3434buildPythonPackage rec {
3535 pname = "nipype";
36− version = "1.0.2";
36+ version = "1.0.3";
3737
3838 src = fetchPypi {
3939 inherit pname version;
40− sha256 = "1ed65f3e97fd0f82c418ad48af2107050e86d9e39eea4d22381ad7df932bf1ec";
40+ sha256 = "17850c2a34f10f93d12c994101ce86b5a0b7e939e5b854e9f9920c9513cc8e76";
4141 };
4242
4343 # see https://github.com/nipy/nipype/issues/2240
pkgs/development/python-modules/numexpr/default.nix+2−2
@@ -7,11 +7,11 @@
77
88buildPythonPackage rec {
99 pname = "numexpr";
10− version = "2.6.4";
10+ version = "2.6.5";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "f0bef9a3a5407fb8d6344cf91b658bef7c13ec8a8eb13f423822d9d2ca5af6ce";
14+ sha256 = "f8ad8014085628eab91bc82fb9d10cf9ab8e04ede4884e4a1061445d395b36bb";
1515 };
1616
1717 propagatedBuildInputs = [ numpy ];
pkgs/development/python-modules/numpy/default.nix+5−4
@@ -2,20 +2,21 @@
22
33buildPythonPackage rec {
44 pname = "numpy";
5− version = "1.14.2";
5+ version = "1.14.3";
66
77 src = fetchPypi {
88 inherit pname version;
99 extension = "zip";
10− sha256 = "facc6f925c3099ac01a1f03758100772560a0b020fb9d70f210404be08006bcb";
10+ sha256 = "9016692c7d390f9d378fc88b7a799dc9caa7eb938163dda5276d3f3d6f75debf";
1111 };
1212
1313 disabled = isPyPy;
1414 buildInputs = [ gfortran nose blas ];
1515
1616 patches = lib.optionals (python.hasDistutilsCxxPatch or false) [
17− # See cpython 2.7 patches.
18− # numpy.distutils is used by cython during it's check phase
17+ # We patch cpython/distutils to fix https://bugs.python.org/issue1222585
18+ # Patching of numpy.distutils is needed to prevent it from undoing the
19+ # patch to distutils.
1920 ./numpy-distutils-C++.patch
2021 ];
2122
pkgs/development/python-modules/onkyo-eiscp/default.nix+2−2
@@ -3,12 +3,12 @@
33
44buildPythonPackage rec {
55 pname = "onkyo-eiscp";
6− version = "1.2.4";
6+ version = "1.2.5";
77 name = "${pname}-${version}";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "0qb5w2g2cnckq7psh92g1w3gf76437x1vwfhwnd247wshs5h7hxj";
11+ sha256 = "cfcca6bc6c36992095f5aa4a15870a3ef89b9a26d991da2333891c2675d4ef1b";
1212 };
1313
1414 propagatedBuildInputs = [ docopt netifaces ];
pkgs/development/python-modules/openpyxl/default.nix+2−2
@@ -9,12 +9,12 @@
99
1010buildPythonPackage rec {
1111 pname = "openpyxl";
12− version = "2.5.2";
12+ version = "2.5.3";
1313 name = "${pname}-${version}";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "63165adcc806a5c281febb344f3594541f778f05b99a3a5e802941a3c0a85f71";
17+ sha256 = "0046fca88d6731875a385bf7edd689d7c4133f829203ea615a81291de3fa48b6";
1818 };
1919
2020 checkInputs = [ pytest ];
pkgs/development/python-modules/pathlib2/default.nix+2−2
@@ -10,11 +10,11 @@
1010
1111if !(pythonOlder "3.4") then null else buildPythonPackage rec {
1212 pname = "pathlib2";
13− version = "2.3.0";
13+ version = "2.3.2";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "d32550b75a818b289bd4c1f96b60c89957811da205afcceab75bc8b4857ea5b3";
17+ sha256 = "8eb170f8d0d61825e09a95b38be068299ddeda82f35e96c3301a8a5e7604cb83";
1818 };
1919
2020 propagatedBuildInputs = [ six ] ++ lib.optional (pythonOlder "3.5") scandir;
pkgs/development/python-modules/pbr/default.nix+2−2
@@ -2,12 +2,12 @@
22
33buildPythonPackage rec {
44 pname = "pbr";
5− version = "4.0.1";
5+ version = "4.0.2";
66 name = "${pname}-${version}";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "56b7a8ba7d64bf6135a9dfefb85a80d95924b3fde5ed6343a1a1d464a040dae3";
10+ sha256 = "dae4aaa78eafcad10ce2581fc34d694faa616727837fd8e55c1a00951ad6744f";
1111 };
1212
1313 # circular dependencies with fixtures
pkgs/development/python-modules/pip-tools/default.nix+4−2
@@ -3,12 +3,12 @@
33
44buildPythonPackage rec {
55 pname = "pip-tools";
6− version = "1.11.0";
6+ version = "2.0.2";
77 name = pname + "-" + version;
88
99 src = fetchurl {
1010 url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
11− sha256 = "ba427b68443466c389e3b0b0ef55f537ab39344190ea980dfebb333d0e6a50a3";
11+ sha256 = "f11fc3bf1d87a0b4a68d4d595f619814e2396e92d75d7bdd2500edbf002ea6de";
1212 };
1313
1414 LC_ALL = "en_US.UTF-8";
@@ -22,6 +22,8 @@ buildPythonPackage rec {
2222 "test_generate_hashes_without_interfering_with_each_other"
2323 "test_realistic_complex_sub_dependencies"
2424 "test_generate_hashes_with_editable"
25+ "test_filter_pip_markes"
26+ "test_get_hashes_local_repository_cache_miss"
2527 # Expect specific version of "six":
2628 "test_editable_package"
2729 "test_input_file_without_extension"
pkgs/development/python-modules/pip/default.nix+3−3
@@ -10,11 +10,11 @@
1010
1111buildPythonPackage rec {
1212 pname = "pip";
13− version = "9.0.3";
13+ version = "10.0.1";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "7bf48f9a693be1d58f49f7af7e0ae9fe29fd671cde8a55e6edca3581c4ef5796";
17+ sha256 = "f2bd08e0cd1b06e10218feaf6fef299f473ba706582eb3bd9d52203fdbd7ee68";
1818 };
1919
2020 # pip detects that we already have bootstrapped_pip "installed", so we need
@@ -31,4 +31,4 @@ buildPythonPackage rec {
3131 homepage = https://pip.pypa.io/;
3232 priority = 10;
3333 };
34−}
34+}
pkgs/development/python-modules/pretend/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "pretend";
5− version = "1.0.8";
5+ version = "1.0.9";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk";
9+ sha256 = "c90eb810cde8ebb06dafcb8796f9a95228ce796531bc806e794c2f4649aa1b10";
1010 };
1111
1212 # No tests in archive
pkgs/development/python-modules/psutil/default.nix+2−2
@@ -7,12 +7,12 @@
77
88buildPythonPackage rec {
99 pname = "psutil";
10− version = "5.4.3";
10+ version = "5.4.5";
1111 name = "${pname}-${version}";
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "e2467e9312c2fa191687b89ff4bc2ad8843be4af6fb4dc95a7cc5f7d7a327b18";
15+ sha256 = "ebe293be36bb24b95cdefc5131635496e88b17fabbcf1e4bc9b5c01f5e489cfe";
1616 };
1717
1818 # No tests in archive
pkgs/development/python-modules/pyblake2/default.nix+2−2
@@ -5,12 +5,12 @@
55
66buildPythonPackage rec {
77 pname = "pyblake2";
8− version = "1.1.1";
8+ version = "1.1.2";
99 name = "${pname}-${version}";
1010
1111 src = fetchPypi {
1212 inherit pname version;
13− sha256 = "8ec8e9087d13c99b354ab6d8b4cadb1758633db5946ff95a6bc7ac538b6d7b3d";
13+ sha256 = "5ccc7eb02edb82fafb8adbb90746af71460fbc29aa0f822526fc976dff83e93f";
1414 };
1515
1616 # requires setting up sphinx doctest
pkgs/development/python-modules/pycairo/default.nix+14−7
@@ -2,8 +2,7 @@
22
33buildPythonPackage rec {
44 pname = "pycairo";
5− version = "1.15.4";
6− name = "${pname}-${version}";
5+ version = "1.16.3";
76
87 disabled = isPyPy;
98
@@ -11,13 +10,21 @@ buildPythonPackage rec {
1110 owner = "pygobject";
1211 repo = "pycairo";
1312 rev = "v${version}";
14− sha256 = "02vzmfxx8nl6dbwzc911wcj7hqspgqz6v9xmq6579vwfla0vaglv";
13+ sha256 = "0clk6wrfls3fa1xrn844762qfaw6gs4ivwkrfysidbzmlbxhpngl";
1514 };
1615
17− postPatch = ''
18− # we are unable to pass --prefix to bdist_wheel
19− # see https://github.com/NixOS/nixpkgs/pull/32034#discussion_r153285955
20− substituteInPlace setup.py --replace '"prefix": self.install_base' "'prefix': '$out'"
16+ # We need to create the pkgconfig file but it cannot be installed as a wheel since wheels
17+ # are supposed to be relocatable and do not support --prefix option
18+ buildPhase = ''
19+ ${python.interpreter} setup.py build
20+ '';
21+
22+ installPhase = ''
23+ ${python.interpreter} setup.py install --skip-build --prefix="$out" --optimize=1
24+ '';
25+
26+ checkPhase = ''
27+ ${python.interpreter} setup.py test
2128 '';
2229
2330 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/pygit2/default.nix+2−2
@@ -3,11 +3,11 @@
33buildPythonPackage rec {
44 name = "${pname}-${version}";
55 pname = "pygit2";
6− version = "0.26.3";
6+ version = "0.26.4";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "29baa530d6fcbf7cca6a75cf9c78fb88613ca81afb39c62fe492f226f6b61800";
10+ sha256 = "a8a0ecce4aadac2675afa5bcda0f698bfe39ec61ac1e15b9264704d1b41bb390";
1111 };
1212
1313 preConfigure = lib.optionalString stdenv.isDarwin ''
pkgs/development/python-modules/pyglet/default.nix+2−2
@@ -2,12 +2,12 @@
22, libGLU_combined, xorg, freetype, fontconfig, future}:
33
44buildPythonPackage rec {
5− version = "1.3.1";
5+ version = "1.3.2";
66 pname = "pyglet";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "0a73280fa3949ea4890fee28f625c10b1e10a7cda390a08b6bce4740948167cd";
10+ sha256 = "b00570e7cdf6971af8953b6ece50d83d13272afa5d1f1197c58c0f478dd17743";
1111 };
1212
1313 postPatch = let
pkgs/development/python-modules/pytest/default.nix+2−2
@@ -2,7 +2,7 @@
22, setuptools_scm, setuptools, six, pluggy, funcsigs, isPy3k, more-itertools
33}:
44buildPythonPackage rec {
5− version = "3.5.0";
5+ version = "3.5.1";
66 pname = "pytest";
77
88 preCheck = ''
@@ -12,7 +12,7 @@ buildPythonPackage rec {
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1";
15+ sha256 = "54713b26c97538db6ff0703a12b19aeaeb60b5e599de542e7fca0ec83b9038e8";
1616 };
1717
1818 checkInputs = [ hypothesis ];
pkgs/development/python-modules/qtpy/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "QtPy";
5− version = "1.4.0";
5+ version = "1.4.2";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "8e78e7ce28015c1041be68b90f43048c9815e8c89d3362f8073feecdc70eafba";
9+ sha256 = "1d1a4343540433a203280f162d43226e4c87489155fe4a9a6f1923ba11362bf9";
1010 };
1111
1212 # no concrete propagatedBuildInputs as multiple backends are supposed
pkgs/development/python-modules/robotframework/default.nix+2−2
@@ -1,14 +1,14 @@
11{ stdenv, fetchurl, buildPythonPackage, isPy3k }:
22
33buildPythonPackage rec {
4− version = "3.0.3";
4+ version = "3.0.4";
55 pname = "robotframework";
66 disabled = isPy3k;
77 name = pname + "-" + version;
88
99 src = fetchurl {
1010 url = "mirror://pypi/r/robotframework/${name}.tar.gz";
11− sha256 = "a5ffe9283c9247c3a1e81228fcc009819d8f94b48768170268a3e6274a998bca";
11+ sha256 = "ab94257cbd848dfca7148e092d233a12853cc7e840ce8231af9cbb5e7f51aa47";
1212 };
1313
1414 meta = with stdenv.lib; {
pkgs/development/python-modules/rpy2/default.nix+2−2
@@ -16,12 +16,12 @@
1616}:
1717
1818buildPythonPackage rec {
19− version = "2.8.2";
19+ version = "2.8.6";
2020 pname = "rpy2";
2121 disabled = isPyPy;
2222 src = fetchPypi {
2323 inherit version pname;
24− sha256 = "0k5jp6n1lfab7a6r5568aq31hg4fgf2cwy0hzvf3chp6yhyk26ic";
24+ sha256 = "004d13734a7b9a85cbc1e7a93ec87df741e28db1273ab5b0d9efaac04a9c5f98";
2525 };
2626 buildInputs = [
2727 readline
pkgs/development/python-modules/s3fs/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "s3fs";
5− version = "0.1.4";
5+ version = "0.1.5";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "f19b2e81cfcf6f2849fa8195c366c6e81d2378400bab0611f461c4e55d4f6bed";
9+ sha256 = "4fbab74d72ceeb1a6f249165bde7b1d1c4dd758390339f52c84f0832bc5117a7";
1010 };
1111
1212 buildInputs = [ docutils ];
pkgs/development/python-modules/sphinx/default.nix+2−2
@@ -27,10 +27,10 @@
2727buildPythonPackage rec {
2828 name = "${pname}-${version}";
2929 pname = "Sphinx";
30− version = "1.7.2";
30+ version = "1.7.4";
3131 src = fetchPypi {
3232 inherit pname version;
33− sha256 = "5a1c9a0fec678c24b9a2f5afba240c04668edb7f45c67ce2ed008996b3f21ae2";
33+ sha256 = "e9b1a75a3eae05dded19c80eb17325be675e0698975baae976df603b6ed1eb10";
3434 };
3535 LC_ALL = "en_US.UTF-8";
3636
pkgs/development/python-modules/sqlalchemy/default.nix+2−2
@@ -11,11 +11,11 @@
1111buildPythonPackage rec {
1212 pname = "SQLAlchemy";
1313 name = "${pname}-${version}";
14− version = "1.2.6";
14+ version = "1.2.7";
1515
1616 src = fetchPypi {
1717 inherit pname version;
18− sha256 = "7cb00cc9b9f92ef8b4391c8a2051f81eeafefe32d63c6b395fd51401e9a39edb";
18+ sha256 = "d6cda03b0187d6ed796ff70e87c9a7dce2c2c9650a7bc3c022cd331416853c31";
1919 };
2020
2121 checkInputs = [
pkgs/development/python-modules/sqlmap/default.nix+2−2
@@ -5,12 +5,12 @@
55
66buildPythonPackage rec {
77 pname = "sqlmap";
8− version = "1.2.4";
8+ version = "1.2.5";
99 name = "${pname}-${version}";
1010
1111 src = fetchPypi {
1212 inherit pname version;
13− sha256 = "cb70fdedd8dc0a30cf361d8e5401a5b07fc75c13847b13567b98966be4e3d063";
13+ sha256 = "93fe37e535f4aabd05a7456295f39c0af73cbcd0511750663fc7a718c5915919";
1414 };
1515
1616 # No tests in archive
pkgs/development/python-modules/tables/default.nix+2−2
@@ -2,13 +2,13 @@
22, cython, bzip2, lzo, numpy, numexpr, hdf5, six, c-blosc }:
33
44buildPythonPackage rec {
5− version = "3.4.2";
5+ version = "3.4.3";
66 pname = "tables";
77 name = "${pname}-${version}";
88
99 src = fetchurl {
1010 url = "mirror://pypi/t/tables/${name}.tar.gz";
11− sha256 = "fdbbea4edb6bad0ac0e53fc7bc6970e78e12eef4944aa4146bcdcb573201676c";
11+ sha256 = "b6aafe47154e2140c0a91bb38ebdb6ba67a24dd86263f1c294af8c11cb7deed4";
1212 };
1313
1414 buildInputs = [ hdf5 cython bzip2 lzo c-blosc ];
pkgs/development/python-modules/testfixtures/default.nix+2−2
@@ -3,11 +3,11 @@
33
44buildPythonPackage rec {
55 pname = "testfixtures";
6− version = "6.0.0";
6+ version = "6.0.2";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "f6c4cf24d043f9d8e9a9337371ec1d2f6638a0032504bd67dbd724224fd64969";
10+ sha256 = "f8827cfc91e5cc9ac669727fdd48a85880f391b935a0a212b5cedb807879feec";
1111 };
1212
1313 checkInputs = [ mock manuel pytest sybil zope_component ];
pkgs/development/python-modules/textacy/default.nix+2−2
@@ -25,11 +25,11 @@
2525buildPythonPackage rec {
2626 name = "${pname}-${version}";
2727 pname = "textacy";
28− version = "0.6.0";
28+ version = "0.6.1";
2929
3030 src = fetchPypi {
3131 inherit pname version;
32− sha256 = "70ebd8f6536c1536132c997988a4f27731a2db5a7ca7bab29fb33746b444959f";
32+ sha256 = "32ffb796f2abf0577af480d482608cca2baf85d366a4e2981ffd3e632ebeb76c";
3333 };
3434
3535 disabled = isPy27; # 2.7 requires backports.csv
pkgs/development/python-modules/transitions/default.nix+2−2
@@ -3,11 +3,11 @@
33
44buildPythonPackage rec {
55 pname = "transitions";
6− version = "0.6.4";
6+ version = "0.6.5";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "1ikxsjg7vil0yhiwhiimnjzcb1ig6g6g79sdhs9v8rnrszk1mi2n";
10+ sha256 = "f72b6c5fcac3d1345bbf829e1a48a810255bcb4fc2c11a634af68107c378c1be";
1111 };
1212
1313 postPatch = ''
pkgs/development/python-modules/tweepy/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, buildPythonPackage, fetchPypi, fetchpatch, requests, six, requests_oauthlib }:
2+
3+buildPythonPackage rec {
4+ pname = "tweepy";
5+ version = "3.6.0";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "901500666de5e265d93e611dc05066bb020481c85550d6bcbf8030212938902c";
10+ };
11+
12+ # Fix build with pip 10
13+ # https://github.com/tweepy/tweepy/pull/1030
14+ patches = fetchpatch {
15+ url = "${meta.homepage}/commit/778bd7a31d2f5fae98652735e7844533589ca221.patch";
16+ sha256 = "1sqmjn0ngiynhfkdkcs33qmvl49ysfp8522hvxjk8bx252y9qw2h";
17+ };
18+
19+ doCheck = false;
20+ propagatedBuildInputs = [ requests six requests_oauthlib ];
21+
22+ meta = with lib; {
23+ homepage = https://github.com/tweepy/tweepy;
24+ description = "Twitter library for python";
25+ license = licenses.mit;
26+ maintainers = with maintainers; [ garbas ];
27+ };
28+}
pkgs/development/python-modules/widgetsnbextension/default.nix+2−2
@@ -8,11 +8,11 @@
88buildPythonPackage rec {
99 pname = "widgetsnbextension";
1010 name = "${pname}-${version}";
11− version = "3.2.0";
11+ version = "3.2.1";
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "9b584b9210dadc98f1fae384fff5f4db047df0b94a81b2388c7b0b14a99c3f32";
15+ sha256 = "5417789ee6064ff515fd10be24870660af3561c02d3d48b26f6f44285d0f70cc";
1616 };
1717
1818 propagatedBuildInputs = [ notebook ];
pkgs/development/python-modules/xarray/default.nix+2−2
@@ -10,11 +10,11 @@
1010
1111buildPythonPackage rec {
1212 pname = "xarray";
13− version = "0.10.2";
13+ version = "0.10.3";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "dd5af05cc9ddd5713016ec1a7f0d481daf2f0bb4d4e0bd66790503f6412bbc59";
17+ sha256 = "72fafe29ba00633483aed39e405442226ef66d2ddc1021a39527ae1522b7067a";
1818 };
1919
2020 checkInputs = [ pytest ];
pkgs/development/python-modules/zetup/default.nix+2−2
@@ -5,11 +5,11 @@
55buildPythonPackage rec {
66 name = "${pname}-${version}";
77 pname = "zetup";
8− version = "0.2.42";
8+ version = "0.2.43";
99
1010 src = fetchPypi {
1111 inherit pname version;
12− sha256 = "6c9e25249f3014ed2162398772ccf1a5e8a4e9e66c74e3c7f6683945a6a3d84c";
12+ sha256 = "ee92ba93a03336962525536f237ae0decf99a9b5d484ba34a3cf06ef017dae8e";
1313 };
1414
1515 checkPhase = ''
pkgs/development/python-modules/zxcvbn-python/default.nix+2−2
@@ -5,13 +5,13 @@
55
66buildPythonPackage rec {
77 pname = "zxcvbn-python";
8− version = "4.4.22";
8+ version = "4.4.24";
99
1010 name = "${pname}-${version}";
1111
1212 src = fetchPypi {
1313 inherit pname version;
14− sha256 = "402d4222dc9994baed66a19a1cf5cb5c3fafd065f9cabc4cf7d5a2915e980979";
14+ sha256 = "900b28cc5e96be4091d8778f19f222832890264e338765a1c1c09fca2db64b2d";
1515 };
1616
1717 # No tests in archive
pkgs/development/ruby-modules/bundler/default.nix+2−2
@@ -4,8 +4,8 @@ buildRubyGem rec {
44 inherit ruby;
55 name = "${gemName}-${version}";
66 gemName = "bundler";
7− version = "1.14.6";
8− source.sha256 = "0h3x2csvlz99v2ryj1w72vn6kixf7rl35lhdryvh7s49brnj0cgl";
7+ version = "1.16.1";
8+ source.sha256 = "42b8e0f57093e1d10c15542f956a871446b759e7969d99f91caf3b6731c156e8";
99 dontPatchShebangs = true;
1010
1111 postFixup = ''
pkgs/development/tools/analysis/radare2/default.nix+30−11
@@ -1,4 +1,6 @@
1−{stdenv, fetchFromGitHub, pkgconfig, libusb, readline, libewf, perl, zlib, openssl
1+{stdenv, fetchFromGitHub
2+, ninja, meson , pkgconfig
3+, libusb, readline, libewf, perl, zlib, openssl
24, gtk2 ? null, vte ? null, gtkdialog ? null
35, python ? null
46, ruby ? null
@@ -10,40 +12,57 @@ assert useX11 -> (gtk2 != null && vte != null && gtkdialog != null);
1012assert rubyBindings -> ruby != null;
1113assert pythonBindings -> python != null;
1214
15+
1316let
1417 inherit (stdenv.lib) optional;
18+ #<generated>
19+ # DO NOT EDIT! Automatically generated by ./update.py
20+ version_commit = "18177";
21+ gittap = "2.6.0";
22+ gittip = "83ef480221ec29d82c16003c61d0dc86b8851d38";
23+ version = "2.6.0";
24+ sha256 = "18jhb9w8c1m09383d2xm2qp0rc240psjygbbs222hzpx32hald5s";
25+ cs_tip = "37569a6874c8547b349a80823adda9284499fe80";
26+ cs_sha256 = "0v31367g4jn4baswl62y0rvvm2nf57y91n3731xqblvi6qxj8qkv";
27+ #</generated>
1528in
1629stdenv.mkDerivation rec {
17− version = "2.5.0";
1830 name = "radare2-${version}";
1931
2032 src = fetchFromGitHub {
2133 owner = "radare";
2234 repo = "radare2";
2335 rev = version;
24− sha256 = "07x94chkhpn3wgw4pypn35psxq370j6xwmhf1mh5z27cqkq7c2yd";
36+ inherit sha256;
2537 };
2638
27− # do not try to update capstone
28− WITHOUT_PULL=1;
29−
3039 postPatch = let
31− cs_tip = "4a1b580d069c82d60070d0869a87000db7cdabe2"; # version from $sourceRoot/shlr/Makefile
3240 capstone = fetchFromGitHub {
3341 owner = "aquynh";
3442 repo = "capstone";
43+ # version from $sourceRoot/shlr/Makefile
3544 rev = cs_tip;
36− sha256 = "0v6rxfpxjq0hf40qn1n5m5wsv1dv6p1j8vm94a708lhvcbk9nkv8";
45+ sha256 = cs_sha256;
3746 };
3847 in ''
3948 if ! grep -F "CS_TIP=${cs_tip}" shlr/Makefile; then echo "CS_TIP mismatch"; exit 1; fi
40− cp -r ${capstone} shlr/capstone
41− chmod -R u+rw shlr/capstone
49+ ln -s ${capstone} shlr/capstone
4250 '';
4351
52+ postInstall = ''
53+ ln -s $out/bin/radare2 $out/bin/r2
54+ install -D -m755 $src/binr/r2pm/r2pm $out/bin/r2pm
55+ '';
56+
57+ mesonFlags = [
58+ "-Dr2_version_commit=${version_commit}"
59+ "-Dr2_gittap=${gittap}"
60+ "-Dr2_gittip=${gittip}"
61+ ];
62+
4463 enableParallelBuilding = true;
4564
46− nativeBuildInputs = [ pkgconfig ];
65+ nativeBuildInputs = [ pkgconfig ninja meson ];
4766 buildInputs = [ readline libusb libewf perl zlib openssl]
4867 ++ optional useX11 [gtkdialog vte gtk2]
4968 ++ optional rubyBindings [ruby]
pkgs/development/tools/analysis/radare2/update.pynew file+72
@@ -0,0 +1,72 @@
1+#!/usr/bin/env nix-shell
2+#!nix-shell -p nix -p python3 -p git -i python
3+# USAGE - just run the script: ./update.py
4+# When editing this file, make also sure it passes the mypy typecheck
5+# and is formatted with yapf.
6+import urllib.request
7+import json
8+import tempfile
9+import subprocess
10+import fileinput
11+import re
12+from pathlib import Path
13+
14+
15+def sh(*args: str) -> str:
16+ out = subprocess.check_output(list(args))
17+ return out.strip().decode("utf-8")
18+
19+
20+def prefetch_github(owner: str, repo: str, ref: str) -> str:
21+ return sh("nix-prefetch-url", "--unpack",
22+ f"https://github.com/{owner}/{repo}/archive/{ref}.tar.gz")
23+
24+
25+def main() -> None:
26+ url = "https://api.github.com/repos/radare/radare2/releases/latest"
27+ with urllib.request.urlopen(url) as response:
28+ release = json.load(response) # type: ignore
29+ version = release["tag_name"]
30+ with tempfile.TemporaryDirectory() as dirname:
31+
32+ def git(*args: str) -> str:
33+ return sh("git", "-C", dirname, *args)
34+
35+ git("clone", "--branch", version, "https://github.com/radare/radare2",
36+ ".")
37+ sha256 = prefetch_github("radare", "radare2", version)
38+ nix_file = str(Path(__file__).parent.joinpath("default.nix"))
39+
40+ cs_tip = None
41+ with open(Path(dirname).joinpath("shlr", "Makefile")) as makefile:
42+ for l in makefile:
43+ match = re.match("CS_TIP=(\S+)", l)
44+ if match:
45+ cs_tip = match.group(1)
46+ assert cs_tip is not None
47+
48+ cs_sha256 = prefetch_github("aquynh", "capstone", cs_tip)
49+
50+ in_block = False
51+ with fileinput.FileInput(nix_file, inplace=True) as f:
52+ for l in f:
53+ if "#<generated>" in l:
54+ in_block = True
55+ print(f""" #<generated>
56+ # DO NOT EDIT! Automatically generated by ./update.py
57+ version_commit = "{git("rev-list", "--all", "--count")}";
58+ gittap = "{git("describe", "--tags", "--match", "[0-9]*")}";
59+ gittip = "{git("rev-parse", "HEAD")}";
60+ version = "{version}";
61+ sha256 = "{sha256}";
62+ cs_tip = "{cs_tip}";
63+ cs_sha256 = "{cs_sha256}";
64+ #</generated>""")
65+ elif "#</generated>" in l:
66+ in_block = False
67+ elif not in_block:
68+ print(l, end="")
69+
70+
71+if __name__ == "__main__":
72+ main()
pkgs/development/tools/analysis/valgrind/default.nix+2
@@ -59,6 +59,8 @@ stdenv.mkDerivation rec {
5959 configureFlags =
6060 stdenv.lib.optional (stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin") "--enable-only64bit";
6161
62+ doCheck = false; # fails
63+
6264 postInstall = ''
6365 for i in $out/lib/valgrind/*.supp; do
6466 substituteInPlace $i \
pkgs/development/tools/build-managers/cmake/default.nix+23−13
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, pkgconfig
22, bzip2, curl, expat, libarchive, xz, zlib, libuv, rhash
3−, majorVersion ? "3.10"
3+, majorVersion ? "3.11"
44# darwin attributes
55, ps
66, isBootstrap ? false
@@ -17,6 +17,10 @@ with stdenv.lib;
1717
1818with (
1919 {
20+ "3.11" = {
21+ minorVersion = "2";
22+ sha256 = "0j2jpx94lnqx5w59i9xihl56hf6ghk04438rqhh7lk1bryxj5g2y";
23+ };
2024 "3.10" = {
2125 minorVersion = "2";
2226 sha256 = "80d0faad4ab56de07aa21a7fc692c88c4ce6156d42b0579c6962004a70a3218b";
@@ -80,19 +84,24 @@ stdenv.mkDerivation rec {
8084 configureFlags="--parallel=''${NIX_BUILD_CORES:-1} $configureFlags"
8185 '';
8286
83− configureFlags = [ "--docdir=share/doc/${name}" ]
84− ++ (if useSharedLibraries then [ "--no-system-jsoncpp" "--system-libs" ] else [ "--no-system-libs" ]) # FIXME: cleanup
87+ configureFlags = [
88+ "--docdir=share/doc/${name}"
89+ ] ++ (if useSharedLibraries then [ "--no-system-jsoncpp" "--system-libs" ] else [ "--no-system-libs" ]) # FIXME: cleanup
8590 ++ optional (useQt4 || withQt5) "--qt-gui"
86− ++ ["--"]
87− ++ optionals (!useNcurses) [ "-DBUILD_CursesDialog=OFF" ]
88− ++ optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
89− "-DCMAKE_CXX_COMPILER=${stdenv.cc.targetPrefix}c++"
90− "-DCMAKE_C_COMPILER=${stdenv.cc.targetPrefix}cc"
91− "-DCMAKE_AR=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
92− "-DCMAKE_RANLIB=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
93− "-DCMAKE_STRIP=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
94− # TODO: Why are ar and friends not provided by the bintools wrapper?
95− ];
91+ ++ [
92+ "--"
93+ # We should set the proper `CMAKE_SYSTEM_NAME`.
94+ # http://www.cmake.org/Wiki/CMake_Cross_Compiling
95+ #
96+ # Unfortunately cmake seems to expect absolute paths for ar, ranlib, and
97+ # strip. Otherwise they are taken to be relative to the source root of the
98+ # package being built.
99+ "-DCMAKE_CXX_COMPILER=${stdenv.cc.targetPrefix}c++"
100+ "-DCMAKE_C_COMPILER=${stdenv.cc.targetPrefix}cc"
101+ "-DCMAKE_AR=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
102+ "-DCMAKE_RANLIB=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
103+ "-DCMAKE_STRIP=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
104+ ] ++ optionals (!useNcurses) [ "-DBUILD_CursesDialog=OFF" ];
96105
97106 dontUseCmakeConfigure = true;
98107 enableParallelBuilding = true;
@@ -101,6 +110,7 @@ stdenv.mkDerivation rec {
101110 # CMAKE_SYSTEM_NAME, etc.
102111 configurePlatforms = [ ];
103112
113+ doCheck = false; # fails
104114
105115 meta = with stdenv.lib; {
106116 homepage = http://www.cmake.org/;
pkgs/development/tools/build-managers/cmake/setup-hook.sh+11−14
@@ -29,20 +29,17 @@ cmakeConfigurePhase() {
2929 cmakeFlags="-DCMAKE_INSTALL_PREFIX=$prefix $cmakeFlags"
3030 fi
3131
32− if [ -n "$crossConfig" ]; then
33− # By now it supports linux builds only. We should set the proper
34− # CMAKE_SYSTEM_NAME otherwise.
35− # http://www.cmake.org/Wiki/CMake_Cross_Compiling
36− #
37− # Unfortunately cmake seems to expect absolute paths for ar, ranlib, and
38− # strip. Otherwise they are taken to be relative to the source root of
39− # the package being built.
40− cmakeFlags="-DCMAKE_CXX_COMPILER=$crossConfig-c++ $cmakeFlags"
41− cmakeFlags="-DCMAKE_C_COMPILER=$crossConfig-cc $cmakeFlags"
42− cmakeFlags="-DCMAKE_AR=$(command -v $crossConfig-ar) $cmakeFlags"
43− cmakeFlags="-DCMAKE_RANLIB=$(command -v $crossConfig-ranlib) $cmakeFlags"
44− cmakeFlags="-DCMAKE_STRIP=$(command -v $crossConfig-strip) $cmakeFlags"
45− fi
32+ # We should set the proper `CMAKE_SYSTEM_NAME`.
33+ # http://www.cmake.org/Wiki/CMake_Cross_Compiling
34+ #
35+ # Unfortunately cmake seems to expect absolute paths for ar, ranlib, and
36+ # strip. Otherwise they are taken to be relative to the source root of the
37+ # package being built.
38+ cmakeFlags="-DCMAKE_CXX_COMPILER=$CXX $cmakeFlags"
39+ cmakeFlags="-DCMAKE_C_COMPILER=$CC $cmakeFlags"
40+ cmakeFlags="-DCMAKE_AR=$(command -v $AR) $cmakeFlags"
41+ cmakeFlags="-DCMAKE_RANLIB=$(command -v $RANLIB) $cmakeFlags"
42+ cmakeFlags="-DCMAKE_STRIP=$(command -v $STRIP) $cmakeFlags"
4643
4744 # on macOS we want to prefer Unix-style headers to Frameworks
4845 # because we usually do not package the framework
pkgs/development/tools/build-managers/conan/default.nix+3−11
@@ -20,12 +20,12 @@ let newPython = python.override {
2020};
2121
2222in newPython.pkgs.buildPythonApplication rec {
23− version = "1.1.1"; # remove patch below when updating
23+ version = "1.2.3";
2424 pname = "conan";
2525
2626 src = newPython.pkgs.fetchPypi {
2727 inherit pname version;
28− sha256 = "1k1r401bc9fgmhd5n5f29mjcn346r3zdrm7p28nwpr2r2p3fslrl";
28+ sha256 = "623e92d99cd0f4ec92552b23af66a6bb066071e213659f502480bb9a96d7be23";
2929 };
3030
3131 checkInputs = with newPython.pkgs; [
@@ -39,15 +39,7 @@ in newPython.pkgs.buildPythonApplication rec {
3939 propagatedBuildInputs = with newPython.pkgs; [
4040 requests fasteners pyyaml pyjwt colorama patch
4141 bottle pluginbase six distro pylint node-semver
42− future pygments mccabe
43− ];
44−
45− patches = [
46− # already merged, remove with the next package update
47− (fetchpatch {
48− url = "https://github.com/conan-io/conan/commit/51cc4cbd51ac8f9b9efa2bf678a2d7810e273ff3.patch";
49− sha256 = "0d93g4hjpfk8z870imwdswkw5qba2h5zhfgwwijiqhr2pv7fl1y7";
50− })
42+ future pygments mccabe deprecation
5143 ];
5244
5345 preCheck = ''
pkgs/development/tools/build-managers/gn/default.nix+2−2
@@ -45,8 +45,8 @@ let
4545 };
4646 };
4747
48−in stdenv.mkDerivation {
49− name = "gn";
48+in stdenv.mkDerivation rec {
49+ name = "gn-${version}";
5050 version = "20180423";
5151 sourceRoot = ".";
5252
pkgs/development/tools/build-managers/meson/default.nix+2−6
@@ -2,13 +2,13 @@
22 targetPrefix = lib.optionalString stdenv.isCross
33 (targetPlatform.config + "-");
44in python3Packages.buildPythonApplication rec {
5− version = "0.45.1";
5+ version = "0.46.1";
66 pname = "meson";
77 name = "${pname}-${version}";
88
99 src = python3Packages.fetchPypi {
1010 inherit pname version;
11− sha256 = "154kxx49dbw7p30qfg1carb3mgqxx9hyy1r0yzfsg07hz1n2sq14";
11+ sha256 = "1jdxs2mkniy1hpdjc4b4jb95axsjp6j5fzphmm6d4gqmqyykjvqc";
1212 };
1313
1414 postFixup = ''
@@ -43,10 +43,6 @@ in python3Packages.buildPythonApplication rec {
4343 src = ./fix-rpath.patch;
4444 inherit (builtins) storeDir;
4545 })
46−
47− # No one will ever need more than 128 bytes of data structure
48− # https://github.com/mesonbuild/meson/issues/3113
49− ./overly-strict-size-check.patch
5046 ];
5147
5248 setupHook = ./setup-hook.sh;
pkgs/development/tools/build-managers/meson/overly-strict-size-check.patchdeleted−12
@@ -1,12 +0,0 @@
1−diff -Naur a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
2−--- a/mesonbuild/compilers/c.py 2017-12-10 08:37:19.000000000 -0500
3−+++ b/mesonbuild/compilers/c.py 2018-03-24 07:46:04.739929307 -0400
4−@@ -406,7 +406,7 @@
5− }}'''
6− if not self.compiles(t.format(**fargs), env, extra_args, dependencies):
7− return -1
8−- return self.cross_compute_int('sizeof(%s)' % typename, 1, 128, None, prefix, env, extra_args, dependencies)
9−+ return self.cross_compute_int('sizeof(%s)' % typename, 1, 1024, None, prefix, env, extra_args, dependencies)
10−
11− def sizeof(self, typename, prefix, env, extra_args=None, dependencies=None):
12− if extra_args is None:
pkgs/development/tools/dcadec/default.nix+3−1
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 installPhase = "make PREFIX=/ DESTDIR=$out install";
1616
17+ doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first."
18+
1719 meta = with stdenv.lib; {
1820 description = "DTS Coherent Acoustics decoder with support for HD extensions";
1921 maintainers = with maintainers; [ edwtjo ];
@@ -21,4 +23,4 @@ stdenv.mkDerivation rec {
2123 license = licenses.lgpl21;
2224 platforms = platforms.linux;
2325 };
24−}
26+}
pkgs/development/tools/documentation/doxygen/default.nix+1
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
2525 stdenv.lib.optional stdenv.isDarwin "-mmacosx-version-min=10.9";
2626
2727 enableParallelBuilding = true;
28+ doCheck = false; # fails
2829
2930 meta = {
3031 license = stdenv.lib.licenses.gpl2Plus;
pkgs/development/tools/documentation/gtk-doc/default.nix+3
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
2828
2929 configureFlags = "--disable-scrollkeeper";
3030
31+ doCheck = false; # requires a lot of stuff
32+ doInstallCheck = false; # fails
33+
3134 passthru = {
3235 # Consumers are expected to copy the m4 files to their source tree, let them reuse the patch
3336 respect_xml_catalog_files_var_patch = ./respect-xml-catalog-files-var.patch;
pkgs/development/tools/erlang/cuter/default.nix+1−1
@@ -2,7 +2,7 @@
22, beamPackages, z3, python27 }:
33
44stdenv.mkDerivation rec {
5− name = "cuter";
5+ name = "cuter-${version}";
66 version = "0.1";
77
88 src = fetchFromGitHub {
pkgs/development/tools/go2nix/default.nix+2
@@ -33,6 +33,8 @@ buildGoPackage rec {
3333
3434 allowGoReference = true;
3535
36+ doCheck = false; # tries to access the net
37+
3638 meta = with stdenv.lib; {
3739 description = "Go apps packaging for Nix";
3840 homepage = https://github.com/kamilchm/go2nix;
pkgs/development/tools/govers/default.nix+4−1
@@ -4,7 +4,7 @@ buildGoPackage rec {
44 name = "govers-${version}";
55 version = "20150109-${stdenv.lib.strings.substring 0 7 rev}";
66 rev = "3b5f175f65d601d06f48d78fcbdb0add633565b9";
7−
7+
88 goPackagePath = "github.com/rogpeppe/govers";
99
1010 src = fetchgit {
@@ -14,4 +14,7 @@ buildGoPackage rec {
1414 };
1515
1616 dontRenameImports = true;
17+
18+ doCheck = false; # fails, silently
19+
1720}
pkgs/development/tools/imatix_gsl/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, pcre } :
22
33stdenv.mkDerivation rec {
4− name = "imatix_gsl";
4+ name = "imatix_gsl-${version}";
55 version = "4.1";
66
77 src = fetchFromGitHub {
pkgs/development/tools/misc/autoconf/2.64.nix+6−4
@@ -23,10 +23,12 @@ stdenv.mkDerivation rec {
2323
2424 enableParallelBuilding = true;
2525
26− preCheck =
27− # Make the Autotest test suite run in parallel.
28− '' export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
29− '';
26+ # Make the Autotest test suite run in parallel.
27+ preCheck =''
28+ export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
29+ '';
30+
31+ doInstallCheck = false; # fails
3032
3133 meta = {
3234 homepage = http://www.gnu.org/software/autoconf/;
pkgs/development/tools/misc/autoconf/default.nix+6−4
@@ -24,10 +24,12 @@ stdenv.mkDerivation rec {
2424
2525 enableParallelBuilding = true;
2626
27− preCheck =
28− # Make the Autotest test suite run in parallel.
29− '' export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
30− '';
27+ # Make the Autotest test suite run in parallel.
28+ preCheck =''
29+ export TESTSUITEFLAGS="-j$NIX_BUILD_CORES"
30+ '';
31+
32+ doInstallCheck = false; # fails
3133
3234 meta = {
3335 homepage = http://www.gnu.org/software/autoconf/;
pkgs/development/tools/misc/binutils/default.nix+8−10
@@ -19,10 +19,11 @@ in
1919stdenv.mkDerivation rec {
2020 name = targetPrefix + basename;
2121
22− src = fetchurl {
22+ # HACK to ensure that we preserve source from bootstrap binutils to not rebuild LLVM
23+ src = stdenv.__bootPackages.binutils-unwrapped.src or (fetchurl {
2324 url = "mirror://gnu/binutils/${basename}.tar.bz2";
2425 sha256 = "028cklfqaab24glva1ks2aqa1zxa6w6xmc8q34zs1sb7h22dxspg";
25− };
26+ });
2627
2728 patches = [
2829 # Turn on --enable-new-dtags by default to make the linker set
@@ -64,13 +65,12 @@ stdenv.mkDerivation rec {
6465
6566 # https://sourceware.org/bugzilla/show_bug.cgi?id=22868
6667 ./gold-symbol-visibility.patch
67− ] ++ stdenv.lib.optional targetPlatform.isiOS ./support-ios.patch
68− ++ stdenv.lib.optionals targetPlatform.isAarch64 [
68+
6969 # Version 2.30 introduced strict requirements on ELF relocations which cannot
7070 # be satisfied on aarch64 platform. Add backported fix from bugzilla.
7171 # https://sourceware.org/bugzilla/show_bug.cgi?id=22764
7272 ./relax-R_AARCH64_ABS32-R_AARCH64_ABS16-absolute.patch
73− ];
73+ ] ++ stdenv.lib.optional targetPlatform.isiOS ./support-ios.patch;
7474
7575 outputs = [ "out" "info" "man" ];
7676
@@ -104,11 +104,7 @@ stdenv.mkDerivation rec {
104104 else "-static-libgcc";
105105
106106 # TODO(@Ericson2314): Always pass "--target" and always targetPrefix.
107− configurePlatforms =
108− # TODO(@Ericson2314): Figure out what's going wrong with Arm
109− if buildPlatform == hostPlatform && hostPlatform == targetPlatform && targetPlatform.isAarch32
110− then []
111− else [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
107+ configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
112108
113109 configureFlags = [
114110 "--enable-targets=all" "--enable-64-bit-bfd"
@@ -121,6 +117,8 @@ stdenv.mkDerivation rec {
121117 "--enable-fix-loongson2f-nop"
122118 ] ++ optionals gold [ "--enable-gold" "--enable-plugins" ];
123119
120+ doCheck = false; # fails
121+
124122 enableParallelBuilding = true;
125123
126124 passthru = {
pkgs/development/tools/misc/itstool/default.nix+2−2
@@ -2,11 +2,11 @@
22# We need the same Python as is used to build libxml2Python
33
44stdenv.mkDerivation rec {
5− name = "itstool-2.0.2";
5+ name = "itstool-2.0.4";
66
77 src = fetchurl {
88 url = "http://files.itstool.org/itstool/${name}.tar.bz2";
9− sha256 = "bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a";
9+ sha256 = "0q7b4qrc758zfx3adsgvz0r93swdbxjr42w37rahngm33nshihlp";
1010 };
1111
1212 buildInputs = [ python2 libxml2Python ];
pkgs/development/tools/misc/libtool/libtool2.nix+1
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
2222 # XXX: The GNU ld wrapper does all sorts of nasty things wrt. RPATH, which
2323 # leads to the failure of a number of tests.
2424 doCheck = false;
25+ doInstallCheck = false;
2526
2627 # Don't run the native `strip' when cross-compiling. This breaks at least
2728 # with `.a' files for MinGW.
pkgs/development/tools/misc/pkgconfig/default.nix+1−1
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
3232 "ac_cv_func_posix_getgrgid_r=yes"
3333 ];
3434
35+ doCheck = false; # fails
3536
3637 postInstall = ''rm -f "$out"/bin/*-pkg-config''; # clean the duplicate file
3738
@@ -42,4 +43,3 @@ stdenv.mkDerivation rec {
4243 };
4344
4445}
45−
pkgs/development/tools/misc/texinfo/4.13a.nix+5−28
@@ -1,10 +1,11 @@
1−{ stdenv, fetchurl, ncurses, lzma }:
1+{ stdenv, fetchurl, texinfo, ncurses, lzma }:
22
33stdenv.mkDerivation rec {
4− name = "texinfo-4.13a";
4+ name = "texinfo-${version}";
5+ version = "4.13a";
56
67 src = fetchurl {
7− url = "mirror://gnu/texinfo/texinfo-4.13a.tar.lzma";
8+ url = "mirror://gnu/texinfo/${name}.tar.lzma";
89 sha256 = "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d";
910 };
1011
@@ -14,29 +15,5 @@ stdenv.mkDerivation rec {
1415 # Disabled because we don't have zdiff in the stdenv bootstrap.
1516 #doCheck = true;
1617
17− meta = {
18− description = "The GNU documentation system";
19−
20− longDescription = ''
21− Texinfo is the official documentation format of the GNU project.
22− It was invented by Richard Stallman and Bob Chassell many years
23− ago, loosely based on Brian Reid's Scribe and other formatting
24− languages of the time. It is used by many non-GNU projects as
25− well.
26−
27− Texinfo uses a single source file to produce output in a number
28− of formats, both online and printed (dvi, html, info, pdf, xml,
29− etc.). This means that instead of writing different documents
30− for online information and another for a printed manual, you
31− need write only one document. And when the work is revised, you
32− need revise only that one document. The Texinfo system is
33− well-integrated with GNU Emacs.
34− '';
35−
36− license = stdenv.lib.licenses.gpl3Plus;
37−
38− homepage = http://www.gnu.org/software/texinfo/;
39− branch = "4.13";
40− platforms = stdenv.lib.platforms.unix;
41− };
18+ meta = texinfo.meta // { branch = version; };
4219}
pkgs/development/tools/misc/texinfo/5.2.nix+3−53
@@ -1,54 +1,4 @@
1−{ stdenv, buildPackages, fetchurl, ncurses, perl, xz, procps, interactive ? false }:
2−
3−with stdenv.lib;
4−
5−stdenv.mkDerivation rec {
6− name = "texinfo-5.2";
7−
8− src = fetchurl {
9− url = "mirror://gnu/texinfo/${name}.tar.xz";
10− sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
11− };
12−
13− # We need a native compiler to build perl XS extensions
14− # when cross-compiling.
15− depsBuildBuild = [ buildPackages.stdenv.cc perl ];
16−
17− buildInputs = [ perl xz.bin ]
18− ++ optional interactive ncurses
19− ++ optional doCheck procps; # for tests
20−
21− configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
22− ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
23−
24− preInstall = ''
25− installFlags="TEXMF=$out/texmf-dist";
26− installTargets="install install-tex";
27− '';
28−
29− doCheck = !stdenv.isDarwin;
30−
31− meta = {
32− homepage = http://www.gnu.org/software/texinfo/;
33− description = "The GNU documentation system";
34− license = licenses.gpl3Plus;
35− platforms = platforms.all;
36−
37− longDescription = ''
38− Texinfo is the official documentation format of the GNU project.
39− It was invented by Richard Stallman and Bob Chassell many years
40− ago, loosely based on Brian Reid's Scribe and other formatting
41− languages of the time. It is used by many non-GNU projects as
42− well.
43−
44− Texinfo uses a single source file to produce output in a number
45− of formats, both online and printed (dvi, html, info, pdf, xml,
46− etc.). This means that instead of writing different documents
47− for online information and another for a printed manual, you
48− need write only one document. And when the work is revised, you
49− need revise only that one document. The Texinfo system is
50− well-integrated with GNU Emacs.
51− '';
52− branch = "5.2";
53− };
1+import ./common.nix {
2+ version = "5.2";
3+ sha256 = "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal";
544}
pkgs/development/tools/misc/texinfo/6.5.nix+3−55
@@ -1,56 +1,4 @@
1−{ stdenv, buildPackages, fetchurl, ncurses, perl, xz, libiconv, gawk, procps, interactive ? false }:
2−
3−with stdenv.lib;
4−
5−stdenv.mkDerivation rec {
6− name = "texinfo-6.5";
7−
8− src = fetchurl {
9− url = "mirror://gnu/texinfo/${name}.tar.xz";
10− sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
11− };
12−
13− # We need a native compiler to build perl XS extensions
14− # when cross-compiling.
15− depsBuildBuild = [ buildPackages.stdenv.cc perl ];
16−
17− buildInputs = [ xz ]
18− ++ optionals stdenv.isSunOS [ libiconv gawk ]
19− ++ optional interactive ncurses
20− ++ optional doCheck procps; # for tests
21−
22− configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
23− ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
24−
25− preInstall = ''
26− installFlags="TEXMF=$out/texmf-dist";
27− installTargets="install install-tex";
28− '';
29−
30− doCheck = interactive # simplify bootstrapping
31− && !stdenv.isDarwin && !stdenv.isSunOS/*flaky*/;
32−
33− meta = with stdenv.lib; {
34− homepage = http://www.gnu.org/software/texinfo/;
35− description = "The GNU documentation system";
36− license = licenses.gpl3Plus;
37− platforms = platforms.all;
38− maintainers = [ maintainers.vrthra ];
39−
40− longDescription = ''
41− Texinfo is the official documentation format of the GNU project.
42− It was invented by Richard Stallman and Bob Chassell many years
43− ago, loosely based on Brian Reid's Scribe and other formatting
44− languages of the time. It is used by many non-GNU projects as
45− well.
46−
47− Texinfo uses a single source file to produce output in a number
48− of formats, both online and printed (dvi, html, info, pdf, xml,
49− etc.). This means that instead of writing different documents
50− for online information and another for a printed manual, you
51− need write only one document. And when the work is revised, you
52− need revise only that one document. The Texinfo system is
53− well-integrated with GNU Emacs.
54− '';
55− };
1+import ./common.nix {
2+ version = "6.5";
3+ sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
564}
pkgs/development/tools/misc/texinfo/common.nixnew file+64
@@ -0,0 +1,64 @@
1+{ version, sha256 }:
2+
3+{ stdenv, buildPackages, fetchurl, perl, xz
4+
5+# we are a dependency of gcc, this simplifies bootstraping
6+, interactive ? false, ncurses, procps
7+}:
8+
9+with stdenv.lib;
10+
11+stdenv.mkDerivation rec {
12+ name = "texinfo-${optionalString interactive "interactive-"}${version}";
13+ inherit version;
14+
15+ src = fetchurl {
16+ url = "mirror://gnu/texinfo/texinfo-${version}.tar.xz";
17+ inherit sha256;
18+ };
19+
20+ # We need a native compiler to build perl XS extensions
21+ # when cross-compiling.
22+ depsBuildBuild = [ buildPackages.stdenv.cc perl ];
23+
24+ buildInputs = [ xz.bin ]
25+ ++ optionals stdenv.isSunOS [ libiconv gawk ]
26+ ++ optionals interactive [ ncurses procps ];
27+
28+ configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
29+ ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
30+
31+ preInstall = ''
32+ installFlags="TEXMF=$out/texmf-dist";
33+ installTargets="install install-tex";
34+ '';
35+
36+ doCheck = interactive
37+ && !stdenv.isDarwin
38+ && !stdenv.isSunOS; # flaky
39+
40+ meta = {
41+ homepage = http://www.gnu.org/software/texinfo/;
42+ description = "The GNU documentation system";
43+ license = licenses.gpl3Plus;
44+ platforms = platforms.all;
45+ maintainers = with maintainers; [ vrthra oxij ];
46+
47+ longDescription = ''
48+ Texinfo is the official documentation format of the GNU project.
49+ It was invented by Richard Stallman and Bob Chassell many years
50+ ago, loosely based on Brian Reid's Scribe and other formatting
51+ languages of the time. It is used by many non-GNU projects as
52+ well.
53+
54+ Texinfo uses a single source file to produce output in a number
55+ of formats, both online and printed (dvi, html, info, pdf, xml,
56+ etc.). This means that instead of writing different documents
57+ for online information and another for a printed manual, you
58+ need write only one document. And when the work is revised, you
59+ need revise only that one document. The Texinfo system is
60+ well-integrated with GNU Emacs.
61+ '';
62+ branch = version;
63+ };
64+}
pkgs/development/tools/parsing/bison/3.x.nix+3
@@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
1313 nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
1414 propagatedBuildInputs = [ m4 ];
1515
16+ doCheck = false; # fails
17+ doInstallCheck = false; # fails
18+
1619 meta = {
1720 homepage = http://www.gnu.org/software/bison/;
1821 description = "Yacc-compatible parser generator";
pkgs/development/tools/vagrant/Gemfile+1−1
@@ -1,2 +1,2 @@
11source "https://rubygems.org"
2−gem 'vagrant'
2+gem 'vagrant', git: "https://github.com/hashicorp/vagrant.git", tag: "v2.0.4"
pkgs/development/tools/yuicompressor/default.nix+14−12
@@ -1,27 +1,29 @@
11{ stdenv, fetchurl, makeWrapper, jre }:
22
33stdenv.mkDerivation rec {
4− name = "yuicompressor";
4+ name = "yuicompressor-${version}";
55 version = "2.4.8";
6+
67 src = fetchurl {
7− url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}-${version}.jar";
8+ url = "http://github.com/yui/yuicompressor/releases/download/v${version}/${name}.jar";
89 sha256 = "1qjxlak9hbl9zd3dl5ks0w4zx5z64wjsbk7ic73r1r45fasisdrh";
910 };
1011
11− buildInputs = [makeWrapper jre];
12−
13− meta = {
14− description = "A JavaScript and CSS minifier";
15− maintainers = [ stdenv.lib.maintainers.jwiegley ];
16− platforms = stdenv.lib.platforms.all;
17− homepage = http://yui.github.io/yuicompressor/;
18− license = stdenv.lib.licenses.bsd3;
19− };
12+ nativeBuildInputs = [ makeWrapper ];
13+ buildInputs = [ jre ];
2014
2115 buildCommand = ''
2216 mkdir -p $out/{bin,lib}
2317 ln -s $src $out/lib/yuicompressor.jar
24− makeWrapper ${jre}/bin/java $out/bin/${name} --add-flags \
18+ makeWrapper ${jre}/bin/java $out/bin/yuicompressor --add-flags \
2519 "-cp $out/lib/yuicompressor.jar com.yahoo.platform.yui.compressor.YUICompressor"
2620 '';
21+
22+ meta = with stdenv.lib; {
23+ description = "A JavaScript and CSS minifier";
24+ homepage = http://yui.github.io/yuicompressor/;
25+ license = licenses.bsd3;
26+ maintainers = with maintainers; [ jwiegley ];
27+ platforms = platforms.all;
28+ };
2729}
pkgs/development/web/nodejs/v10.nixnew file+11
@@ -0,0 +1,11 @@
1+{ stdenv, callPackage, lib, openssl, enableNpm ? true }:
2+
3+let
4+ buildNodejs = callPackage ./nodejs.nix { inherit openssl; };
5+in
6+ buildNodejs {
7+ inherit enableNpm;
8+ version = "10.0.0";
9+ sha256 = "0l5bx2j4f2ij19kx14my7g7k37j3fn9qpjvbisjvhpbm42810fg2";
10+ patches = lib.optionals stdenv.isDarwin [ ./no-xcode-v7.patch ./no-xcodebuild.patch ];
11+ }
pkgs/games/freeciv/default.nix+3−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext
1+{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext, libiconv
22, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
33, gtkClient ? false, gtk2
44, server ? true, readline
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
2222
2323 nativeBuildInputs = [ pkgconfig ];
2424
25− buildInputs = [ zlib bzip2 curl lzma gettext ]
25+ buildInputs = [ zlib bzip2 curl lzma gettext libiconv ]
2626 ++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]
2727 ++ optionals gtkClient [ gtk2 ]
2828 ++ optional server readline
@@ -50,6 +50,6 @@ stdenv.mkDerivation {
5050 license = licenses.gpl2;
5151
5252 maintainers = with maintainers; [ pierron ];
53− platforms = platforms.linux;
53+ platforms = platforms.unix;
5454 };
5555}
pkgs/games/quake2/yquake2/wrapper.nix+1−1
@@ -12,7 +12,7 @@ let
1212 };
1313
1414in stdenv.mkDerivation {
15− inherit name;
15+ name = "${name}-${stdenv.lib.getVersion yquake2}";
1616
1717 nativeBuildInputs = [ makeWrapper ];
1818
pkgs/misc/cups/drivers/brlaser/default.nix+4−3
@@ -2,13 +2,14 @@
22
33stdenv.mkDerivation rec {
44
5− name = "brlaser";
5+ name = "brlaser-${version}";
6+ version = "4";
67
78 src = fetchFromGitHub {
89 owner = "pdewacht";
910 repo = "brlaser";
10− rev = "a52149823373e11f918d9e6a56eda7242935c99b";
11− sha256 = "12d8g0aispdj2virf6vrvb0vx6d6ardjg3qyav75shsm1f94ids6";
11+ rev = "v${version}";
12+ sha256 = "1yy4mpf68c82h245srh2sd1yip29w6kx14gxk4hxkv496gf55lw5";
1213 };
1314
1415 buildInputs = [ cmake zlib cups ];
pkgs/misc/cups/drivers/estudio/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, perl }:
22
3−stdenv.mkDerivation {
4− name = "cups-toshiba-estudio";
3+stdenv.mkDerivation rec {
4+ name = "cups-toshiba-estudio-${version}";
55 version = "7.51";
66
77 src = fetchurl {
pkgs/misc/cups/filters.nix+1
@@ -56,6 +56,7 @@ in stdenv.mkDerivation rec {
5656 '';
5757
5858 enableParallelBuilding = true;
59+ doCheck = false; # fails 4 out of 6 tests
5960
6061 meta = {
6162 homepage = http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters;
pkgs/misc/emulators/wine/winetricks.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
1414
1515 makeFlags = [ "PREFIX=$(out)" ];
1616
17+ doCheck = false; # requires "bashate"
18+
1719 postInstall = ''
1820 sed -i \
1921 -e '2i PATH="${pathAdd}:$PATH"' \
pkgs/misc/lilypond/with-fonts.nix+3−3
@@ -5,8 +5,8 @@
55, fonts ? openlilylib-fonts.all
66}:
77
8−stdenv.mkDerivation {
9− name = "${lilypond.name}-with-fonts";
8+stdenv.lib.appendToName "with-fonts" (stdenv.mkDerivation {
9+ inherit (lilypond) name;
1010 phases = "installPhase";
1111 buildInputs = fonts;
1212 nativeBuildInputs = [ lndir ];
@@ -32,4 +32,4 @@ stdenv.mkDerivation {
3232 substituteInPlace $p --replace "exec -a \"${lilypond}" "exec -a \"$out"
3333 done
3434 '';
35−}
35+})
pkgs/misc/themes/gnome-breeze/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchgit }:
22
33stdenv.mkDerivation {
4− name = "gnome-breeze";
4+ name = "gnome-breeze-20160526";
55 src = fetchgit {
66 url = "https://github.com/dirruk1/gnome-breeze";
77 sha256 = "0hkk0gqlnrs1m4rb5r84f5y96qfamrbiwm09z89yc32124x1a1lm";
pkgs/misc/uboot/nanonote.nix+8−13
@@ -1,8 +1,5 @@
11{stdenv, fetchurl, fetchgit}:
22
3−# We should enable this check once we have the cross target system information
4−# assert stdenv.system == "armv5tel-linux" || crossConfig == "armv5tel-linux";
5−
63# All this file is made for the Marvell Sheevaplug
74
85stdenv.mkDerivation {
@@ -30,21 +27,19 @@ stdenv.mkDerivation {
3027 sed -i -e 's/0x200000;bootm/0x400000;bootm/' include/configs/qi_lb60.h
3128 '';
3229
33− # Remove the cross compiler prefix, and add reiserfs support
30+ makeFlags = [
31+ "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
32+ ];
33+
34+ # Add reiserfs support
3435 configurePhase = ''
3536 make mrproper
3637 make qi_lb60_config
37− sed -i /CROSS_COMPILE/d include/config.mk
3838 '';
3939
40− buildPhase = ''
40+ preBuild= ''
4141 # A variable named 'src' used to affect the build in some uboot...
42− unset src
43− if test -z "$crossConfig"; then
44− make clean all
45− else
46− make clean all ARCH=mips CROSS_COMPILE=$crossConfig-
47− fi
42+ unset -v src
4843 '';
4944
5045 dontStrip = true;
@@ -59,6 +54,6 @@ stdenv.mkDerivation {
5954 '';
6055
6156 meta = {
62− platforms = [ "mipsel-linux" ];
57+ platforms = stdenv.lib.platforms.mips;
6358 };
6459}
pkgs/os-specific/bsd/netbsd/compat-setup-hook.sh+5−17
@@ -1,18 +1,6 @@
1−setupCompatFlags() {
2− # The `depHostOffset` describes how the host platform of the dependencies
3− # are slid relative to the depending package. It is brought into scope of
4− # the environment hook defined as the role of the dependency being applied.
5− case $depHostOffset in
6− -1) local role='BUILD_' ;;
7− 0) local role='' ;;
8− 1) local role='TARGET_' ;;
9− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
10− return 1 ;;
11− esac
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
123
13− export NIX_${role}LDFLAGS+=" -lnbcompat"
14− export NIX_${role}CFLAGS_COMPILE+=" -DHAVE_NBTOOL_CONFIG_H"
15− export NIX_${role}CFLAGS_COMPILE+=" -include nbtool_config.h"
16−}
17−
18−addEnvHooks "$hostOffset" setupCompatFlags
4+export NIX_${role_pre}LDFLAGS+=" -lnbcompat"
5+export NIX_${role_pre}CFLAGS_COMPILE+=" -DHAVE_NBTOOL_CONFIG_H"
6+export NIX_${role_pre}CFLAGS_COMPILE+=" -include nbtool_config.h"
pkgs/os-specific/bsd/netbsd/default.nix+8−2
@@ -167,7 +167,10 @@ let
167167 sha256 = "17phkfafybxwhzng44k5bhmag6i55br53ky1nwcmw583kg2fa86z";
168168 version = "7.1.2";
169169
170− setupHook = ./compat-setup-hook.sh;
170+ setupHooks = [
171+ ../../../build-support/setup-hooks/role.bash
172+ ./compat-setup-hook.sh
173+ ];
171174
172175 # override defaults to prevent infinite recursion
173176 nativeBuildInputs = [ makeMinimal ];
@@ -270,7 +273,10 @@ let
270273
271274 runHook postInstall
272275 '';
273− setupHook = ./fts-setup-hook.sh;
276+ setupHooks = [
277+ ../../../build-support/setup-hooks/role.bash
278+ ./fts-setup-hook.sh
279+ ];
274280 };
275281
276282 stat = netBSDDerivation {
pkgs/os-specific/bsd/netbsd/fts-setup-hook.sh+3−15
@@ -1,16 +1,4 @@
1−ftsLdflags() {
2− # The `depHostOffset` describes how the host platform of the dependencies
3− # are slid relative to the depending package. It is brought into scope of
4− # the environment hook defined as the role of the dependency being applied.
5− case $depHostOffset in
6− -1) local role='BUILD_' ;;
7− 0) local role='' ;;
8− 1) local role='TARGET_' ;;
9− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
10− return 1 ;;
11− esac
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
123
13− export NIX_${role}LDFLAGS+=" -lfts"
14−}
15−
16−addEnvHooks "$hostOffset" ftsLdflags
4+export NIX_${role_pre}LDFLAGS+=" -lfts"
pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
4+ dontBuild = true;
55
66 installPhase = ''
77 mkdir -p $out/include
pkgs/os-specific/darwin/apple-source-releases/CommonCrypto/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir -p $out/include/CommonCrypto
86 cp include/* $out/include/CommonCrypto
pkgs/os-specific/darwin/apple-source-releases/ICU/default.nix+1
@@ -20,5 +20,6 @@ appleDerivation {
2020
2121 postInstall = ''
2222 mv $out/usr/local/include $out/include
23+ rm -rf $out/usr
2324 '';
2425}
pkgs/os-specific/darwin/apple-source-releases/Libc/825_40_1.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation, ed, unifdef }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 nativeBuildInputs = [ ed unifdef ];
75
86 installPhase = ''
pkgs/os-specific/darwin/apple-source-releases/Libc/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation, ed, unifdef, Libc_old, Libc_10-9 }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 nativeBuildInputs = [ ed unifdef ];
75
86 # TODO: asl.h actually comes from syslog project now
pkgs/os-specific/darwin/apple-source-releases/Libinfo/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 substituteInPlace xcodescripts/install_files.sh \
86 --replace "/usr/local/" "/" \
pkgs/os-specific/darwin/apple-source-releases/Libm/default.nix+1−3
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir -p $out/include
86
@@ -10,4 +8,4 @@ appleDerivation {
108 cp Source/Intel/fenv.h $out/include
119 cp Source/complex.h $out/include
1210 '';
13−}
11+}
pkgs/os-specific/darwin/apple-source-releases/Libnotify/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir -p $out/include
86 cp notify.h $out/include
pkgs/os-specific/darwin/apple-source-releases/Librpcsvc/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation, developer_cmds }:
22
33appleDerivation rec {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 buildInputs = [ developer_cmds ];
75
86 installPhase = ''
pkgs/os-specific/darwin/apple-source-releases/Libsystem/default.nix+1
@@ -23,6 +23,7 @@ appleDerivation rec {
2323 (cd $dep/include && find . -name '*.h' | cpio -pdm $out/include)
2424 done
2525
26+
2627 (cd ${cctools.dev}/include/mach-o && find . -name '*.h' | cpio -pdm $out/include/mach-o)
2728
2829 cat <<EOF > $out/include/TargetConditionals.h
pkgs/os-specific/darwin/apple-source-releases/architecture/default.nix+3−11
@@ -1,19 +1,11 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
4+ dontBuild = true;
55
6− postUnpack = ''
7− substituteInPlace $sourceRoot/Makefile \
8− --replace "/usr/include" "/include" \
9− --replace "/usr/bin/" "" \
10− --replace "/bin/" ""
11− '';
6+ installFlags = [ "EXPORT_DSTDIR=/include/architecture" ];
127
13− installPhase = ''
14− export DSTROOT=$out
15− make install
16− '';
8+ DSTROOT = "$(out)";
179
1810 meta = with stdenv.lib; {
1911 maintainers = with maintainers; [ copumpkin ];
pkgs/os-specific/darwin/apple-source-releases/copyfile/default.nix+2−3
@@ -1,10 +1,9 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
4+ dontBuild = true;
65 installPhase = ''
76 mkdir -p $out/include/
87 cp copyfile.h $out/include/
98 '';
10−}
9+}
pkgs/os-specific/darwin/apple-source-releases/dyld/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir -p $out/lib $out/include
86 ln -s /usr/lib/dyld $out/lib/dyld
pkgs/os-specific/darwin/apple-source-releases/eap8021x/default.nix+2−3
@@ -1,11 +1,10 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
5−
4+ dontBuild = true;
65 installPhase = ''
76 mkdir -p $out/Library/Frameworks/EAP8021X.framework/Headers
87
98 cp EAP8021X.fproj/EAPClientProperties.h $out/Library/Frameworks/EAP8021X.framework/Headers
109 '';
11−}
10+}
pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix+1−3
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 # No clue why the same file has two different names. Ask Apple!
75 installPhase = ''
86 mkdir -p $out/include/ $out/include/servers
@@ -11,4 +9,4 @@ appleDerivation {
119 cp liblaunch/bootstrap.h $out/include/servers
1210 cp liblaunch/bootstrap.h $out/include/servers/bootstrap_defs.h
1311 '';
14−}
12+}
pkgs/os-specific/darwin/apple-source-releases/libclosure/default.nix+1−3
@@ -1,10 +1,8 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir -p $out/include
86 cp *.h $out/include/
97 '';
10−}
8+}
pkgs/os-specific/darwin/apple-source-releases/libdispatch/default.nix+2−2
@@ -1,8 +1,8 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
4+ dontConfigure = true;
5+ dontBuild = true;
66 installPhase = ''
77 mkdir -p $out/include/dispatch $out/include/os
88
pkgs/os-specific/darwin/apple-source-releases/libiconv/default.nix+9−6
@@ -1,11 +1,11 @@
1−{ stdenv, appleDerivation }:
1+{ stdenv, appleDerivation, autoreconfHook }:
22
33appleDerivation {
4− preConfigure = "cd libiconv"
5− + stdenv.lib.optionalString stdenv.hostPlatform.isiOS ''
4+ postUnpack = "sourceRoot=$sourceRoot/libiconv";
65
7− sed -i 's/darwin\*/ios\*/g' configure libcharset/configure
8− '';
6+ preConfigure = stdenv.lib.optionalString stdenv.hostPlatform.isiOS ''
7+ sed -i 's/darwin\*/ios\*/g' configure libcharset/configure
8+ '';
99
1010 postInstall = ''
1111 mv $out/lib/libiconv.dylib $out/lib/libiconv-nocharset.dylib
@@ -18,7 +18,10 @@ appleDerivation {
1818 -Wl,-reexport_library -Wl,$out/lib/libcharset.dylib
1919 '';
2020
21− setup-hook = ../../../../development/libraries/libiconv/setup-hook.sh;
21+ setupHooks = [
22+ ../../../../build-support/setup-hooks/role.bash
23+ ../../../../development/libraries/libiconv/setup-hook.sh
24+ ];
2225
2326 meta = {
2427 platforms = stdenv.lib.platforms.darwin;
pkgs/os-specific/darwin/apple-source-releases/libplatform/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir $out
86 cp -r include $out/include
pkgs/os-specific/darwin/apple-source-releases/libpthread/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation, libdispatch, xnu }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
5−
64 propagatedBuildInputs = [ libdispatch xnu ];
75
86 installPhase = ''
pkgs/os-specific/darwin/apple-source-releases/libresolv/default.nix−2
@@ -1,8 +1,6 @@
11{ stdenv, appleDerivation, Libinfo, configd, mDNSResponder }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "buildPhase" "installPhase" ];
5−
64 buildInputs = [ Libinfo configd mDNSResponder ];
75
86 buildPhase = ''
pkgs/os-specific/darwin/apple-source-releases/libutil/default.nix−2
@@ -2,8 +2,6 @@
22
33# all symbols are located in libSystem
44appleDerivation {
5− phases = [ "unpackPhase" "installPhase" ];
6−
75 installPhase = ''
86 mkdir -p $out/include
97 cp *.h $out/include
pkgs/os-specific/darwin/apple-source-releases/ppp/default.nix+1−2
@@ -1,8 +1,7 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
5−
4+ dontBuild = true;
65 installPhase = ''
76 mkdir -p $out/include/ppp
87
pkgs/os-specific/darwin/apple-source-releases/removefile/default.nix+1−3
@@ -1,10 +1,8 @@
11{ stdenv, appleDerivation }:
22
33appleDerivation {
4− phases = [ "unpackPhase" "installPhase" ];
5−
64 installPhase = ''
75 mkdir -p $out/include/
86 cp removefile.h checkint.h $out/include/
97 '';
10−}
8+}
pkgs/os-specific/darwin/cctools/port.nix+2−4
@@ -103,15 +103,13 @@ let
103103 # include_next "unistd.h"
104104 #endif
105105 EOF
106− '' + stdenv.lib.optionalString useOld ''
106+
107107 cd cctools
108108 '';
109109
110110 # TODO: this builds an ld without support for LLVM's LTO. We need to teach it, but that's rather
111111 # hairy to handle during bootstrap. Perhaps it could be optional?
112− preConfigure = stdenv.lib.optionalString (!useOld) ''
113− cd cctools
114− '' + ''
112+ preConfigure = ''
115113 sh autogen.sh
116114 '';
117115
pkgs/os-specific/linux/apparmor/default.nix+20−4
@@ -36,9 +36,7 @@ let
3636 substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
3737 '';
3838
39− # use 'if c then x else null' to avoid rebuilding
40− # patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
41− patches = if stdenv.hostPlatform.isMusl then [
39+ patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
4240 (fetchpatch {
4341 url = "https://git.alpinelinux.org/cgit/aports/plain/testing/apparmor/0002-Provide-missing-secure_getenv-and-scandirat-function.patch?id=74b8427cc21f04e32030d047ae92caa618105b53";
4442 name = "0002-Provide-missing-secure_getenv-and-scandirat-function.patch";
@@ -55,7 +53,11 @@ let
5553 sha256 = "1m4dx901biqgnr4w4wz8a2z9r9dxyw7wv6m6mqglqwf2lxinqmp4";
5654 })
5755 # (alpine patches {1,4,5,6,8} are needed for apparmor 2.11, but not 2.12)
58− ] else null;
56+ ];
57+
58+ # Set to `true` after the next FIXME gets fixed or this gets some
59+ # common derivation infra. Too much copy-paste to fix one by one.
60+ doCheck = false;
5961
6062 # FIXME: convert these to a single multiple-outputs package?
6163
@@ -99,6 +101,8 @@ let
99101 mv $out/lib/python* $python/lib/
100102 '';
101103
104+ inherit doCheck;
105+
102106 meta = apparmor-meta "library";
103107 };
104108
@@ -131,6 +135,8 @@ let
131135 done
132136 '';
133137
138+ inherit doCheck;
139+
134140 meta = apparmor-meta "user-land utilities";
135141 };
136142
@@ -154,6 +160,8 @@ let
154160 makeFlags = ''LANGS= USE_SYSTEM=1'';
155161 installFlags = ''DESTDIR=$(out) BINDIR=$(out)/bin'';
156162
163+ inherit doCheck;
164+
157165 meta = apparmor-meta "binary user-land utilities";
158166 };
159167
@@ -177,6 +185,8 @@ let
177185 makeFlags = ''LANGS= USE_SYSTEM=1 INCLUDEDIR=${libapparmor}/include'';
178186 installFlags = ''DESTDIR=$(out) DISTRO=unknown'';
179187
188+ inherit doCheck;
189+
180190 meta = apparmor-meta "rule parser";
181191 };
182192
@@ -192,6 +202,8 @@ let
192202 makeFlags = ''USE_SYSTEM=1'';
193203 installFlags = ''DESTDIR=$(out)'';
194204
205+ inherit doCheck;
206+
195207 meta = apparmor-meta "PAM service";
196208 };
197209
@@ -204,6 +216,8 @@ let
204216 postPatch = "cd ./profiles";
205217 installFlags = ''DESTDIR=$(out) EXTRAS_DEST=$(out)/share/apparmor/extra-profiles'';
206218
219+ inherit doCheck;
220+
207221 meta = apparmor-meta "profiles";
208222 };
209223
@@ -218,6 +232,8 @@ let
218232 cp -R ./kernel-patches/* "$out"
219233 '';
220234
235+ inherit doCheck;
236+
221237 meta = apparmor-meta "kernel patches";
222238 };
223239
pkgs/os-specific/linux/busybox/default.nix+2
@@ -98,6 +98,8 @@ stdenv.mkDerivation rec {
9898
9999 enableParallelBuilding = true;
100100
101+ doCheck = false; # tries to access the net
102+
101103 meta = with stdenv.lib; {
102104 description = "Tiny versions of common UNIX utilities in a single small executable";
103105 homepage = https://busybox.net/;
pkgs/os-specific/linux/hwdata/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
1313
1414 configureFlags = "--datadir=$(prefix)/data";
1515
16+ doCheck = false; # this does build machine-specific checks (e.g. enumerates PCI bus)
17+
1618 meta = {
1719 homepage = https://github.com/vcrhonek/hwdata;
1820 description = "Hardware Database, including Monitors, pci.ids, usb.ids, and video cards";
pkgs/os-specific/linux/kernel/perf.nix+3
@@ -53,6 +53,9 @@ stdenv.mkDerivation {
5353 "-Wno-error=unused-const-variable" "-Wno-error=misleading-indentation"
5454 ];
5555
56+ doCheck = false; # requires "sparse"
57+ doInstallCheck = false; # same
58+
5659 separateDebugInfo = true;
5760 installFlags = "install install-man ASCIIDOC8=1 prefix=$(out)";
5861
pkgs/os-specific/linux/kexectools/default.nix+2−2
@@ -2,14 +2,14 @@
22
33stdenv.mkDerivation rec {
44 name = "kexec-tools-${version}";
5− version = "2.0.16";
5+ version = "2.0.17";
66
77 src = fetchurl {
88 urls = [
99 "mirror://kernel/linux/utils/kernel/kexec/${name}.tar.xz"
1010 "http://horms.net/projects/kexec/kexec-tools/${name}.tar.xz"
1111 ];
12− sha256 = "043hasx5b9zk7r7dzx24z5wybg74dpmh0nyns6nrnb3mmm8k642v";
12+ sha256 = "1ac20jws8iys9w6dpn4q3hihyx73zkabdwv3gcb779cxfrmq2k2h";
1313 };
1414
1515 hardeningDisable = [ "format" "pic" "relro" ];
pkgs/os-specific/linux/libcap-ng/default.nix+2−2
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
66 name = "libcap-ng-${version}";
77 # When updating make sure to test that the version with
88 # all of the python bindings still works
9− version = "0.7.8";
9+ version = "0.7.9";
1010
1111 src = fetchurl {
1212 url = "${meta.homepage}/${name}.tar.gz";
13− sha256 = "0pyhjxgsph3p28ayk4ynxab6wvzaqmazk1nkamx11m2w8jbzj6n2";
13+ sha256 = "0a0k484kwv0zilry2mbl9k56cnpdhsjxdxin17jas6kkyfy345aa";
1414 };
1515
1616 nativeBuildInputs = [ swig ];
pkgs/os-specific/linux/libnl/default.nix+24−6
@@ -1,17 +1,18 @@
1−{ stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig }:
1+{ stdenv, file, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig
2+, pythonSupport ? true, swig ? null, python}:
23
3−let version = "3.3.0"; in
4−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
55 name = "libnl-${version}";
6+ version = "3.4.0";
67
78 src = fetchFromGitHub {
89 repo = "libnl";
910 owner = "thom311";
1011 rev = "libnl${lib.replaceStrings ["."] ["_"] version}";
11− sha256 = "1796kyq2lkhz2802v9kp32vlxf8ynlyqgyw9nhmry3qh5d0ahcsv";
12+ sha256 = "1bqf1f5glwf285sa98k5pkj9gg79lliixk1jk85j63v5510fbagp";
1213 };
1314
14− outputs = [ "bin" "dev" "out" "man" ];
15+ outputs = [ "bin" "dev" "out" "man" ] ++ lib.optional pythonSupport "py";
1516
1617 patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
1718 (fetchpatch {
@@ -19,7 +20,24 @@ stdenv.mkDerivation {
1920 sha256 = "0dd7xxikib201i99k2if066hh7gwf2i4ffckrjplq6lr206jn00r";
2021 });
2122
22− nativeBuildInputs = [ autoreconfHook bison flex pkgconfig ];
23+ enableParallelBuilding = true;
24+
25+ nativeBuildInputs = [ autoreconfHook bison flex pkgconfig file ]
26+ ++ lib.optional pythonSupport swig;
27+
28+ postBuild = lib.optionalString (pythonSupport) ''
29+ cd python
30+ ${python}/bin/python setup.py install --prefix=../pythonlib
31+ cd -
32+ '';
33+
34+ postFixup = lib.optionalString pythonSupport ''
35+ mv "pythonlib/" "$py"
36+ '';
37+
38+ passthru = {
39+ inherit pythonSupport;
40+ };
2341
2442 meta = with lib; {
2543 inherit version;
pkgs/os-specific/linux/lvm2/default.nix+2
@@ -59,6 +59,8 @@ stdenv.mkDerivation {
5959 })
6060 ];
6161
62+ doCheck = false; # requires root
63+
6264 # To prevent make install from failing.
6365 preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
6466
pkgs/os-specific/linux/mmc-utils/default.nix+2
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
1010 sha256 = "0hkdzc71pdnscbpdpgwljcchiyancarldjyd0w609sy18bky833x";
1111 };
1212
13+ makeFlags = "CC=${stdenv.cc.targetPrefix}cc";
14+
1315 installPhase = ''
1416 make install prefix=$out
1517 mkdir -p $out/share/man/man1
pkgs/os-specific/linux/musl/fts-setup-hook.sh+3−16
@@ -1,17 +1,4 @@
1−ftsLdflags() {
2− # The `depHostOffset` describes how the host platform of the dependencies
3− # are slid relative to the depending package. It is brought into scope of
4− # the environment hook defined as the role of the dependency being applied.
5− case $depHostOffset in
6− -1) local role='BUILD_' ;;
7− 0) local role='' ;;
8− 1) local role='TARGET_' ;;
9− *) echo "cc-wrapper: Error: Cannot be used with $depHostOffset-offset deps" >2;
10− return 1 ;;
11− esac
12−
13− export NIX_${role}LDFLAGS+=" -lfts"
14−}
15−
16−addEnvHooks "$hostOffset" ftsLdflags
1+# See pkgs/build-support/setup-hooks/role.bash
2+getHostRole
173
4+export NIX_${role_pre}LDFLAGS+=" -lfts"
pkgs/os-specific/linux/musl/fts.nix+4−1
@@ -12,5 +12,8 @@ stdenv.mkDerivation rec {
1212
1313 nativeBuildInputs = [ autoreconfHook pkgconfig ];
1414
15− setupHook = ./fts-setup-hook.sh;
15+ setupHooks = [
16+ ../../../build-support/setup-hooks/role.bash
17+ ./fts-setup-hook.sh
18+ ];
1619}
pkgs/os-specific/linux/net-tools/default.nix+2
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
1515 '';
1616
1717 makeFlags = [
18+ "CC=${stdenv.cc.targetPrefix}cc"
19+ "AR=${stdenv.cc.targetPrefix}ar"
1820 "BASEDIR=$(out)"
1921 "mandir=/share/man"
2022 "HAVE_ARP_TOOLS=1"
pkgs/os-specific/linux/nfs-utils/default.nix+13−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, lib, pkgconfig, utillinux, libcap, libtirpc, libevent, libnfsidmap
1+{ stdenv, fetchurl, fetchpatch, lib, pkgconfig, utillinux, libcap, libtirpc, libevent, libnfsidmap
22, sqlite, kerberos, kmod, libuuid, keyutils, lvm2, systemd, coreutils, tcp_wrappers
33, buildEnv
44}:
@@ -39,6 +39,18 @@ in stdenv.mkDerivation rec {
3939 ]
4040 ++ lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc.bin}/bin/rpcgen";
4141
42+ patches = lib.optionals stdenv.hostPlatform.isMusl [
43+ (fetchpatch {
44+ url = "https://raw.githubusercontent.com/alpinelinux/aports/cb880042d48d77af412d4688f24b8310ae44f55f/main/nfs-utils/0011-exportfs-only-do-glibc-specific-hackery-on-glibc.patch";
45+ sha256 = "0rrddrykz8prk0dcgfvmnz0vxn09dbgq8cb098yjjg19zz6d7vid";
46+ })
47+ # http://openwall.com/lists/musl/2015/08/18/10
48+ (fetchpatch {
49+ url = "https://raw.githubusercontent.com/alpinelinux/aports/cb880042d48d77af412d4688f24b8310ae44f55f/main/nfs-utils/musl-getservbyport.patch";
50+ sha256 = "1fqws9dz8n1d9a418c54r11y3w330qgy2652dpwcy96cm44sqyhf";
51+ })
52+ ];
53+
4254 postPatch =
4355 ''
4456 patchShebangs tests
pkgs/os-specific/linux/pam/default.nix+8−5
@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib }:
1+{ stdenv, buildPackages, hostPlatform, fetchurl, fetchpatch, flex, cracklib, db4 }:
22
33stdenv.mkDerivation rec {
44 name = "linux-pam-${version}";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929 depsBuildBuild = [ buildPackages.stdenv.cc ];
3030 nativeBuildInputs = [ flex ];
3131
32− buildInputs = [ cracklib ];
32+ buildInputs = [ cracklib db4 ];
3333
3434 enableParallelBuilding = true;
3535
@@ -55,9 +55,12 @@ stdenv.mkDerivation rec {
5555 sed -e 's/pam_rhosts//g' -i modules/Makefile.in
5656 '';
5757
58− meta = {
59− homepage = http://ftp.kernel.org/pub/linux/libs/pam/;
58+ doCheck = false; # fails
59+
60+ meta = with stdenv.lib; {
61+ homepage = http://www.linux-pam.org/;
6062 description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user";
61− platforms = stdenv.lib.platforms.linux;
63+ platforms = platforms.linux;
64+ license = licenses.bsd3;
6265 };
6366}
pkgs/os-specific/linux/procps-ng/default.nix+7−28
@@ -1,38 +1,17 @@
1−{ lib, stdenv, fetchFromGitLab, fetchpatch, ncurses, libtool, gettext, autoconf, automake, pkgconfig }:
1+{ lib, stdenv, fetchurl, ncurses, pkgconfig }:
22
33stdenv.mkDerivation rec {
44 name = "procps-${version}";
5− version = "3.3.13";
5+ version = "3.3.14";
66
7− src = fetchFromGitLab {
8− owner ="procps-ng";
9− repo = "procps";
10− rev = "v${version}";
11− sha256 = "0r3h9adhqi5fi62lx65z839fww35lfh2isnknhkaw71xndjpzr0q";
7+ # The project's releases are on SF, but git repo on gitlab.
8+ src = fetchurl {
9+ url = "mirror://sourceforge/procps-ng/procps-ng-${version}.tar.xz";
10+ sha256 = "0v3j6rkzzscqds37i105cxx3q4dk04rsgpqfd5p7hzcvk59h5njy";
1211 };
1312
1413 buildInputs = [ ncurses ];
15− nativeBuildInputs = [ libtool gettext autoconf automake pkgconfig ];
16−
17− # https://gitlab.com/procps-ng/procps/issues/88
18− # Patches needed for musl and glibc 2.28
19− patches = [
20− (fetchpatch {
21− url = "https://gitlab.com/procps-ng/procps/uploads/f91ff094be1e4638aeffb67bdbb751ba/numa.h.diff";
22− sha256 = "16r537d2wfrvbv6dg9vyfck8n31xa58903mnssw1s4kb5ap83yd5";
23− extraPrefix = "";
24− })
25− (fetchpatch {
26− url = "https://gitlab.com/procps-ng/procps/uploads/6a7bdea4d82ba781451316fda74192ae/libio_detection.diff";
27− sha256 = "0qp0j60kiycjsv213ih10imjirmxz8zja3rk9fq5lr5xf7k2lr3p";
28− })
29− ];
30−
31− # autoreconfHook doesn't quite get, what procps-ng buildprocss does
32− # with po/Makefile.in.in and stuff.
33− preConfigure = ''
34− ./autogen.sh
35− '';
14+ nativeBuildInputs = [ pkgconfig ];
3615
3716 makeFlags = "usrbin_execdir=$(out)/bin";
3817
pkgs/os-specific/linux/systemd/cryptsetup-generator.nix+1−1
@@ -2,7 +2,7 @@
22
33stdenv.lib.overrideDerivation systemd (p: {
44 version = p.version;
5− name = "systemd-cryptsetup-generator";
5+ name = "systemd-cryptsetup-generator-${p.version}";
66
77 nativeBuildInputs = p.nativeBuildInputs ++ [ cryptsetup ];
88 outputs = [ "out" ];
pkgs/os-specific/linux/systemd/default.nix+12−12
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, intltool, gperf, libcap, kmod
22, zlib, xz, pam, acl, cryptsetup, libuuid, m4, utillinux, libffi
33, glib, kbd, libxslt, coreutils, libgcrypt, libgpgerror, libidn2, libapparmor
4−, audit, lz4, bzip2, libmicrohttpd
4+, audit, lz4, bzip2, libmicrohttpd, pcre2
55, linuxHeaders ? stdenv.cc.libc.linuxHeaders
66, iptables, gnu-efi
77, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
@@ -43,7 +43,7 @@ in stdenv.mkDerivation rec {
4343 buildInputs =
4444 [ linuxHeaders libcap kmod xz pam acl
4545 /* cryptsetup */ libuuid glib libgcrypt libgpgerror libidn2
46− libmicrohttpd ] ++
46+ libmicrohttpd pcre2 ] ++
4747 stdenv.lib.optional withKexectools kexectools ++
4848 stdenv.lib.optional withLibseccomp libseccomp ++
4949 [ libffi audit lz4 bzip2 libapparmor
@@ -101,20 +101,10 @@ in stdenv.mkDerivation rec {
101101 mesonFlagsArray+=(-Ddbussystemservicedir=$out/share/dbus-1/system-services)
102102 mesonFlagsArray+=(-Dpamconfdir=$out/etc/pam.d)
103103 mesonFlagsArray+=(-Drootprefix=$out)
104− mesonFlagsArray+=(-Dlibdir=$lib/lib)
105104 mesonFlagsArray+=(-Drootlibdir=$lib/lib)
106− mesonFlagsArray+=(-Dmandir=$man/lib)
107− mesonFlagsArray+=(-Dincludedir=$dev/include)
108105 mesonFlagsArray+=(-Dpkgconfiglibdir=$dev/lib/pkgconfig)
109106 mesonFlagsArray+=(-Dpkgconfigdatadir=$dev/share/pkgconfig)
110107
111− # FIXME: Why aren't includedir and libdir picked up from mesonFlags while other options are?
112− substituteInPlace meson.build \
113− --replace "includedir = join_paths(prefixdir, get_option('includedir'))" \
114− "includedir = '$dev/include'" \
115− --replace "libdir = join_paths(prefixdir, get_option('libdir'))" \
116− "libdir = '$lib/lib'"
117−
118108 export LC_ALL="en_US.UTF-8";
119109 # FIXME: patch this in systemd properly (and send upstream).
120110 # already fixed in f00929ad622c978f8ad83590a15a765b4beecac9: (u)mount
@@ -155,6 +145,14 @@ in stdenv.mkDerivation rec {
155145 --replace "SYSTEMD_CGROUP_AGENT_PATH" "_SYSTEMD_CGROUP_AGENT_PATH"
156146 '';
157147
148+ patches = [
149+ # https://github.com/systemd/systemd/pull/8580
150+ (fetchpatch {
151+ url = https://github.com/systemd/systemd/pull/8580.patch;
152+ sha256 = "1yp07hlpgqq0h2y0qc3kasswzkycz6p8d56d695ck1qa2f5bdfgn";
153+ })
154+ ];
155+
158156 hardeningDisable = [ "stackprotector" ];
159157
160158 NIX_CFLAGS_COMPILE =
@@ -170,6 +168,8 @@ in stdenv.mkDerivation rec {
170168 "-USYSTEMD_BINARY_PATH" "-DSYSTEMD_BINARY_PATH=\"/run/current-system/systemd/lib/systemd/systemd\""
171169 ];
172170
171+ doCheck = false; # fails a bunch of tests
172+
173173 postInstall = ''
174174 # sysinit.target: Don't depend on
175175 # systemd-tmpfiles-setup.service. This interferes with NixOps's
pkgs/os-specific/linux/tcp-wrappers/cdecls.patchnew file+31
@@ -0,0 +1,31 @@
1+__BEGIN_DECLS/__END_DECLS are BSD specific and not defined in musl
2+glibc and uclibc had sys/cdefs.h doing it.
3+
4+Upstream-Status: Pending
5+Signed-off-by: Khem Raj <raj.khem@gmail.com>
6+
7+Index: tcp_wrappers_7.6/tcpd.h
8+===================================================================
9+--- tcp_wrappers_7.6.orig/tcpd.h
10++++ tcp_wrappers_7.6/tcpd.h
11+@@ -11,7 +11,9 @@
12+ #include <netinet/in.h>
13+ #include <stdio.h>
14+
15+-__BEGIN_DECLS
16++#ifdef __cplusplus
17++extern "C" {
18++#endif
19+
20+ /* Structure to describe one communications endpoint. */
21+
22+@@ -252,6 +254,8 @@ extern char *fix_strtok();
23+ extern char *my_strtok();
24+ #endif
25+
26+-__END_DECLS
27++#ifdef __cplusplus
28++}
29++#endif
30+
31+ #endif
pkgs/os-specific/linux/tcp-wrappers/default.nix+12−1
@@ -20,11 +20,22 @@ in stdenv.mkDerivation rec {
2020 prePatch = ''
2121 tar -xaf $debian
2222 patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
23+
24+ substituteInPlace Makefile --replace STRINGS STRINGDEFS
25+ substituteInPlace debian/patches/13_shlib_weaksym --replace STRINGS STRINGDEFS
26+ '';
27+
28+ # Fix __BEGIN_DECLS usage (even if it wasn't non-standard, this doesn't include sys/cdefs.h)
29+ patches = [ ./cdecls.patch ];
30+
31+ postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
32+ substituteInPlace Makefile \
33+ --replace '-DNETGROUP' '-DUSE_GETDOMAIN'
2334 '';
2435
2536 buildInputs = [ libnsl ];
2637
27− makeFlags = [ "STRINGS=" "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
38+ makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" "AR:=$(AR)" ];
2839
2940 installPhase = ''
3041 mkdir -p "$out/bin"
pkgs/os-specific/linux/tcp-wrappers/tcp-wrappers-7.6-headers.patchnew file+295
@@ -0,0 +1,295 @@
1+--- a/options.c
2++++ b/options.c
3+@@ -34,6 +34,8 @@
4+
5+ /* System libraries. */
6+
7++#include <unistd.h>
8++#include <stdlib.h>
9+ #include <sys/types.h>
10+ #include <sys/param.h>
11+ #include <sys/socket.h>
12+--- a/safe_finger.c
13++++ b/safe_finger.c
14+@@ -20,6 +20,11 @@
15+
16+ /* System libraries */
17+
18++#include <unistd.h>
19++#include <fcntl.h>
20++#include <stdlib.h>
21++#include <sys/wait.h>
22++#include <grp.h>
23+ #include <sys/types.h>
24+ #include <sys/stat.h>
25+ #include <signal.h>
26+@@ -27,7 +31,7 @@
27+ #include <ctype.h>
28+ #include <pwd.h>
29+
30+-extern void exit();
31++int pipe_stdin(char **argv);
32+
33+ /* Local stuff */
34+
35+--- a/scaffold.c
36++++ b/scaffold.c
37+@@ -10,6 +10,7 @@
38+
39+ /* System libraries. */
40+
41++#include <stdlib.h>
42+ #include <sys/types.h>
43+ #include <sys/stat.h>
44+ #include <sys/socket.h>
45+@@ -27,7 +27,4 @@
46+ #endif
47+
48+-#ifndef INET6
49+-extern char *malloc();
50+-#endif
51+
52+ /* Application-specific. */
53+--- a/shell_cmd.c
54++++ b/shell_cmd.c
55+@@ -14,6 +14,10 @@
56+
57+ /* System libraries. */
58+
59++#include <unistd.h>
60++#include <stdlib.h>
61++#include <fcntl.h>
62++#include <sys/wait.h>
63+ #include <sys/types.h>
64+ #include <sys/param.h>
65+ #include <signal.h>
66+@@ -25,8 +25,6 @@
67+ #include <syslog.h>
68+ #include <string.h>
69+
70+-extern void exit();
71+-
72+ /* Local stuff. */
73+
74+ #include "tcpd.h"
75+--- a/tcpdchk.c
76++++ b/tcpdchk.c
77+@@ -20,6 +20,8 @@
78+
79+ /* System libraries. */
80+
81++#include <unistd.h>
82++#include <stdlib.h>
83+ #include <sys/types.h>
84+ #include <sys/stat.h>
85+ #ifdef INET6
86+@@ -35,10 +36,7 @@
87+ #include <netdb.h>
88+ #include <string.h>
89+
90+-extern int errno;
91+-extern void exit();
92+-extern int optind;
93+-extern char *optarg;
94++int cidr_mask_addr(char *str);
95+
96+ #ifndef INADDR_NONE
97+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
98+--- a/clean_exit.c
99++++ b/clean_exit.c
100+@@ -13,8 +13,8 @@
101+ #endif
102+
103+ #include <stdio.h>
104+-
105+-extern void exit();
106++#include <unistd.h>
107++#include <stdlib.h>
108+
109+ #include "tcpd.h"
110+
111+--- a/hosts_access.c
112++++ b/hosts_access.c
113+@@ -23,6 +23,7 @@
114+
115+ /* System libraries. */
116+
117++#include <stdlib.h>
118+ #include <sys/types.h>
119+ #ifdef INT32_T
120+ typedef uint32_t u_int32_t;
121+@@ -43,8 +44,8 @@
122+ #include <netdb.h>
123+ #endif
124+
125+-extern char *fgets();
126+-extern int errno;
127++static int match_pattern_ylo(const char *s, const char *pattern);
128++int cidr_mask_addr(char *str);
129+
130+ #ifndef INADDR_NONE
131+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
132+--- a/inetcf.c
133++++ b/inetcf.c
134+@@ -9,15 +9,14 @@
135+ static char sccsid[] = "@(#) inetcf.c 1.7 97/02/12 02:13:23";
136+ #endif
137+
138++#include <stdlib.h>
139+ #include <sys/types.h>
140+ #include <sys/stat.h>
141+ #include <stdio.h>
142+ #include <errno.h>
143+ #include <string.h>
144+
145+-extern int errno;
146+-extern void exit();
147+-
148++#include "scaffold.h"
149+ #include "tcpd.h"
150+ #include "inetcf.h"
151+
152+--- a/percent_x.c
153++++ b/percent_x.c
154+@@ -16,12 +16,12 @@
155+
156+ /* System libraries. */
157+
158++#include <unistd.h>
159++#include <stdlib.h>
160+ #include <stdio.h>
161+ #include <syslog.h>
162+ #include <string.h>
163+
164+-extern void exit();
165+-
166+ /* Local stuff. */
167+
168+ #include "tcpd.h"
169+--- a/rfc931.c
170++++ b/rfc931.c
171+@@ -15,6 +15,7 @@
172+
173+ /* System libraries. */
174+
175++#include <unistd.h>
176+ #include <stdio.h>
177+ #include <syslog.h>
178+ #include <sys/types.h>
179+--- a/tcpd.c
180++++ b/tcpd.c
181+@@ -16,6 +16,7 @@
182+
183+ /* System libraries. */
184+
185++#include <unistd.h>
186+ #include <sys/types.h>
187+ #include <sys/param.h>
188+ #include <sys/stat.h>
189+@@ -39,6 +39,8 @@
190+ #include "patchlevel.h"
191+ #include "tcpd.h"
192+
193++void fix_options(struct request_info *request);
194++
195+ int allow_severity = SEVERITY; /* run-time adjustable */
196+ int deny_severity = LOG_WARNING; /* ditto */
197+
198+--- a/tcpdmatch.c
199++++ b/tcpdmatch.c
200+@@ -19,6 +19,8 @@
201+
202+ /* System libraries. */
203+
204++#include <unistd.h>
205++#include <stdlib.h>
206+ #include <sys/types.h>
207+ #include <sys/stat.h>
208+ #include <sys/socket.h>
209+@@ -30,9 +32,6 @@
210+ #include <setjmp.h>
211+ #include <string.h>
212+
213+-extern void exit();
214+-extern int optind;
215+-extern char *optarg;
216+
217+ #ifndef INADDR_NONE
218+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
219+--- a/update.c
220++++ b/update.c
221+@@ -19,6 +19,7 @@
222+
223+ /* System libraries */
224+
225++#include <unistd.h>
226+ #include <stdio.h>
227+ #include <syslog.h>
228+ #include <string.h>
229+--- a/misc.c
230++++ b/misc.c
231+@@ -14,11 +14,10 @@
232+ #include <arpa/inet.h>
233+ #include <stdio.h>
234+ #include <string.h>
235++#include <stdlib.h>
236+
237+ #include "tcpd.h"
238+
239+-extern char *fgets();
240+-
241+ #ifndef INADDR_NONE
242+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
243+ #endif
244+--- a/fix_options.c
245++++ b/fix_options.c
246+@@ -32,6 +32,7 @@
247+
248+ /* fix_options - get rid of IP-level socket options */
249+
250++void
251+ fix_options(request)
252+ struct request_info *request;
253+ {
254+@@ -38,11 +38,8 @@
255+ #ifdef IP_OPTIONS
256+ unsigned char optbuf[BUFFER_SIZE / 3], *cp;
257+ char lbuf[BUFFER_SIZE], *lp;
258+-#ifdef __GLIBC__
259+- size_t optsize = sizeof(optbuf), ipproto;
260+-#else
261+- int optsize = sizeof(optbuf), ipproto;
262+-#endif
263++ socklen_t optsize = sizeof(optbuf);
264++ int ipproto;
265+ struct protoent *ip;
266+ int fd = request->fd;
267+ unsigned int opt;
268+--- a/socket.c
269++++ b/socket.c
270+@@ -95,11 +95,7 @@
271+ static struct sockaddr_in client;
272+ static struct sockaddr_in server;
273+ #endif
274+-#ifdef __GLIBC__
275+- size_t len;
276+-#else
277+- int len;
278+-#endif
279++ socklen_t len;
280+ char buf[BUFSIZ];
281+ int fd = request->fd;
282+
283+@@ -430,11 +426,7 @@
284+ #else
285+ struct sockaddr_in sin;
286+ #endif
287+-#ifdef __GLIBC__
288+- size_t size = sizeof(sin);
289+-#else
290+- int size = sizeof(sin);
291+-#endif
292++ socklen_t size;
293+
294+ /*
295+ * Eat up the not-yet received datagram. Some systems insist on a
pkgs/os-specific/linux/udisks/2-default.nix+2
@@ -48,6 +48,8 @@ stdenv.mkDerivation rec {
4848 "INTROSPECTION_TYPELIBDIR=$(out)/lib/girepository-1.0"
4949 ];
5050
51+ doCheck = false; # fails
52+
5153 meta = {
5254 homepage = http://www.freedesktop.org/wiki/Software/udisks;
5355 description = "A daemon and command-line utility for querying and manipulating storage devices";
pkgs/os-specific/linux/upower/default.nix+2
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
2828
2929 NIX_CFLAGS_LINK = "-lgcc_s";
3030
31+ doCheck = false; # fails with "env: './linux/integration-test': No such file or directory"
32+
3133 installFlags = "historydir=$(TMPDIR)/foo";
3234
3335 meta = {
pkgs/os-specific/linux/util-linux/default.nix+3−3
@@ -4,15 +4,15 @@
44let
55 version = lib.concatStringsSep "." ([ majorVersion ]
66 ++ lib.optional (patchVersion != "") patchVersion);
7− majorVersion = "2.31";
8− patchVersion = "1";
7+ majorVersion = "2.32";
8+ patchVersion = "";
99
1010in stdenv.mkDerivation rec {
1111 name = "util-linux-${version}";
1212
1313 src = fetchurl {
1414 url = "mirror://kernel/linux/utils/util-linux/v${majorVersion}/${name}.tar.xz";
15− sha256 = "04fzrnrr3pvqskvjn9f81y0knh0jvvqx4lmbz5pd4lfdm5pv2l8s";
15+ sha256 = "0d2758kjll5xqm5fpp3sww1h66aahx161sf2b60jxqv4qymrfwvc";
1616 };
1717
1818 patches = [
pkgs/os-specific/linux/v4l-utils/default.nix+2−2
@@ -8,11 +8,11 @@
88
99stdenv.mkDerivation rec {
1010 name = "v4l-utils-${version}";
11− version = "1.12.3";
11+ version = "1.14.2";
1212
1313 src = fetchurl {
1414 url = "http://linuxtv.org/downloads/v4l-utils/${name}.tar.bz2";
15− sha256 = "0vpl3jl0x441y7b5cn7zhdsyi954hp9h2p30jhnr1zkx1rpxsiss";
15+ sha256 = "14h6d2p3n4jmxhd8i0p1m5dbwz5vnpb3z88xqd9ghg15n7265fg6";
1616 };
1717
1818 outputs = [ "out" "dev" ];
pkgs/servers/amqp/rabbitmq-server/default.nix+2−8
@@ -1,17 +1,11 @@
11{ stdenv, fetchurl, runCommand
22, erlang, python, libxml2, libxslt, xmlto
33, docbook_xml_dtd_45, docbook_xsl, zip, unzip, rsync
4−
54, AppKit, Carbon, Cocoa
5+, getconf
66}:
77
8−let
9− # we only need that one glibc binary (28k instead of 2.7M)
10− getconf = runCommand "getconf" {} ''
11− install -D ${stdenv.lib.getBin stdenv.cc.libc}/bin/getconf $out/bin/getconf
12− '';
13−
14−in stdenv.mkDerivation rec {
8+stdenv.mkDerivation rec {
159 name = "rabbitmq-server-${version}";
1610 version = "3.6.15";
1711
pkgs/servers/dns/bind/default.nix+2
@@ -67,6 +67,8 @@ stdenv.mkDerivation rec {
6767 done
6868 '';
6969
70+ doCheck = false; # requires root and the net
71+
7072 meta = {
7173 homepage = http://www.isc.org/software/bind;
7274 description = "Domain name server";
pkgs/servers/ldap/389/default.nix+3−1
@@ -36,7 +36,9 @@ stdenv.mkDerivation rec {
3636 "--sysconfdir=/etc"
3737 "--localstatedir=/var"
3838 "--with-openldap"
39− "--with-db=${db}"
39+ "--with-db"
40+ "--with-db-inc=${db.dev}/include"
41+ "--with-db-lib=${db.out}/lib"
4042 "--with-sasl=${cyrus_sasl.dev}"
4143 "--with-netsnmp=${net_snmp}"
4244 ];
pkgs/servers/monitoring/net-snmp/default.nix+1
@@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
4444 buildInputs = [ file perl unzip openssl ];
4545
4646 enableParallelBuilding = true;
47+ doCheck = false; # fails
4748
4849 postInstall = ''
4950 for f in "$out/lib/"*.la $out/bin/net-snmp-config $out/bin/net-snmp-create-v3-user; do
pkgs/servers/sql/mariadb/default.nix+2−2
@@ -167,11 +167,11 @@ everything = stdenv.mkDerivation (common // {
167167
168168connector-c = stdenv.mkDerivation rec {
169169 name = "mariadb-connector-c-${version}";
170− version = "2.3.4";
170+ version = "2.3.5";
171171
172172 src = fetchurl {
173173 url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve";
174− sha256 = "1g1sq5knarxkfhpkcczr6qxmq12pid65cdkqnhnfs94av89hbswb";
174+ sha256 = "0vvlfs56hxin130vh8pcs5w7jpv1yc6g76bhpzg88hnp4v1z8frg";
175175 name = "mariadb-connector-c-${version}-src.tar.gz";
176176 };
177177
pkgs/servers/sql/postgresql/default.nix+2
@@ -75,6 +75,8 @@ let
7575 wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
7676 '';
7777
78+ doInstallCheck = false; # needs a running daemon?
79+
7880 disallowedReferences = [ stdenv.cc ];
7981
8082 passthru = {
pkgs/servers/x11/xorg/default.nix+3−3
@@ -2468,11 +2468,11 @@ let
24682468 }) // {inherit inputproto libX11 libXaw xproto libXt ;};
24692469
24702470 xkeyboardconfig = (mkDerivation "xkeyboardconfig" {
2471− name = "xkeyboard-config-2.22";
2471+ name = "xkeyboard-config-2.23.1";
24722472 builder = ./builder.sh;
24732473 src = fetchurl {
2474− url = mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-2.22.tar.bz2;
2475− sha256 = "1garmbyfjp0han04l2l90zzwlfbdgdxl6r1qnic36i5wkycckbny";
2474+ url = mirror://xorg/individual/data/xkeyboard-config/xkeyboard-config-2.23.1.tar.bz2;
2475+ sha256 = "1wq27cs1c9y7d1d7zp5yhq29paj9smajdb68lyvm28d2zq2vqjra";
24762476 };
24772477 nativeBuildInputs = [ pkgconfig ];
24782478 buildInputs = [ libX11 xproto ];
pkgs/servers/x11/xorg/overrides.nix+23−12
@@ -5,11 +5,9 @@ let
55 inherit (stdenv) lib isDarwin;
66 inherit (lib) overrideDerivation;
77
8− setMalloc0ReturnsNullCrossCompiling = ''
9− if test -n "$crossConfig"; then
10− configureFlags="$configureFlags --enable-malloc0returnsnull";
11− fi
12− '';
8+ malloc0ReturnsNullCrossFlag = stdenv.lib.optional
9+ (stdenv.hostPlatform != stdenv.buildPlatform)
10+ "--enable-malloc0returnsnull";
1311
1412 gitRelease = { libName, version, rev, sha256 } : attrs : attrs // {
1513 name = libName + "-" + version;
@@ -101,7 +99,9 @@ in
10199
102100 libX11 = attrs: attrs // {
103101 outputs = [ "out" "dev" "man" ];
104− preConfigure = setMalloc0ReturnsNullCrossCompiling + ''
102+ configureFlags = attrs.configureFlags or []
103+ ++ malloc0ReturnsNullCrossFlag;
104+ preConfigure = ''
105105 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
106106 '';
107107 postInstall =
@@ -138,16 +138,19 @@ in
138138
139139 libXxf86vm = attrs: attrs // {
140140 outputs = [ "out" "dev" ];
141− preConfigure = setMalloc0ReturnsNullCrossCompiling;
141+ configureFlags = attrs.configureFlags or []
142+ ++ malloc0ReturnsNullCrossFlag;
142143 };
143144
144145 # Propagate some build inputs because of header file dependencies.
145146 # Note: most of these are in Requires.private, so maybe builder.sh
146147 # should propagate them automatically.
147148 libXt = attrs: attrs // {
148− preConfigure = setMalloc0ReturnsNullCrossCompiling + ''
149+ preConfigure = ''
149150 sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
150151 '';
152+ configureFlags = attrs.configureFlags or []
153+ ++ malloc0ReturnsNullCrossFlag;
151154 propagatedBuildInputs = [ xorg.libSM ];
152155 CPP = stdenv.lib.optionalString stdenv.isDarwin "clang -E -";
153156 outputs = [ "out" "dev" "devdoc" ];
@@ -188,7 +191,8 @@ in
188191 libXft = attrs: attrs // {
189192 outputs = [ "out" "dev" ];
190193 propagatedBuildInputs = [ xorg.libXrender args.freetype args.fontconfig ];
191− preConfigure = setMalloc0ReturnsNullCrossCompiling;
194+ configureFlags = attrs.configureFlags or []
195+ ++ malloc0ReturnsNullCrossFlag;
192196 # the include files need ft2build.h, and Requires.private isn't enough for us
193197 postInstall = ''
194198 sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
@@ -198,7 +202,8 @@ in
198202 libXext = attrs: attrs // {
199203 outputs = [ "out" "dev" "man" "doc" ];
200204 propagatedBuildInputs = [ xorg.xproto xorg.libXau ];
201− preConfigure = setMalloc0ReturnsNullCrossCompiling;
205+ configureFlags = attrs.configureFlags or []
206+ ++ malloc0ReturnsNullCrossFlag;
202207 };
203208
204209 libXfixes = attrs: attrs // {
@@ -221,7 +226,8 @@ in
221226
222227 libXrandr = attrs: attrs // {
223228 outputs = [ "out" "dev" ];
224− preConfigure = setMalloc0ReturnsNullCrossCompiling;
229+ configureFlags = attrs.configureFlags or []
230+ ++ malloc0ReturnsNullCrossFlag;
225231 propagatedBuildInputs = [xorg.libXrender];
226232 };
227233
@@ -232,8 +238,9 @@ in
232238
233239 libXrender = attrs: attrs // {
234240 outputs = [ "out" "dev" "doc" ];
241+ configureFlags = attrs.configureFlags or []
242+ ++ malloc0ReturnsNullCrossFlag;
235243 propagatedBuildInputs = [ xorg.renderproto ];
236− preConfigure = setMalloc0ReturnsNullCrossCompiling;
237244 };
238245
239246 libXres = attrs: attrs // {
@@ -596,6 +603,10 @@ in
596603 nativeBuildInputs = attrs.nativeBuildInputs ++ [args.bison args.flex];
597604 };
598605
606+ xauth = attrs: attrs // {
607+ doCheck = false; # fails
608+ };
609+
599610 xcursorthemes = attrs: attrs // {
600611 buildInputs = attrs.buildInputs ++ [xorg.xcursorgen];
601612 configureFlags = "--with-cursordir=$(out)/share/icons";
pkgs/servers/x11/xquartz/default.nix+1−1
@@ -95,7 +95,7 @@ let
9595 ];
9696 };
9797in stdenv.mkDerivation {
98− name = "xquartz";
98+ name = "xquartz-${stdenv.lib.getVersion xorg.xorgserver}";
9999
100100 buildInputs = [ ruby makeWrapper ];
101101
pkgs/shells/bash/4.4.nix+25−28
@@ -1,37 +1,33 @@
11{ stdenv, buildPackages
2−, fetchurl, readline70 ? null, texinfo ? null, binutils ? null, bison, autoconf
2+, fetchurl, binutils ? null, bison, autoconf
33, buildPlatform, hostPlatform
4−, interactive ? false
4+
5+# patch for cygwin requires readline support
6+, interactive ? stdenv.isCygwin, readline70 ? null
7+, withDocs ? false, texinfo ? null
8+, self
59}:
610
11+with stdenv.lib;
12+
713assert interactive -> readline70 != null;
14+assert withDocs -> texinfo != null;
815assert hostPlatform.isDarwin -> binutils != null;
916
1017let
11− version = "4.4";
12− realName = "bash-${version}";
13− shortName = "bash44";
14− sha256 = "1jyz6snd63xjn6skk7za6psgidsd53k05cr3lksqybi0q6936syq";
15−
16− upstreamPatches =
17− let
18− patch = nr: sha256:
19− fetchurl {
20− url = "mirror://gnu/bash/${realName}-patches/${shortName}-${nr}";
21− inherit sha256;
22− };
23− in
24− import ./bash-4.4-patches.nix patch;
25−
26− inherit (stdenv.lib) optional optionals optionalString;
18+ upstreamPatches = import ./bash-4.4-patches.nix (nr: sha256: fetchurl {
19+ url = "mirror://gnu/bash/bash-4.4-patches/bash44-${nr}";
20+ inherit sha256;
21+ });
2722in
2823
2924stdenv.mkDerivation rec {
30− name = "${realName}-p${toString (builtins.length upstreamPatches)}";
25+ name = "bash-${optionalString interactive "interactive-"}${version}-p${toString (builtins.length upstreamPatches)}";
26+ version = "4.4";
3127
3228 src = fetchurl {
33− url = "mirror://gnu/bash/${realName}.tar.gz";
34− inherit sha256;
29+ url = "mirror://gnu/bash/bash-${version}.tar.gz";
30+ sha256 = "1jyz6snd63xjn6skk7za6psgidsd53k05cr3lksqybi0q6936syq";
3531 };
3632
3733 hardeningDisable = [ "format" ];
@@ -50,18 +46,19 @@ stdenv.mkDerivation rec {
5046 patchFlags = "-p0";
5147
5248 patches = upstreamPatches
49+ ++ optional hostPlatform.isCygwin ./cygwin-bash-4.4.11-2.src.patch
5350 # https://lists.gnu.org/archive/html/bug-bash/2016-10/msg00006.html
54− ++ optional (hostPlatform.libc == "musl") (fetchurl {
51+ ++ optional hostPlatform.isMusl (fetchurl {
5552 url = "https://lists.gnu.org/archive/html/bug-bash/2016-10/patchJxugOXrY2y.patch";
5653 sha256 = "1m4v9imidb1cc1h91f2na0b8y9kc5c5fgmpvy9apcyv2kbdcghg1";
57− });
58−
59− postPatch = optionalString hostPlatform.isCygwin "patch -p2 < ${./cygwin-bash-4.4.11-2.src.patch}";
54+ });
6055
6156 configureFlags = [
6257 (if interactive then "--with-installed-readline" else "--disable-readline")
6358 ] ++ optionals (hostPlatform != buildPlatform) [
64− "bash_cv_job_control_missing=nomissing bash_cv_sys_named_pipes=nomissing bash_cv_getcwd_malloc=yes"
59+ "bash_cv_job_control_missing=nomissing"
60+ "bash_cv_sys_named_pipes=nomissing"
61+ "bash_cv_getcwd_malloc=yes"
6562 ] ++ optionals hostPlatform.isCygwin [
6663 "--without-libintl-prefix --without-libiconv-prefix"
6764 "--with-installed-readline"
@@ -75,8 +72,8 @@ stdenv.mkDerivation rec {
7572
7673 # Note: Bison is needed because the patches above modify parse.y.
7774 depsBuildBuild = [ buildPackages.stdenv.cc ];
78− nativeBuildInputs = [bison]
79− ++ optional (texinfo != null) texinfo
75+ nativeBuildInputs = [ bison ]
76+ ++ optional withDocs texinfo
8077 ++ optional hostPlatform.isDarwin binutils
8178 ++ optional (hostPlatform.libc == "musl") autoconf;
8279
pkgs/shells/bash/cygwin-bash-4.4.11-2.src.patch+38−38
@@ -1,5 +1,5 @@
1−--- origsrc/bash-4.4/bashline.c 2017-01-23 13:28:06.955247200 -0600
2−+++ src/bash-4.4/bashline.c 2017-01-23 13:55:07.992877600 -0600
1+--- bashline.c 2017-01-23 13:28:06.955247200 -0600
2++++ bashline.c 2017-01-23 13:55:07.992877600 -0600
33@@ -76,6 +76,16 @@
44 # include "pcomplete.h"
55 #endif
@@ -104,8 +104,8 @@
104104 r = file_isdir (fn);
105105 free (fn);
106106
107−--- origsrc/bash-4.4/builtins/read.def 2017-01-23 13:28:07.017686500 -0600
108−+++ src/bash-4.4/builtins/read.def 2017-01-23 13:55:07.992877600 -0600
107+--- builtins/read.def 2017-01-23 13:28:07.017686500 -0600
108++++ builtins/read.def 2017-01-23 13:55:07.992877600 -0600
109109@@ -85,7 +85,6 @@ $END
110110
111111 #ifdef __CYGWIN__
@@ -140,8 +140,8 @@
140140 if ((skip_ctlesc == 0 && c == CTLESC) || (skip_ctlnul == 0 && c == CTLNUL))
141141 {
142142 saw_escape++;
143−--- origsrc/bash-4.4/builtins/set.def 2016-06-02 19:10:10.000000000 -0500
144−+++ src/bash-4.4/builtins/set.def 2017-01-23 13:55:07.992877600 -0600
143+--- builtins/set.def 2016-06-02 19:10:10.000000000 -0500
144++++ builtins/set.def 2017-01-23 13:55:07.992877600 -0600
145145@@ -56,6 +56,13 @@ extern int dont_save_function_defs;
146146 #if defined (READLINE)
147147 extern int no_line_editing;
@@ -258,8 +258,8 @@
258258 free (vname);
259259 }
260260 }
261−--- origsrc/bash-4.4/builtins/shopt.def 2016-05-06 14:00:02.000000000 -0500
262−+++ src/bash-4.4/builtins/shopt.def 2017-01-23 13:55:07.992877600 -0600
261+--- builtins/shopt.def 2016-05-06 14:00:02.000000000 -0500
262++++ builtins/shopt.def 2017-01-23 13:55:07.992877600 -0600
263263@@ -92,6 +92,10 @@ extern int glob_asciirange;
264264 extern int lastpipe_opt;
265265 extern int inherit_errexit;
@@ -281,8 +281,8 @@
281281 #if defined (READLINE)
282282 { "complete_fullquote", &complete_fullquote, (shopt_set_func_t *)NULL},
283283 { "direxpand", &dircomplete_expand, shopt_set_complete_direxpand },
284−--- origsrc/bash-4.4/config-top.h 2016-05-19 13:34:02.000000000 -0500
285−+++ src/bash-4.4/config-top.h 2017-01-23 13:55:07.992877600 -0600
284+--- config-top.h 2016-05-19 13:34:02.000000000 -0500
285++++ config-top.h 2017-01-23 13:55:07.992877600 -0600
286286@@ -87,10 +87,10 @@
287287 #define DEFAULT_BASHRC "~/.bashrc"
288288
@@ -305,8 +305,8 @@
305305
306306 /* Define if you want the case-capitalizing operators (~[~]) and the
307307 `capcase' variable attribute (declare -c). */
308−--- origsrc/bash-4.4/doc/Makefile.in 2015-12-06 18:55:56.000000000 -0600
309−+++ src/bash-4.4/doc/Makefile.in 2017-01-23 13:55:07.992877600 -0600
308+--- doc/Makefile.in 2015-12-06 18:55:56.000000000 -0600
309++++ doc/Makefile.in 2017-01-23 13:55:07.992877600 -0600
310310@@ -189,7 +189,7 @@ bashref.html: $(BASHREF_FILES) $(HSUSER)
311311 $(MAKEINFO) --html --no-split -I$(TEXINPUTDIR) $(srcdir)/bashref.texi
312312
@@ -329,8 +329,8 @@
329329 -if test -f bash.info; then d=.; else d=$(srcdir); fi; \
330330 $(INSTALL_DATA) $$d/bash.info $(DESTDIR)$(infodir)/bash.info
331331 # run install-info if it is present to update the info directory
332−--- origsrc/bash-4.4/doc/bash.1 2016-08-26 08:45:17.000000000 -0500
333−+++ src/bash-4.4/doc/bash.1 2017-01-23 13:55:08.008447700 -0600
332+--- doc/bash.1 2016-08-26 08:45:17.000000000 -0500
333++++ doc/bash.1 2017-01-23 13:55:08.008447700 -0600
334334@@ -9607,6 +9607,10 @@ filenames.
335335 This variable is set by default, which is the default bash behavior in
336336 versions through 4.2.
@@ -342,8 +342,8 @@
342342 .B direxpand
343343 If set,
344344 .B bash
345−--- origsrc/bash-4.4/doc/bashref.texi 2016-09-07 16:13:36.000000000 -0500
346−+++ src/bash-4.4/doc/bashref.texi 2017-01-23 13:55:08.008447700 -0600
345+--- doc/bashref.texi 2016-09-07 16:13:36.000000000 -0500
346++++ doc/bashref.texi 2017-01-23 13:55:08.008447700 -0600
347347@@ -5123,6 +5123,10 @@ filenames.
348348 This variable is set by default, which is the default Bash behavior in
349349 versions through 4.2.
@@ -355,8 +355,8 @@
355355 @item direxpand
356356 If set, Bash
357357 replaces directory names with the results of word expansion when performing
358−--- origsrc/bash-4.4/doc/builtins.1 2012-02-21 13:32:05.000000000 -0600
359−+++ src/bash-4.4/doc/builtins.1 2017-01-23 13:55:08.008447700 -0600
358+--- doc/builtins.1 2012-02-21 13:32:05.000000000 -0600
359++++ doc/builtins.1 2017-01-23 13:55:08.008447700 -0600
360360@@ -19,6 +19,6 @@ shift, shopt, source, suspend, test, tim
361361 ulimit, umask, unalias, unset, wait \- bash built-in commands, see \fBbash\fR(1)
362362 .SH BASH BUILTIN COMMANDS
@@ -365,8 +365,8 @@
365365+.so man1/bash.1
366366 .SH SEE ALSO
367367 bash(1), sh(1)
368−--- origsrc/bash-4.4/general.c 2016-08-11 10:16:56.000000000 -0500
369−+++ src/bash-4.4/general.c 2017-01-23 13:55:08.008447700 -0600
368+--- general.c 2016-08-11 10:16:56.000000000 -0500
369++++ general.c 2017-01-23 13:55:08.008447700 -0600
370370@@ -48,6 +48,10 @@
371371
372372 #include <tilde/tilde.h>
@@ -388,8 +388,8 @@
388388 result = savestring (pathbuf);
389389 }
390390 #else
391−--- origsrc/bash-4.4/input.c 2015-09-24 18:49:23.000000000 -0500
392−+++ src/bash-4.4/input.c 2017-01-23 13:55:08.008447700 -0600
391+--- input.c 2015-09-24 18:49:23.000000000 -0500
392++++ input.c 2017-01-23 13:55:08.008447700 -0600
393393@@ -44,6 +44,10 @@
394394 #include "quit.h"
395395 #include "trap.h"
@@ -421,8 +421,8 @@
421421 #if !defined (DJGPP)
422422 return (bufstream_getc (buffers[bash_input.location.buffered_fd]));
423423 #else
424−--- origsrc/bash-4.4/lib/sh/pathphys.c 2013-05-28 14:33:58.000000000 -0500
425−+++ src/bash-4.4/lib/sh/pathphys.c 2017-01-23 13:55:08.008447700 -0600
424+--- lib/sh/pathphys.c 2013-05-28 14:33:58.000000000 -0500
425++++ lib/sh/pathphys.c 2017-01-23 13:55:08.008447700 -0600
426426@@ -35,6 +35,7 @@
427427 #include <stdio.h>
428428 #include <chartypes.h>
@@ -453,8 +453,8 @@
453453 double_slash_path = DOUBLE_SLASH (workpath);
454454 qbase += double_slash_path;
455455
456−--- origsrc/bash-4.4/lib/sh/tmpfile.c 2016-08-11 10:05:58.000000000 -0500
457−+++ src/bash-4.4/lib/sh/tmpfile.c 2017-01-23 13:55:08.008447700 -0600
456+--- lib/sh/tmpfile.c 2016-08-11 10:05:58.000000000 -0500
457++++ lib/sh/tmpfile.c 2017-01-23 13:55:08.008447700 -0600
458458@@ -101,7 +101,7 @@ get_tmpdir (flags)
459459 if (tdir && (file_iswdir (tdir) == 0 || strlen (tdir) > PATH_MAX))
460460 tdir = 0;
@@ -464,8 +464,8 @@
464464 tdir = get_sys_tmpdir ();
465465
466466 #if defined (HAVE_PATHCONF) && defined (_PC_NAME_MAX)
467−--- origsrc/bash-4.4/mksyntax.c 2012-07-29 18:48:38.000000000 -0500
468−+++ src/bash-4.4/mksyntax.c 2017-01-23 13:55:08.008447700 -0600
467+--- mksyntax.c 2012-07-29 18:48:38.000000000 -0500
468++++ mksyntax.c 2017-01-23 13:55:08.008447700 -0600
469469@@ -29,13 +29,13 @@
470470
471471 #ifdef HAVE_UNISTD_H
@@ -483,8 +483,8 @@
483483 #ifndef errno
484484 extern int errno;
485485 #endif
486−--- origsrc/bash-4.4/parse.y 2016-09-11 10:31:46.000000000 -0500
487−+++ src/bash-4.4/parse.y 2017-01-23 13:55:08.008447700 -0600
486+--- parse.y 2016-09-11 10:31:46.000000000 -0500
487++++ parse.y 2017-01-23 13:55:08.008447700 -0600
488488@@ -1539,14 +1539,20 @@ yy_string_get ()
489489 string = bash_input.location.string;
490490
@@ -509,8 +509,8 @@
509509 }
510510
511511 static int
512−--- origsrc/bash-4.4/subst.c 2017-01-23 13:28:06.955247200 -0600
513−+++ src/bash-4.4/subst.c 2017-01-23 13:55:08.008447700 -0600
512+--- subst.c 2017-01-23 13:28:06.955247200 -0600
513++++ subst.c 2017-01-23 13:55:08.008447700 -0600
514514@@ -43,6 +43,7 @@
515515 #include "posixstat.h"
516516 #include "bashintl.h"
@@ -562,8 +562,8 @@
562562 old_pid = last_made_pid;
563563 #if defined (JOB_CONTROL)
564564 old_pipeline_pgrp = pipeline_pgrp;
565−--- origsrc/bash-4.4/support/bashversion.c 2008-09-09 08:31:53.000000000 -0500
566−+++ src/bash-4.4/support/bashversion.c 2017-01-23 13:55:08.024037200 -0600
565+--- support/bashversion.c 2008-09-09 08:31:53.000000000 -0500
566++++ support/bashversion.c 2017-01-23 13:55:08.024037200 -0600
567567@@ -26,6 +26,9 @@
568568
569569 #if defined (HAVE_UNISTD_H)
@@ -584,8 +584,8 @@
584584 extern char *dist_version;
585585 extern int patch_level;
586586
587−--- origsrc/bash-4.4/support/mkversion.sh 2008-08-13 07:25:57.000000000 -0500
588−+++ src/bash-4.4/support/mkversion.sh 2017-01-23 13:55:08.024037200 -0600
587+--- support/mkversion.sh 2008-08-13 07:25:57.000000000 -0500
588++++ support/mkversion.sh 2017-01-23 13:55:08.024037200 -0600
589589@@ -29,7 +29,7 @@ source_dir="."
590590 while [ $# -gt 0 ]; do
591591 case "$1" in
@@ -595,8 +595,8 @@
595595 -s) shift; rel_status=$1; shift ;;
596596 -p) shift; patch_level=$1; shift ;;
597597 -d) shift; dist_version=$1; shift ;;
598−--- origsrc/bash-4.4/variables.c 2016-06-15 15:05:52.000000000 -0500
599−+++ src/bash-4.4/variables.c 2017-01-23 13:55:08.024037200 -0600
598+--- variables.c 2016-06-15 15:05:52.000000000 -0500
599++++ variables.c 2017-01-23 13:55:08.024037200 -0600
600600@@ -5239,6 +5239,7 @@ sv_winsize (name)
601601 /* Update the value of HOME in the export environment so tilde expansion will
602602 work on cygwin. */
pkgs/stdenv/adapters.nix−2
@@ -87,8 +87,6 @@ rec {
8787 (hostPlatform.isAarch64 || hostPlatform.isMips || hostPlatform.libc == "musl")
8888 pkgs.updateAutotoolsGnuConfigScriptsHook
8989 ;
90−
91− crossConfig = hostPlatform.config;
9290 } // args.crossAttrs or {});
9391 };
9492
pkgs/stdenv/darwin/default.nix+9−10
@@ -294,7 +294,7 @@ in rec {
294294 extraPreHook = ''
295295 export PATH_LOCALE=${pkgs.darwin.locale}/share/locale
296296 '';
297− overrides = self: super: (persistent self super) // {
297+ overrides = lib.composeExtensions persistent (self: super: {
298298 # Hack to make sure we don't link ncurses in bootstrap tools. The proper
299299 # solution is to avoid passing -L/nix-store/...-bootstrap-tools/lib,
300300 # quite a sledgehammer just to get the C runtime.
@@ -303,7 +303,7 @@ in rec {
303303 "--disable-curses"
304304 ];
305305 });
306− };
306+ });
307307 };
308308
309309 stdenvDarwin = prevStage: let
@@ -386,16 +386,15 @@ in rec {
386386 dyld Libsystem CF cctools ICU libiconv locale
387387 ]);
388388
389− overrides = self: super:
390− let persistent' = persistent self super; in persistent' // {
391− clang = cc;
392− llvmPackages = persistent'.llvmPackages // { clang = cc; };
393− inherit cc;
389+ overrides = lib.composeExtensions persistent (self: super: {
390+ clang = cc;
391+ llvmPackages = super.llvmPackages // { clang = cc; };
392+ inherit cc;
394393
395− darwin = super.darwin // {
396− xnu = super.darwin.xnu.override { python = super.python.override { configd = null; }; };
397− };
394+ darwin = super.darwin // {
395+ xnu = super.darwin.xnu.override { python = super.python.override { configd = null; }; };
398396 };
397+ });
399398 };
400399
401400 stagesDarwin = [
pkgs/stdenv/generic/default.nix+8−3
@@ -90,9 +90,14 @@ let
9090 '' + lib.optionalString hostPlatform.isDarwin ''
9191 export NIX_DONT_SET_RPATH=1
9292 export NIX_NO_SELF_RPATH=1
93− '' + lib.optionalString targetPlatform.isDarwin ''
94− export NIX_TARGET_DONT_SET_RPATH=1
95− '';
93+ ''
94+ # TODO this should be uncommented, but it causes stupid mass rebuilds. I
95+ # think the best solution would just be to fixup linux RPATHs so we don't
96+ # need to set `-rpath` anywhere.
97+ # + lib.optionalString targetPlatform.isDarwin ''
98+ # export NIX_TARGET_DONT_SET_RPATH=1
99+ # ''
100+ ;
96101
97102 inherit initialPath shell
98103 defaultNativeBuildInputs defaultBuildInputs;
pkgs/stdenv/generic/make-derivation.nix+57−32
@@ -36,6 +36,9 @@ rec {
3636 , depsTargetTarget ? [] # 1 -> 1
3737 , depsTargetTargetPropagated ? [] # 1 -> 1
3838
39+ , checkInputs ? []
40+ , installCheckInputs ? []
41+
3942 # Configure Phase
4043 , configureFlags ? []
4144 , # Target is not included by default because most programs don't care.
@@ -46,13 +49,16 @@ rec {
4649 (stdenv.hostPlatform != stdenv.buildPlatform)
4750 [ "build" "host" ]
4851
52+ # TODO(@Ericson2314): Make unconditional / resolve #33599
4953 # Check phase
50− , doCheck ? false
54+ , doCheck ? config.doCheckByDefault or false
5155
56+ # TODO(@Ericson2314): Make unconditional / resolve #33599
5257 # InstallCheck phase
53− , doInstallCheck ? false
58+ , doInstallCheck ? config.doCheckByDefault or false
5459
55− , crossConfig ? null
60+ , # TODO(@Ericson2314): Make always true and remove
61+ strictDeps ? stdenv.hostPlatform != stdenv.buildPlatform
5662 , meta ? {}
5763 , passthru ? {}
5864 , pos ? # position used in error messages and for meta.position
@@ -74,6 +80,11 @@ rec {
7480 # TODO(@Ericson2314): Make this more modular, and not O(n^2).
7581 let
7682 supportedHardeningFlags = [ "fortify" "stackprotector" "pie" "pic" "strictoverflow" "format" "relro" "bindnow" ];
83+ defaultHardeningFlags = lib.remove "pie" supportedHardeningFlags;
84+ enabledHardeningOptions =
85+ if builtins.elem "all" hardeningDisable
86+ then []
87+ else lib.subtractLists hardeningDisable (defaultHardeningFlags ++ hardeningEnable);
7788 # hardeningDisable additionally supports "all".
7889 erroneousHardeningFlags = lib.subtractLists supportedHardeningFlags (hardeningEnable ++ lib.remove "all" hardeningDisable);
7990 in if builtins.length erroneousHardeningFlags != 0
@@ -94,7 +105,9 @@ rec {
94105 ]
95106 [
96107 (map (drv: drv.__spliced.hostHost or drv) depsHostHost)
97− (map (drv: drv.crossDrv or drv) buildInputs)
108+ (map (drv: drv.crossDrv or drv) (buildInputs
109+ ++ lib.optionals doCheck' checkInputs
110+ ++ lib.optionals doInstallCheck' installCheckInputs))
98111 ]
99112 [
100113 (map (drv: drv.__spliced.targetTarget or drv) depsTargetTarget)
@@ -115,34 +128,43 @@ rec {
115128 ]
116129 ];
117130
131+ # TODO(@oxij, @Ericson2314): This is here to keep the old semantics, remove when
132+ # no package has `doCheck = true`.
133+ doCheck' = doCheck && stdenv.hostPlatform == stdenv.buildPlatform;
134+ doInstallCheck' = doInstallCheck && stdenv.hostPlatform == stdenv.buildPlatform;
135+
118136 outputs' =
119137 outputs ++
120138 (if separateDebugInfo then assert stdenv.hostPlatform.isLinux; [ "debug" ] else []);
121139
140+ computedSandboxProfile =
141+ lib.concatMap (input: input.__propagatedSandboxProfile or [])
142+ (stdenv.extraNativeBuildInputs
143+ ++ stdenv.extraBuildInputs
144+ ++ lib.concatLists dependencies);
145+
146+ computedPropagatedSandboxProfile =
147+ lib.concatMap (input: input.__propagatedSandboxProfile or [])
148+ (lib.concatLists propagatedDependencies);
149+
150+ computedImpureHostDeps =
151+ lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
152+ (stdenv.extraNativeBuildInputs
153+ ++ stdenv.extraBuildInputs
154+ ++ lib.concatLists dependencies));
155+
156+ computedPropagatedImpureHostDeps =
157+ lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
158+ (lib.concatLists propagatedDependencies));
159+
122160 derivationArg =
123161 (removeAttrs attrs
124162 ["meta" "passthru" "crossAttrs" "pos"
163+ "doCheck" "doInstallCheck"
164+ "checkInputs" "installCheckInputs"
125165 "__impureHostDeps" "__propagatedImpureHostDeps"
126166 "sandboxProfile" "propagatedSandboxProfile"])
127− // (let
128− computedSandboxProfile =
129− lib.concatMap (input: input.__propagatedSandboxProfile or [])
130− (stdenv.extraNativeBuildInputs
131− ++ stdenv.extraBuildInputs
132− ++ lib.concatLists dependencies);
133− computedPropagatedSandboxProfile =
134− lib.concatMap (input: input.__propagatedSandboxProfile or [])
135− (lib.concatLists propagatedDependencies);
136− computedImpureHostDeps =
137− lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
138− (stdenv.extraNativeBuildInputs
139− ++ stdenv.extraBuildInputs
140− ++ lib.concatLists dependencies));
141− computedPropagatedImpureHostDeps =
142− lib.unique (lib.concatMap (input: input.__propagatedImpureHostDeps or [])
143− (lib.concatLists propagatedDependencies));
144− in
145− {
167+ // {
146168 # A hack to make `nix-env -qa` and `nix search` ignore broken packages.
147169 # TODO(@oxij): remove this assert when something like NixOS/nix#1771 gets merged into nix.
148170 name = assert validity.handled; name + lib.optionalString
@@ -156,6 +178,8 @@ rec {
156178 userHook = config.stdenv.userHook or null;
157179 __ignoreNulls = true;
158180
181+ inherit strictDeps;
182+
159183 depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0;
160184 nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1;
161185 depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2;
@@ -179,6 +203,15 @@ rec {
179203 ++ optional (elem "host" configurePlatforms) "--host=${stdenv.hostPlatform.config}"
180204 ++ optional (elem "target" configurePlatforms) "--target=${stdenv.targetPlatform.config}";
181205
206+ } // lib.optionalAttrs (hardeningDisable != [] || hardeningEnable != []) {
207+ NIX_HARDENING_ENABLE = enabledHardeningOptions;
208+ } // lib.optionalAttrs (outputs' != [ "out" ]) {
209+ outputs = outputs';
210+ } // lib.optionalAttrs doCheck' {
211+ doCheck = true;
212+ } // lib.optionalAttrs doInstallCheck' {
213+ doInstallCheck = true;
214+
182215 } // lib.optionalAttrs (stdenv.buildPlatform.isDarwin) {
183216 # TODO: remove lib.unique once nix has a list canonicalization primitive
184217 __sandboxProfile =
@@ -193,15 +226,7 @@ rec {
193226 "/bin/sh"
194227 ];
195228 __propagatedImpureHostDeps = computedPropagatedImpureHostDeps ++ __propagatedImpureHostDeps;
196− } // lib.optionalAttrs (outputs' != [ "out" ]) {
197− outputs = outputs';
198− } // lib.optionalAttrs (attrs ? doCheck) {
199− # TODO(@Ericson2314): Make unconditional / resolve #33599
200− doCheck = doCheck && (stdenv.hostPlatform == stdenv.buildPlatform);
201− } // lib.optionalAttrs (attrs ? doInstallCheck) {
202− # TODO(@Ericson2314): Make unconditional / resolve #33599
203− doInstallCheck = doInstallCheck && (stdenv.hostPlatform == stdenv.buildPlatform);
204− });
229+ };
205230
206231 validity = import ./check-meta.nix {
207232 inherit lib config meta;
pkgs/stdenv/generic/setup.sh+117−56
@@ -501,7 +501,7 @@ activatePackage() {
501501 # the transition, we do include everything in thatcase.
502502 #
503503 # TODO(@Ericson2314): Don't special-case native compilation
504− if [[ ( -z "${crossConfig-}" || "$hostOffset" -le -1 ) && -d "$pkg/bin" ]]; then
504+ if [[ ( -z "${strictDeps-}" || "$hostOffset" -le -1 ) && -d "$pkg/bin" ]]; then
505505 addToSearchPath _PATH "$pkg/bin"
506506 fi
507507
@@ -551,7 +551,7 @@ _addToEnv() {
551551 for depTargetOffset in "${allPlatOffsets[@]}"; do
552552 (( "$depHostOffset" <= "$depTargetOffset" )) || continue
553553 local hookRef="${hookVar}[$depTargetOffset - $depHostOffset]"
554− if [[ -z "${crossConfig-}" ]]; then
554+ if [[ -z "${strictDeps-}" ]]; then
555555 # Apply environment hooks to all packages during native
556556 # compilation to ease the transition.
557557 #
@@ -641,22 +641,9 @@ fi
641641# Textual substitution functions.
642642
643643
644−substitute() {
645− local input="$1"
646− local output="$2"
647− shift 2
648−
649− if [ ! -f "$input" ]; then
650− echo "substitute(): ERROR: file '$input' does not exist" >&2
651− return 1
652− fi
653−
654− local content
655− # read returns non-0 on EOF, so we want read to fail
656− if IFS='' read -r -N 0 content < "$input"; then
657− echo "substitute(): ERROR: File \"$input\" has null bytes, won't process" >&2
658− return 1
659− fi
644+substituteStream() {
645+ local var=$1
646+ shift
660647
661648 while (( "$#" )); do
662649 case "$1" in
@@ -671,7 +658,7 @@ substitute() {
671658 shift 2
672659 # check if the used nix attribute name is a valid bash name
673660 if ! [[ "$varName" =~ ^[a-zA-Z_][a-zA-Z0-9_]*$ ]]; then
674− echo "substitute(): ERROR: substitution variables must be valid Bash names, \"$varName\" isn't." >&2
661+ echo "substituteStream(): ERROR: substitution variables must be valid Bash names, \"$varName\" isn't." >&2
675662 return 1
676663 fi
677664 pattern="@$varName@"
@@ -685,18 +672,41 @@ substitute() {
685672 ;;
686673
687674 *)
688− echo "substitute(): ERROR: Invalid command line argument: $1" >&2
675+ echo "substituteStream(): ERROR: Invalid command line argument: $1" >&2
689676 return 1
690677 ;;
691678 esac
692679
693− content="${content//"$pattern"/$replacement}"
680+ eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}'
694681 done
695682
696− if [ -e "$output" ]; then chmod +w "$output"; fi
697− printf "%s" "$content" > "$output"
683+ printf "%s" "${!var}"
684+}
685+
686+consumeEntire() {
687+ # read returns non-0 on EOF, so we want read to fail
688+ if IFS='' read -r -N 0 $1; then
689+ echo "consumeEntire(): ERROR: Input null bytes, won't process" >&2
690+ return 1
691+ fi
698692}
699693
694+substitute() {
695+ local input="$1"
696+ local output="$2"
697+ shift 2
698+
699+ if [ ! -f "$input" ]; then
700+ echo "substitute(): ERROR: file '$input' does not exist" >&2
701+ return 1
702+ fi
703+
704+ local content
705+ consumeEntire content < "$input"
706+
707+ if [ -e "$output" ]; then chmod +w "$output"; fi
708+ substituteStream content "$@" > "$output"
709+}
700710
701711substituteInPlace() {
702712 local fileName="$1"
@@ -704,20 +714,30 @@ substituteInPlace() {
704714 substitute "$fileName" "$fileName" "$@"
705715}
706716
717+_allFlags() {
718+ for varName in $(awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'); do
719+ if (( "${NIX_DEBUG:-0}" >= 1 )); then
720+ printf "@%s@ -> %q\n" "${varName}" "${!varName}"
721+ fi
722+ args+=("--subst-var" "$varName")
723+ done
724+}
725+
726+substituteAllStream() {
727+ local -a args=()
728+ _allFlags
729+
730+ substituteStream "$1" "${args[@]}"
731+}
707732
708733# Substitute all environment variables that start with a lowercase character and
709734# are valid Bash names.
710735substituteAll() {
711736 local input="$1"
712737 local output="$2"
713− local -a args=()
714738
715− for varName in $(awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }'); do
716− if (( "${NIX_DEBUG:-0}" >= 1 )); then
717− printf "@%s@ -> %q\n" "${varName}" "${!varName}"
718− fi
719− args+=("--subst-var" "$varName")
720− done
739+ local -a args=()
740+ _allFlags
721741
722742 substitute "$input" "$output" "${args[@]}"
723743}
@@ -968,9 +988,11 @@ buildPhase() {
968988 # set to empty if unset
969989 : ${makeFlags=}
970990
971− if [[ -z "$makeFlags" && ! ( -n "${makefile:-}" || -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
991+ if [[ -z "$makeFlags" && -z "${makefile:-}" && ! ( -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
972992 echo "no Makefile, doing nothing"
973993 else
994+ foundMakefile=1
995+
974996 # See https://github.com/NixOS/nixpkgs/pull/1354#issuecomment-31260409
975997 makeFlags="SHELL=$SHELL $makeFlags"
976998
@@ -994,18 +1016,38 @@ buildPhase() {
9941016checkPhase() {
9951017 runHook preCheck
9961018
997− # Old bash empty array hack
998− # shellcheck disable=SC2086
999− local flagsArray=(
1000− ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1001− $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1002− ${checkFlags:-VERBOSE=y} ${checkFlagsArray+"${checkFlagsArray[@]}"}
1003− ${checkTarget:-check}
1004− )
1019+ if [[ -z "${foundMakefile:-}" ]]; then
1020+ echo "no Makefile or custom buildPhase, doing nothing"
1021+ runHook postCheck
1022+ return
1023+ fi
10051024
1006− echoCmd 'check flags' "${flagsArray[@]}"
1007− make ${makefile:+-f $makefile} "${flagsArray[@]}"
1008− unset flagsArray
1025+ if [[ -z "${checkTarget:-}" ]]; then
1026+ #TODO(@oxij): should flagsArray influence make -n?
1027+ if make -n ${makefile:+-f $makefile} check >/dev/null 2>&1; then
1028+ checkTarget=check
1029+ elif make -n ${makefile:+-f $makefile} test >/dev/null 2>&1; then
1030+ checkTarget=test
1031+ fi
1032+ fi
1033+
1034+ if [[ -z "${checkTarget:-}" ]]; then
1035+ echo "no check/test target in ${makefile:-Makefile}, doing nothing"
1036+ else
1037+ # Old bash empty array hack
1038+ # shellcheck disable=SC2086
1039+ local flagsArray=(
1040+ ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1041+ $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1042+ ${checkFlags:-VERBOSE=y} ${checkFlagsArray+"${checkFlagsArray[@]}"}
1043+ ${checkTarget}
1044+ )
1045+
1046+ echoCmd 'check flags' "${flagsArray[@]}"
1047+ make ${makefile:+-f $makefile} "${flagsArray[@]}"
1048+
1049+ unset flagsArray
1050+ fi
10091051
10101052 runHook postCheck
10111053}
@@ -1018,14 +1060,12 @@ installPhase() {
10181060 mkdir -p "$prefix"
10191061 fi
10201062
1021− installTargets="${installTargets:-install}"
1022−
10231063 # Old bash empty array hack
10241064 # shellcheck disable=SC2086
10251065 local flagsArray=(
1026− $installTargets
10271066 $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
10281067 $installFlags ${installFlagsArray+"${installFlagsArray[@]}"}
1068+ ${installTargets:-install}
10291069 )
10301070
10311071 echoCmd 'install flags' "${flagsArray[@]}"
@@ -1091,6 +1131,19 @@ fixupPhase() {
10911131 substituteAll "$setupHook" "${!outputDev}/nix-support/setup-hook"
10921132 fi
10931133
1134+ # TODO(@Ericson2314): Remove after https://github.com/NixOS/nixpkgs/pull/31414
1135+ if [ -n "${setupHooks:-}" ]; then
1136+ mkdir -p "${!outputDev}/nix-support"
1137+ local hook
1138+ for hook in $setupHooks; do
1139+ local content
1140+ consumeEntire content < "$hook"
1141+ substituteAllStream content >> "${!outputDev}/nix-support/setup-hook"
1142+ unset -v content
1143+ done
1144+ unset -v hook
1145+ fi
1146+
10941147 # Propagate user-env packages into the output with binaries, TODO?
10951148
10961149 if [ -n "${propagatedUserEnvPkgs:-}" ]; then
@@ -1106,18 +1159,26 @@ fixupPhase() {
11061159installCheckPhase() {
11071160 runHook preInstallCheck
11081161
1109− # Old bash empty array hack
1110− # shellcheck disable=SC2086
1111− local flagsArray=(
1112− ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1113− $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1114− $installCheckFlags ${installCheckFlagsArray+"${installCheckFlagsArray[@]}"}
1115− ${installCheckTarget:-installcheck}
1116− )
1162+ if [[ -z "${foundMakefile:-}" ]]; then
1163+ echo "no Makefile or custom buildPhase, doing nothing"
1164+ #TODO(@oxij): should flagsArray influence make -n?
1165+ elif [[ -z "${installCheckTarget:-}" ]] \
1166+ && ! make -n ${makefile:+-f $makefile} ${installCheckTarget:-installcheck} >/dev/null 2>&1; then
1167+ echo "no installcheck target in ${makefile:-Makefile}, doing nothing"
1168+ else
1169+ # Old bash empty array hack
1170+ # shellcheck disable=SC2086
1171+ local flagsArray=(
1172+ ${enableParallelBuilding:+-j${NIX_BUILD_CORES} -l${NIX_BUILD_CORES}}
1173+ $makeFlags ${makeFlagsArray+"${makeFlagsArray[@]}"}
1174+ $installCheckFlags ${installCheckFlagsArray+"${installCheckFlagsArray[@]}"}
1175+ ${installCheckTarget:-installcheck}
1176+ )
11171177
1118− echoCmd 'installcheck flags' "${flagsArray[@]}"
1119− make ${makefile:+-f $makefile} "${flagsArray[@]}"
1120− unset flagsArray
1178+ echoCmd 'installcheck flags' "${flagsArray[@]}"
1179+ make ${makefile:+-f $makefile} "${flagsArray[@]}"
1180+ unset flagsArray
1181+ fi
11211182
11221183 runHook postInstallCheck
11231184}
pkgs/stdenv/linux/default.nix+6−12
@@ -107,11 +107,6 @@ let
107107 # Having the proper 'platform' in all the stdenvs allows getting proper
108108 # linuxHeaders for example.
109109 inherit platform;
110−
111− # stdenv.glibc is used by GCC build to figure out the system-level
112− # /usr/include directory.
113− # TODO: Remove this!
114− inherit (prevStage) glibc;
115110 };
116111 overrides = self: super: (overrides self super) // { fetchurl = thisStdenv.fetchurlBoot; };
117112 };
@@ -129,8 +124,6 @@ in
129124 __raw = true;
130125
131126 gcc-unwrapped = null;
132− glibc = assert false; null;
133− musl = assert false; null;
134127 binutils = null;
135128 coreutils = null;
136129 gnugrep = null;
@@ -256,7 +249,7 @@ in
256249 };
257250 extraNativeBuildInputs = [ prevStage.patchelf prevStage.paxctl ] ++
258251 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
259− lib.optional localSystem.isAarch64 prevStage.updateAutotoolsGnuConfigScriptsHook;
252+ lib.optional (!localSystem.isx86) prevStage.updateAutotoolsGnuConfigScriptsHook;
260253 })
261254
262255
@@ -297,7 +290,7 @@ in
297290 };
298291 extraNativeBuildInputs = [ prevStage.patchelf prevStage.xz ] ++
299292 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
300− lib.optional localSystem.isAarch64 prevStage.updateAutotoolsGnuConfigScriptsHook;
293+ lib.optional (!localSystem.isx86) prevStage.updateAutotoolsGnuConfigScriptsHook;
301294 })
302295
303296 # Construct the final stdenv. It uses the Glibc and GCC, and adds
@@ -329,7 +322,7 @@ in
329322
330323 extraNativeBuildInputs = [ prevStage.patchelf prevStage.paxctl ] ++
331324 # Many tarballs come with obsolete config.sub/config.guess that don't recognize aarch64.
332− lib.optional localSystem.isAarch64 prevStage.updateAutotoolsGnuConfigScriptsHook;
325+ lib.optional (!localSystem.isx86) prevStage.updateAutotoolsGnuConfigScriptsHook;
333326
334327 cc = prevStage.gcc;
335328
@@ -351,6 +344,7 @@ in
351344 concatMap (p: [ (getBin p) (getLib p) ])
352345 [ gzip bzip2 xz bash binutils.bintools coreutils diffutils findutils
353346 gawk gnumake gnused gnutar gnugrep gnupatch patchelf ed paxctl
347+ texinfo
354348 ]
355349 # Library dependencies
356350 ++ map getLib (
@@ -362,14 +356,14 @@ in
362356 ++ [ /*propagated from .dev*/ linuxHeaders
363357 binutils gcc gcc.cc gcc.cc.lib gcc.expand-response-params
364358 ]
365− ++ lib.optionals localSystem.isAarch64
359+ ++ lib.optionals (!localSystem.isx86)
366360 [ prevStage.updateAutotoolsGnuConfigScriptsHook prevStage.gnu-config ];
367361
368362 overrides = self: super: {
369363 inherit (prevStage)
370364 gzip bzip2 xz bash coreutils diffutils findutils gawk
371365 gnumake gnused gnutar gnugrep gnupatch patchelf
372− attr acl paxctl zlib pcre;
366+ attr acl paxctl zlib pcre texinfo;
373367 ${localSystem.libc} = getLibc prevStage;
374368 } // lib.optionalAttrs (super.targetPlatform == localSystem) {
375369 # Need to get rid of these when cross-compiling.
pkgs/tools/archivers/gnutar/default.nix+3
@@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
3636 sed -i gnu/fpending.h -e 's,include <stdio_ext.h>,,'
3737 '' else null;
3838
39+ doCheck = false; # fails
40+ doInstallCheck = false; # fails
41+
3942 meta = {
4043 homepage = http://www.gnu.org/software/tar/;
4144 description = "GNU implementation of the `tar' archiver";
pkgs/tools/audio/mpdris2/default.nix+3−2
@@ -3,11 +3,12 @@
33}:
44
55stdenv.mkDerivation rec {
6− name = "mpDris2";
6+ pname = "mpDris2";
7+ name = "${pname}-${version}";
78 version = "0.7";
89
910 src = fetchurl {
10− url = "https://github.com/eonpatapon/${name}/archive/${version}.tar.gz";
11+ url = "https://github.com/eonpatapon/${pname}/archive/${version}.tar.gz";
1112 sha256 = "095swrjw59lh8qiwmjjjdbxl9587axilkj4mh2sx5m0kiq929z21";
1213 };
1314
pkgs/tools/compression/brotli/default.nix+2−2
@@ -4,13 +4,13 @@
44
55stdenv.mkDerivation rec {
66 name = "brotli-${version}";
7− version = "1.0.3";
7+ version = "1.0.4";
88
99 src = fetchFromGitHub {
1010 owner = "google";
1111 repo = "brotli";
1212 rev = "v" + version;
13− sha256 = "1hlkqgkm2gv6q83dswg6b19hpw8j33y6iw924j8r647pd4qg1xs7";
13+ sha256 = "0n5snycxgwqj2v8sgxiqxq4zqh5ydx70dr7qa4ygizs02ms69n1i";
1414 };
1515
1616 nativeBuildInputs = [ cmake ];
pkgs/tools/compression/gzip/default.nix+2
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
1818 # In stdenv-linux, prevent a dependency on bootstrap-tools.
1919 makeFlags = "SHELL=/bin/sh GREP=grep";
2020
21+ doCheck = false; # fails
22+
2123 meta = {
2224 homepage = https://www.gnu.org/software/gzip/;
2325 description = "GNU zip compression program";
pkgs/tools/compression/xz/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
4− name = "xz-5.2.3";
4+ name = "xz-5.2.4";
55
66 src = fetchurl {
77 url = "https://tukaani.org/xz/${name}.tar.bz2";
8− sha256 = "1ha08wxcldgcl81021x5nhknr47s1p95ljfkka4sqah5w5ns377x";
8+ sha256 = "1gxpayfagb4v7xfhs2w6h7k56c6hwwav1rk48bj8hggljlmgs4rk";
99 };
1010
1111 outputs = [ "bin" "dev" "out" "man" "doc" ];
pkgs/tools/filesystems/curlftpfs/default.nix+2
@@ -9,6 +9,8 @@ stdenv.mkDerivation {
99 nativeBuildInputs = [ pkgconfig ];
1010 buildInputs = [fuse curl glib zlib];
1111
12+ doCheck = false; # fails, doesn't work well too, btw
13+
1214 meta = {
1315 platforms = stdenv.lib.platforms.linux;
1416 };
pkgs/tools/filesystems/e2fsprogs/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, buildPackages, fetchurl, pkgconfig, libuuid, gettext, texinfo }:
22
33stdenv.mkDerivation rec {
4− name = "e2fsprogs-1.44.1";
4+ name = "e2fsprogs-1.44.2";
55
66 src = fetchurl {
77 url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
8− sha256 = "1rn1nvp8kcvjmbh2bxrjfbrz7zz519d52rrxqvc50l0hzs6hda55";
8+ sha256 = "0s3znfy26as63gdbskm6pxh3i1106bpxf2jh9dppd8d9lidmmh75";
99 };
1010
1111 outputs = [ "bin" "dev" "out" "man" "info" ];
pkgs/tools/filesystems/netatalk/default.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec{
2121 buildInputs = [ db libgcrypt avahi libiconv pam openssl acl ];
2222
2323 configureFlags = [
24− "--with-bdb=${db}"
24+ "--with-bdb=${db.dev}"
2525 "--with-ssl-dir=${openssl.dev}"
2626 "--with-lockfile=/run/lock/netatalk"
2727 "--localstatedir=/var/lib"
pkgs/tools/graphics/graphviz/base.nix+7
@@ -43,6 +43,13 @@ stdenv.mkDerivation rec {
4343 done
4444 '';
4545
46+ # ''
47+ # substituteInPlace rtest/rtest.sh \
48+ # --replace "/bin/ksh" "${mksh}/bin/mksh"
49+ # '';
50+
51+ doCheck = false; # fails with "Graphviz test suite requires ksh93" which is not in nixpkgs
52+
4653 preAutoreconf = "./autogen.sh";
4754
4855 postFixup = optionalString (xorg != null) ''
pkgs/tools/inputmethods/ibus/default.nix+1
@@ -125,6 +125,7 @@ stdenv.mkDerivation rec {
125125
126126 enableParallelBuilding = true;
127127
128+ doCheck = false; # requires X11 daemon
128129 doInstallCheck = true;
129130 installCheckPhase = "$out/bin/ibus version";
130131
pkgs/tools/misc/bc/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 # Hack to make sure we never to the relaxation `$PATH` and hooks support for
2727 # compatability. This will be replaced with something clearer in a future
2828 # masss-rebuild.
29− crossConfig = true;
29+ strictDeps = true;
3030
3131 meta = {
3232 description = "GNU software calculator";
pkgs/tools/misc/bogofilter/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
1212
1313 buildInputs = [ flex db ];
1414
15+ doCheck = false; # needs "y" tool
16+
1517 meta = {
1618 homepage = http://bogofilter.sourceforge.net/;
1719 longDescription = ''
pkgs/tools/misc/buildtorrent/default.nix+3−3
@@ -3,10 +3,10 @@
33let version = "0.8"; in
44
55stdenv.mkDerivation rec {
6− name = "buildtorrent";
6+ name = "buildtorrent-${version}";
77
88 src = fetchurl {
9− url = "http://mathr.co.uk/blog/code/${name}-${version}.tar.gz";
9+ url = "http://mathr.co.uk/blog/code/${name}.tar.gz";
1010 sha256 = "e8e27647bdb38873ac570d46c1a9689a92b01bb67f59089d1cdd08784f7052d0";
1111 };
1212
@@ -16,4 +16,4 @@ stdenv.mkDerivation rec {
1616 license = stdenv.lib.licenses.gpl3Plus;
1717 platforms = stdenv.lib.platforms.all;
1818 };
19−}
19+}
pkgs/tools/misc/ethtool/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "ethtool-${version}";
5− version = "4.15";
5+ version = "4.16";
66
77 src = fetchurl {
88 url = "mirror://kernel/software/network/ethtool/${name}.tar.xz";
9− sha256 = "06pr3s7wg2pbvfbf7js61bgh3caff4qf50nqqk3cgz9z90rgvxvi";
9+ sha256 = "00ss07jc7p276d83f6jpafgwyc9yiribciyqcgx9j86v49kpm5py";
1010 };
1111
1212 meta = with stdenv.lib; {
pkgs/tools/misc/file/default.nix+2−2
@@ -2,14 +2,14 @@
22
33stdenv.mkDerivation rec {
44 name = "file-${version}";
5− version = "5.32";
5+ version = "5.33";
66
77 src = fetchurl {
88 urls = [
99 "ftp://ftp.astron.com/pub/file/${name}.tar.gz"
1010 "https://distfiles.macports.org/file/${name}.tar.gz"
1111 ];
12− sha256 = "0l1bfa0icng9vdwya00ff48fhvjazi5610ylbhl35qi13d6xqfc6";
12+ sha256 = "1iipnwjkag7q04zjkaqic41r9nlw0ml6mhqian6qkkbisb1whlhw";
1313 };
1414
1515 nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
pkgs/tools/misc/fontforge/default.nix+3−1
@@ -57,6 +57,9 @@ stdenv.mkDerivation rec {
5757 ./bootstrap --skip-git --gnulib-srcdir=./gnulib
5858 '';
5959
60+ doCheck = false; # tries to wget some fonts
61+ doInstallCheck = doCheck;
62+
6063 postInstall =
6164 # get rid of the runtime dependency on python
6265 lib.optionalString (!withPython) ''
@@ -72,4 +75,3 @@ stdenv.mkDerivation rec {
7275 license = stdenv.lib.licenses.bsd3;
7376 };
7477}
75−
pkgs/tools/misc/notify-desktop/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, dbus, pkgconfig }:
22
33stdenv.mkDerivation rec {
4− name = "notify-desktop";
4+ name = "notify-desktop-${version}";
55 version = "0.2.0";
66
77 src = fetchFromGitHub {
pkgs/tools/misc/parallel/default.nix+2−2
@@ -1,11 +1,11 @@
11{ fetchurl, stdenv, perl, makeWrapper, procps }:
22
33stdenv.mkDerivation rec {
4− name = "parallel-20180322";
4+ name = "parallel-20180422";
55
66 src = fetchurl {
77 url = "mirror://gnu/parallel/${name}.tar.bz2";
8− sha256 = "15v46pv4z98xm3fkwy7335faw4r7pilrxp4xis5a4zi4319sv2b3";
8+ sha256 = "0xsfpbxwgd4197gra981iv0nmjfk58c0d88dxx6dh6yrqz523klx";
99 };
1010
1111 nativeBuildInputs = [ makeWrapper perl ];
pkgs/tools/misc/thin-provisioning-tools/default.nix+19−3
@@ -1,20 +1,36 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, expat, libaio, boost }:
1+{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, expat, libaio, boost }:
22
33stdenv.mkDerivation rec {
44 name = "thin-provisioning-tools-${version}";
5− version = "0.7.5";
5+ version = "0.7.6";
66
77 src = fetchFromGitHub {
88 owner = "jthornber";
99 repo = "thin-provisioning-tools";
1010 rev = "v${version}";
11− sha256 = "1ibg5wxrbqg4pr3f6aacqm42fxpwn5q00j8ldy9mw4an3ck41cwa";
11+ sha256 = "175mk3krfdmn43cjw378s32hs62gq8fmq549rjmyc651sz6jnj0g";
1212 };
1313
1414 nativeBuildInputs = [ autoreconfHook ];
1515
1616 buildInputs = [ expat libaio boost ];
1717
18+ patches = [
19+ (fetchpatch {
20+ # a) Fix build if limits.h provides definition for PAGE_SIZE, as musl does w/musl per XSI[1] although it's apparently optional [2].
21+ # This value is only provided when it's known to be a constant, to avoid the need to discover the value dynamically.
22+ # b) If not using system-provided (kernel headers, or libc headers, or something) use the POSIX approach of querying the value
23+ # dynamically using sysconf(_SC_PAGE_SIZE) instead of hardcoded value that hopefully is correct.
24+ # [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
25+ # [2] http://www.openwall.com/lists/musl/2015/09/11/8
26+ url = "https://raw.githubusercontent.com/voidlinux/void-packages/a0ece13ad7ab2aae760e09e41e0459bd999a3695/srcpkgs/thin-provisioning-tools/patches/musl.patch";
27+ sha256 = "1m8r3vhrnsy8drgs0svs3fgpi3mmxzdcqsv6bmvc0j52cvfqvhvy";
28+ extraPrefix = ""; # empty means add 'a/' and 'b/'
29+ })
30+ ];
31+
32+ enableParallelBuilding = true;
33+
1834 meta = with stdenv.lib; {
1935 homepage = https://github.com/jthornber/thin-provisioning-tools/;
2036 description = "A suite of tools for manipulating the metadata of the dm-thin device-mapper target";
pkgs/tools/networking/atftp/default.nix+2
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
1414 # Expects pre-GCC5 inline semantics
1515 NIX_CFLAGS_COMPILE = "-std=gnu89";
1616
17+ doCheck = false; # fails
18+
1719 meta = {
1820 description = "Advanced tftp tools";
1921 maintainers = [ lib.maintainers.raskin ];
pkgs/tools/networking/curl/default.nix+6−4
@@ -24,14 +24,14 @@ assert brotliSupport -> brotli != null;
2424assert gssSupport -> kerberos != null;
2525
2626stdenv.mkDerivation rec {
27− name = "curl-7.59.0";
27+ name = "curl-7.60.0";
2828
2929 src = fetchurl {
3030 urls = [
3131 "https://github.com/curl/curl/releases/download/${lib.replaceStrings ["."] ["_"] name}/${name}.tar.bz2"
3232 "https://curl.haxx.se/download/${name}.tar.bz2"
3333 ];
34− sha256 = "185mazhi4bc5mc6rvhrmnc67j8l3sg7f0w2hp5gmi5ccdbyhz4mm";
34+ sha256 = "16qyhy9alq2wk6zgqhh5dchr45f6nxaqzy3rh8rbx6dx0hignzc9";
3535 };
3636
3737 outputs = [ "bin" "dev" "out" "man" "devdoc" ];
@@ -76,8 +76,10 @@ stdenv.mkDerivation rec {
7676 ++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"
7777 ++ stdenv.lib.optional gssSupport "--with-gssapi=${kerberos.dev}";
7878
79− CXX = "c++";
80− CXXCPP = "c++ -E";
79+ CXX = "${stdenv.cc.targetPrefix}c++";
80+ CXXCPP = "${stdenv.cc.targetPrefix}c++ -E";
81+
82+ doCheck = false; # expensive, fails
8183
8284 postInstall = ''
8385 moveToOutput bin/curl-config "$dev"
pkgs/tools/networking/dhcp/default.nix+2−2
@@ -4,11 +4,11 @@
44
55stdenv.mkDerivation rec {
66 name = "dhcp-${version}";
7− version = "4.3.6-P1";
7+ version = "4.4.1";
88
99 src = fetchurl {
1010 url = "http://ftp.isc.org/isc/dhcp/${version}/${name}.tar.gz";
11− sha256 = "1hx3az6ckvgvybr1ag4k9kqr8zfcpzcww4vpw5gz0mi8y2z7gl9g";
11+ sha256 = "025nfqx4zwdgv4b3rkw26ihcj312vir08jk6yi57ndmb4a4m08ia";
1212 };
1313
1414 patches =
pkgs/tools/networking/dnstracer/default.nix+2−2
@@ -2,10 +2,10 @@
22
33stdenv.mkDerivation rec {
44 version = "1.9";
5− name = "dnstracer";
5+ name = "dnstracer-${version}";
66
77 src = fetchurl {
8− url = "http://www.mavetju.org/download/dnstracer-${version}.tar.gz";
8+ url = "http://www.mavetju.org/download/${name}.tar.gz";
99 sha256 = "177y58smnq2xhx9lbmj1gria371iv3r1d132l2gjvflkjsphig1f";
1010 };
1111
pkgs/tools/networking/maildrop/default.nix+2
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
1313
1414 patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
1515
16+ doCheck = false; # fails with "setlocale: LC_ALL: cannot change locale (en_US.UTF-8)"
17+
1618 meta = with stdenv.lib; {
1719 homepage = http://www.courier-mta.org/maildrop/;
1820 description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
pkgs/tools/networking/network-manager/default.nix+2
@@ -85,6 +85,8 @@ in stdenv.mkDerivation rec {
8585
8686 nativeBuildInputs = [ autoreconfHook intltool pkgconfig libxslt docbook_xsl ];
8787
88+ doCheck = false; # requires /sys, the net
89+
8890 preInstall = ''
8991 installFlagsArray=( "sysconfdir=$out/etc" "localstatedir=$out/var" "runstatedir=$out/var/run" )
9092 '';
pkgs/tools/networking/openssh/default.nix+8−7
@@ -12,26 +12,27 @@ let
1212 # **please** update this patch when you update to a new openssh release.
1313 gssapiPatch = fetchpatch {
1414 name = "openssh-gssapi.patch";
15− url = "https://anonscm.debian.org/cgit/pkg-ssh/openssh.git/plain/debian"
16− + "/patches/gssapi.patch?id=1e0d55f9163793742d20eaadd4784db16fd3459d";
17− sha256 = "130phj87q87p9crigd6852nnaqsqkfg09h45a32lk4524h9kkxgb";
15+ url = "https://salsa.debian.org/ssh-team/openssh/raw/"
16+ + "e395eed38096fcda74398424ea94de3ec44effd5"
17+ + "/debian/patches/gssapi.patch";
18+ sha256 = "0x7xysgdahb4jaq0f28g2d7yzp0d3mh59i4xnffszvjndhvbk27x";
1819 };
1920
2021in
2122with stdenv.lib;
2223stdenv.mkDerivation rec {
2324 name = "openssh-${version}";
24− version = if hpnSupport then "7.6p1" else "7.6p1";
25+ version = if hpnSupport then "7.7p1" else "7.7p1";
2526
2627 src = if hpnSupport then
2728 fetchurl {
28− url = "https://github.com/rapier1/openssh-portable/archive/hpn-KitchenSink-7_6_P1.tar.gz";
29− sha256 = "15b1zjk9f3jlxji1vpqfla40cnzy8hv2clk925cvpgz7lqgv4a1d";
29+ url = "https://github.com/rapier1/openssh-portable/archive/hpn-KitchenSink-7_7_P1.tar.gz";
30+ sha256 = "1l4k8mg3gnzxbz53cma8s6ak56waz03ijsr08p8vgpi0c2rc5ri5";
3031 }
3132 else
3233 fetchurl {
3334 url = "mirror://openbsd/OpenSSH/portable/${name}.tar.gz";
34− sha256 = "08qpsb8mrzcx8wgvz9insiyvq7sbg26yj5nvl2m5n57yvppcl8x3";
35+ sha256 = "13vbbrvj3mmfhj83qyrg5c0ipr6bzw5s65dy4k8gr7p9hkkfffyp";
3536 };
3637
3738 patches =
pkgs/tools/networking/openssh/dont_create_privsep_path.patch+9−8
@@ -1,11 +1,12 @@
1−diff -ur openssh-7.2p2_orig/Makefile.in openssh-7.2p2/Makefile.in
2−--- openssh-7.2p2_orig/Makefile.in 2016-03-09 19:04:48.000000000 +0100
3−+++ openssh-7.2p2/Makefile.in 2016-07-16 09:56:05.643903293 +0200
4−@@ -301,7 +301,6 @@
5− $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)5
6− $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
7− $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
8−- (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))
1+diff --git i/Makefile.in w/Makefile.in
2+index 04e1c8e5..9bd5d01b 100644
3+--- i/Makefile.in
4++++ w/Makefile.in
5+@@ -329,7 +329,6 @@ install-files:
6+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)5
7+ $(MKDIR_P) $(DESTDIR)$(mandir)/$(mansubdir)8
8+ $(MKDIR_P) $(DESTDIR)$(libexecdir)
9+- $(MKDIR_P) -m 0755 $(DESTDIR)$(PRIVSEP_PATH)
910 $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh$(EXEEXT)
1011 $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp$(EXEEXT)
1112 $(INSTALL) -m 0755 $(STRIP_OPT) ssh-add$(EXEEXT) $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
pkgs/tools/networking/openssh/locale_archive.patch+9−9
@@ -1,15 +1,15 @@
1−diff --git a/session.c b/session.c
2−index e032de6..44db2bb 100644
3−--- a/session.c
4−+++ b/session.c
5−@@ -1196,6 +1196,10 @@ do_setup_env(Session *s, const char *shell)
1+diff --git i/session.c w/session.c
2+index 58826db1..658dd911 100644
3+--- i/session.c
4++++ w/session.c
5+@@ -1053,6 +1053,10 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell)
66 if (getenv("TZ"))
77 child_set_env(&env, &envsize, "TZ", getenv("TZ"));
88
9−+ /* NixOS path to the glibc locale archive, to be set in the upstart job */
9++ /* NixOS path to the glibc locale archive, to be set in the systemd job */
1010+ if (getenv("LOCALE_ARCHIVE"))
1111+ child_set_env(&env, &envsize, "LOCALE_ARCHIVE", getenv("LOCALE_ARCHIVE"));
1212+
13− /* Set custom environment options from RSA authentication. */
14− if (!options.use_login) {
15− while (custom_environment) {
13+ /* Set custom environment options from pubkey authentication. */
14+ if (options.permit_user_env) {
15+ for (n = 0 ; n < auth_opts->nenv; n++) {
pkgs/tools/networking/tcpdump/default.nix+4−8
@@ -1,6 +1,4 @@
1−{ stdenv, fetchurl, fetchpatch, libpcap, enableStatic ? false
2−, hostPlatform
3−}:
1+{ stdenv, fetchurl, fetchpatch, libpcap }:
42
53stdenv.mkDerivation rec {
64 name = "tcpdump-${version}";
@@ -20,11 +18,9 @@ stdenv.mkDerivation rec {
2018
2119 buildInputs = [ libpcap ];
2220
23− crossAttrs = {
24− LDFLAGS = if enableStatic then "-static" else "";
25− configureFlags = [ "ac_cv_linux_vers=2" ] ++ (stdenv.lib.optional
26− (hostPlatform.platform.kernelMajor or null == "2.4") "--disable-ipv6");
27− };
21+ configureFlags = stdenv.lib.optional
22+ (stdenv.hostPlatform != stdenv.buildPlatform)
23+ "ac_cv_linux_vers=2";
2824
2925 meta = {
3026 description = "Network sniffer";
pkgs/tools/networking/unbound/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "unbound-${version}";
5− version = "1.7.0";
5+ version = "1.7.1";
66
77 src = fetchurl {
88 url = "https://unbound.net/downloads/${name}.tar.gz";
9− sha256 = "18i6p6zqmbs9gj57mz3iwz828csaab26gb534b8wrn0kzdqr1pcl";
9+ sha256 = "13b210hd200xxvaffyzqb4g58knv1sfigph70ai74lrcb3pqbq2n";
1010 };
1111
1212 outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
pkgs/tools/networking/zerotierone/default.nix+1−1
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 version = "1.2.8";
5− name = "zerotierone";
5+ name = "zerotierone-${version}";
66
77 src = fetchurl {
88 url = "https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz";
pkgs/tools/package-management/apt/default.nix+1−1
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
3838 export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${Po4a}/lib/perl5";
3939
4040 cmakeFlagsArray+=(
41− -DBERKELEY_DB_INCLUDE_DIRS="${db}"/include
41+ -DBERKELEY_DB_INCLUDE_DIRS=${db.dev}/include
4242 -DDOCBOOK_XSL="${docbook_xsl}"/share/xml/docbook-xsl
4343 -DROOT_GROUP=root
4444 -DWITH_DOC=${if withDocs then "ON" else "OFF"}
pkgs/tools/security/gnupg/22.nix+2−2
@@ -15,11 +15,11 @@ assert guiSupport -> pinentry != null;
1515stdenv.mkDerivation rec {
1616 name = "gnupg-${version}";
1717
18− version = "2.2.6";
18+ version = "2.2.7";
1919
2020 src = fetchurl {
2121 url = "mirror://gnupg/gnupg/${name}.tar.bz2";
22− sha256 = "110rf476l3cgn52gh9ia5y0y06y2ialq9dqc12jkhnfhl9gqqkg6";
22+ sha256 = "0vlpis0q7gvq9mhdc43hkyn3cdriz4mwgj20my3gyzpgwqg3cnyr";
2323 };
2424
2525 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/security/nitrokey-app/default.nix+1−1
@@ -1,7 +1,7 @@
11{ stdenv, bash-completion, cmake, fetchgit, hidapi, libusb1, pkgconfig, qt5 }:
22
33stdenv.mkDerivation rec {
4− name = "nitrokey-app";
4+ name = "nitrokey-app-${version}";
55 version = "1.2";
66
77 # We use fetchgit instead of fetchFromGitHub because of necessary git submodules
pkgs/tools/security/nitrokey-app/udev-rules.nix+1−1
@@ -3,7 +3,7 @@
33}:
44
55stdenv.mkDerivation {
6− name = "nitrokey-udev-rules";
6+ name = "nitrokey-udev-rules-${stdenv.lib.getVersion nitrokey-app}";
77
88 inherit (nitrokey-app) src;
99
pkgs/tools/security/nmap/default.nix+2
@@ -53,6 +53,8 @@ in stdenv.mkDerivation rec {
5353 libX11 gtk2 pygtk pysqlite pygobject2 pycairo
5454 ];
5555
56+ doCheck = false; # fails 3 tests, probably needs the net
57+
5658 meta = {
5759 description = "A free and open source utility for network discovery and security auditing";
5860 homepage = http://www.nmap.org;
pkgs/tools/security/rhash/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
1616 # configure script is not autotools-based, doesn't support these options
1717 configurePlatforms = [ ];
1818
19+ doCheck = false; # fails
20+
1921 installTargets = [ "install" "install-lib-shared" "install-lib-so-link" ];
2022 postInstall = "make -C librhash install-headers";
2123
pkgs/tools/security/rng-tools/default.nix+3
@@ -9,6 +9,9 @@ stdenv.mkDerivation rec {
99 sha256 = "13h7lc8wl9khhvkr0i3bl5j9bapf8anhqis1lcnwxg1vc2v058b0";
1010 };
1111
12+ # For cross-compilation
13+ makeFlags = [ "AR:=$(AR)" ];
14+
1215 meta = {
1316 description = "A random number generator daemon";
1417
pkgs/tools/security/sudo/default.nix+2
@@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
5656
5757 enableParallelBuilding = true;
5858
59+ doCheck = false; # needs root
60+
5961 postInstall =
6062 ''
6163 rm -f $out/share/doc/sudo/ChangeLog
pkgs/tools/system/at/default.nix+9−6
@@ -33,12 +33,15 @@ stdenv.mkDerivation rec {
3333 substituteInPlace ./configure --replace "test -d /var/run" "true"
3434 '';
3535
36− configureFlags =
37− ''
38− --with-etcdir=/etc/at
39− --with-jobdir=/var/spool/atjobs --with-atspool=/var/spool/atspool
40− --with-daemon_username=atd --with-daemon_groupname=atd
41− '';
36+ configureFlags = [
37+ "--with-etcdir=/etc/at"
38+ "--with-jobdir=/var/spool/atjobs"
39+ "--with-atspool=/var/spool/atspool"
40+ "--with-daemon_username=atd"
41+ "--with-daemon_groupname=atd"
42+ ];
43+
44+ doCheck = false; # need "prove" tool
4245
4346 # Ensure that "batch" can invoke the setuid "at" wrapper, if it exists, or
4447 # else we get permission errors (on NixOS). "batch" is a shell script, so
pkgs/tools/system/pciutils/default.nix+8−2
@@ -11,7 +11,14 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkgconfig ];
1212 buildInputs = [ zlib kmod which ];
1313
14− makeFlags = [ "SHARED=yes" "PREFIX=\${out}" "STRIP=" "HOST=${stdenv.hostPlatform.system}" "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ];
14+ makeFlags = [
15+ "SHARED=yes"
16+ "PREFIX=\${out}"
17+ "STRIP="
18+ "HOST=${stdenv.hostPlatform.system}"
19+ "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
20+ "DNS=yes"
21+ ];
1522
1623 installTargets = "install install-lib";
1724
@@ -26,4 +33,3 @@ stdenv.mkDerivation rec {
2633 maintainers = [ maintainers.vcunat ]; # not really, but someone should watch it
2734 };
2835}
29−
pkgs/tools/system/runit/default.nix+6−2
@@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
1313 sha256 = "065s8w62r6chjjs6m9hapcagy33m75nlnxb69vg0f4ngn061dl3g";
1414 };
1515
16+ patches = [
17+ ./fix-ar-ranlib.patch
18+ ];
19+
1620 outputs = [ "out" "man" ];
1721
1822 sourceRoot = "admin/${name}";
@@ -34,8 +38,8 @@ stdenv.mkDerivation rec {
3438 cd src
3539
3640 # Both of these are originally hard-coded to gcc
37− echo cc > conf-cc
38− echo cc > conf-ld
41+ echo ${stdenv.cc.targetPrefix}cc > conf-cc
42+ echo ${stdenv.cc.targetPrefix}cc > conf-ld
3943 '';
4044
4145 installPhase = ''
pkgs/tools/system/runit/fix-ar-ranlib.patchnew file+18
@@ -0,0 +1,18 @@
1+--- runit-2.1.2/src/print-ar.sh
2++++ runit-2.1.2/src/print-ar.sh
3+@@ -1,7 +1,7 @@
4+ cat warn-auto.sh
5+ echo 'main="$1"; shift'
6+ echo 'rm -f "$main"'
7+-echo 'ar cr "$main" ${1+"$@"}'
8++echo '$AR cr "$main" ${1+"$@"}'
9+ case "`cat systype`" in
10+ sunos-5.*) ;;
11+ unix_sv*) ;;
12+@@ -10,5 +10,5 @@ case "`cat systype`" in
13+ dgux-*) ;;
14+ hp-ux-*) ;;
15+ sco*) ;;
16+- *) echo 'ranlib "$main"' ;;
17++ *) echo '$RANLIB "$main"' ;;
18+ esac
pkgs/tools/text/gnupatch/CVE-2018-6951.patchnew file+28
@@ -0,0 +1,28 @@
1+From f290f48a621867084884bfff87f8093c15195e6a Mon Sep 17 00:00:00 2001
2+From: Andreas Gruenbacher <agruen@gnu.org>
3+Date: Mon, 12 Feb 2018 16:48:24 +0100
4+Subject: Fix segfault with mangled rename patch
5+
6+http://savannah.gnu.org/bugs/?53132
7+* src/pch.c (intuit_diff_type): Ensure that two filenames are specified
8+for renames and copies (fix the existing check).
9+---
10+ src/pch.c | 3 ++-
11+ 1 file changed, 2 insertions(+), 1 deletion(-)
12+
13+diff --git a/src/pch.c b/src/pch.c
14+index ff9ed2c..bc6278c 100644
15+--- a/src/pch.c
16++++ b/src/pch.c
17+@@ -974,7 +974,8 @@ intuit_diff_type (bool need_header, mode_t *p_file_type)
18+ if ((pch_rename () || pch_copy ())
19+ && ! inname
20+ && ! ((i == OLD || i == NEW) &&
21+- p_name[! reverse] &&
22++ p_name[reverse] && p_name[! reverse] &&
23++ name_is_valid (p_name[reverse]) &&
24+ name_is_valid (p_name[! reverse])))
25+ {
26+ say ("Cannot %s file without two valid file names\n", pch_rename () ? "rename" : "copy");
27+--
28+cgit v1.0-41-gc330
pkgs/tools/text/gnupatch/default.nix+5
@@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
1111 sha256 = "1zfqy4rdcy279vwn2z1kbv19dcfw25d2aqy9nzvdkq5bjzd0nqdc";
1212 };
1313
14+ patches = [
15+ # https://git.savannah.gnu.org/cgit/patch.git/patch/?id=f290f48a621867084884bfff87f8093c15195e6a
16+ ./CVE-2018-6951.patch
17+ ];
18+
1419 buildInputs = stdenv.lib.optional doCheck ed;
1520
1621 configureFlags = stdenv.lib.optionals (hostPlatform != buildPlatform) [
pkgs/tools/text/gnused/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "gnused-${version}";
5− version = "4.4";
5+ version = "4.5";
66
77 src = fetchurl {
88 url = "mirror://gnu/sed/sed-${version}.tar.xz";
9− sha256 = "0fv88bcnraixc8jvpacvxshi30p5x9m7yb8ns1hfv07hmb2ypmnb";
9+ sha256 = "0h3b2jfj57wmz680vkbyavlsrkak556qhvs7m7fdlawwhg477bbs";
1010 };
1111
1212 outputs = [ "out" "info" ];
pkgs/tools/text/groff/default.nix+6−7
@@ -50,15 +50,14 @@ stdenv.mkDerivation rec {
5050 "ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
5151 ];
5252
53− doCheck = true;
54−
55− crossAttrs = {
53+ makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
5654 # Trick to get the build system find the proper 'native' groff
5755 # http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
58− preBuild = ''
59− makeFlags="GROFF_BIN_PATH=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff"
60− '';
61− };
56+ "GROFF_BIN_PATH=${buildPackages.groff}/bin"
57+ "GROFFBIN=${buildPackages.groff}/bin/groff"
58+ ];
59+
60+ doCheck = true;
6261
6362 # Remove example output with (random?) colors and creation date
6463 # to avoid non-determinism in the output.
pkgs/tools/text/jumanpp/default.nix+2−2
@@ -1,10 +1,10 @@
11{ stdenv, fetchurl, cmake, protobuf }:
22stdenv.mkDerivation rec {
3− name = "jumanpp";
3+ name = "jumanpp-${version}";
44 version = "2.0.0-rc2";
55
66 src = fetchurl {
7− url = "https://github.com/ku-nlp/${name}/releases/download/v${version}/${name}-${version}.tar.xz";
7+ url = "https://github.com/ku-nlp/${name}/releases/download/v${version}/${name}.tar.xz";
88 sha256 = "17fzmd0f5m9ayfhsr0mg7hjp3pg1mhbgknhgyd8v87x46g8bg6qp";
99 };
1010 buildInputs = [ cmake protobuf ];
pkgs/tools/text/patchutils/default.nix+2
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
1212
1313 hardeningDisable = [ "format" ];
1414
15+ doCheck = false; # fails
16+
1517 meta = with stdenv.lib; {
1618 description = "Tools to manipulate patch files";
1719 homepage = http://cyberelk.net/tim/software/patchutils;
pkgs/tools/text/sgml/opensp/default.nix+2
@@ -32,6 +32,8 @@ stdenv.mkDerivation {
3232 buildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake gettext libiconv libtool ]
3333 ++ [ xmlto docbook_xml_dtd_412 libxslt docbook_xsl ];
3434
35+ doCheck = false; # fails
36+
3537 meta = {
3638 description = "A suite of SGML/XML processing tools";
3739 license = stdenv.lib.licenses.mit;
pkgs/tools/typesetting/docbook2x/default.nix+8−6
@@ -6,7 +6,7 @@
66
77stdenv.mkDerivation rec {
88 name = "docbook2X-0.8.8";
9−
9+
1010 src = fetchurl {
1111 url = "mirror://sourceforge/docbook2x/${name}.tar.gz";
1212 sha256 = "0ifwzk99rzjws0ixzimbvs83x6cxqk1xzmg84wa1p7bs6rypaxs0";
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
2727 --replace '${"\$" + "{prefix}"}' "$out"
2828 '';
2929
30+ doCheck = false; # fails a lot of tests
31+
3032 postInstall = ''
3133 perlPrograms="db2x_manxml db2x_texixml db2x_xsltproc
3234 docbook2man docbook2texi";
@@ -34,12 +36,12 @@ stdenv.mkDerivation rec {
3436 do
3537 # XXX: We work around the fact that `wrapProgram' doesn't support
3638 # spaces below by inserting escaped backslashes.
37− wrapProgram $out/bin/$i --prefix PERL5LIB : \
39+ wrapProgram $out/bin/$i --prefix PERL5LIB : \
3840 "${XMLSAX}/lib/perl5/site_perl:${XMLSAXBase}/lib/perl5/site_perl:${XMLParser}/lib/perl5/site_perl" \
39− --prefix PERL5LIB : \
40− "${XMLNamespaceSupport}/lib/perl5/site_perl" \
41− --prefix XML_CATALOG_FILES "\ " \
42− "$out/share/docbook2X/dtd/catalog.xml\ $out/share/docbook2X/xslt/catalog.xml\ ${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml"
41+ --prefix PERL5LIB : \
42+ "${XMLNamespaceSupport}/lib/perl5/site_perl" \
43+ --prefix XML_CATALOG_FILES "\ " \
44+ "$out/share/docbook2X/dtd/catalog.xml\ $out/share/docbook2X/xslt/catalog.xml\ ${docbook_xml_dtd_43}/xml/dtd/docbook/catalog.xml"
4345 done
4446
4547 wrapProgram $out/bin/sgml2xml-isoent --prefix PATH : \
pkgs/tools/typesetting/tex/texlive/bin.nix+2
@@ -204,6 +204,8 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
204204 CXXFLAGS = "-std=c++11 -Wno-reserved-user-defined-literal"; # TODO: remove once texlive 2018 is out?
205205 enableParallelBuilding = true;
206206
207+ doCheck = false; # fails
208+
207209 # now distribute stuff into outputs, roughly as upstream TL
208210 # (uninteresting stuff remains in $out, typically duplicates from `core`)
209211 outputs = [ "out" "metafont" "metapost" "luatex" "xetex" ];
pkgs/top-level/aliases.nix+109−22
@@ -17,15 +17,27 @@ let
1717 dontDistribute alias
1818 else alias;
1919
20+ # Make sure that we are not shadowing something from
21+ # all-packages.nix.
22+ checkInPkgs = n: alias: if builtins.hasAttr n self
23+ then throw "Alias ${n} is still in all-packages.nix"
24+ else alias;
25+
2026 mapAliases = aliases:
21− lib.mapAttrs (n: alias: removeDistribute (removeRecurseForDerivations alias)) aliases;
27+ lib.mapAttrs (n: alias: removeDistribute
28+ (removeRecurseForDerivations
29+ (checkInPkgs n alias)))
30+ aliases;
2231in
2332
2433 ### Deprecated aliases - for backward compatibility
2534
2635mapAliases (rec {
36+ PPSSPP = ppsspp; # added 2017-10-01
37+ QmidiNet = qmidinet; # added 2016-05-22
2738 accounts-qt = libsForQt5.accounts-qt; # added 2015-12-19
2839 adobeReader = adobe-reader; # added 2013-11-04
40+ ag = silver-searcher; # added 2018-04-25
2941 aircrackng = aircrack-ng; # added 2016-01-14
3042 ammonite-repl = ammonite; # added 2017-05-02
3143 arduino_core = arduino-core; # added 2015-02-04
@@ -48,95 +60,128 @@ mapAliases (rec {
4860 cupsBjnp = cups-bjnp; # added 2016-01-02
4961 cups_filters = cups-filters; # added 2016-08
5062 cv = progress; # added 2015-09-06
63+ d1x_rebirth = dxx-rebirth; # added 2018-04-25
64+ d2x_rebirth = dxx-rebirth; # added 2018-04-25
65+ dbus_daemon = dbus.daemon; # added 2018-04-25
5166 dbus_glib = dbus-glib; # added 2018-02-25
67+ dbus_libs = dbus; # added 2018-04-25
68+ dbus_tools = dbus.out; # added 2018-04-25
5269 deadbeef-mpris2-plugin = deadbeefPlugins.mpris2; # added 2018-02-23
70+ deadpixi-sam = deadpixi-sam-unstable;
5371 debian_devscripts = debian-devscripts; # added 2016-03-23
5472 desktop_file_utils = desktop-file-utils; # added 2018-02-25
73+ devicemapper = lvm2; # added 2018-04-25
5574 digikam5 = digikam; # added 2017-02-18
75+ dmtx = dmtx-utils; # added 2018-04-25
76+ docbook5_xsl = docbook_xsl_ns; # added 2018-04-25
77+ docbook_xml_xslt = docbook_xsl; # added 2018-04-25
5678 double_conversion = double-conversion; # 2017-11-22
5779 dwarf_fortress = dwarf-fortress; # added 2016-01-23
80+ emacs25Macport_25_1 = emacs25Macport; # added 2018-04-25
5881 enblendenfuse = enblend-enfuse; # 2015-09-30
5982 evolution_data_server = evolution-data-server; # added 2018-02-25
83+ etcdctl = etcd; # added 2018-04-25
6084 exfat-utils = exfat; # 2015-09-11
85+ fam = gamin; # added 2018-04-25
86+ ffadoFull = ffado; # added 2018-05-01
6187 firefox-esr-wrapper = firefox-esr; # 2016-01
6288 firefox-wrapper = firefox; # 2016-01
6389 firefoxWrapper = firefox; # 2015-09
90+ flameGraph = flamegraph; # added 2018-04-25
6491 font-awesome-ttf = font-awesome_4; # 2018-02-25
6592 foomatic_filters = foomatic-filters; # 2016-08
6693 fuse_exfat = exfat; # 2015-09-11
67− gettextWithExpat = gettext; # 2016-02-19
94+ fuseki = apache-jena-fuseki; # added 2018-04-25
95+ gccApple = throw "gccApple is no longer supported"; # added 2018-04-25
6896 gdb-multitarget = gdb; # added 2017-11-13
97+ gettextWithExpat = gettext; # 2016-02-19
98+ gflags = google-gflags; # added 2018-04-25
6999 git-hub = gitAndTools.git-hub; # added 2016-04-29
70100 glib_networking = glib-networking; # added 2018-02-25
71− go-pup = pup; # added 2017-12-19
72− googleAuthenticator = google-authenticator; # added 2016-10-16
73− gnome_doc_utils = gnome-doc-utils; # added 2018-02-25
101+ gmock = gtest; # added 2018-04-25
74102 gnome-themes-standard = gnome-themes-extra; # added 2018-03-14
103+ gnome_doc_utils = gnome-doc-utils; # added 2018-02-25
75104 gnome_themes_standard = gnome-themes-standard; # added 2018-02-25
105+ gnustep-make = gnustep.make; # added 2016-7-6
106+ go-pup = pup; # added 2017-12-19
107+ googleAuthenticator = google-authenticator; # added 2016-10-16
76108 grantlee5 = libsForQt5.grantlee; # added 2015-12-19
77109 gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
78110 gst_ffmpeg = gst-ffmpeg; # added 2017-02
111+ gst_plugins_bad = gst-plugins-bad; # added 2017-02
79112 gst_plugins_base = gst-plugins-base; # added 2017-02
80113 gst_plugins_good = gst-plugins-good; # added 2017-02
81− gst_plugins_bad = gst-plugins-bad; # added 2017-02
82114 gst_plugins_ugly = gst-plugins-ugly; # added 2017-02
83115 gst_python = gst-python; # added 2017-02
84116 gtk_doc = gtk-doc; # added 2018-02-25
85117 guileCairo = guile-cairo; # added 2017-09-24
86118 guileGnome = guile-gnome; # added 2017-09-24
87− guile_lib = guile-lib; # added 2017-09-24
88119 guileLint = guile-lint; # added 2017-09-27
120+ guile_lib = guile-lib; # added 2017-09-24
89121 guile_ncurses = guile-ncurses; # added 2017-09-24
90122 gupnp_av = gupnp-av; # added 2018-02-25
91123 gupnp_dlna = gupnp-dlna; # added 2018-02-25
92124 gupnp_igd = gupnp-igd; # added 2018-02-25
93125 gupnptools = gupnp-tools; # added 2015-12-19
94− gnustep-make = gnustep.make; # added 2016-7-6
126+ heimdalFull = heimdal; # added 2018-05-01
95127 hicolor_icon_theme = hicolor-icon-theme; # added 2018-02-25
96128 htmlTidy = html-tidy; # added 2014-12-06
97129 iana_etc = iana-etc; # added 2017-03-08
98130 idea = jetbrains; # added 2017-04-03
99131 inotifyTools = inotify-tools;
132+ jack2Full = jack2; # added 2018-04-25
100133 joseki = apache-jena-fuseki; # added 2016-02-28
101134 json_glib = json-glib; # added 2018-02-25
102135 kdiff3-qt5 = kdiff3; # added 2017-02-18
103− keepassx2-http = keepassx-reboot; # added 2016-10-17
104− keepassx-reboot = keepassx-community; # added 2017-02-01
136+ keepass-keefox = keepass-keepassrpc; # backwards compatibility alias, added 2018-02
105137 keepassx-community = keepassxc; # added 2017-11
138+ keepassx-reboot = keepassx-community; # added 2017-02-01
139+ keepassx2-http = keepassx-reboot; # added 2016-10-17
140+ kerberos = libkrb5; # added 2018-04-25
106141 keybase-go = keybase; # added 2016-08-24
107142 krename-qt5 = krename; # added 2017-02-18
143+ kvm = qemu_kvm; # added 2018-04-25
108144 letsencrypt = certbot; # added 2016-05-16
109− libdbusmenu_qt5 = libsForQt5.libdbusmenu; # added 2015-12-19
145+ libaudit = audit; # added 2018-04-25
110146 libcanberra_gtk2 = libcanberra-gtk2; # added 2018-02-25
111147 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25
112148 libcap_manpages = libcap.doc; # added 2016-04-29
113149 libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29
114150 libcap_progs = libcap.out; # added 2016-04-29
151+ libdbusmenu_qt5 = libsForQt5.libdbusmenu; # added 2015-12-19
152+ libdbusmenu-glib = libdbusmenu; # added 2018-05-01
115153 libgnome_keyring = libgnome-keyring; # added 2018-02-25
116154 libgnome_keyring3 = libgnome-keyring3; # added 2018-02-25
117155 libgumbo = gumbo; # added 2018-01-21
118156 libintlOrEmpty = stdenv.lib.optional (!stdenv.isLinux || hostPlatform.libc != "glibc") gettext; # added 2018-03-14
119157 libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
158+ liblrdf = librdf; # added 2018-04-25
120159 libmysql = mysql.connector-c; # added # 2017-12-28, this was a misnomer refering to libmysqlclient
160+ librecad2 = librecad; # backwards compatibility alias, added 2015-10
161+ libsysfs = sysfsutils; # added 2018-04-25
121162 libtidy = html-tidy; # added 2014-12-21
163+ libudev = udev; # added 2018-04-25
122164 links = links2; # added 2016-01-31
123165 lttngTools = lttng-tools; # added 2014-07-31
124166 lttngUst = lttng-ust; # added 2014-07-31
125− lua5_sec = luaPackages.luasec; # added 2017-05-02
126167 lua5_1_sockets = lua51Packages.luasocket; # added 2017-05-02
127168 lua5_expat = luaPackages.luaexpat; # added 2017-05-02
169+ lua5_sec = luaPackages.luasec; # added 2017-05-02
170+ lzma = xz; # added 2018-04-25
128171 m3d-linux = m33-linux; # added 2016-08-13
129− manpages = man-pages; # added 2015-12-06
130172 man_db = man-db; # added 2016-05
131− piwik = matomo; # added 2018-01-16
173+ manpages = man-pages; # added 2015-12-06
132174 midoriWrapper = midori; # added 2015-01
133175 mlt-qt5 = libsForQt5.mlt; # added 2015-12-19
134176 mobile_broadband_provider_info = mobile-broadband-provider-info; # added 2018-02-25
135177 module_init_tools = kmod; # added 2016-04-22
178+ msf = metasploit; # added 2018-04-25
136179 mssys = ms-sys; # added 2015-12-13
137180 multipath_tools = multipath-tools; # added 2016-01-21
138181 mupen64plus1_5 = mupen64plus; # added 2016-02-12
182+ mysql = mariadb; # added 2018-04-25
139183 mysqlWorkbench = mysql-workbench; # added 2017-01-19
184+ nagiosPluginsOfficial = monitoring-plugins;
140185 ncat = nmap; # added 2016-01-26
141186 netcat-openbsd = libressl.nc; # added 2018-04-25
142187 networkmanager_fortisslvpn = networkmanager-fortisslvpn; # added 2018-02-25
@@ -145,34 +190,44 @@ mapAliases (rec {
145190 networkmanager_openconnect = networkmanager-openconnect; # added 2018-02-25
146191 networkmanager_openvpn = networkmanager-openvpn; # added 2018-02-25
147192 networkmanager_vpnc = networkmanager-vpnc; # added 2018-02-25
148− nmap_graphical = nmap-graphical; # added 2017-01-19
149193 nfsUtils = nfs-utils; # added 2014-12-06
194+ nginxUnstable = nginxMainline; # added 2018-04-25
195+ nilfs_utils = nilfs-utils; # added 2018-04-25
196+ nmap_graphical = nmap-graphical; # added 2017-01-19
197+ nologin = shadow; # added 2018-04-25
198+ openal = openalSoft; # added 2018-04-25
199+ opencascade_oce = opencascade; # added 2018-04-25
150200 opencl-icd = ocl-icd; # added 2017-01-20
201+ openexr_ctl = ctl; # added 2018-04-25
151202 openssh_with_kerberos = openssh; # added 2018-01-28
152203 owncloudclient = owncloud-client; # added 2016-08
153204 p11_kit = p11-kit; # added 2018-02-25
154205 pass-otp = pass.withExtensions (ext: [ext.pass-otp]); # added 2018-05-04
155206 pgp-tools = signing-party; # added 2017-03-26
156207 pidgin-with-plugins = pidgin; # added 2016-06
157− pidginlatexSF = pidgin-latex; # added 2014-11-02
158208 pidginlatex = pidgin-latex; # added 2018-01-08
209+ pidginlatexSF = pidgin-latex; # added 2014-11-02
159210 pidginmsnpecan = pidgin-msn-pecan; # added 2018-01-08
160− pidginotr = pidgin-otr; # added 2018-01-08
161211 pidginosd = pidgin-osd; # added 2018-01-08
212+ pidginotr = pidgin-otr; # added 2018-01-08
162213 pidginsipe = pidgin-sipe; # added 2018-01-08
163214 pidginwindowmerge = pidgin-window-merge; # added 2018-01-08
164− postage = pgmanage; # added 2017-11-03
215+ piwik = matomo; # added 2018-01-16
216+ pltScheme = racket; # just to be sure
217+ polarssl = mbedtls; # added 2018-04-25
165218 poppler_qt5 = libsForQt5.poppler; # added 2015-12-19
166− PPSSPP = ppsspp; # added 2017-10-01
219+ postage = pgmanage; # added 2017-11-03
220+ procps = procps-ng; # added 2018-04-25
167221 prometheus-statsd-bridge = prometheus-statsd-exporter; # added 2017-08-27
222+ pulseaudioLight = pulseaudio; # added 2018-04-25
168223 qca-qt5 = libsForQt5.qca-qt5; # added 2015-12-19
169− QmidiNet = qmidinet; # added 2016-05-22
170224 qt_gstreamer = qt-gstreamer; # added 2017-02
171225 qt_gstreamer1 = qt-gstreamer1; # added 2017-02
172226 quake3game = ioquake3; # added 2016-01-14
173227 qwt6 = libsForQt5.qwt; # added 2015-12-19
174228 rdiff_backup = rdiff-backup; # added 2014-11-23
175229 rdmd = dtools; # added 2017-08-19
230+ redland = librdf_redland; # added 2018-04-25
176231 robomongo = robo3t; #added 2017-09-28
177232 rssglx = rss-glx; #added 2015-03-25
178233 ruby_2_0_0 = throw "deprecated 2018-0213: use a newer version of ruby";
@@ -183,25 +238,34 @@ mapAliases (rec {
183238 ruby_2_5_0 = throw "deprecated 2018-0213: use ruby_2_5 instead";
184239 rubygems = throw "deprecated 2016-03-02: rubygems is now bundled with ruby";
185240 rxvt_unicode_with-plugins = rxvt_unicode-with-plugins; # added 2015-04-02
241+ sam = deadpixi-sam; # added 2018-04-25
186242 samsungUnifiedLinuxDriver = samsung-unified-linux-driver; # added 2016-01-25
187243 saneBackends = sane-backends; # added 2016-01-02
188244 saneBackendsGit = sane-backends-git; # added 2016-01-02
189245 saneFrontends = sane-frontends; # added 2016-01-02
190246 scim = sc-im; # added 2016-01-22
247+ scollector = bosun; # added 2018-04-25
191248 shared_mime_info = shared-mime-info; # added 2018-02-25
192249 skrooge2 = skrooge; # added 2017-02-18
193250 skype = skypeforlinux; # added 2017-07-27
251+ slurm-llnl = slurm; # renamed July 2017
252+ slurm-llnl-full = slurm-full; # renamed July 2017
253+ slurm-full = slurm; # added 2018-05-1
254+ smbclient = samba; # added 2018-04-25
194255 spaceOrbit = space-orbit; # addewd 2016-05-23
256+ speech_tools = speech-tools; # added 2018-04-25
195257 speedtest_cli = speedtest-cli; # added 2015-02-17
196258 spice_gtk = spice-gtk; # added 2018-02-25
197259 spice_protocol = spice-protocol; # added 2018-02-25
260+ sqlite3_analyzer = sqlite-analyzer; # added 2018-05-22
198261 sqliteInteractive = sqlite-interactive; # added 2014-12-06
199262 sshfs = sshfs-fuse; # added 2017-08-14
200263 sshfsFuse = sshfs-fuse; # added 2016-09
264+ suil-qt5 = suil; # added 2018-05-01
201265 surf-webkit2 = surf; # added 2017-04-02
202− tahoelafs = tahoe-lafs; # added 2018-03-26
203− telnet = inetutils; # added 2018-05-15
204266 system_config_printer = system-config-printer; # added 2016-01-03
267+ systool = sysfsutils; # added 2018-04-25
268+ tahoelafs = tahoe-lafs; # added 2018-03-26
205269 telepathy_farstream = telepathy-farstream; # added 2018-02-25
206270 telepathy_gabble = telepathy-gabble; # added 2018-02-25
207271 telepathy_glib = telepathy-glib; # added 2018-02-25
@@ -212,14 +276,18 @@ mapAliases (rec {
212276 telepathy_qt = telepathy-qt; # added 2018-02-25
213277 telepathy_qt5 = libsForQt5.telepathy; # added 2015-12-19
214278 telepathy_salut = telepathy-salut; # added 2018-02-25
279+ telnet = inetutils; # added 2018-05-15
215280 tex-gyre-bonum-math = tex-gyre-math.bonum; # added 2018-04-03
216281 tex-gyre-pagella-math = tex-gyre-math.pagella; # added 2018-04-03
217282 tex-gyre-schola-math = tex-gyre-math.schola; # added 2018-04-03
218283 tex-gyre-termes-math = tex-gyre-math.termes; # added 2018-04-03
219284 tftp_hpa = tftp-hpa; # added 2015-04-03
285+ trang = jing-trang; # added 2018-04-25
220286 transmission_gtk = transmission-gtk; # added 2018-01-06
221287 transmission_remote_gtk = transmission-remote-gtk; # added 2018-01-06
288+ tshark = wireshark-cli; # added 2018-04-25
222289 ucsFonts = ucs-fonts; # added 2016-07-15
290+ udev = systemd; # added 2018-04-25
223291 ultrastardx-beta = ultrastardx; # added 2017-08-12
224292 usb_modeswitch = usb-modeswitch; # added 2016-05-10
225293 vimbWrapper = vimb; # added 2015-01
@@ -230,8 +298,13 @@ mapAliases (rec {
230298 winusb = woeusb; # added 2017-12-22
231299 wireguard = wireguard-tools; # added 2018-05-19
232300 x11 = xlibsWrapper; # added 2015-09
301+ xbmc = kodi; # added 2018-04-25
302+ xbmcPlain = kodiPlain; # added 2018-04-25
303+ xbmcPlugins = kodiPlugins; # added 2018-04-25
304+ xmonad_log_applet_gnome3 = xmonad_log_applet; # added 2018-05-01
233305 xf86_video_nouveau = xorg.xf86videonouveau; # added 2015-09
234306 xlibs = xorg; # added 2015-09
307+ yacc = bison; # added 2018-04-25
235308 youtubeDL = youtube-dl; # added 2014-10-26
236309
237310 # added 2017-05-27
@@ -249,6 +322,20 @@ mapAliases (rec {
249322 ocamlPackages_4_00_1 ocamlPackages_4_01_0 ocamlPackages_4_02
250323 ocamlPackages_4_03
251324 ocamlPackages_latest;
325+
326+ gst_all = { # added 2018-04-25
327+ inherit (pkgs) gstreamer gnonlin gst-python qt-gstreamer;
328+ gstPluginsBase = pkgs.gst-plugins-base;
329+ gstPluginsBad = pkgs.gst-plugins-bad;
330+ gstPluginsGood = pkgs.gst-plugins-good;
331+ gstPluginsUgly = pkgs.gst-plugins-ugly;
332+ gstFfmpeg = pkgs.gst-ffmpeg;
333+ gst-plugins-base = pkgs.gst-plugins-base;
334+ gst-plugins-bad = pkgs.gst-plugins-bad;
335+ gst-plugins-good = pkgs.gst-plugins-good;
336+ gst-plugins-ugly = pkgs.gst-plugins-ugly;
337+ gst-ffmpeg = pkgs.gst-ffmpeg;
338+ };
252339} // (with ocaml-ng; { # added 2016-09-14
253340 ocaml_3_08_0 = ocamlPackages_3_08_0.ocaml;
254341 ocaml_3_10_0 = ocamlPackages_3_10_0.ocaml;
pkgs/top-level/all-packages.nix+196−336
@@ -977,7 +977,6 @@ with pkgs;
977977 calamares = libsForQt5.callPackage ../tools/misc/calamares {
978978 python = python3;
979979 boost = pkgs.boost.override { python = python3; };
980− libyamlcpp = callPackage ../development/libraries/libyaml-cpp { inherit boost; };
981980 };
982981
983982 capstone = callPackage ../development/libraries/capstone { };
@@ -1664,14 +1663,14 @@ with pkgs;
16641663
16651664 ciopfs = callPackage ../tools/filesystems/ciopfs { };
16661665
1667− citrix_receiver = hiPrio citrix_receiver_13_9_1;
1668− citrix_receiver_13_9_1 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.9.1"; };
1669− citrix_receiver_13_9_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.9.0"; };
1670− citrix_receiver_13_8_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.8.0"; };
1671− citrix_receiver_13_7_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.7.0"; };
1672− citrix_receiver_13_6_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.6.0"; };
1673− citrix_receiver_13_5_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.5.0"; };
1674− citrix_receiver_13_4_0 = callPackage ../applications/networking/remote/citrix-receiver { version = "13.4.0"; };
1666+ citrix_receiver = callPackage ../applications/networking/remote/citrix-receiver { };
1667+ citrix_receiver_13_9_1 = citrix_receiver.override { version = "13.9.1"; };
1668+ citrix_receiver_13_9_0 = citrix_receiver.override { version = "13.9.0"; };
1669+ citrix_receiver_13_8_0 = citrix_receiver.override { version = "13.8.0"; };
1670+ citrix_receiver_13_7_0 = citrix_receiver.override { version = "13.7.0"; };
1671+ citrix_receiver_13_6_0 = citrix_receiver.override { version = "13.6.0"; };
1672+ citrix_receiver_13_5_0 = citrix_receiver.override { version = "13.5.0"; };
1673+ citrix_receiver_13_4_0 = citrix_receiver.override { version = "13.4.0"; };
16751674
16761675 citra = libsForQt5.callPackage ../misc/emulators/citra { };
16771676
@@ -2390,9 +2389,6 @@ with pkgs;
23902389
23912390 flamegraph = callPackage ../development/tools/flamegraph { };
23922391
2393− # Awkward historical capitalization for flamegraph. Remove eventually
2394− flameGraph = flamegraph;
2395−
23962392 flvtool2 = callPackage ../tools/video/flvtool2 { };
23972393
23982394 fmbt = callPackage ../development/tools/fmbt {
@@ -2402,7 +2398,7 @@ with pkgs;
24022398 fontforge = lowPrio (callPackage ../tools/misc/fontforge {
24032399 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
24042400 });
2405− fontforge-gtk = callPackage ../tools/misc/fontforge {
2401+ fontforge-gtk = fontforge.override {
24062402 withSpiro = true;
24072403 withGTK = true;
24082404 gtk2 = gtk2-x11;
@@ -2524,7 +2520,7 @@ with pkgs;
25242520
25252521 gazebo7 = callPackage ../applications/science/robotics/gazebo { };
25262522
2527− gazebo7-headless = callPackage ../applications/science/robotics/gazebo { withHeadless = true; };
2523+ gazebo7-headless = gazebo7.override { withHeadless = true; };
25282524
25292525 };
25302526
@@ -2773,11 +2769,11 @@ with pkgs;
27732769
27742770 grub2_full = callPackage ../tools/misc/grub/2.0x.nix { };
27752771
2776− grub2_efi = grub2_full.override {
2772+ grub2_efi = grub2.override {
27772773 efiSupport = true;
27782774 };
27792775
2780− grub2_light = grub2_full.override {
2776+ grub2_light = grub2.override {
27812777 zfsSupport = false;
27822778 };
27832779
@@ -2805,7 +2801,6 @@ with pkgs;
28052801 gt5 = callPackage ../tools/system/gt5 { };
28062802
28072803 gtest = callPackage ../development/libraries/gtest {};
2808− gmock = gtest;
28092804 gbenchmark = callPackage ../development/libraries/gbenchmark {};
28102805
28112806 gtkdatabox = callPackage ../development/libraries/gtkdatabox {};
@@ -3460,6 +3455,14 @@ with pkgs;
34603455 nodejs-9_x = callPackage ../development/web/nodejs/v9.nix {};
34613456 nodejs-slim-9_x = callPackage ../development/web/nodejs/v9.nix { enableNpm = false; };
34623457
3458+ nodejs-10_x = callPackage ../development/web/nodejs/v10.nix {
3459+ openssl = openssl_1_1_0;
3460+ };
3461+ nodejs-slim-10_x = callPackage ../development/web/nodejs/v10.nix {
3462+ enableNpm = false;
3463+ openssl = openssl_1_1_0;
3464+ };
3465+
34633466 nodePackages_8_x = callPackage ../development/node-packages/default-v8.nix {
34643467 nodejs = pkgs.nodejs-8_x;
34653468 };
@@ -3470,9 +3473,6 @@ with pkgs;
34703473
34713474 nodePackages = nodePackages_6_x;
34723475
3473− # Can be used as a user shell
3474− nologin = shadow;
3475−
34763476 npm2nix = nodePackages.npm2nix;
34773477
34783478 file-rename = callPackage ../tools/filesystems/file-rename { };
@@ -3568,7 +3568,7 @@ with pkgs;
35683568
35693569 libiberty = callPackage ../development/libraries/libiberty { };
35703570
3571− libiberty_static = callPackage ../development/libraries/libiberty { staticBuild = true; };
3571+ libiberty_static = libiberty.override { staticBuild = true; };
35723572
35733573 libibverbs = callPackage ../development/libraries/libibverbs { };
35743574
@@ -3640,8 +3640,6 @@ with pkgs;
36403640
36413641 lzip = callPackage ../tools/compression/lzip { };
36423642
3643− lzma = xz;
3644−
36453643 xz = callPackage ../tools/compression/xz { };
36463644
36473645 lz4 = callPackage ../tools/compression/lz4 { };
@@ -3799,12 +3797,14 @@ with pkgs;
37993797
38003798 mitmproxy = callPackage ../tools/networking/mitmproxy { };
38013799
3802− mjpegtoolsFull = callPackage ../tools/video/mjpegtools { };
3803−
3804− mjpegtools = self.mjpegtoolsFull.override {
3800+ mjpegtools = callPackage ../tools/video/mjpegtools {
38053801 withMinimal = true;
38063802 };
38073803
3804+ mjpegtoolsFull = mjpegtools.override {
3805+ withMinimal = false;
3806+ };
3807+
38083808 mkcue = callPackage ../tools/cd-dvd/mkcue { };
38093809
38103810 mkpasswd = hiPrio (callPackage ../tools/security/mkpasswd { });
@@ -3851,7 +3851,6 @@ with pkgs;
38513851 mscgen = callPackage ../tools/graphics/mscgen { };
38523852
38533853 metasploit = callPackage ../tools/security/metasploit { };
3854− msf = metasploit;
38553854
38563855 ms-sys = callPackage ../tools/misc/ms-sys { };
38573856
@@ -4030,7 +4029,6 @@ with pkgs;
40304029 nifskope = callPackage ../tools/graphics/nifskope { };
40314030
40324031 nilfs-utils = callPackage ../tools/filesystems/nilfs-utils {};
4033− nilfs_utils = nilfs-utils;
40344032
40354033 nitrogen = callPackage ../tools/X11/nitrogen {};
40364034
@@ -4048,7 +4046,7 @@ with pkgs;
40484046
40494047 nmap = callPackage ../tools/security/nmap { };
40504048
4051− nmap-graphical = callPackage ../tools/security/nmap {
4049+ nmap-graphical = nmap.override {
40524050 graphicalSupport = true;
40534051 };
40544052
@@ -4394,28 +4392,27 @@ with pkgs;
43944392
43954393 philter = callPackage ../tools/networking/philter { };
43964394
4397− pinentry = pinentry_ncurses.override {
4398− inherit gtk2;
4395+ pinentry = callPackage ../tools/security/pinentry {
4396+ libcap = if stdenv.isDarwin then null else libcap;
43994397 };
44004398
4401− pinentry_ncurses = callPackage ../tools/security/pinentry {
4402− libcap = if stdenv.isDarwin then null else libcap;
4399+ pinentry_ncurses = pinentry.override {
44034400 gtk2 = null;
44044401 };
44054402
4406− pinentry_emacs = pinentry_ncurses.override {
4403+ pinentry_emacs = pinentry.override {
44074404 enableEmacs = true;
44084405 };
44094406
4410− pinentry_gnome = pinentry_ncurses.override {
4407+ pinentry_gnome = pinentry.override {
44114408 gcr = gnome3.gcr;
44124409 };
44134410
4414− pinentry_qt4 = pinentry_ncurses.override {
4411+ pinentry_qt4 = pinentry.override {
44154412 qt = qt4;
44164413 };
44174414
4418− pinentry_qt5 = pinentry_ncurses.override {
4415+ pinentry_qt5 = pinentry.override {
44194416 qt = qt5.qtbase;
44204417 };
44214418
@@ -4438,7 +4435,7 @@ with pkgs;
44384435 plan9port = callPackage ../tools/system/plan9port { };
44394436
44404437 platformioPackages = callPackage ../development/arduino/platformio { };
4441− platformio = platformioPackages.platformio-chrootenv.override {};
4438+ platformio = platformioPackages.platformio-chrootenv;
44424439
44434440 platinum-searcher = callPackage ../tools/text/platinum-searcher { };
44444441
@@ -4938,7 +4935,6 @@ with pkgs;
49384935 };
49394936
49404937 silver-searcher = callPackage ../tools/text/silver-searcher { };
4941− ag = self.silver-searcher;
49424938
49434939 simpleproxy = callPackage ../tools/networking/simpleproxy { };
49444940
@@ -5118,8 +5114,8 @@ with pkgs;
51185114 });
51195115
51205116 strongswan = callPackage ../tools/networking/strongswan { };
5121− strongswanTNC = callPackage ../tools/networking/strongswan { enableTNC = true; };
5122− strongswanNM = callPackage ../tools/networking/strongswan { enableNetworkManager = true; };
5117+ strongswanTNC = strongswan.override { enableTNC = true; };
5118+ strongswanNM = strongswan.override { enableNetworkManager = true; };
51235119
51245120 su = shadow.su;
51255121
@@ -5583,8 +5579,6 @@ with pkgs;
55835579
55845580 tradcpp = callPackage ../development/tools/tradcpp { };
55855581
5586− trang = self.jing-trang;
5587−
55885582 tre = callPackage ../development/libraries/tre { };
55895583
55905584 ts = callPackage ../tools/system/ts { };
@@ -5933,15 +5927,13 @@ with pkgs;
59335927 runtimeShell = "${runtimeShellPackage}/bin/bash";
59345928 runtimeShellPackage = bash;
59355929
5936− bash = lowPrio (callPackage ../shells/bash/4.4.nix {
5937− texinfo = null;
5938− interactive = stdenv.isCygwin; # patch for cygwin requires readline support
5939− });
5930+ bash = lowPrio (callPackage ../shells/bash/4.4.nix { });
59405931
59415932 # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed
5942− bashInteractive = appendToName "interactive" (callPackage ../shells/bash/4.4.nix {
5933+ bashInteractive = callPackage ../shells/bash/4.4.nix {
59435934 interactive = true;
5944− });
5935+ withDocs = true;
5936+ };
59455937
59465938 bash-completion = callPackage ../shells/bash/bash-completion { };
59475939
@@ -6182,8 +6174,6 @@ with pkgs;
61826174 stripped = false;
61836175 }));
61846176
6185− gccApple = throw "gccApple is no longer supported";
6186−
61876177 libstdcxxHook = makeSetupHook
61886178 { substitutions = { gcc = gcc-unwrapped; }; }
61896179 ../development/compilers/gcc/libstdc++-hook.sh;
@@ -6209,7 +6199,6 @@ with pkgs;
62096199 libc = libcCross1;
62106200 };
62116201 in wrapCCWith {
6212− name = "gcc-cross-wrapper";
62136202 cc = gccFun {
62146203 # copy-pasted
62156204 inherit noSysDirs;
@@ -6544,18 +6533,19 @@ with pkgs;
65446533
65456534 hugs = callPackage ../development/interpreters/hugs { };
65466535
6536+ bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "10"; };
6537+
65476538 openjdk8 =
65486539 if stdenv.isDarwin then
65496540 callPackage ../development/compilers/openjdk/darwin/8.nix { }
65506541 else
65516542 callPackage ../development/compilers/openjdk/8.nix {
6552− bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "8"; };
6543+ bootjdk = bootjdk.override { version = "8"; };
65536544 inherit (gnome2) GConf gnome_vfs;
65546545 };
65556546
65566547 openjdk10 =
65576548 callPackage ../development/compilers/openjdk/10.nix {
6558− bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "10"; };
65596549 inherit (gnome2) GConf gnome_vfs;
65606550 };
65616551
@@ -6786,7 +6776,7 @@ with pkgs;
67866776 xlibsWrapper = null;
67876777 };
67886778
6789− mitschemeX11 = callPackage ../development/compilers/mit-scheme {
6779+ mitschemeX11 = mitscheme.override {
67906780 texLive = texlive.combine { inherit (texlive) scheme-small; };
67916781 texinfo = texinfo5;
67926782 enableX11 = true;
@@ -7152,7 +7142,7 @@ with pkgs;
71527142 gtk2 = gtk2-x11;
71537143 };
71547144
7155− lxappearance-gtk3 = callPackage ../desktops/lxde/core/lxappearance {
7145+ lxappearance-gtk3 = lxappearance.override {
71567146 withGtk3 = true;
71577147 };
71587148
@@ -7253,7 +7243,7 @@ with pkgs;
72537243 octaveHg = lowPrio (callPackage ../development/interpreters/octave/hg.nix hgOctaveOptions);
72547244 }) octave octaveHg;
72557245
7256− octaveFull = (lowPrio (callPackage ../development/interpreters/octave {
7246+ octaveFull = (lowPrio (octave.override {
72577247 qt = qt4;
72587248 overridePlatforms = ["x86_64-linux" "x86_64-darwin"];
72597249 openblas = if stdenv.isDarwin then openblasCompat else openblas;
@@ -7307,8 +7297,6 @@ with pkgs;
73077297
73087298 picolisp = callPackage ../development/interpreters/picolisp {};
73097299
7310− pltScheme = racket; # just to be sure
7311−
73127300 polyml = callPackage ../development/compilers/polyml { };
73137301 polyml56 = callPackage ../development/compilers/polyml/5.6.nix { };
73147302
@@ -7489,22 +7477,21 @@ with pkgs;
74897477
74907478 amdadlsdk = callPackage ../development/misc/amdadl-sdk { };
74917479
7492− amdappsdk26 = callPackage ../development/misc/amdapp-sdk {
7480+ amdappsdk26 = amdappsdk.override {
74937481 version = "2.6";
74947482 };
74957483
7496− amdappsdk27 = callPackage ../development/misc/amdapp-sdk {
7484+ amdappsdk27 = amdappsdk.override {
74977485 version = "2.7";
74987486 };
74997487
7500− amdappsdk28 = callPackage ../development/misc/amdapp-sdk {
7488+ amdappsdk28 = amdappsdk.override {
75017489 version = "2.8";
75027490 };
75037491
7504− amdappsdk = amdappsdk28;
7492+ amdappsdk = callPackage ../development/misc/amdapp-sdk { };
75057493
7506− amdappsdkFull = callPackage ../development/misc/amdapp-sdk {
7507− version = "2.8";
7494+ amdappsdkFull = amdappsdk.override {
75087495 samples = true;
75097496 };
75107497
@@ -7599,11 +7586,9 @@ with pkgs;
75997586 antlr4_7 = callPackage ../development/tools/parsing/antlr/4.7.nix { };
76007587 antlr4 = antlr4_7;
76017588
7602− ant = apacheAnt;
7603−
76047589 apacheAnt = callPackage ../development/tools/build-managers/apache-ant { };
7605−
76067590 apacheAnt_1_9 = callPackage ../development/tools/build-managers/apache-ant/1.9.nix { };
7591+ ant = apacheAnt;
76077592
76087593 apacheKafka = apacheKafka_1_1;
76097594 apacheKafka_0_9 = callPackage ../servers/apache-kafka { majorVersion = "0.9"; };
@@ -7968,8 +7953,6 @@ with pkgs;
79687953
79697954 flexcpp = callPackage ../development/tools/parsing/flexc++ { };
79707955
7971− m4 = gnum4;
7972−
79737956 geis = callPackage ../development/libraries/geis {
79747957 inherit (xorg) libX11 libXext libXi libXtst;
79757958 };
@@ -7985,6 +7968,7 @@ with pkgs;
79857968 gnome-usage = callPackage ../applications/misc/gnome-usage {};
79867969
79877970 gnum4 = callPackage ../development/tools/misc/gnum4 { };
7971+ m4 = gnum4;
79887972
79897973 gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { };
79907974 gnumake3 = gnumake382;
@@ -8297,7 +8281,7 @@ with pkgs;
82978281 remake = callPackage ../development/tools/build-managers/remake { };
82988282
82998283 retdec = callPackage ../development/tools/analysis/retdec { };
8300− retdec-full = callPackage ../development/tools/analysis/retdec {
8284+ retdec-full = retdec.override {
83018285 withPEPatterns = true;
83028286 };
83038287
@@ -8476,8 +8460,6 @@ with pkgs;
84768460 };
84778461 xxdiff-tip = libsForQt5.callPackage ../development/tools/misc/xxdiff/tip.nix { };
84788462
8479− yacc = bison;
8480−
84818463 yaml2json = callPackage ../development/tools/yaml2json { };
84828464
84838465 ycmd = callPackage ../development/tools/misc/ycmd {
@@ -8808,11 +8790,6 @@ with pkgs;
88088790 dbus-sharp-glib-1_0 = callPackage ../development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix { };
88098791 dbus-sharp-glib-2_0 = callPackage ../development/libraries/dbus-sharp-glib { };
88108792
8811− # FIXME: deprecate these.
8812− dbus_tools = dbus.out;
8813− dbus_libs = dbus;
8814− dbus_daemon = dbus.daemon;
8815−
88168793 makeDBusConf = { suidHelper, serviceDirectories }:
88178794 callPackage ../development/libraries/dbus/make-dbus-conf.nix {
88188795 inherit suidHelper serviceDirectories;
@@ -9039,8 +9016,6 @@ with pkgs;
90399016
90409017 funambol = callPackage ../development/libraries/funambol { };
90419018
9042− fam = gamin;
9043−
90449019 gamin = callPackage ../development/libraries/gamin { };
90459020
90469021 ganv = callPackage ../development/libraries/ganv { };
@@ -9092,8 +9067,6 @@ with pkgs;
90929067
90939068 gettext = callPackage ../development/libraries/gettext { };
90949069
9095− gflags = google-gflags;
9096−
90979070 gf2x = callPackage ../development/libraries/gf2x {};
90989071
90999072 gd = callPackage ../development/libraries/gd {
@@ -9155,7 +9128,7 @@ with pkgs;
91559128 stdenv = crossLibcStdenv;
91569129 };
91579130
9158− muslCross = callPackage ../os-specific/linux/musl {
9131+ muslCross = musl.override {
91599132 stdenv = crossLibcStdenv;
91609133 };
91619134
@@ -9252,22 +9225,6 @@ with pkgs;
92529225 callPackage = pkgs.newScope (pkgs // { libav = pkgs.ffmpeg; });
92539226 });
92549227
9255− gst_all = {
9256− inherit (pkgs) gstreamer gnonlin gst-python qt-gstreamer;
9257− gstPluginsBase = pkgs.gst-plugins-base;
9258− gstPluginsBad = pkgs.gst-plugins-bad;
9259− gstPluginsGood = pkgs.gst-plugins-good;
9260− gstPluginsUgly = pkgs.gst-plugins-ugly;
9261− gstFfmpeg = pkgs.gst-ffmpeg;
9262−
9263− # aliases with the dashed naming, same as in gst_all_1
9264− gst-plugins-base = pkgs.gst-plugins-base;
9265− gst-plugins-bad = pkgs.gst-plugins-bad;
9266− gst-plugins-good = pkgs.gst-plugins-good;
9267− gst-plugins-ugly = pkgs.gst-plugins-ugly;
9268− gst-ffmpeg = pkgs.gst-ffmpeg;
9269− };
9270−
92719228 gstreamer = callPackage ../development/libraries/gstreamer/legacy/gstreamer {
92729229 bison = bison2;
92739230 };
@@ -9434,13 +9391,15 @@ with pkgs;
94349391 gtk-sharp-beans = callPackage ../development/libraries/gtk-sharp-beans { };
94359392
94369393 gtk-mac-integration = callPackage ../development/libraries/gtk-mac-integration {
9437− gtk = gtk2;
9394+ gtk = gtk3;
94389395 };
94399396
9440− gtk-mac-integration-gtk3 = callPackage ../development/libraries/gtk-mac-integration {
9441− gtk = gtk3;
9397+ gtk-mac-integration-gtk2 = gtk-mac-integration.override {
9398+ gtk = gtk2;
94429399 };
94439400
9401+ gtk-mac-integration-gtk3 = gtk-mac-integration;
9402+
94449403 gtk-mac-bundler = callPackage ../development/tools/gtk-mac-bundler {};
94459404
94469405 gtksourceview = gtksourceview3;
@@ -9467,15 +9426,13 @@ with pkgs;
94679426
94689427 hamlib = callPackage ../development/libraries/hamlib { };
94699428
9470− # TODO : Let admin choose.
9471− # We are using mit-krb5 because it is better maintained
9472− kerberos = libkrb5;
9473−
9474− heimdalFull = callPackage ../development/libraries/kerberos/heimdal.nix { };
9475− libheimdal = heimdalFull.override { type = "lib"; };
9429+ heimdal = callPackage ../development/libraries/kerberos/heimdal.nix {
9430+ inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration;
9431+ };
9432+ libheimdal = heimdal.override { type = "lib"; };
94769433
94779434 harfbuzz = callPackage ../development/libraries/harfbuzz { };
9478− harfbuzz-icu = callPackage ../development/libraries/harfbuzz {
9435+ harfbuzz-icu = harfbuzz.override {
94799436 withIcu = true;
94809437 withGraphite2 = true;
94819438 };
@@ -9525,7 +9482,7 @@ with pkgs;
95259482
95269483 hwloc = callPackage ../development/libraries/hwloc {};
95279484
9528− hwloc-nox = callPackage ../development/libraries/hwloc {
9485+ hwloc-nox = hwloc.override {
95299486 x11Support = false;
95309487 };
95319488
@@ -9662,10 +9619,11 @@ with pkgs;
96629619
96639620 kinetic-cpp-client = callPackage ../development/libraries/kinetic-cpp-client { };
96649621
9665− krb5Full = callPackage ../development/libraries/kerberos/krb5.nix {
9622+ krb5 = callPackage ../development/libraries/kerberos/krb5.nix {
96669623 inherit (darwin) bootstrap_cmds;
96679624 };
9668− libkrb5 = krb5Full.override {
9625+ krb5Full = krb5;
9626+ libkrb5 = krb5.override {
96699627 fetchurl = fetchurlBoot;
96709628 type = "lib";
96719629 };
@@ -9724,8 +9682,9 @@ with pkgs;
97249682
97259683 libaom = callPackage ../development/libraries/libaom { };
97269684
9727− libappindicator-gtk2 = callPackage ../development/libraries/libappindicator { gtkVersion = "2"; };
9728− libappindicator-gtk3 = callPackage ../development/libraries/libappindicator { gtkVersion = "3"; };
9685+ libappindicator-gtk2 = libappindicator.override { gtkVersion = "2"; };
9686+ libappindicator-gtk3 = libappindicator.override { gtkVersion = "3"; };
9687+ libappindicator = callPackage ../development/libraries/libappindicator { };
97299688
97309689 libarchive = callPackage ../development/libraries/libarchive { };
97319690
@@ -9857,18 +9816,16 @@ with pkgs;
98579816
98589817 libdbi = callPackage ../development/libraries/libdbi { };
98599818
9860− libdbiDriversBase = callPackage ../development/libraries/libdbi-drivers {
9819+ libdbiDriversBase = libdbiDrivers.override {
98619820 mysql = null;
98629821 sqlite = null;
98639822 };
98649823
9865− libdbiDrivers = libdbiDriversBase.override {
9866− inherit sqlite mysql;
9867− };
9824+ libdbiDrivers = callPackage ../development/libraries/libdbi-drivers { };
98689825
9869− libdbusmenu-glib = callPackage ../development/libraries/libdbusmenu { };
9870− libdbusmenu-gtk2 = callPackage ../development/libraries/libdbusmenu { gtkVersion = "2"; };
9871− libdbusmenu-gtk3 = callPackage ../development/libraries/libdbusmenu { gtkVersion = "3"; };
9826+ libdbusmenu = callPackage ../development/libraries/libdbusmenu { };
9827+ libdbusmenu-gtk2 = libdbusmenu.override { gtkVersion = "2"; };
9828+ libdbusmenu-gtk3 = libdbusmenu.override { gtkVersion = "3"; };
98729829
98739830 libdbusmenu_qt = callPackage ../development/libraries/libdbusmenu-qt { };
98749831
@@ -9947,7 +9904,7 @@ with pkgs;
99479904 libfilezilla = callPackage ../development/libraries/libfilezilla { };
99489905
99499906 libfm = callPackage ../development/libraries/libfm { };
9950− libfm-extra = callPackage ../development/libraries/libfm {
9907+ libfm-extra = libfm.override {
99519908 extraOnly = true;
99529909 };
99539910
@@ -9992,8 +9949,6 @@ with pkgs;
99929949
99939950 liblo = callPackage ../development/libraries/liblo { };
99949951
9995− liblrdf = librdf;
9996−
99979952 liblscp = callPackage ../development/libraries/liblscp { };
99989953
99999954 libe-book = callPackage ../development/libraries/libe-book {};
@@ -10090,11 +10045,13 @@ with pkgs;
1009010045
1009110046 libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
1009210047
10093− libindicate-gtk2 = callPackage ../development/libraries/libindicate { gtkVersion = "2"; };
10094− libindicate-gtk3 = callPackage ../development/libraries/libindicate { gtkVersion = "3"; };
10048+ libindicate-gtk2 = libindicate.override { gtkVersion = "2"; };
10049+ libindicate-gtk3 = libindicate.override { gtkVersion = "3"; };
10050+ libindicate = callPackage ../development/libraries/libindicate { };
1009510051
10096− libindicator-gtk2 = callPackage ../development/libraries/libindicator { gtkVersion = "2"; };
10097− libindicator-gtk3 = callPackage ../development/libraries/libindicator { gtkVersion = "3"; };
10052+ libindicator-gtk2 = libindicator.override { gtkVersion = "2"; };
10053+ libindicator-gtk3 = libindicator.override { gtkVersion = "3"; };
10054+ libindicator = callPackage ../development/libraries/libindicator { };
1009810055
1009910056 libiodbc = callPackage ../development/libraries/libiodbc {
1010010057 useGTK = config.libiodbc.gtk or false;
@@ -10252,7 +10209,7 @@ with pkgs;
1025210209 libjpeg_original = callPackage ../development/libraries/libjpeg { };
1025310210 libjpeg_turbo = callPackage ../development/libraries/libjpeg-turbo { };
1025410211 libjpeg_drop = callPackage ../development/libraries/libjpeg-drop { };
10255− libjpeg = if stdenv.isLinux then libjpeg_turbo else libjpeg_original; # some problems, both on FreeBSD and Darwin
10212+ libjpeg = libjpeg_turbo;
1025610213
1025710214 libjreen = callPackage ../development/libraries/libjreen { };
1025810215
@@ -10691,7 +10648,7 @@ with pkgs;
1069110648
1069210649 luabind = callPackage ../development/libraries/luabind { lua = lua5_1; };
1069310650
10694− luabind_luajit = callPackage ../development/libraries/luabind { lua = luajit; };
10651+ luabind_luajit = luabind.override { lua = luajit; };
1069510652
1069610653 luaffi = callPackage ../development/libraries/luaffi { lua = lua5_1; };
1069710654
@@ -10849,13 +10806,16 @@ with pkgs;
1084910806
1085010807 notify-sharp = callPackage ../development/libraries/notify-sharp { };
1085110808
10852− ncurses5 = callPackage ../development/libraries/ncurses {
10809+ ncurses5 = ncurses.override {
1085310810 abiVersion = "5";
1085410811 };
10855− ncurses6 = callPackage ../development/libraries/ncurses {
10812+ ncurses6 = ncurses.override {
1085610813 abiVersion = "6";
1085710814 };
10858− ncurses = if hostPlatform.useiOSPrebuilt then null else ncurses6;
10815+ ncurses =
10816+ if hostPlatform.useiOSPrebuilt
10817+ then null
10818+ else callPackage ../development/libraries/ncurses { };
1085910819
1086010820 neardal = callPackage ../development/libraries/neardal { };
1086110821
@@ -10929,8 +10889,6 @@ with pkgs;
1092910889
1093010890 oobicpl = callPackage ../development/libraries/science/biology/oobicpl { };
1093110891
10932− openal = self.openalSoft;
10933−
1093410892 openalSoft = callPackage ../development/libraries/openal-soft {
1093510893 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit AudioToolbox;
1093610894 };
@@ -10939,8 +10897,6 @@ with pkgs;
1093910897
1094010898 opencascade = callPackage ../development/libraries/opencascade { };
1094110899
10942− opencascade_oce = opencascade;
10943−
1094410900 opencl-headersGen = v: callPackage ../development/libraries/opencl-headers { version = v; };
1094510901 opencl-headers_1_2 = opencl-headersGen "12";
1094610902 opencl-headers_2_2 = opencl-headersGen "22";
@@ -10969,9 +10925,6 @@ with pkgs;
1096910925 enableCuda = false;
1097010926 };
1097110927
10972− # this ctl version is needed by openexr_viewers
10973− openexr_ctl = ctl;
10974−
1097510928 openexr = callPackage ../development/libraries/openexr { };
1097610929
1097710930 openexrid-unstable = callPackage ../development/libraries/openexrid-unstable { };
@@ -11118,8 +11071,6 @@ with pkgs;
1111811071
1111911072 poker-eval = callPackage ../development/libraries/poker-eval { };
1112011073
11121− polarssl = mbedtls;
11122−
1112311074 polkit = callPackage ../development/libraries/polkit { };
1112411075
1112511076 polkit_qt4 = callPackage ../development/libraries/polkit-qt-1/qt-4.nix { };
@@ -11131,7 +11082,10 @@ with pkgs;
1113111082 introspectionSupport = true;
1113211083 });
1113311084
11134− poppler_min = poppler.override { # TODO: maybe reduce even more
11085+ poppler_min = poppler_0_61.override { # TODO: maybe reduce even more
11086+ # this is currently only used by texlive.bin.
11087+ # pinned to 0.61 because texlive 2017 doesn't build w/poppler 0.64
11088+ # TODO: review poppler version for texlive 2018
1113511089 minimal = true;
1113611090 suffix = "min";
1113711091 };
@@ -11187,7 +11141,7 @@ with pkgs;
1118711141 qbs = callPackage ../development/tools/build-managers/qbs { };
1118811142
1118911143 qca2 = callPackage ../development/libraries/qca2 { qt = qt4; };
11190− qca2-qt5 = callPackage ../development/libraries/qca2 { qt = qt5.qtbase; };
11144+ qca2-qt5 = qca2.override { qt = qt5.qtbase; };
1119111145
1119211146 qimageblitz = callPackage ../development/libraries/qimageblitz {};
1119311147
@@ -11354,9 +11308,7 @@ with pkgs;
1135411308 withQt5 = true;
1135511309 };
1135611310
11357− phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix {
11358− withQt5 = true;
11359− };
11311+ phonon-backend-vlc = callPackage ../development/libraries/phonon/backends/vlc.nix { };
1136011312
1136111313 polkit-qt = callPackage ../development/libraries/polkit-qt-1/qt-5.nix { };
1136211314
@@ -11391,11 +11343,7 @@ with pkgs;
1139111343
1139211344 telepathy = callPackage ../development/libraries/telepathy/qt { };
1139311345
11394− vlc = lowPrio (callPackage ../applications/video/vlc {
11395− qt4 = null;
11396− withQt5 = true;
11397− ffmpeg = ffmpeg_2;
11398− });
11346+ vlc = callPackage ../applications/video/vlc {};
1139911347
1140011348 qtwebkit-plugins = callPackage ../development/libraries/qtwebkit-plugins { };
1140111349
@@ -11478,8 +11426,6 @@ with pkgs;
1147811426
1147911427 qrupdate = callPackage ../development/libraries/qrupdate { };
1148011428
11481− redland = pkgs.librdf_redland;
11482−
1148311429 resolv_wrapper = callPackage ../development/libraries/resolv_wrapper { };
1148411430
1148511431 rhino = callPackage ../development/libraries/java/rhino {
@@ -11656,7 +11602,6 @@ with pkgs;
1165611602 speechd = callPackage ../development/libraries/speechd { };
1165711603
1165811604 speech-tools = callPackage ../development/libraries/speech-tools {};
11659− speech_tools = speech-tools;
1166011605
1166111606 speex = callPackage ../development/libraries/speex {
1166211607 fftw = fftwFloat;
@@ -11693,7 +11638,7 @@ with pkgs;
1169311638
1169411639 sqlite = lowPrio (callPackage ../development/libraries/sqlite { });
1169511640
11696− sqlite3_analyzer = lowPrio (callPackage ../development/libraries/sqlite/sqlite3_analyzer.nix { });
11641+ sqlite-analyzer = lowPrio (callPackage ../development/libraries/sqlite/analyzer.nix { });
1169711642
1169811643 sqlar = callPackage ../development/libraries/sqlite/sqlar.nix { };
1169911644
@@ -11722,17 +11667,16 @@ with pkgs;
1172211667
1172311668 subtitleeditor = callPackage ../applications/video/subtitleeditor { };
1172411669
11725− suil-qt4 = callPackage ../development/libraries/audio/suil {
11726− withQt4 = true;
11727− withQt5 = false;
11728− };
11670+ suil = callPackage ../development/libraries/audio/suil { };
1172911671
11730− suil-qt5 = callPackage ../development/libraries/audio/suil {
11672+ suil-qt5 = suil.override {
1173111673 withQt4 = false;
1173211674 withQt5 = true;
1173311675 };
11734−
11735− suil = suil-qt4;
11676+ suil-qt4 = suil.override {
11677+ withQt4 = true;
11678+ withQt5 = false;
11679+ };
1173611680
1173711681 sundials = callPackage ../development/libraries/sundials { };
1173811682
@@ -12127,7 +12071,7 @@ with pkgs;
1212712071
1212812072 zlog = callPackage ../development/libraries/zlog { };
1212912073
12130− zlibStatic = lowPrio (appendToName "static" (callPackage ../development/libraries/zlib {
12074+ zlibStatic = lowPrio (appendToName "static" (zlib.override {
1213112075 static = true;
1213212076 }));
1213312077
@@ -12433,8 +12377,6 @@ with pkgs;
1243312377 java = jdk;
1243412378 };
1243512379
12436− fuseki = apache-jena-fuseki;
12437−
1243812380 apcupsd = callPackage ../servers/apcupsd { };
1243912381
1244012382 asterisk = asterisk-stable;
@@ -12456,7 +12398,6 @@ with pkgs;
1245612398 bird bird6 bird2;
1245712399
1245812400 bosun = callPackage ../servers/monitoring/bosun { };
12459− scollector = bosun;
1246012401
1246112402 cayley = callPackage ../servers/cayley { };
1246212403
@@ -12529,8 +12470,6 @@ with pkgs;
1252912470 v8 = v8_6_x;
1253012471 };
1253112472
12532− etcdctl = etcd;
12533−
1253412473 exim = callPackage ../servers/mail/exim { };
1253512474
1253612475 facette = callPackage ../servers/monitoring/facette { };
@@ -12544,7 +12483,7 @@ with pkgs;
1254412483 fingerd_bsd = callPackage ../servers/fingerd/bsd-fingerd { };
1254512484
1254612485 firebird = callPackage ../servers/firebird { icu = null; stdenv = overrideCC stdenv gcc5; };
12547− firebirdSuper = callPackage ../servers/firebird { icu = icu58; superServer = true; stdenv = overrideCC stdenv gcc5; };
12486+ firebirdSuper = firebird.override { icu = icu58; superServer = true; stdenv = overrideCC stdenv gcc5; };
1254812487
1254912488 foswiki = callPackage ../servers/foswiki { };
1255012489
@@ -12659,12 +12598,10 @@ with pkgs;
1265912598 modules = [ nginxModules.dav nginxModules.moreheaders ];
1266012599 };
1266112600
12662− nginxUnstable = nginxMainline;
12663−
1266412601 nginxModules = callPackage ../servers/http/nginx/modules.nix { };
1266512602
1266612603 # We should move to dynmaic modules and create a nginxFull package with all modules
12667− nginxShibboleth = callPackage ../servers/http/nginx/stable.nix {
12604+ nginxShibboleth = nginxStable.override {
1266812605 modules = [ nginxModules.rtmp nginxModules.dav nginxModules.moreheaders nginxModules.shibboleth ];
1266912606 };
1267012607
@@ -12718,13 +12655,11 @@ with pkgs;
1271812655
1271912656 # PulseAudio daemons
1272012657
12721− # Name is changed to prevent use in packages;
12722− # please use libpulseaudio instead.
12723− pulseaudioLight = callPackage ../servers/pulseaudio {
12658+ pulseaudio = callPackage ../servers/pulseaudio {
1272412659 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
1272512660 };
1272612661
12727− pulseaudioFull = callPackage ../servers/pulseaudio {
12662+ pulseaudioFull = pulseaudio.override {
1272812663 gconf = gnome3.gconf;
1272912664 x11Support = true;
1273012665 jackaudioSupport = true;
@@ -12737,8 +12672,7 @@ with pkgs;
1273712672 };
1273812673
1273912674 # libpulse implementations
12740−
12741− libpulseaudio-vanilla = callPackage ../servers/pulseaudio {
12675+ libpulseaudio-vanilla = pulseaudio.override {
1274212676 libOnly = true;
1274312677 inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
1274412678 };
@@ -12802,8 +12736,6 @@ with pkgs;
1280212736 boost = boost159;
1280312737 };
1280412738
12805− mysql = mariadb;
12806−
1280712739 mysql_jdbc = callPackage ../servers/sql/mysql/jdbc { };
1280812740
1280912741 nagios = callPackage ../servers/monitoring/nagios { };
@@ -12811,7 +12743,6 @@ with pkgs;
1281112743 munin = callPackage ../servers/monitoring/munin { };
1281212744
1281312745 monitoring-plugins = callPackage ../servers/monitoring/plugins { };
12814− nagiosPluginsOfficial = monitoring-plugins;
1281512746
1281612747 inherit (callPackage ../servers/monitoring/plugins/labs_consol_de.nix { inherit (perlPackages) NetSNMP; })
1281712748 check-nwc-health
@@ -12848,8 +12779,8 @@ with pkgs;
1284812779 qboot = callPackage ../applications/virtualization/qboot { stdenv = stdenv_32bit; };
1284912780
1285012781 OVMF = callPackage ../applications/virtualization/OVMF { seabios = null; openssl = null; };
12851− OVMF-CSM = callPackage ../applications/virtualization/OVMF { openssl = null; };
12852− #WIP: OVMF-secureBoot = callPackage ../applications/virtualization/OVMF { seabios = null; secureBoot = true; };
12782+ OVMF-CSM = OVMF.override { openssl = null; };
12783+ #WIP: OVMF-secureBoot = OVMF.override { seabios = null; secureBoot = true; };
1285312784
1285412785 seabios = callPackage ../applications/virtualization/seabios { };
1285512786
@@ -12968,7 +12899,6 @@ with pkgs;
1296812899
1296912900 deadpixi-sam-unstable = callPackage ../applications/editors/deadpixi-sam { };
1297012901 deadpixi-sam = deadpixi-sam-unstable;
12971− sam = deadpixi-sam;
1297212902
1297312903 samba3 = callPackage ../servers/samba/3.x.nix { };
1297412904
@@ -12980,8 +12910,6 @@ with pkgs;
1298012910
1298112911 samba = samba4;
1298212912
12983− smbclient = samba;
12984−
1298512913 # A lightweight Samba 3, useful for non-Linux-based OSes.
1298612914 samba3_light = lowPrio (samba3.override {
1298712915 pam = null;
@@ -13045,10 +12973,6 @@ with pkgs;
1304512973 storm = callPackage ../servers/computing/storm { };
1304612974
1304712975 slurm = callPackage ../servers/computing/slurm { gtk2 = null; };
13048− slurm-llnl = slurm; # renamed July 2017
13049−
13050− slurm-full = appendToName "full" (callPackage ../servers/computing/slurm { });
13051− slurm-llnl-full = slurm-full; # renamed July 2017
1305212976
1305312977 slurm-spank-x11 = callPackage ../servers/computing/slurm-spank-x11 { };
1305412978
@@ -13195,7 +13119,6 @@ with pkgs;
1319513119 atop = callPackage ../os-specific/linux/atop { };
1319613120
1319713121 audit = callPackage ../os-specific/linux/audit { };
13198− libaudit = audit;
1319913122
1320013123 b43Firmware_5_1_138 = callPackage ../os-specific/linux/firmware/b43-firmware/5.1.138.nix { };
1320113124
@@ -13261,8 +13184,6 @@ with pkgs;
1326113184 # `.override` clobbered. C.F. `llvmPackages` which does the same.
1326213185 darwin = callPackage ./darwin-packages.nix { };
1326313186
13264− devicemapper = lvm2;
13265−
1326613187 disk_indicator = callPackage ../os-specific/linux/disk-indicator { };
1326713188
1326813189 displaylink = callPackage ../os-specific/linux/displaylink {
@@ -13324,10 +13245,10 @@ with pkgs;
1332413245
1332513246 fatrace = callPackage ../os-specific/linux/fatrace { };
1332613247
13327− ffadoFull = callPackage ../os-specific/linux/ffado {
13248+ ffado = callPackage ../os-specific/linux/ffado {
1332813249 inherit (python2Packages) python pyqt4 dbus-python;
1332913250 };
13330− libffado = ffadoFull.override { prefix = "lib"; };
13251+ libffado = ffado.override { prefix = "lib"; };
1333113252
1333213253 fbterm = callPackage ../os-specific/linux/fbterm { };
1333313254
@@ -13422,7 +13343,7 @@ with pkgs;
1342213343 iwd = callPackage ../os-specific/linux/iwd { };
1342313344
1342413345 jfbview = callPackage ../os-specific/linux/jfbview { };
13425− jfbpdf = callPackage ../os-specific/linux/jfbview {
13346+ jfbpdf = jfbview.override {
1342613347 imageSupport = false;
1342713348 };
1342813349
@@ -13868,8 +13789,6 @@ with pkgs;
1386813789
1386913790 kmod-debian-aliases = callPackage ../os-specific/linux/kmod-debian-aliases { };
1387013791
13871− kvm = qemu_kvm;
13872−
1387313792 libcap = callPackage ../os-specific/linux/libcap { };
1387413793
1387513794 libcap_ng = callPackage ../os-specific/linux/libcap-ng {
@@ -13910,14 +13829,6 @@ with pkgs;
1391013829 musl-fts = callPackage ../os-specific/linux/musl/fts.nix { };
1391113830 musl-getconf = callPackage ../os-specific/linux/musl/getconf.nix { };
1391213831 musl-getent = callPackage ../os-specific/linux/musl/getent.nix { };
13913− getent =
13914− if hostPlatform.isMusl then musl-getent
13915− # This may not be right on other platforms, but preserves existing behavior
13916− else /* if hostPlatform.libc == "glibc" then */ glibc.bin;
13917−
13918− getconf =
13919− if hostPlatform.isMusl then musl-getconf
13920− else lib.getBin stdenv.cc.libc;
1392113832
1392213833 nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { }
1392313834 else unixtools.nettools;
@@ -14057,8 +13968,6 @@ with pkgs;
1405713968
1405813969 prayer = callPackage ../servers/prayer { };
1405913970
14060− procps = procps-ng;
14061−
1406213971 procps-ng = if stdenv.isLinux then callPackage ../os-specific/linux/procps-ng { }
1406313972 else unixtools.procps;
1406413973
@@ -14147,10 +14056,6 @@ with pkgs;
1414714056
1414814057 sysprof = callPackage ../development/tools/profiling/sysprof { };
1414914058
14150− # Provided with sysfsutils.
14151− libsysfs = sysfsutils;
14152− systool = sysfsutils;
14153−
1415414059 sysklogd = callPackage ../os-specific/linux/sysklogd { };
1415514060
1415614061 syslinux = callPackage ../os-specific/linux/syslinux { };
@@ -14174,7 +14079,7 @@ with pkgs;
1417414079
1417514080 sysvinit = callPackage ../os-specific/linux/sysvinit { };
1417614081
14177− sysvtools = callPackage ../os-specific/linux/sysvinit {
14082+ sysvtools = sysvinit.override {
1417814083 withoutInitTools = true;
1417914084 };
1418014085
@@ -14226,9 +14131,6 @@ with pkgs;
1422614131 stdenv = crossLibcStdenv;
1422714132 };
1422814133
14229− udev = systemd;
14230− libudev = udev;
14231−
1423214134 eudev = callPackage ../os-specific/linux/eudev {};
1423314135
1423414136 libudev0-shim = callPackage ../os-specific/linux/libudev0-shim/default.nix { };
@@ -14426,10 +14328,6 @@ with pkgs;
1442614328 docbook_xsl
1442714329 docbook_xsl_ns;
1442814330
14429− docbook_xml_xslt = docbook_xsl;
14430−
14431− docbook5_xsl = docbook_xsl_ns;
14432−
1443314331 documentation-highlighter = callPackage ../misc/documentation-highlighter { };
1443414332
1443514333 cabin = callPackage ../data/fonts/cabin { };
@@ -15266,7 +15164,7 @@ with pkgs;
1526615164 };
1526715165
1526815166 codeblocks = callPackage ../applications/editors/codeblocks { };
15269− codeblocksFull = callPackage ../applications/editors/codeblocks { contribPlugins = true; };
15167+ codeblocksFull = codeblocks.override { contribPlugins = true; };
1527015168
1527115169 comical = callPackage ../applications/graphics/comical { };
1527215170
@@ -15375,8 +15273,6 @@ with pkgs;
1537515273 inherit (python3Packages) buildPythonApplication requests;
1537615274 };
1537715275
15378− dmtx = dmtx-utils;
15379−
1538015276 dmtx-utils = callPackage (callPackage ../tools/graphics/dmtx-utils) {
1538115277 };
1538215278
@@ -15506,9 +15402,6 @@ with pkgs;
1550615402 ImageCaptureCore GSS ImageIO;
1550715403 };
1550815404
15509− # for backwards compatibility
15510− emacs25Macport_25_1 = emacs25Macport;
15511−
1551215405 emacsPackagesGen = emacs: self: let callPackage = newScope self; in rec {
1551315406 inherit emacs;
1551415407
@@ -15743,7 +15636,6 @@ with pkgs;
1574315636 keepass-keepasshttp = callPackage ../applications/misc/keepass-plugins/keepasshttp { };
1574415637
1574515638 keepass-keepassrpc = callPackage ../applications/misc/keepass-plugins/keepassrpc { };
15746− keepass-keefox = keepass-keepassrpc; # backwards compatibility alias, added 2018-02
1574715639
1574815640 exrdisplay = callPackage ../applications/graphics/exrdisplay { };
1574915641
@@ -15765,9 +15657,9 @@ with pkgs;
1576515657
1576615658 fldigi = callPackage ../applications/audio/fldigi { };
1576715659
15768− flink = flink_1_4;
15769− flink_1_3 = callPackage ../applications/networking/cluster/flink { version = "1.3"; };
15770− flink_1_4 = callPackage ../applications/networking/cluster/flink { version = "1.4"; };
15660+ flink = callPackage ../applications/networking/cluster/flink { };
15661+ flink_1_3 = flink.override { version = "1.3"; };
15662+ flink_1_4 = flink.override { version = "1.4"; };
1577115663
1577215664 fluidsynth = callPackage ../applications/audio/fluidsynth {
1577315665 inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
@@ -15904,19 +15796,16 @@ with pkgs;
1590415796
1590515797 welle-io = libsForQt5.callPackage ../applications/misc/welle-io { };
1590615798
15907− wireshark-cli = callPackage ../applications/networking/sniffers/wireshark {
15908− withQt = false;
15799+ wireshark = callPackage ../applications/networking/sniffers/wireshark {
15800+ withQt = true;
1590915801 withGtk = false;
1591015802 inherit (darwin.apple_sdk.frameworks) ApplicationServices SystemConfiguration;
1591115803 };
15912−
15913− # the cli binary is actually called tshark and often packaged under this name
15914− tshark = wireshark-cli;
15804+ wireshark-qt = wireshark;
1591515805
1591615806 # The GTK UI is deprecated by upstream. You probably want the QT version.
15917− wireshark-gtk = wireshark-cli.override { withGtk = true; };
15918− wireshark-qt = wireshark-cli.override { withQt = true; };
15919− wireshark = wireshark-qt;
15807+ wireshark-gtk = wireshark.override { withGtk = true; };
15808+ wireshark-cli = wireshark.override { withGtk = false; withQt = false; };
1592015809
1592115810 fbida = callPackage ../applications/graphics/fbida { };
1592215811
@@ -15937,11 +15826,14 @@ with pkgs;
1593715826 });
1593815827
1593915828 firefox-unwrapped = firefoxPackages.firefox;
15940− firefox-esr-unwrapped = firefoxPackages.firefox-esr;
15829+ firefox-esr-52-unwrapped = firefoxPackages.firefox-esr-52;
15830+ firefox-esr-60-unwrapped = firefoxPackages.firefox-esr-60;
1594115831 tor-browser-unwrapped = firefoxPackages.tor-browser;
1594215832
1594315833 firefox = wrapFirefox firefox-unwrapped { };
15944− firefox-esr = wrapFirefox firefox-esr-unwrapped { };
15834+ firefox-esr-52 = wrapFirefox firefox-esr-52-unwrapped { };
15835+ firefox-esr-60 = wrapFirefox firefox-esr-60-unwrapped { };
15836+ firefox-esr = firefox-esr-60;
1594515837
1594615838 firefox-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin {
1594715839 channel = "release";
@@ -15958,7 +15850,7 @@ with pkgs;
1595815850 desktopName = "Firefox";
1595915851 };
1596015852
15961− firefox-beta-bin-unwrapped = callPackage ../applications/networking/browsers/firefox-bin {
15853+ firefox-beta-bin-unwrapped = firefox-bin-unwrapped.override {
1596215854 channel = "beta";
1596315855 generated = import ../applications/networking/browsers/firefox-bin/beta_sources.nix;
1596415856 gconf = pkgs.gnome2.GConf;
@@ -16200,7 +16092,7 @@ with pkgs;
1620016092 };
1620116093
1620216094 graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
16203− graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
16095+ graphicsmagick_q16 = graphicsmagick.override { quantumdepth = 16; };
1620416096
1620516097 graphicsmagick-imagemagick-compat = callPackage ../applications/graphics/graphicsmagick/compat.nix { };
1620616098
@@ -16442,13 +16334,12 @@ with pkgs;
1644216334 libwebp = null;
1644316335 };
1644416336
16445− imagemagick = imagemagickBig.override {
16337+ imagemagick = callPackage ../applications/graphics/ImageMagick {
16338+ inherit (darwin.apple_sdk.frameworks) ApplicationServices;
1644616339 ghostscript = null;
1644716340 };
1644816341
16449− imagemagickBig = callPackage ../applications/graphics/ImageMagick {
16450− inherit (darwin.apple_sdk.frameworks) ApplicationServices;
16451− };
16342+ imagemagickBig = imagemagick.override { inherit ghostscript; };
1645216343
1645316344 imagemagick7_light = lowPrio (imagemagick7.override {
1645416345 bzip2 = null;
@@ -16704,58 +16595,39 @@ with pkgs;
1670416595 libowfat = callPackage ../development/libraries/libowfat { };
1670516596
1670616597 librecad = callPackage ../applications/misc/librecad { };
16707− librecad2 = librecad; # backwards compatibility alias, added 2015-10
1670816598
1670916599 libreoffice = hiPrio libreoffice-still;
1671016600
16711− libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix
16712− { libreoffice = callPackage ../applications/office/libreoffice {
16713− inherit (perlPackages) ArchiveZip CompressZlib;
16714− inherit (gnome2) GConf ORBit2 gnome_vfs;
16715− inherit (gnome3) defaultIconTheme;
16716− zip = zip.override { enableNLS = false; };
16717− fontsConf = makeFontsConf {
16718− fontDirectories = [
16719− carlito dejavu_fonts
16720− freefont_ttf xorg.fontmiscmisc
16721− liberation_ttf_v1_binary
16722− liberation_ttf_v2_binary
16723− ];
16724− };
16725− clucene_core = clucene_core_2;
16726− lcms = lcms2;
16727− harfbuzz = harfbuzz.override {
16728− withIcu = true; withGraphite2 = true;
16729− };
16730− # checking whether g++ supports C++14 or C++11... configure: error: no
16731− # Still relevant: 2018-04-13
16732− stdenv = overrideCC stdenv gcc5;
16733− };});
16734−
16735− libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix
16736− { libreoffice = callPackage ../applications/office/libreoffice/still.nix {
16737− inherit (perlPackages) ArchiveZip CompressZlib;
16738− inherit (gnome2) GConf ORBit2 gnome_vfs;
16739− inherit (gnome3) defaultIconTheme;
16740− zip = zip.override { enableNLS = false; };
16601+ libreoffice-unwrapped =callPackage ../applications/office/libreoffice {
16602+ inherit (perlPackages) ArchiveZip CompressZlib;
16603+ inherit (gnome2) GConf ORBit2 gnome_vfs;
16604+ inherit (gnome3) defaultIconTheme;
16605+ zip = zip.override { enableNLS = false; };
16606+ fontsConf = makeFontsConf {
16607+ fontDirectories = [
16608+ carlito dejavu_fonts
16609+ freefont_ttf xorg.fontmiscmisc
16610+ liberation_ttf_v1_binary
16611+ liberation_ttf_v2_binary
16612+ ];
16613+ };
16614+ clucene_core = clucene_core_2;
16615+ lcms = lcms2;
16616+ harfbuzz = harfbuzz.override {
16617+ withIcu = true; withGraphite2 = true;
16618+ };
16619+ # checking whether g++ supports C++14 or C++11... configure: error: no
16620+ # Still relevant: 2018-04-13
16621+ stdenv = overrideCC stdenv gcc5;
16622+ };
16623+
16624+ libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { libreoffice = libreoffice-unwrapped; });
16625+
16626+ libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix {
16627+ libreoffice = libreoffice-unwrapped.override {
1674116628 poppler = poppler_0_61;
16742− fontsConf = makeFontsConf {
16743− fontDirectories = [
16744− carlito dejavu_fonts
16745− freefont_ttf xorg.fontmiscmisc
16746− liberation_ttf_v1_binary
16747− liberation_ttf_v2_binary
16748− ];
16749− };
16750− clucene_core = clucene_core_2;
16751− lcms = lcms2;
16752− harfbuzz = harfbuzz.override {
16753− withIcu = true; withGraphite2 = true;
16754− };
16755− # checking whether g++ supports C++14 or C++11... configure: error: no
16756− # Still relevant: 2018-04-13; gcc6 is not enough!
16757− stdenv = overrideCC stdenv gcc5;
16758− };});
16629+ };
16630+ });
1675916631
1676016632 liferea = callPackage ../applications/networking/newsreaders/liferea {
1676116633 inherit (gnome3) libpeas gsettings-desktop-schemas dconf;
@@ -17122,7 +16994,7 @@ with pkgs;
1712216994 libsForQt5.callPackage ../applications/audio/musescore { };
1712316995
1712416996 mutt = callPackage ../applications/networking/mailreaders/mutt { };
17125− mutt-with-sidebar = callPackage ../applications/networking/mailreaders/mutt {
16997+ mutt-with-sidebar = mutt.override {
1712616998 withSidebar = true;
1712716999 };
1712817000
@@ -18505,15 +18377,9 @@ with pkgs;
1850518377
1850618378 vkeybd = callPackage ../applications/audio/vkeybd {};
1850718379
18508− vlc = callPackage ../applications/video/vlc {
18509− ffmpeg = ffmpeg_2;
18510− };
18511−
18512− vlc_npapi = callPackage ../applications/video/vlc/plugin.nix {
18513− gtk = gtk2;
18514− };
18380+ vlc = libsForQt5.vlc;
1851518381
18516− vlc_qt5 = libsForQt5.vlc;
18382+ vlc_qt5 = vlc;
1851718383
1851818384 vmpk = callPackage ../applications/audio/vmpk { };
1851918385
@@ -18590,7 +18456,7 @@ with pkgs;
1859018456
1859118457 weechat-xmpp = callPackage ../applications/networking/instant-messengers/weechat-xmpp {};
1859218458
18593− westonLite = callPackage ../applications/window-managers/weston {
18459+ westonLite = weston.override {
1859418460 pango = null;
1859518461 freerdp = null;
1859618462 libunwind = null;
@@ -18770,15 +18636,12 @@ with pkgs;
1877018636 };
1877118637
1877218638 kodiPlain = callPackage ../applications/video/kodi { };
18773− xbmcPlain = kodiPlain;
1877418639
1877518640 kodiPlugins = recurseIntoAttrs (callPackage ../applications/video/kodi/plugins.nix {});
18776− xbmcPlugins = kodiPlugins;
1877718641
1877818642 kodi = wrapKodi {
1877918643 kodi = kodiPlain;
1878018644 };
18781− xbmc = kodi;
1878218645
1878318646 kodi-retroarch-advanced-launchers =
1878418647 callPackage ../misc/emulators/retroarch/kodi-advanced-launchers.nix {
@@ -18891,21 +18754,21 @@ with pkgs;
1889118754 packages = self: [];
1889218755 };
1889318756
18894− xmonad_log_applet_gnome2 = callPackage ../applications/window-managers/xmonad/log-applet {
18757+ xmonad_log_applet_gnome2 = xmonad_log_applet.override {
1889518758 desktopSupport = "gnome2";
1889618759 inherit (xfce) libxfce4util xfce4-panel;
1889718760 gnome2_panel = gnome2.gnome_panel;
1889818761 GConf2 = gnome2.GConf;
1889918762 };
1890018763
18901− xmonad_log_applet_gnome3 = callPackage ../applications/window-managers/xmonad/log-applet {
18764+ xmonad_log_applet = callPackage ../applications/window-managers/xmonad/log-applet {
1890218765 desktopSupport = "gnome3";
1890318766 inherit (xfce) libxfce4util xfce4-panel;
1890418767 gnome2_panel = gnome2.gnome_panel;
1890518768 GConf2 = gnome2.GConf;
1890618769 };
1890718770
18908− xmonad_log_applet_xfce = callPackage ../applications/window-managers/xmonad/log-applet {
18771+ xmonad_log_applet_xfce = xmonad_log_applet.override {
1890918772 desktopSupport = "xfce4";
1891018773 inherit (xfce) libxfce4util xfce4-panel;
1891118774 gnome2_panel = gnome2.gnome_panel;
@@ -19181,10 +19044,6 @@ with pkgs;
1918119044 physfs = physfs_2;
1918219045 };
1918319046
19184− # these are here for compatibility
19185− d1x_rebirth = dxx-rebirth;
19186− d2x_rebirth = dxx-rebirth;
19187−
1918819047 inherit (callPackages ../games/dxx-rebirth/assets.nix { })
1918919048 descent1-assets
1919019049 descent2-assets;
@@ -19217,13 +19076,13 @@ with pkgs;
1921719076
1921819077 factorio = callPackage ../games/factorio { releaseType = "alpha"; };
1921919078
19220− factorio-experimental = callPackage ../games/factorio { releaseType = "alpha"; experimental = true; };
19079+ factorio-experimental = factorio.override { releaseType = "alpha"; experimental = true; };
1922119080
19222− factorio-headless = callPackage ../games/factorio { releaseType = "headless"; };
19081+ factorio-headless = factorio.override { releaseType = "headless"; };
1922319082
19224− factorio-headless-experimental = callPackage ../games/factorio { releaseType = "headless"; experimental = true; };
19083+ factorio-headless-experimental = factorio.override { releaseType = "headless"; experimental = true; };
1922519084
19226− factorio-demo = callPackage ../games/factorio { releaseType = "demo"; };
19085+ factorio-demo = factorio.override { releaseType = "demo"; };
1922719086
1922819087 factorio-mods = callPackage ../games/factorio/mods.nix { };
1922919088
@@ -19457,7 +19316,7 @@ with pkgs;
1945719316
1945819317 pokerth = callPackage ../games/pokerth { };
1945919318
19460− pokerth-server = with callPackage ../games/pokerth { }; server;
19319+ pokerth-server = pokerth.server;
1946119320
1946219321 prboom = callPackage ../games/prboom { };
1946319322
@@ -19726,7 +19585,7 @@ with pkgs;
1972619585 lua = lua5_2;
1972719586 };
1972819587
19729− worldofgoo_demo = callPackage ../games/worldofgoo {
19588+ worldofgoo_demo = worldofgoo.override {
1973019589 demo = true;
1973119590 };
1973219591
@@ -20108,9 +19967,9 @@ with pkgs;
2010819967 # and with or without atlas as a dependency. The default `liblapack` is 3.4.1
2010919968 # with atlas. Atlas, when built with liblapack as a dependency, uses 3.5.0
2011019969 # without atlas. Etc.
20111− liblapackWithAtlas = callPackage ../development/libraries/science/math/liblapack {};
19970+ liblapack = callPackage ../development/libraries/science/math/liblapack {};
2011219971 liblapackWithoutAtlas = liblapackWithAtlas.override { atlas = null; };
20113− liblapack = liblapackWithAtlas;
19972+ liblapackWithAtlas = liblapack;
2011419973
2011519974 liblbfgs = callPackage ../development/libraries/science/math/liblbfgs { };
2011619975
@@ -20197,21 +20056,21 @@ with pkgs;
2019720056 cmake = cmakeCurses;
2019820057 };
2019920058
20200− gromacsMpi = lowPrio (callPackage ../applications/science/molecular-dynamics/gromacs {
20059+ gromacsMpi = lowPrio (gromacs.override {
2020120060 singlePrec = true;
2020220061 mpiEnabled = true;
2020320062 fftw = fftwSinglePrec;
2020420063 cmake = cmakeCurses;
2020520064 });
2020620065
20207− gromacsDouble = lowPrio (callPackage ../applications/science/molecular-dynamics/gromacs {
20066+ gromacsDouble = lowPrio (gromacs.override {
2020820067 singlePrec = false;
2020920068 mpiEnabled = false;
2021020069 fftw = fftw;
2021120070 cmake = cmakeCurses;
2021220071 });
2021320072
20214− gromacsDoubleMpi = lowPrio (callPackage ../applications/science/molecular-dynamics/gromacs {
20073+ gromacsDoubleMpi = lowPrio (gromacs.override {
2021520074 singlePrec = false;
2021620075 mpiEnabled = true;
2021720076 fftw = fftw;
@@ -20494,7 +20353,7 @@ with pkgs;
2049420353 maxima = callPackage ../applications/science/math/maxima {
2049520354 ecl = null;
2049620355 };
20497− maxima-ecl = callPackage ../applications/science/math/maxima {
20356+ maxima-ecl = maxima.override {
2049820357 ecl = ecl_16_1_2;
2049920358 ecl-fasl = true;
2050020359 sbcl = null;
@@ -20651,7 +20510,7 @@ with pkgs;
2065120510 thepeg = callPackage ../development/libraries/physics/thepeg { };
2065220511
2065320512 yoda = callPackage ../development/libraries/physics/yoda { };
20654− yoda-with-root = lowPrio (callPackage ../development/libraries/physics/yoda {
20513+ yoda-with-root = lowPrio (yoda.override {
2065520514 withRootSupport = true;
2065620515 });
2065720516
@@ -20874,11 +20733,11 @@ with pkgs;
2087420733 # using the new configuration style proposal which is unstable
2087520734 jack1 = callPackage ../misc/jackaudio/jack1.nix { };
2087620735
20877− jack2Full = callPackage ../misc/jackaudio {
20736+ jack2 = callPackage ../misc/jackaudio {
2087820737 libopus = libopus.override { withCustomModes = true; };
2087920738 inherit (darwin.apple_sdk.frameworks) AudioToolbox CoreAudio CoreFoundation;
2088020739 };
20881− libjack2 = jack2Full.override { prefix = "lib"; };
20740+ libjack2 = jack2.override { prefix = "lib"; };
2088220741
2088320742 keynav = callPackage ../tools/X11/keynav { };
2088420743
@@ -20944,7 +20803,7 @@ with pkgs;
2094420803 nix-du = callPackage ../tools/package-management/nix-du { };
2094520804
2094620805 nix-info = callPackage ../tools/nix/info { };
20947− nix-info-tested = callPackage ../tools/nix/info { doCheck = true; };
20806+ nix-info-tested = nix-info.override { doCheck = true; };
2094820807
2094920808 nix-index = callPackage ../tools/package-management/nix-index { };
2095020809
@@ -21433,10 +21292,10 @@ with pkgs;
2143321292
2143421293 spdlog = callPackage ../development/libraries/spdlog { };
2143521294
21436− dart = dart_stable;
21437− dart_old = callPackage ../development/interpreters/dart { version = "1.16.1"; };
21438− dart_stable = callPackage ../development/interpreters/dart { version = "1.24.3"; };
21439− dart_dev = callPackage ../development/interpreters/dart { version = "2.0.0-dev.26.0"; };
21295+ dart = callPackage ../development/interpreters/dart { };
21296+ dart_stable = dart.override { version = "1.24.3"; };
21297+ dart_old = dart.override { version = "1.16.1"; };
21298+ dart_dev = dart.override { version = "2.0.0-dev.26.0"; };
2144021299
2144121300 httrack = callPackage ../tools/backup/httrack { };
2144221301
@@ -21551,7 +21410,8 @@ with pkgs;
2155121410 # Unix tools
2155221411 unixtools = recurseIntoAttrs (callPackages ./unix-tools.nix { });
2155321412 inherit (unixtools) hexdump ps logger eject umount
21554− mount wall hostname more sysctl;
21413+ mount wall hostname more sysctl getconf
21414+ getent;
2155521415
2155621416 inherit (recurseIntoAttrs (callPackages ../os-specific/bsd { }))
2155721417 netbsd;
pkgs/top-level/lua-packages.nix+2
@@ -438,6 +438,8 @@ let
438438 );
439439 '';
440440
441+ doCheck = false; # fails to find itself
442+
441443 installTargets = [ "install" "install-unix" ];
442444
443445 meta = with stdenv.lib; {
pkgs/top-level/perl-packages.nix+5−2
@@ -6461,6 +6461,9 @@ let self = _self // overrides; _self = with self; {
64616461 # Patch has been sent upstream.
64626462 patches = [ ../development/perl-modules/gd-options-passthrough-and-fontconfig.patch ];
64636463
6464+ # otherwise "cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]"
6465+ NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
6466+
64646467 # tests fail
64656468 doCheck = false;
64666469
@@ -17246,10 +17249,10 @@ let self = _self // overrides; _self = with self; {
1724617249 };
1724717250
1724817251 URI = buildPerlPackage rec {
17249− name = "URI-1.73";
17252+ name = "URI-1.74";
1725017253 src = fetchurl {
1725117254 url = "mirror://cpan/authors/id/E/ET/ETHER/${name}.tar.gz";
17252− sha256 = "cca7ab4a6f63f3ccaacae0f2e1337e8edf84137e73f18548ec7d659f23efe413";
17255+ sha256 = "a9c254f45f89cb1dd946b689dfe433095404532a4543bdaab0b71ce0fdcdd53d";
1725317256 };
1725417257 buildInputs = [ TestNeeds ];
1725517258 meta = {
pkgs/top-level/python-packages.nix+6−19
@@ -2101,6 +2101,8 @@ in {
21012101
21022102 demjson = callPackage ../development/python-modules/demjson { };
21032103
2104+ deprecation = callPackage ../development/python-modules/deprecation { };
2105+
21042106 derpconf = callPackage ../development/python-modules/derpconf { };
21052107
21062108 deskcon = self.buildPythonPackage rec {
@@ -6962,6 +6964,9 @@ in {
69626964
69636965 pylru = callPackage ../development/python-modules/pylru { };
69646966
6967+ libnl-python = disabledIf isPy3k
6968+ (toPythonModule (pkgs.libnl.override{pythonSupport=true; inherit python; })).py;
6969+
69656970 lark-parser = callPackage ../development/python-modules/lark-parser { };
69666971
69676972 lazy-object-proxy = buildPythonPackage rec {
@@ -14279,25 +14284,7 @@ in {
1427914284
1428014285 TurboCheetah = callPackage ../development/python-modules/TurboCheetah { };
1428114286
14282− tweepy = buildPythonPackage (rec {
14283− name = "tweepy-3.5.0";
14284−
14285− src = pkgs.fetchurl {
14286− url = "mirror://pypi/t/tweepy/${name}.tar.gz";
14287− sha256 = "0n2shilamgwhzmvf534xg7f6hrnznbixyl5pw2f5a3f391gwy37h";
14288− };
14289−
14290− doCheck = false;
14291− propagatedBuildInputs = with self; [ requests six requests_oauthlib ];
14292−
14293− meta = {
14294− homepage = "https://github.com/tweepy/tweepy";
14295− description = "Twitter library for python";
14296− license = licenses.mit;
14297− maintainers = with maintainers; [ garbas ];
14298− platforms = platforms.linux;
14299− };
14300− });
14287+ tweepy = callPackage ../development/python-modules/tweepy { };
1430114288
1430214289 twiggy = buildPythonPackage rec {
1430314290 name = "Twiggy-${version}";
pkgs/top-level/release.nix+2−2
@@ -43,7 +43,7 @@ let
4343 jobs.ghc.x86_64-darwin
4444 jobs.git.x86_64-darwin
4545 jobs.go.x86_64-darwin
46− jobs.mysql.x86_64-darwin
46+ jobs.mariadb.x86_64-darwin
4747 jobs.nix-repl.x86_64-darwin
4848 jobs.nix.x86_64-darwin
4949 jobs.nox.x86_64-darwin
@@ -99,7 +99,7 @@ let
9999 jobs.thunderbird.x86_64-linux
100100 # Ensure that basic stuff works on darwin
101101 jobs.git.x86_64-darwin
102− jobs.mysql.x86_64-darwin
102+ jobs.mariadb.x86_64-darwin
103103 jobs.vim.x86_64-darwin
104104 # Ensure that UI stuff works on darwin
105105 jobs.inkscape.x86_64-darwin
pkgs/top-level/stage.nix+2−1
@@ -97,7 +97,8 @@ let
9797 res self;
9898 in res;
9999
100− aliases = self: super: import ./aliases.nix super;
100+ aliases = self: super: if config.skipAliases or false then {}
101+ else import ./aliases.nix super;
101102
102103 # stdenvOverrides is used to avoid having multiple of versions
103104 # of certain dependencies that were used in bootstrapping the
pkgs/top-level/unix-tools.nix+17−4
@@ -1,4 +1,5 @@
1−{ pkgs, buildEnv, runCommand, hostPlatform, lib }:
1+{ pkgs, buildEnv, runCommand, hostPlatform, lib
2+, stdenv }:
23
34# These are some unix tools that are commonly included in the /usr/bin
45# and /usr/sbin directory under more normal distributions. Along with
@@ -11,9 +12,11 @@
1112# input, not "procps" which requires Linux.
1213
1314let
15+ version = "1003.1-2008";
16+
1417 singleBinary = cmd: providers: let
1518 provider = "${lib.getBin providers.${hostPlatform.parsed.kernel.name}}/bin/${cmd}";
16− in runCommand cmd {
19+ in runCommand "${cmd}-${version}" {
1720 meta.platforms = map (n: { kernel.name = n; }) (pkgs.lib.attrNames providers);
1821 } ''
1922 mkdir -p $out/bin
@@ -28,7 +31,7 @@ let
2831
2932 # more is unavailable in darwin
3033 # just use less
31− more_compat = runCommand "more" {} ''
34+ more_compat = runCommand "more-${version}" {} ''
3235 mkdir -p $out/bin
3336 ln -s ${pkgs.less}/bin/less $out/bin/more
3437 '';
@@ -46,6 +49,16 @@ let
4649 eject = {
4750 linux = pkgs.utillinux;
4851 };
52+ getconf = {
53+ linux = if hostPlatform.isMusl then pkgs.musl-getconf
54+ else lib.getBin stdenv.cc.libc;
55+ darwin = pkgs.darwin.system_cmds;
56+ };
57+ getent = {
58+ linux = if hostPlatform.isMusl then pkgs.musl-getent
59+ # This may not be right on other platforms, but preserves existing behavior
60+ else /* if hostPlatform.libc == "glibc" then */ pkgs.glibc.bin;
61+ };
4962 getopt = {
5063 linux = pkgs.utillinux;
5164 darwin = pkgs.getopt;
@@ -131,7 +144,7 @@ let
131144 };
132145
133146 makeCompat = name': value: buildEnv {
134− name = name' + "-compat";
147+ name = name' + "-compat-${version}";
135148 paths = value;
136149 };
137150