git.iko.soy/typeable/nixpkgs
on master help sign in
Merge master into staging-next
commit3ad01beda76c038e52e8f4524d5f3c409e0b6e36 authorFrederik Rietdijk <fridh@fridh.nl> dateWed 3 Jul 2019, 08:54 (7 years ago) parentd843e16368c415
332 files changed+3882−1785
.github/PULL_REQUEST_TEMPLATE.md+1−1 doc/package-notes.xml+12 maintainers/maintainer-list.nix+25 nixos/doc/manual/configuration/ipv6-config.xml+1−1 nixos/modules/module-list.nix+1 nixos/modules/rename.nix+7 nixos/modules/services/audio/roon-server.nix+49 nixos/modules/services/backup/duplicati.nix+1−5 nixos/modules/services/databases/mysql.nix+95−110 nixos/modules/services/desktops/deepin/deepin.nix+2 nixos/modules/services/mail/roundcube.nix+23−19 nixos/modules/services/misc/gitea.nix+12−4 nixos/modules/services/misc/lidarr.nix+8−1 nixos/modules/services/misc/nix-daemon.nix+4−1 nixos/modules/services/misc/zoneminder.nix+22−11 nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix+21−15 nixos/modules/services/web-apps/limesurvey.nix+4−4 nixos/modules/services/web-apps/matomo.nix+23−15 nixos/modules/services/web-apps/nextcloud.nix+7−6 nixos/modules/services/web-apps/restya-board.nix+11−7 nixos/modules/services/web-apps/selfoss.nix+26−19 nixos/modules/services/web-apps/tt-rss.nix+7−5 nixos/modules/services/web-servers/lighttpd/cgit.nix+2−2 nixos/modules/services/web-servers/phpfpm/default.nix+96−89 nixos/modules/services/web-servers/phpfpm/pool-options.nix−57 nixos/modules/virtualisation/libvirtd.nix+64−40 nixos/tests/mysql.nix+6 pkgs/applications/altcoins/parity/beta.nix+3−3 pkgs/applications/altcoins/parity/default.nix+3−3 pkgs/applications/altcoins/parity/parity.nix+4−2 pkgs/applications/audio/ecasound/default.nix+2−2 pkgs/applications/audio/pulseaudio-modules-bt/default.nix+1 pkgs/applications/audio/pulseaudio-modules-bt/fix-aac-defaults.patch+15 pkgs/applications/audio/pulseeffects/default.nix+2−2 pkgs/applications/audio/qmmp/default.nix+2−2 pkgs/applications/editors/android-studio/default.nix+3−3 pkgs/applications/editors/kakoune/default.nix+1−1 pkgs/applications/editors/kakoune/plugins.nix+5 pkgs/applications/editors/kakoune/wrapper.nix+44 pkgs/applications/editors/kakoune/wrapper.sh+30 pkgs/applications/editors/typora/default.nix+2−2 pkgs/applications/graphics/drawpile/default.nix+2−2 pkgs/applications/graphics/geeqie/default.nix+15−3 pkgs/applications/graphics/geeqie/geeqie-no-changelog.patch−14 pkgs/applications/graphics/hugin/default.nix+9−1 pkgs/applications/graphics/luminance-hdr/default.nix+13−11 pkgs/applications/graphics/nomacs/default.nix+4 pkgs/applications/graphics/nomacs/nomacs-iostream.patch+26 pkgs/applications/graphics/photivo/default.nix+1 pkgs/applications/graphics/photoqt/default.nix+21−8 pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patch−13 pkgs/applications/graphics/qtpfsgui/default.nix−41 pkgs/applications/kde/gwenview.nix+9−1 pkgs/applications/misc/1password/default.nix+4−4 pkgs/applications/misc/alacritty/default.nix+1−1 pkgs/applications/misc/calcurse/default.nix+2−2 pkgs/applications/misc/copyq/default.nix+2−2 pkgs/applications/misc/electron-cash/default.nix+2−2 pkgs/applications/misc/gpscorrelate/default.nix+30−17 pkgs/applications/misc/jekyll/default.nix+26−1 pkgs/applications/misc/latte-dock/default.nix+2−2 pkgs/applications/misc/lutris/default.nix+1−1 pkgs/applications/misc/pdfpc/default.nix+2−2 pkgs/applications/misc/qmapshack/default.nix+15−4 pkgs/applications/misc/termdown/default.nix+2−2 pkgs/applications/misc/viking/default.nix+5−3 pkgs/applications/misc/zola/default.nix+3−3 pkgs/applications/networking/browsers/firefox/common.nix+8−1 pkgs/applications/networking/browsers/qutebrowser/default.nix+2−2 pkgs/applications/networking/browsers/vivaldi/default.nix+8−3 pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+11−32 pkgs/applications/networking/browsers/vivaldi/widevine.nix+32 pkgs/applications/networking/cluster/helmfile/default.nix+2−2 pkgs/applications/networking/cluster/kube3d/default.nix+25 pkgs/applications/networking/cluster/kube3d/deps.nix+174 pkgs/applications/networking/cluster/kubecfg/default.nix+5−5 pkgs/applications/networking/cluster/nomad/default.nix+6−2 pkgs/applications/networking/instant-messengers/baresip/default.nix+2−2 pkgs/applications/networking/instant-messengers/discord/default.nix+3−3 pkgs/applications/networking/instant-messengers/fractal/default.nix+9−1 pkgs/applications/networking/instant-messengers/gomuks/default.nix+10−8 pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json+1−1 pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix+2−2 pkgs/applications/networking/instant-messengers/riot/riot-web.nix+2−2 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+2−2 pkgs/applications/networking/irc/irssi/default.nix+2−2 pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix+4 pkgs/applications/networking/p2p/transgui/default.nix+11−10 pkgs/applications/networking/p2p/transgui/r988-compile-fix.patch−22 pkgs/applications/networking/znc/default.nix+2−2 pkgs/applications/office/gnucash/default.nix+2−2 pkgs/applications/office/timetable/default.nix+57 pkgs/applications/office/watson/default.nix+7−15 pkgs/applications/radio/soapyuhd/default.nix+2−2 pkgs/applications/radio/urh/default.nix+2−2 pkgs/applications/science/astronomy/stellarium/default.nix+2−2 pkgs/applications/science/biology/mosdepth/default.nix+6−6 pkgs/applications/science/biology/octopus/default.nix+30 pkgs/applications/science/electronics/verilator/default.nix+2−2 pkgs/applications/science/math/gap/default.nix+2−2 pkgs/applications/science/math/sage/default.nix+1−1 pkgs/applications/science/math/sage/patches/do-not-test-package-manifests.patch−26 pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch+57 pkgs/applications/science/math/sage/sage-src.nix+7−66 pkgs/applications/version-management/git-and-tools/git-recent/default.nix+3−3 pkgs/applications/version-management/git-and-tools/hub/default.nix+2−2 pkgs/applications/version-management/git-and-tools/pre-commit/default.nix+2−2 pkgs/applications/video/clipgrab/default.nix+2−2 pkgs/applications/video/mythtv/default.nix+10−1 pkgs/applications/video/plex-media-player/default.nix+11−11 pkgs/applications/video/smtube/default.nix+2−2 pkgs/applications/virtualization/virt-manager/default.nix+2−2 pkgs/applications/virtualization/virtualbox/default.nix+1−1 pkgs/applications/window-managers/i3/pystatus.nix+4−5 pkgs/build-support/build-bazel-package/default.nix+6−4 pkgs/build-support/trivial-builders.nix+1−1 pkgs/data/fonts/amiri/default.nix+27 pkgs/data/icons/papirus-icon-theme/default.nix+2−2 pkgs/data/misc/osinfo-db/default.nix+2−2 pkgs/data/themes/matcha/default.nix+3−3 pkgs/desktops/deepin/dde-control-center/default.nix+112 pkgs/desktops/deepin/dde-control-center/fix-paths.patch+65 pkgs/desktops/deepin/dde-daemon/default.nix+8−3 pkgs/desktops/deepin/deepin-calculator/default.nix+49 pkgs/desktops/deepin/default.nix+2 pkgs/desktops/gnome-3/extensions/appindicator/default.nix+2−2 pkgs/development/compilers/chicken/5/chicken.nix+2−2 pkgs/development/compilers/kotlin/default.nix+2−2 pkgs/development/compilers/llvm/7/llvm.nix+3−1 pkgs/development/compilers/llvm/8/llvm.nix+3−1 pkgs/development/compilers/nim/default.nix+47−23 pkgs/development/compilers/openjdk/11.nix+2 pkgs/development/compilers/openjdk/openjfx/11.nix+110 pkgs/development/compilers/qbe/default.nix+22 pkgs/development/compilers/rust/binaryBuild.nix+4−19 pkgs/development/compilers/rust/bootstrap.nix+8−8 pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch+23−24 pkgs/development/compilers/rust/rustc.nix+2−2 pkgs/development/coq-modules/gappalib/default.nix+1−1 pkgs/development/coq-modules/mathcomp/default.nix+13−2 pkgs/development/coq-modules/mathcomp/extra.nix+46−23 pkgs/development/go-modules/generic/default.nix+2−1 pkgs/development/haskell-modules/configuration-common.nix+4−4 pkgs/development/libraries/arrow-cpp/default.nix+3−2 pkgs/development/libraries/cimg/default.nix+2−2 pkgs/development/libraries/exiv2/default.nix+77−11 pkgs/development/libraries/exiv2/fix-cmake.patch+16 pkgs/development/libraries/intel-media-driver/default.nix+2 pkgs/development/libraries/kerberos/heimdal.nix+2−2 pkgs/development/libraries/libcouchbase/default.nix+2−2 pkgs/development/libraries/libextractor/default.nix+10−1 pkgs/development/libraries/libhandy/default.nix+2−2 pkgs/development/libraries/libpqxx/default.nix+2−2 pkgs/development/libraries/libressl/default.nix+1−1 pkgs/development/libraries/libsass/default.nix+2−2 pkgs/development/libraries/libtoxcore/default.nix+2−2 pkgs/development/libraries/liburcu/default.nix+2−2 pkgs/development/libraries/libvirt/default.nix+30−5 pkgs/development/libraries/matio/default.nix+2−2 pkgs/development/libraries/mtxclient/default.nix+4 pkgs/development/libraries/ogre/default.nix+2−2 pkgs/development/libraries/olm/default.nix+3−1 pkgs/development/libraries/openmpi/default.nix+9−1 pkgs/development/libraries/opensubdiv/default.nix+2−2 pkgs/development/libraries/packr/default.nix+25 pkgs/development/libraries/physics/rivet/default.nix+1−1 pkgs/development/libraries/physics/yoda/default.nix+2−2 pkgs/development/libraries/pyotherside/default.nix+2−2 pkgs/development/libraries/trompeloeil/default.nix+23 pkgs/development/libraries/unixODBCDrivers/default.nix+2−2 pkgs/development/libraries/vulkan-loader/default.nix+3−1 pkgs/development/libraries/vulkan-loader/system-search-path.patch+45 pkgs/development/lua-modules/bit32.patch+14 pkgs/development/lua-modules/overrides.nix+6−4 pkgs/development/ocaml-modules/elpi/default.nix+10−22 pkgs/development/python-modules/baselines/default.nix+15−10 pkgs/development/python-modules/baselines/fix-dep-names.patch−18 pkgs/development/python-modules/braintree/default.nix+2−2 pkgs/development/python-modules/chameleon/default.nix+2−2 pkgs/development/python-modules/cherrypy/default.nix+2−2 pkgs/development/python-modules/cmd2/default.nix+2−2 pkgs/development/python-modules/confluent-kafka/default.nix+2−2 pkgs/development/python-modules/datadog/default.nix+2−2 pkgs/development/python-modules/django_taggit/default.nix+12−1 pkgs/development/python-modules/dm-sonnet/default.nix+10−3 pkgs/development/python-modules/google-pasta/default.nix+26 pkgs/development/python-modules/libversion/default.nix+2−2 pkgs/development/python-modules/libvirt/default.nix+2−2 pkgs/development/python-modules/luftdaten/default.nix+2−2 pkgs/development/python-modules/mpi4py/default.nix+3−9 pkgs/development/python-modules/pip-tools/default.nix+17−9 pkgs/development/python-modules/pytesseract/default.nix+2−2 pkgs/development/python-modules/pytest-django/default.nix+2−2 pkgs/development/python-modules/python-dotenv/default.nix+17−4 pkgs/development/python-modules/qtpy/default.nix+2−2 pkgs/development/python-modules/robotframework-seleniumlibrary/default.nix+2−2 pkgs/development/python-modules/sabyenc/default.nix+2−2 pkgs/development/python-modules/snakeviz/default.nix+2−2 pkgs/development/python-modules/statsmodels/default.nix+2−2 pkgs/development/python-modules/tensorflow-estimator/default.nix+2−2 pkgs/development/python-modules/tensorflow-probability/default.nix+82−13 pkgs/development/python-modules/tensorflow-tensorboard/default.nix+3−3 pkgs/development/python-modules/tensorflow/bin.nix+20−4 pkgs/development/python-modules/tensorflow/prefetcher.sh+1−1 pkgs/development/python-modules/tensorflow/tf1.13.1-hashes.nix−42 pkgs/development/python-modules/tensorflow/tf1.14.0-hashes.nix+42 pkgs/development/python-modules/tomlkit/default.nix+2−2 pkgs/development/python-modules/twilio/default.nix+2−2 pkgs/development/python-modules/vega/default.nix+2−2 pkgs/development/python-modules/virtual-display/default.nix+2−2 pkgs/development/python-modules/xarray/default.nix+2−2 pkgs/development/python-modules/yamllint/default.nix+2−2 pkgs/development/python-modules/zconfig/default.nix+2−2 pkgs/development/tools/analysis/checkstyle/default.nix+2−2 pkgs/development/tools/analysis/cppcheck/default.nix+2−2 pkgs/development/tools/analysis/tflint/default.nix+3−3 pkgs/development/tools/bazel-watcher/default.nix+21−7 pkgs/development/tools/bazel-watcher/use-go-in-path.patch+13 pkgs/development/tools/build-managers/bazel/cpp-test.nix+49 pkgs/development/tools/build-managers/bazel/default.nix+34−12 pkgs/development/tools/build-managers/bazel/java-test.nix+56 pkgs/development/tools/build-managers/bazel/protobuf-test.nix+152 pkgs/development/tools/build-managers/bazel/python-bin-path-test.nix−1 pkgs/development/tools/build-managers/bazel/trim-last-argument-to-gcc-if-empty.patch+37 pkgs/development/tools/flatpak-builder/default.nix+2−2 pkgs/development/tools/github/github-release/default.nix+8−8 pkgs/development/tools/go-tools/default.nix+2−2 pkgs/development/tools/haskell/multi-ghc-travis/default.nix−29 pkgs/development/tools/pet/default.nix+2−2 pkgs/development/tools/protoc-gen-doc/default.nix+30 pkgs/development/tools/prototool/default.nix+33 pkgs/development/tools/rust/bindgen/default.nix+2−2 pkgs/development/tools/rust/rustfmt/default.nix+2−2 pkgs/development/tools/sassc/default.nix+2−2 pkgs/development/tools/scalafmt/default.nix+2−2 pkgs/development/tools/vagrant/default.nix+7 pkgs/development/web/nodejs/v12.nix+2−2 pkgs/games/factorio/default.nix+2−2 pkgs/games/klavaro/default.nix+2−2 pkgs/games/openjk/default.nix+4−3 pkgs/games/redeclipse/default.nix+57 pkgs/games/tintin/default.nix+2−2 pkgs/misc/screensavers/xlockmore/default.nix+2−2 pkgs/misc/vim-plugins/generated.nix+300−113 pkgs/misc/vim-plugins/vim-plugin-names+22−5 pkgs/os-specific/linux/iproute/mptcp.nix+22 pkgs/os-specific/linux/kernel/linux-4.14.nix+2−2 pkgs/os-specific/linux/kernel/linux-4.4.nix+2−2 pkgs/os-specific/linux/kernel/linux-4.9.nix+2−2 pkgs/os-specific/linux/kernel/linux-testing.nix+8−4 pkgs/os-specific/linux/linuxptp/default.nix+33 pkgs/os-specific/linux/net-tools/mptcp.nix+21 pkgs/os-specific/linux/nmon/default.nix+2−2 pkgs/os-specific/linux/nvidia-x11/default.nix+7−12 pkgs/os-specific/linux/systemd/default.nix+1−1 pkgs/os-specific/linux/sysvinit/default.nix+2−2 pkgs/os-specific/linux/tomb/default.nix+2−2 pkgs/servers/atlassian/confluence.nix+2−2 pkgs/servers/atlassian/jira.nix+2−2 pkgs/servers/beanstalkd/default.nix+2−2 pkgs/servers/dns/powerdns/default.nix+2−2 pkgs/servers/headphones/default.nix+1−1 pkgs/servers/http/apache-modules/mod_wsgi/default.nix+2−2 pkgs/servers/http/tengine/default.nix+2−2 pkgs/servers/monitoring/riemann/default.nix+2−2 pkgs/servers/radarr/default.nix+2−2 pkgs/servers/roon-server/default.nix+65 pkgs/servers/search/groonga/default.nix+2−2 pkgs/servers/sickbeard/default.nix+1−1 pkgs/servers/sickbeard/sickgear.nix+1−1 pkgs/servers/sql/mysql/5.5.17-cygwin.patch−44 pkgs/servers/sql/mysql/5.5.17-export-symbols.patch−22 pkgs/servers/sql/mysql/5.5.x.nix−93 pkgs/servers/sql/postgresql/ext/cstore_fdw.nix+2−2 pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix+2−2 pkgs/servers/sql/postgresql/ext/pg_bigm.nix+2−2 pkgs/servers/sql/postgresql/ext/pg_cron.nix+2−2 pkgs/servers/sql/postgresql/ext/pg_hll.nix+2−2 pkgs/servers/sql/postgresql/ext/pg_partman.nix+3−3 pkgs/servers/sql/postgresql/ext/pg_repack.nix+1−1 pkgs/servers/sql/postgresql/ext/pg_similarity.nix+1−1 pkgs/servers/sql/postgresql/ext/pg_topn.nix+2−2 pkgs/servers/sql/postgresql/ext/pgjwt.nix+2−2 pkgs/servers/sql/postgresql/ext/pgroonga.nix+1−1 pkgs/servers/sql/postgresql/ext/pgrouting.nix+2−2 pkgs/servers/sql/postgresql/ext/pgtap.nix+1−1 pkgs/servers/sql/postgresql/ext/pipelinedb.nix+1−1 pkgs/servers/sql/postgresql/ext/plv8.nix+1−1 pkgs/servers/sql/postgresql/ext/postgis.nix+2−2 pkgs/servers/sql/postgresql/ext/tds_fdw.nix+2−2 pkgs/servers/sql/postgresql/ext/temporal_tables.nix+2−2 pkgs/servers/sql/postgresql/ext/timescaledb.nix+3−3 pkgs/servers/sql/postgresql/ext/tsearch_extras.nix+1−1 pkgs/servers/tautulli/default.nix+2−2 pkgs/shells/zsh/oh-my-zsh/default.nix+3−3 pkgs/shells/zsh/zsh-autosuggestions/default.nix+2−2 pkgs/tools/admin/dehydrated/default.nix+2−2 pkgs/tools/filesystems/avfs/default.nix+2−2 pkgs/tools/filesystems/f3/default.nix+2−2 pkgs/tools/misc/catimg/default.nix+2−2 pkgs/tools/misc/mc/default.nix+2−2 pkgs/tools/misc/plantuml/default.nix+2−2 pkgs/tools/misc/psrecord/default.nix+31 pkgs/tools/misc/stow/default.nix+14−5 pkgs/tools/misc/youtube-dl/default.nix+2−2 pkgs/tools/misc/yubikey-manager-qt/default.nix+2−2 pkgs/tools/networking/dhcpcd/default.nix+2−2 pkgs/tools/networking/lldpd/default.nix+2−2 pkgs/tools/networking/shadowsocks-libev/default.nix+4 pkgs/tools/package-management/cargo-outdated/default.nix+3−1 pkgs/tools/package-management/conda/default.nix+1−1 pkgs/tools/package-management/nix/default.nix+3−3 pkgs/tools/security/gnupg/22.nix+10−3 pkgs/tools/security/lynis/default.nix+2−2 pkgs/tools/security/tpm2-tools/default.nix+2−2 pkgs/tools/system/bfs/default.nix+2−2 pkgs/tools/system/netdata/default.nix+3−3 pkgs/tools/system/netdata/no-files-in-etc-and-var.patch+44−37 pkgs/tools/system/syslog-ng/default.nix+2−2 pkgs/tools/text/languagetool/default.nix+2−2 pkgs/tools/typesetting/asciidoctor/Gemfile+1 pkgs/tools/typesetting/asciidoctor/Gemfile.lock+3−1 pkgs/tools/typesetting/asciidoctor/default.nix+8−2 pkgs/tools/typesetting/asciidoctor/gemset.nix+12−2 pkgs/tools/typesetting/asciidoctor/update.sh+6 pkgs/top-level/aliases.nix+1 pkgs/top-level/all-packages.nix+47−20 pkgs/top-level/coq-packages.nix+3−3 pkgs/top-level/dotnet-packages.nix+5−5 pkgs/top-level/emacs-packages.nix+1−1 pkgs/top-level/perl-packages.nix+2−2 pkgs/top-level/python-packages.nix+2
.github/PULL_REQUEST_TEMPLATE.md+1−1
@@ -15,7 +15,7 @@
1515- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nix-review --run "nix-review wip"`
1616- [ ] Tested execution of all binary files (usually in `./result/bin/`)
1717- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
18−- [ ] Assured whether relevant documentation is up to date
18+- [ ] Ensured that relevant documentation is up to date
1919- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).
2020
2121---
doc/package-notes.xml+12
@@ -325,6 +325,18 @@ packageOverrides = pkgs: {
325325 elm2nix</link>.
326326 </para>
327327 </section>
328+ <section xml:id="sec-kakoune">
329+ <title>Kakoune</title>
330+
331+ <para>
332+ Kakoune can be built to autoload plugins:
333+<programlisting>(kakoune.override {
334+ configure = {
335+ plugins = with pkgs.kakounePlugins; [ parinfer-rust ];
336+ };
337+})</programlisting>
338+ </para>
339+ </section>
328340 <section xml:id="sec-shell-helpers">
329341 <title>Interactive shell helpers</title>
330342
maintainers/maintainer-list.nix+25
@@ -681,6 +681,11 @@
681681 github = "bergey";
682682 name = "Daniel Bergey";
683683 };
684+ betaboon = {
685+ email = "betaboon@0x80.ninja";
686+ github = "betaboon";
687+ name = "betaboon";
688+ };
684689 bfortz = {
685690 email = "bernard.fortz@gmail.com";
686691 github = "bfortz";
@@ -1940,6 +1945,11 @@
19401945 github = "glenns";
19411946 name = "Glenn Searby";
19421947 };
1948+ gloaming = {
1949+ email = "ch9871@gmail.com";
1950+ github = "gloaming";
1951+ name = "Craig Hall";
1952+ };
19431953 globin = {
19441954 email = "mail@glob.in";
19451955 github = "globin";
@@ -2753,6 +2763,11 @@
27532763 github = "lasandell";
27542764 name = "Luke Sandell";
27552765 };
2766+ lambda-11235 = {
2767+ email = "taranlynn0@gmail.com";
2768+ github = "lambda-11235";
2769+ name = "Taran Lynn";
2770+ };
27562771 lassulus = {
27572772 email = "lassulus@gmail.com";
27582773 github = "Lassulus";
@@ -3559,6 +3574,11 @@
35593574 github = "nathan-gs";
35603575 name = "Nathan Bijnens";
35613576 };
3577+ nathyong = {
3578+ email = "nathyong@noreply.github.com";
3579+ github = "nathyong";
3580+ name = "Nathan Yong";
3581+ };
35623582 nckx = {
35633583 email = "github@tobias.gr";
35643584 github = "nckx";
@@ -4841,6 +4861,11 @@
48414861 github = "severen";
48424862 name = "Severen Redwood";
48434863 };
4864+ steell = {
4865+ email = "steve@steellworks.com";
4866+ github = "Steell";
4867+ name = "Steve Elliott";
4868+ };
48444869 stephenmw = {
48454870 email = "stephen@q5comm.com";
48464871 github = "stephenmw";
nixos/doc/manual/configuration/ipv6-config.xml+1−1
@@ -39,7 +39,7 @@
3939<xref linkend="opt-networking.defaultGateway6"/> = {
4040 address = "fe00::1";
4141 interface = "enp0s3";
42−}
42+};
4343</programlisting>
4444 </para>
4545
nixos/modules/module-list.nix+1
@@ -191,6 +191,7 @@
191191 ./services/audio/liquidsoap.nix
192192 ./services/audio/mpd.nix
193193 ./services/audio/mopidy.nix
194+ ./services/audio/roon-server.nix
194195 ./services/audio/slimserver.nix
195196 ./services/audio/snapserver.nix
196197 ./services/audio/squeezelite.nix
nixos/modules/rename.nix+7
@@ -213,6 +213,7 @@ with lib;
213213 (mkRemovedOptionModule [ "boot" "zfs" "enableLegacyCrypto" ] "The corresponding package was removed from nixpkgs.")
214214 (mkRemovedOptionModule [ "services" "winstone" ] "The corresponding package was removed from nixpkgs.")
215215 (mkRemovedOptionModule [ "services" "mysql" "pidDir" ] "Don't wait for pidfiles, describe dependencies through systemd")
216+ (mkRemovedOptionModule [ "services" "mysql" "rootPassword" ] "Use socket authentication or set the password outside of the nix store.")
216217
217218 # ZSH
218219 (mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
@@ -240,6 +241,12 @@ with lib;
240241 # binfmt
241242 (mkRenamedOptionModule [ "boot" "binfmtMiscRegistrations" ] [ "boot" "binfmt" "registrations" ])
242243
244+ # PHP-FPM
245+ (mkRemovedOptionModule [ "services" "phpfpm" "poolConfigs" ] "Use services.phpfpm.pools instead.")
246+ (mkRemovedOptionModule [ "services" "phpfpm" "phpPackage" ] "Use services.phpfpm.pools.<name>.phpPackage instead.")
247+ (mkRemovedOptionModule [ "services" "phpfpm" "phpOptions" ] "Use services.phpfpm.pools.<name>.phpOptions instead.")
248+ (mkRenamedOptionModule [ "services" "phpfpm" "extraConfig" ] [ "services" "phpfpm" "globalExtraConfig" ])
249+
243250 ] ++ (flip map [ "blackboxExporter" "collectdExporter" "fritzboxExporter"
244251 "jsonExporter" "minioExporter" "nginxExporter" "nodeExporter"
245252 "snmpExporter" "unifiExporter" "varnishExporter" ]
nixos/modules/services/audio/roon-server.nixnew file+49
@@ -0,0 +1,49 @@
1+{ config, lib, pkgs, ... }:
2+
3+with lib;
4+
5+let
6+ name = "roon-server";
7+ cfg = config.services.roon-server;
8+in {
9+ options = {
10+ services.roon-server = {
11+ enable = mkEnableOption "Roon Server";
12+ openFirewall = mkOption {
13+ type = types.bool;
14+ default = false;
15+ description = ''
16+ Open ports in the firewall for the server.
17+
18+ UDP: 9003
19+ TCP: 9100 - 9200
20+ '';
21+ };
22+ };
23+ };
24+
25+ config = mkIf cfg.enable {
26+ systemd.services.roon-server = {
27+ after = [ "network.target" ];
28+ description = "Roon Server";
29+ wantedBy = [ "multi-user.target" ];
30+
31+ environment.ROON_DATAROOT = "/var/lib/${name}";
32+
33+ serviceConfig = {
34+ ExecStart = "${pkgs.roon-server}/opt/start.sh";
35+ LimitNOFILE = 8192;
36+ DynamicUser = true;
37+ SupplementaryGroups = "audio";
38+ StateDirectory = name;
39+ };
40+ };
41+
42+ networking.firewall = mkIf cfg.openFirewall {
43+ allowedTCPPortRanges = [
44+ { from = 9100; to = 9200; }
45+ ];
46+ allowedUDPPorts = [ 9003 ];
47+ };
48+ };
49+}
nixos/modules/services/backup/duplicati.nix+1−5
@@ -47,15 +47,11 @@ in
4747 wantedBy = [ "multi-user.target" ];
4848 serviceConfig = {
4949 User = cfg.user;
50− PermissionsStartOnly = true;
5150 Group = "duplicati";
51+ StateDirectory = "duplicati";
5252 ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=/var/lib/duplicati";
5353 Restart = "on-failure";
5454 };
55− preStart = ''
56− mkdir -p /var/lib/duplicati
57− chown -R ${cfg.user}:duplicati /var/lib/duplicati
58− '';
5955 };
6056
6157 users.users.duplicati = lib.optionalAttrs (cfg.user == "duplicati") {
nixos/modules/services/databases/mysql.nix+95−110
@@ -204,12 +204,6 @@ in
204204 '';
205205 };
206206
207− # FIXME: remove this option; it's a really bad idea.
208− rootPassword = mkOption {
209− default = null;
210− description = "Path to a file containing the root password, modified on the first startup. Not specifying a root password will leave the root password empty.";
211− };
212−
213207 replication = {
214208 role = mkOption {
215209 type = types.enum [ "master" "slave" "none" ];
@@ -323,114 +317,105 @@ in
323317 RuntimeDirectoryMode = "0755";
324318 # The last two environment variables are used for starting Galera clusters
325319 ExecStart = "${mysql}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION";
326− };
327−
328− postStart =
329− let
330− cmdWatchForMysqlSocket = ''
331− # Wait until the MySQL server is available for use
332− count=0
333− while [ ! -e /run/mysqld/mysqld.sock ]
334− do
335− if [ $count -eq 30 ]
336− then
337− echo "Tried 30 times, giving up..."
338− exit 1
339− fi
340−
341− echo "MySQL daemon not yet started. Waiting for 1 second..."
342− count=$((count++))
343− sleep 1
344− done
345− '';
346− cmdInitialDatabases = concatMapStrings (database: ''
347− # Create initial databases
348− if ! test -e "${cfg.dataDir}/${database.name}"; then
349− echo "Creating initial database: ${database.name}"
350− ( echo 'create database `${database.name}`;'
351−
352− ${optionalString (database.schema != null) ''
353− echo 'use `${database.name}`;'
354−
355− # TODO: this silently falls through if database.schema does not exist,
356− # we should catch this somehow and exit, but can't do it here because we're in a subshell.
357− if [ -f "${database.schema}" ]
358− then
359− cat ${database.schema}
360− elif [ -d "${database.schema}" ]
361− then
362− cat ${database.schema}/mysql-databases/*.sql
363− fi
364− ''}
320+ ExecStartPost =
321+ let
322+ setupScript = pkgs.writeShellScript "mysql-setup" ''
323+ ${optionalString (!hasNotify) ''
324+ # Wait until the MySQL server is available for use
325+ count=0
326+ while [ ! -e /run/mysqld/mysqld.sock ]
327+ do
328+ if [ $count -eq 30 ]
329+ then
330+ echo "Tried 30 times, giving up..."
331+ exit 1
332+ fi
333+
334+ echo "MySQL daemon not yet started. Waiting for 1 second..."
335+ count=$((count++))
336+ sleep 1
337+ done
338+ ''}
339+
340+ if [ -f /tmp/mysql_init ]
341+ then
342+ ${concatMapStrings (database: ''
343+ # Create initial databases
344+ if ! test -e "${cfg.dataDir}/${database.name}"; then
345+ echo "Creating initial database: ${database.name}"
346+ ( echo 'create database `${database.name}`;'
347+
348+ ${optionalString (database.schema != null) ''
349+ echo 'use `${database.name}`;'
350+
351+ # TODO: this silently falls through if database.schema does not exist,
352+ # we should catch this somehow and exit, but can't do it here because we're in a subshell.
353+ if [ -f "${database.schema}" ]
354+ then
355+ cat ${database.schema}
356+ elif [ -d "${database.schema}" ]
357+ then
358+ cat ${database.schema}/mysql-databases/*.sql
359+ fi
360+ ''}
361+ ) | ${mysql}/bin/mysql -u root -N
362+ fi
363+ '') cfg.initialDatabases}
364+
365+ ${optionalString (cfg.replication.role == "master")
366+ ''
367+ # Set up the replication master
368+
369+ ( echo "use mysql;"
370+ echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
371+ echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
372+ echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
373+ ) | ${mysql}/bin/mysql -u root -N
374+ ''}
375+
376+ ${optionalString (cfg.replication.role == "slave")
377+ ''
378+ # Set up the replication slave
379+
380+ ( echo "stop slave;"
381+ echo "change master to master_host='${cfg.replication.masterHost}', master_user='${cfg.replication.masterUser}', master_password='${cfg.replication.masterPassword}';"
382+ echo "start slave;"
383+ ) | ${mysql}/bin/mysql -u root -N
384+ ''}
385+
386+ ${optionalString (cfg.initialScript != null)
387+ ''
388+ # Execute initial script
389+ # using toString to avoid copying the file to nix store if given as path instead of string,
390+ # as it might contain credentials
391+ cat ${toString cfg.initialScript} | ${mysql}/bin/mysql -u root -N
392+ ''}
393+
394+ rm /tmp/mysql_init
395+ fi
396+
397+ ${optionalString (cfg.ensureDatabases != []) ''
398+ (
399+ ${concatMapStrings (database: ''
400+ echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
401+ '') cfg.ensureDatabases}
365402 ) | ${mysql}/bin/mysql -u root -N
366− fi
367− '') cfg.initialDatabases;
368− in
369−
370− lib.optionalString (!hasNotify) cmdWatchForMysqlSocket + ''
371− if [ -f /tmp/mysql_init ]
372− then
373− ${cmdInitialDatabases}
374− ${optionalString (cfg.replication.role == "master")
375− ''
376− # Set up the replication master
377−
378− ( echo "use mysql;"
379− echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
380− echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
381− echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
382− ) | ${mysql}/bin/mysql -u root -N
383− ''}
403+ ''}
384404
385− ${optionalString (cfg.replication.role == "slave")
405+ ${concatMapStrings (user:
386406 ''
387− # Set up the replication slave
388−
389− ( echo "stop slave;"
390− echo "change master to master_host='${cfg.replication.masterHost}', master_user='${cfg.replication.masterUser}', master_password='${cfg.replication.masterPassword}';"
391− echo "start slave;"
407+ ( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
408+ ${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
409+ echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
410+ '') user.ensurePermissions)}
392411 ) | ${mysql}/bin/mysql -u root -N
393− ''}
394−
395− ${optionalString (cfg.initialScript != null)
396− ''
397− # Execute initial script
398− # using toString to avoid copying the file to nix store if given as path instead of string,
399− # as it might contain credentials
400− cat ${toString cfg.initialScript} | ${mysql}/bin/mysql -u root -N
401− ''}
402−
403− ${optionalString (cfg.rootPassword != null)
404− ''
405− # Change root password
406−
407− ( echo "use mysql;"
408− echo "update user set Password=password('$(cat ${cfg.rootPassword})') where User='root';"
409− echo "flush privileges;"
410− ) | ${mysql}/bin/mysql -u root -N
411− ''}
412−
413− rm /tmp/mysql_init
414− fi
415−
416− ${optionalString (cfg.ensureDatabases != []) ''
417− (
418− ${concatMapStrings (database: ''
419− echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
420− '') cfg.ensureDatabases}
421− ) | ${mysql}/bin/mysql -u root -N
422− ''}
423−
424− ${concatMapStrings (user:
425− ''
426− ( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
427− ${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
428− echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
429− '') user.ensurePermissions)}
430− ) | ${mysql}/bin/mysql -u root -N
431− '') cfg.ensureUsers}
432−
433− ''; # */
412+ '') cfg.ensureUsers}
413+ '';
414+ in
415+ # ensureDatbases & ensureUsers depends on this script being run as root
416+ # when the user has secured their mysql install
417+ "+${setupScript}";
418+ };
434419 };
435420
436421 };
nixos/modules/services/desktops/deepin/deepin.nix+2
@@ -33,6 +33,7 @@
3333 environment.systemPackages = [
3434 pkgs.deepin.dde-api
3535 pkgs.deepin.dde-calendar
36+ pkgs.deepin.dde-control-center
3637 pkgs.deepin.dde-daemon
3738 pkgs.deepin.dde-dock
3839 pkgs.deepin.dde-launcher
@@ -46,6 +47,7 @@
4647 services.dbus.packages = [
4748 pkgs.deepin.dde-api
4849 pkgs.deepin.dde-calendar
50+ pkgs.deepin.dde-control-center
4951 pkgs.deepin.dde-daemon
5052 pkgs.deepin.dde-dock
5153 pkgs.deepin.dde-launcher
nixos/modules/services/mail/roundcube.nix+23−19
@@ -105,7 +105,7 @@ in
105105 extraConfig = ''
106106 location ~* \.php$ {
107107 fastcgi_split_path_info ^(.+\.php)(/.+)$;
108− fastcgi_pass unix:/run/phpfpm/roundcube;
108+ fastcgi_pass unix:/run/phpfpm-roundcube/roundcube.sock;
109109 include ${pkgs.nginx}/conf/fastcgi_params;
110110 include ${pkgs.nginx}/conf/fastcgi.conf;
111111 }
@@ -119,24 +119,28 @@ in
119119 enable = true;
120120 };
121121
122− services.phpfpm.poolConfigs.roundcube = ''
123− listen = /run/phpfpm/roundcube
124− listen.owner = nginx
125− listen.group = nginx
126− listen.mode = 0660
127− user = nginx
128− pm = dynamic
129− pm.max_children = 75
130− pm.start_servers = 2
131− pm.min_spare_servers = 1
132− pm.max_spare_servers = 20
133− pm.max_requests = 500
134− php_admin_value[error_log] = 'stderr'
135− php_admin_flag[log_errors] = on
136− php_admin_value[post_max_size] = 25M
137− php_admin_value[upload_max_filesize] = 25M
138− catch_workers_output = yes
139− '';
122+ services.phpfpm.pools.roundcube = {
123+ socketName = "roundcube";
124+ phpPackage = pkgs.php;
125+ user = "${config.services.nginx.user}";
126+ group = "${config.services.nginx.group}";
127+ extraConfig = ''
128+ listen.owner = ${config.services.nginx.user}
129+ listen.group = ${config.services.nginx.group}
130+ listen.mode = 0600
131+ pm = dynamic
132+ pm.max_children = 75
133+ pm.start_servers = 2
134+ pm.min_spare_servers = 1
135+ pm.max_spare_servers = 20
136+ pm.max_requests = 500
137+ php_admin_value[error_log] = 'stderr'
138+ php_admin_flag[log_errors] = on
139+ php_admin_value[post_max_size] = 25M
140+ php_admin_value[upload_max_filesize] = 25M
141+ catch_workers_output = yes
142+ '';
143+ };
140144 systemd.services.phpfpm-roundcube.after = [ "roundcube-setup.service" ];
141145
142146 systemd.services.roundcube-setup = let
nixos/modules/services/misc/gitea.nix+12−4
@@ -38,6 +38,7 @@ let
3838 HTTP_PORT = ${toString cfg.httpPort}
3939 ROOT_URL = ${cfg.rootUrl}
4040 STATIC_ROOT_PATH = ${cfg.staticRootPath}
41+ LFS_JWT_SECRET = #jwtsecret#
4142
4243 [session]
4344 COOKIE_NAME = session
@@ -326,21 +327,28 @@ in
326327 preStart = let
327328 runConfig = "${cfg.stateDir}/custom/conf/app.ini";
328329 secretKey = "${cfg.stateDir}/custom/conf/secret_key";
330+ jwtSecret = "${cfg.stateDir}/custom/conf/jwt_secret";
329331 in ''
330332 # copy custom configuration and generate a random secret key if needed
331333 ${optionalString (cfg.useWizard == false) ''
332334 cp -f ${configFile} ${runConfig}
333335
334336 if [ ! -e ${secretKey} ]; then
335− head -c 16 /dev/urandom | base64 > ${secretKey}
337+ ${gitea.bin}/bin/gitea generate secret SECRET_KEY > ${secretKey}
336338 fi
337339
338− KEY=$(head -n1 ${secretKey})
339− DBPASS=$(head -n1 ${cfg.database.passwordFile})
340+ if [ ! -e ${jwtSecret} ]; then
341+ ${gitea.bin}/bin/gitea generate secret LFS_JWT_SECRET > ${jwtSecret}
342+ fi
343+
344+ KEY="$(head -n1 ${secretKey})"
345+ DBPASS="$(head -n1 ${cfg.database.passwordFile})"
346+ JWTSECRET="$(head -n1 ${jwtSecret})"
340347 sed -e "s,#secretkey#,$KEY,g" \
341348 -e "s,#dbpass#,$DBPASS,g" \
349+ -e "s,#jwtsecet#,$JWTSECET,g" \
342350 -i ${runConfig}
343− chmod 640 ${runConfig} ${secretKey}
351+ chmod 640 ${runConfig} ${secretKey} ${jwtSecret}
344352 ''}
345353
346354 # update all hooks' binary paths
nixos/modules/services/misc/lidarr.nix+8−1
@@ -9,6 +9,13 @@ in
99 options = {
1010 services.lidarr = {
1111 enable = mkEnableOption "Lidarr";
12+
13+ package = mkOption {
14+ type = types.package;
15+ default = pkgs.lidarr;
16+ defaultText = "pkgs.lidarr";
17+ description = "The Lidarr package to use";
18+ };
1219 };
1320 };
1421
@@ -22,7 +29,7 @@ in
2229 Type = "simple";
2330 User = "lidarr";
2431 Group = "lidarr";
25− ExecStart = "${pkgs.lidarr}/bin/Lidarr";
32+ ExecStart = "${cfg.package}/bin/Lidarr";
2633 Restart = "on-failure";
2734
2835 StateDirectory = "lidarr";
nixos/modules/services/misc/nix-daemon.nix+4−1
@@ -272,10 +272,12 @@ in
272272
273273 binaryCaches = mkOption {
274274 type = types.listOf types.str;
275− default = [ https://cache.nixos.org/ ];
276275 description = ''
277276 List of binary cache URLs used to obtain pre-built binaries
278277 of Nix packages.
278+
279+ By default https://cache.nixos.org/ is added,
280+ to override it use <literal>lib.mkForce []</literal>.
279281 '';
280282 };
281283
@@ -386,6 +388,7 @@ in
386388 config = {
387389
388390 nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
391+ nix.binaryCaches = [ "https://cache.nixos.org/" ];
389392
390393 environment.etc."nix/nix.conf".source = nixConf;
391394
nixos/modules/services/misc/zoneminder.nix+22−11
@@ -19,7 +19,7 @@ let
1919
2020 useCustomDir = cfg.storageDir != null;
2121
22− socket = "/run/phpfpm/${dirName}.sock";
22+ socket = "/run/phpfpm-zoneminder/zoneminder.sock";
2323
2424 zms = "/cgi-bin/zms";
2525
@@ -50,7 +50,7 @@ let
5050 ZM_DB_TYPE=mysql
5151 ZM_DB_HOST=${cfg.database.host}
5252 ZM_DB_NAME=${cfg.database.name}
53− ZM_DB_USER=${if cfg.database.createLocally then user else cfg.database.username}
53+ ZM_DB_USER=${cfg.database.username}
5454 ZM_DB_PASS=${cfg.database.password}
5555
5656 # Web
@@ -155,6 +155,7 @@ in {
155155 default = "zmpass";
156156 description = ''
157157 Username for accessing the database.
158+ Not used if <literal>createLocally</literal> is set.
158159 '';
159160 };
160161 };
@@ -189,6 +190,12 @@ in {
189190
190191 config = lib.mkIf cfg.enable {
191192
193+ assertions = [
194+ { assertion = cfg.database.createLocally -> cfg.database.username == user;
195+ message = "services.zoneminder.database.username must be set to ${user} if services.zoneminder.database.createLocally is set true";
196+ }
197+ ];
198+
192199 environment.etc = {
193200 "zoneminder/60-defaults.conf".source = defaultsFile;
194201 "zoneminder/80-nixos.conf".source = configFile;
@@ -204,10 +211,9 @@ in {
204211 };
205212
206213 mysql = lib.mkIf cfg.database.createLocally {
214+ enable = true;
215+ package = lib.mkDefault pkgs.mariadb;
207216 ensureDatabases = [ cfg.database.name ];
208− initialDatabases = [{
209− inherit (cfg.database) name; schema = "${pkg}/share/zoneminder/db/zm_create.sql";
210− }];
211217 ensureUsers = [{
212218 name = cfg.database.username;
213219 ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
@@ -278,7 +284,10 @@ in {
278284
279285 phpfpm = lib.mkIf useNginx {
280286 pools.zoneminder = {
281− listen = socket;
287+ socketName = "zoneminder";
288+ phpPackage = pkgs.php;
289+ user = "${user}";
290+ group = "${group}";
282291 phpOptions = ''
283292 date.timezone = "${config.time.timeZone}"
284293
@@ -286,9 +295,6 @@ in {
286295 "extension=${e.pkg}/lib/php/extensions/${e.name}.so") phpExtensions)}
287296 '';
288297 extraConfig = ''
289− user = ${user}
290− group = ${group}
291−
292298 listen.owner = ${user}
293299 listen.group = ${group}
294300 listen.mode = 0660
@@ -315,11 +321,16 @@ in {
315321 procps
316322 psmisc
317323 ];
318− after = [ "mysql.service" "nginx.service" ];
324+ after = [ "nginx.service" ] ++ lib.optional cfg.database.createLocally "mysql.service";
319325 wantedBy = [ "multi-user.target" ];
320326 restartTriggers = [ defaultsFile configFile ];
321− preStart = lib.mkIf useCustomDir ''
327+ preStart = lib.optionalString useCustomDir ''
322328 install -dm775 -o ${user} -g ${group} ${cfg.storageDir}/{${lib.concatStringsSep "," libDirs}}
329+ '' + lib.optionalString cfg.database.createLocally ''
330+ if ! test -e "/var/lib/${dirName}/db-created"; then
331+ ${config.services.mysql.package}/bin/mysql < ${pkg}/share/zoneminder/db/zm_create.sql
332+ touch "/var/lib/${dirName}/db-created"
333+ fi
323334 '';
324335 serviceConfig = {
325336 User = user;
nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix+21−15
@@ -1,7 +1,6 @@
11{ config, lib, pkgs, ... }: with lib; let
22 cfg = config.services.icingaweb2;
33 poolName = "icingaweb2";
4− phpfpmSocketName = "/var/run/phpfpm/${poolName}.sock";
54
65 defaultConfig = {
76 global = {
@@ -162,19 +161,23 @@ in {
162161 };
163162
164163 config = mkIf cfg.enable {
165− services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") {
166− "${poolName}" = ''
167− listen = "${phpfpmSocketName}"
168− listen.owner = nginx
169− listen.group = nginx
170− listen.mode = 0600
171− user = icingaweb2
172− pm = dynamic
173− pm.max_children = 75
174− pm.start_servers = 2
175− pm.min_spare_servers = 2
176− pm.max_spare_servers = 10
177− '';
164+ services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
165+ "${poolName}" = {
166+ socketName = "${poolName}";
167+ phpPackage = pkgs.php;
168+ user = "icingaweb2";
169+ group = "icingaweb2";
170+ extraConfig = ''
171+ listen.owner = ${config.services.nginx.user}
172+ listen.group = ${config.services.nginx.group}
173+ listen.mode = 0600
174+ pm = dynamic
175+ pm.max_children = 75
176+ pm.start_servers = 2
177+ pm.min_spare_servers = 2
178+ pm.max_spare_servers = 10
179+ '';
180+ };
178181 };
179182
180183 services.phpfpm.phpOptions = mkIf (cfg.pool == "${poolName}")
@@ -206,7 +209,7 @@ in {
206209 include ${config.services.nginx.package}/conf/fastcgi.conf;
207210 try_files $uri =404;
208211 fastcgi_split_path_info ^(.+\.php)(/.+)$;
209− fastcgi_pass unix:${phpfpmSocketName};
212+ fastcgi_pass unix:/run/phpfpm-${poolName}/${poolName}.sock;
210213 fastcgi_param SCRIPT_FILENAME ${pkgs.icingaweb2}/public/index.php;
211214 '';
212215 };
@@ -239,5 +242,8 @@ in {
239242 group = "icingaweb2";
240243 isSystemUser = true;
241244 };
245+ users.users.nginx = {
246+ extraGroups = [ "icingaweb2" ];
247+ };
242248 };
243249}
nixos/modules/services/web-apps/limesurvey.nix+4−4
@@ -202,13 +202,13 @@ in
202202 };
203203
204204 services.phpfpm.pools.limesurvey = {
205+ socketName = "limesurvey";
205206 phpPackage = php;
206− listen = "/run/phpfpm/limesurvey.sock";
207+ user = "${user}";
208+ group = "${group}";
207209 extraConfig = ''
208210 listen.owner = ${config.services.httpd.user};
209211 listen.group = ${config.services.httpd.group};
210− user = ${user};
211− group = ${group};
212212
213213 env[LIMESURVEY_CONFIG] = ${limesurveyConfig}
214214
@@ -241,7 +241,7 @@ in
241241 <Directory "${pkg}/share/limesurvey">
242242 <FilesMatch "\.php$">
243243 <If "-f %{REQUEST_FILENAME}">
244− SetHandler "proxy:unix:/run/phpfpm/limesurvey.sock|fcgi://localhost/"
244+ SetHandler "proxy:unix:/run/phpfpm-limesurvey/limesurvey.sock|fcgi://localhost/"
245245 </If>
246246 </FilesMatch>
247247
nixos/modules/services/web-apps/matomo.nix+23−15
@@ -4,13 +4,14 @@ let
44 cfg = config.services.matomo;
55
66 user = "matomo";
7+ group = "matomo";
78 dataDir = "/var/lib/${user}";
89 deprecatedDataDir = "/var/lib/piwik";
910
1011 pool = user;
11− # it's not possible to use /run/phpfpm/${pool}.sock because /run/phpfpm/ is root:root 0770,
12+ # it's not possible to use /run/phpfpm-${pool}/${pool}.sock because /run/phpfpm/ is root:root 0770,
1213 # and therefore is not accessible by the web server.
13− phpSocket = "/run/phpfpm-${pool}.sock";
14+ phpSocket = "/run/phpfpm-${pool}/${pool}.sock";
1415 phpExecutionUnit = "phpfpm-${pool}";
1516 databaseService = "mysql.service";
1617
@@ -137,9 +138,12 @@ in {
137138 isSystemUser = true;
138139 createHome = true;
139140 home = dataDir;
140− group = user;
141+ group = "${group}";
141142 };
142− users.groups.${user} = {};
143+ users.users.${config.services.nginx.user} = {
144+ extraGroups = [ "${group}" ];
145+ };
146+ users.groups.${group} = {};
143147
144148 systemd.services.matomo-setup-update = {
145149 # everything needs to set up and up to date before Matomo php files are executed
@@ -169,7 +173,7 @@ in {
169173 echo "Migrating from ${deprecatedDataDir} to ${dataDir}"
170174 mv -T ${deprecatedDataDir} ${dataDir}
171175 fi
172− chown -R ${user}:${user} ${dataDir}
176+ chown -R ${user}:${group} ${dataDir}
173177 chmod -R ug+rwX,o-rwx ${dataDir}
174178 '';
175179 script = ''
@@ -225,22 +229,26 @@ in {
225229 serviceConfig.UMask = "0007";
226230 };
227231
228− services.phpfpm.poolConfigs = let
232+ services.phpfpm.pools = let
229233 # workaround for when both are null and need to generate a string,
230234 # which is illegal, but as assertions apparently are being triggered *after* config generation,
231235 # we have to avoid already throwing errors at this previous stage.
232236 socketOwner = if (cfg.nginx != null) then config.services.nginx.user
233237 else if (cfg.webServerUser != null) then cfg.webServerUser else "";
234238 in {
235− ${pool} = ''
236− listen = "${phpSocket}"
237− listen.owner = ${socketOwner}
238− listen.group = root
239− listen.mode = 0600
240− user = ${user}
241− env[PIWIK_USER_PATH] = ${dataDir}
242− ${cfg.phpfpmProcessManagerConfig}
243− '';
239+ ${pool} = {
240+ socketName = "${pool}";
241+ phpPackage = pkgs.php;
242+ user = "${user}";
243+ group = "${group}";
244+ extraConfig = ''
245+ listen.owner = ${socketOwner}
246+ listen.group = ${group}
247+ listen.mode = 0600
248+ env[PIWIK_USER_PATH] = ${dataDir}
249+ ${cfg.phpfpmProcessManagerConfig}
250+ '';
251+ };
244252 };
245253
246254
nixos/modules/services/web-apps/nextcloud.nix+7−6
@@ -394,13 +394,14 @@ in {
394394 phpOptions)));
395395 in {
396396 phpOptions = phpOptionsExtensions;
397+ socketName = "nextcloud";
397398 phpPackage = phpPackage;
398− listen = "/run/phpfpm/nextcloud";
399+ user = "nextcloud";
400+ group = "${config.services.nginx.group}";
399401 extraConfig = ''
400− listen.owner = nginx
401− listen.group = nginx
402− user = nextcloud
403− group = nginx
402+ listen.owner = ${config.services.nginx.user}
403+ listen.group = ${config.services.nginx.group}
404+ listen.mode = 0600
404405 ${cfg.poolConfig}
405406 env[NEXTCLOUD_CONFIG_DIR] = ${cfg.home}/config
406407 env[PATH] = /run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin
@@ -466,7 +467,7 @@ in {
466467 fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
467468 fastcgi_param modHeadersAvailable true;
468469 fastcgi_param front_controller_active true;
469− fastcgi_pass unix:/run/phpfpm/nextcloud;
470+ fastcgi_pass unix:/run/phpfpm-nextcloud/nextcloud.sock;
470471 fastcgi_intercept_errors on;
471472 fastcgi_request_buffering off;
472473 fastcgi_read_timeout 120s;
nixos/modules/services/web-apps/restya-board.nix+11−7
@@ -13,7 +13,7 @@ let
1313 runDir = "/run/restya-board";
1414
1515 poolName = "restya-board";
16− phpfpmSocketName = "/run/phpfpm/${poolName}.sock";
16+ phpfpmSocketName = "/run/phpfpm-${poolName}/${poolName}.sock";
1717
1818in
1919
@@ -178,9 +178,12 @@ in
178178
179179 config = mkIf cfg.enable {
180180
181− services.phpfpm.poolConfigs = {
181+ services.phpfpm.pools = {
182182 "${poolName}" = {
183− listen = phpfpmSocketName;
183+ socketName = "${poolName}";
184+ phpPackage = pkgs.php;
185+ user = "${cfg.user}";
186+ group = "${cfg.group}";
184187 phpOptions = ''
185188 date.timezone = "CET"
186189
@@ -192,11 +195,9 @@ in
192195 ''}
193196 '';
194197 extraConfig = ''
195− listen.owner = nginx
196− listen.group = nginx
198+ listen.owner = ${config.services.nginx.user}
199+ listen.group = ${config.services.nginx.group}
197200 listen.mode = 0600
198− user = ${cfg.user}
199− group = ${cfg.group}
200201 pm = dynamic
201202 pm.max_children = 75
202203 pm.start_servers = 10
@@ -365,6 +366,9 @@ in
365366 home = runDir;
366367 group = "restya-board";
367368 };
369+ users.users.nginx = {
370+ extraGroups = [ "restya-board" ];
371+ };
368372 users.groups.restya-board = {};
369373
370374 services.postgresql.enable = mkIf (cfg.database.host == null) true;
nixos/modules/services/web-apps/selfoss.nix+26−19
@@ -3,9 +3,9 @@ with lib;
33let
44 cfg = config.services.selfoss;
55
6− poolName = "selfoss_pool";
7− phpfpmSocketName = "/run/phpfpm/${poolName}.sock";
8−
6+ poolName = "selfoss";
7+ phpfpmSocketName = "/run/phpfpm-${poolName}/${poolName}.sock";
8+ group = "${cfg.user}";
99 dataDir = "/var/lib/selfoss";
1010
1111 selfoss-config =
@@ -116,21 +116,25 @@ in
116116
117117 config = mkIf cfg.enable {
118118
119− services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") {
120− "${poolName}" = ''
121− listen = "${phpfpmSocketName}";
122− listen.owner = nginx
123− listen.group = nginx
124− listen.mode = 0600
125− user = nginx
126− pm = dynamic
127− pm.max_children = 75
128− pm.start_servers = 10
129− pm.min_spare_servers = 5
130− pm.max_spare_servers = 20
131− pm.max_requests = 500
132− catch_workers_output = 1
133− '';
119+ services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
120+ "${poolName}" = {
121+ socketName = "${poolName}";
122+ phpPackage = pkgs.php;
123+ user = "${cfg.user}";
124+ group = "${group}";
125+ extraConfig = ''
126+ listen.owner = ${config.services.nginx.user}
127+ listen.group = ${config.services.nginx.group}
128+ listen.mode = 0600
129+ pm = dynamic
130+ pm.max_children = 75
131+ pm.start_servers = 10
132+ pm.min_spare_servers = 5
133+ pm.max_spare_servers = 20
134+ pm.max_requests = 500
135+ catch_workers_output = 1
136+ '';
137+ };
134138 };
135139
136140 systemd.services.selfoss-config = {
@@ -145,7 +149,7 @@ in
145149 # Create the files
146150 cp -r "${pkgs.selfoss}/"* "${dataDir}"
147151 ln -sf "${selfoss-config}" "${dataDir}/config.ini"
148− chown -R "${cfg.user}" "${dataDir}"
152+ chown -R "${cfg.user}":"${group}" "${dataDir}"
149153 chmod -R 755 "${dataDir}"
150154 '';
151155 wantedBy = [ "multi-user.target" ];
@@ -162,5 +166,8 @@ in
162166
163167 };
164168
169+ users.users.nginx = {
170+ extraGroups = [ "${group}" ];
171+ };
165172 };
166173}
nixos/modules/services/web-apps/tt-rss.nix+7−5
@@ -512,12 +512,14 @@ let
512512
513513 services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
514514 "${poolName}" = {
515− listen = "/var/run/phpfpm/${poolName}.sock";
515+ socketName = "${poolName}";
516+ phpPackage = pkgs.php;
517+ user = "${config.services.nginx.user}";
518+ group = "${config.services.nginx.group}";
516519 extraConfig = ''
517− listen.owner = nginx
518− listen.group = nginx
520+ listen.owner = ${config.services.nginx.user}
521+ listen.group = ${config.services.nginx.group}
519522 listen.mode = 0600
520− user = ${cfg.user}
521523 pm = dynamic
522524 pm.max_children = 75
523525 pm.start_servers = 10
@@ -543,7 +545,7 @@ let
543545 locations."~ \.php$" = {
544546 extraConfig = ''
545547 fastcgi_split_path_info ^(.+\.php)(/.+)$;
546− fastcgi_pass unix:${config.services.phpfpm.pools.${cfg.pool}.listen};
548+ fastcgi_pass unix:/run/phpfpm-${poolName}/${poolName}.sock;
547549 fastcgi_index index.php;
548550 '';
549551 };
nixos/modules/services/web-servers/lighttpd/cgit.nix+2−2
@@ -42,10 +42,10 @@ in
4242 configText = mkOption {
4343 default = "";
4444 example = ''
45− cache-size=1000
46− scan-path=/srv/git
4745 source-filter=''${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
4846 about-filter=''${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
47+ cache-size=1000
48+ scan-path=/srv/git
4949 '';
5050 type = types.lines;
5151 description = ''
nixos/modules/services/web-servers/phpfpm/default.nix+96−89
@@ -4,37 +4,26 @@ with lib;
44
55let
66 cfg = config.services.phpfpm;
7− enabled = cfg.poolConfigs != {} || cfg.pools != {};
7+ enabled = cfg.pools != {};
88
9− stateDir = "/run/phpfpm";
10−
11− poolConfigs =
12− (mapAttrs mapPoolConfig cfg.poolConfigs) //
13− (mapAttrs mapPool cfg.pools);
14−
15− mapPoolConfig = n: p: {
16− phpPackage = cfg.phpPackage;
17− phpOptions = cfg.phpOptions;
18− config = p;
19− };
9+ poolConfigs = (mapAttrs mapPool cfg.pools);
2010
2111 mapPool = n: p: {
2212 phpPackage = p.phpPackage;
2313 phpOptions = p.phpOptions;
24− config = ''
25− listen = ${p.listen}
26− ${p.extraConfig}
27− '';
14+ userPool = p.user;
15+ groupPool = p.group;
2816 };
2917
3018 fpmCfgFile = pool: conf: pkgs.writeText "phpfpm-${pool}.conf" ''
3119 [global]
3220 error_log = syslog
3321 daemonize = no
34− ${cfg.extraConfig}
22+ ${cfg.globalExtraConfig}
3523
3624 [${pool}]
37− ${conf}
25+ listen = /run/phpfpm-${pool}/${cfg.pools.${pool}.socketName}.sock
26+ ${cfg.pools.${pool}.extraConfig}
3827 '';
3928
4029 phpIni = pool: pkgs.runCommand "php.ini" {
@@ -49,86 +38,98 @@ let
4938 '';
5039
5140in {
52−
5341 options = {
5442 services.phpfpm = {
55− extraConfig = mkOption {
43+ globalExtraConfig = mkOption {
5644 type = types.lines;
5745 default = "";
5846 description = ''
59− Extra configuration that should be put in the global section of
47+ Global extra configuration that should be put in the global section of
6048 the PHP-FPM configuration file. Do not specify the options
6149 <literal>error_log</literal> or
62− <literal>daemonize</literal> here, since they are generated by
63− NixOS.
64− '';
65− };
66−
67− phpPackage = mkOption {
68− type = types.package;
69− default = pkgs.php;
70− defaultText = "pkgs.php";
71− description = ''
72− The PHP package to use for running the PHP-FPM service.
50+ <literal>daemonize</literal> here, since they are generated by NixOS.
7351 '';
7452 };
7553
76− phpOptions = mkOption {
77− type = types.lines;
78− default = "";
79− example =
80− ''
81− date.timezone = "CET"
82− '';
83− description =
84− "Options appended to the PHP configuration file <filename>php.ini</filename>.";
85− };
86−
87− poolConfigs = mkOption {
54+ pools = mkOption {
8855 default = {};
89− type = types.attrsOf types.lines;
56+ type = types.attrsOf (types.submodule {
57+ options = {
58+ socketName = mkOption {
59+ type = types.str;
60+ example = "php-fpm";
61+ description = ''
62+ The address on which to accept FastCGI requests.
63+ '';
64+ };
65+
66+ phpPackage = mkOption {
67+ type = types.package;
68+ default = pkgs.php;
69+ defaultText = "pkgs.php";
70+ description = ''
71+ The PHP package to use for running this PHP-FPM pool.
72+ '';
73+ };
74+
75+ phpOptions = mkOption {
76+ type = types.lines;
77+ default = "";
78+ description = ''
79+ Options appended to the PHP configuration file <filename>php.ini</filename> used for this PHP-FPM pool.
80+ '';
81+ };
82+
83+ user = mkOption {
84+ type = types.string;
85+ default = "phpfpm";
86+ description = "User account under which phpfpm runs.";
87+ };
88+
89+ group = mkOption {
90+ type = types.string;
91+ default = "phpfpm";
92+ description = "Group account under which phpfpm runs.";
93+ };
94+
95+ extraConfig = mkOption {
96+ type = types.lines;
97+ example = ''
98+ pm = dynamic
99+ pm.max_children = 75
100+ pm.start_servers = 10
101+ pm.min_spare_servers = 5
102+ pm.max_spare_servers = 20
103+ pm.max_requests = 500
104+ '';
105+
106+ description = ''
107+ Extra lines that go into the pool configuration.
108+ See the documentation on <literal>php-fpm.conf</literal> for
109+ details on configuration directives.
110+ '';
111+ };
112+ };
113+ });
114+
90115 example = literalExample ''
91− { mypool = '''
92− listen = /run/phpfpm/mypool
93− user = nobody
94− pm = dynamic
95− pm.max_children = 75
96− pm.start_servers = 10
97− pm.min_spare_servers = 5
98− pm.max_spare_servers = 20
99− pm.max_requests = 500
100− ''';
116+ {
117+ mypool = {
118+ socketName = "example";
119+ phpPackage = pkgs.php;
120+ user = "phpfpm";
121+ group = "phpfpm";
122+ extraConfig = '''
123+ pm = dynamic
124+ pm.max_children = 75
125+ pm.start_servers = 10
126+ pm.min_spare_servers = 5
127+ pm.max_spare_servers = 20
128+ pm.max_requests = 500
129+ ''';
130+ }
101131 }
102132 '';
103− description = ''
104− A mapping between PHP-FPM pool names and their configurations.
105− See the documentation on <literal>php-fpm.conf</literal> for
106− details on configuration directives. If no pools are defined,
107− the phpfpm service is disabled.
108− '';
109− };
110−
111− pools = mkOption {
112− type = types.attrsOf (types.submodule (import ./pool-options.nix {
113− inherit lib config;
114− }));
115− default = {};
116− example = literalExample ''
117− {
118− mypool = {
119− listen = "/path/to/unix/socket";
120− phpPackage = pkgs.php;
121− extraConfig = '''
122− user = nobody
123− pm = dynamic
124− pm.max_children = 75
125− pm.start_servers = 10
126− pm.min_spare_servers = 5
127− pm.max_spare_servers = 20
128− pm.max_requests = 500
129− ''';
130− }
131− }'';
132133 description = ''
133134 PHP-FPM pools. If no pools or poolConfigs are defined, the PHP-FPM
134135 service is disabled.
@@ -154,9 +155,6 @@ in {
154155 after = [ "network.target" ];
155156 wantedBy = [ "phpfpm.target" ];
156157 partOf = [ "phpfpm.target" ];
157− preStart = ''
158− mkdir -p ${stateDir}
159− '';
160158 serviceConfig = let
161159 cfgFile = fpmCfgFile pool poolConfig.config;
162160 iniFile = phpIni poolConfig;
@@ -166,10 +164,19 @@ in {
166164 ProtectSystem = "full";
167165 ProtectHome = true;
168166 # XXX: We need AF_NETLINK to make the sendmail SUID binary from postfix work
169− RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6 AF_NETLINK";
167+ RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" "AF_NETLINK" ];
170168 Type = "notify";
171− ExecStart = "${poolConfig.phpPackage}/bin/php-fpm -y ${cfgFile} -c ${iniFile}";
169+ ExecStart = "${poolConfig.phpPackage}/bin/php-fpm -y '${cfgFile}' -c '${iniFile}'";
172170 ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
171+ # User and group
172+ User = "${poolConfig.userPool}";
173+ Group = "${poolConfig.groupPool}";
174+ # Runtime directory and mode
175+ RuntimeDirectory = "phpfpm-${pool}";
176+ RuntimeDirectoryMode = "0750";
177+ # Capabilities
178+ AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" "CAP_SETGID" "CAP_SETUID" "CAP_CHOWN" "CAP_SYS_RESOURCE" ];
179+ CapabilityBoundingSet = [ "CAP_NET_BIND_SERVICE" "CAP_SETGID" "CAP_SETUID" "CAP_CHOWN" "CAP_SYS_RESOURCE" ];
173180 };
174181 }
175182 );
nixos/modules/services/web-servers/phpfpm/pool-options.nixdeleted−57
@@ -1,57 +0,0 @@
1−{ lib, config }:
2−
3−let
4− fpmCfg = config.services.phpfpm;
5−in
6−
7−with lib; {
8−
9− options = {
10−
11− listen = mkOption {
12− type = types.str;
13− example = "/path/to/unix/socket";
14− description = ''
15− The address on which to accept FastCGI requests.
16− '';
17− };
18−
19− phpPackage = mkOption {
20− type = types.package;
21− default = fpmCfg.phpPackage;
22− defaultText = "config.services.phpfpm.phpPackage";
23− description = ''
24− The PHP package to use for running this PHP-FPM pool.
25− '';
26− };
27−
28− phpOptions = mkOption {
29− type = types.lines;
30− default = fpmCfg.phpOptions;
31− defaultText = "config.services.phpfpm.phpOptions";
32− description = ''
33− "Options appended to the PHP configuration file <filename>php.ini</filename> used for this PHP-FPM pool."
34− '';
35− };
36−
37− extraConfig = mkOption {
38− type = types.lines;
39− example = ''
40− user = nobody
41− pm = dynamic
42− pm.max_children = 75
43− pm.start_servers = 10
44− pm.min_spare_servers = 5
45− pm.max_spare_servers = 20
46− pm.max_requests = 500
47− '';
48−
49− description = ''
50− Extra lines that go into the pool configuration.
51− See the documentation on <literal>php-fpm.conf</literal> for
52− details on configuration directives.
53− '';
54− };
55− };
56−}
57−
nixos/modules/virtualisation/libvirtd.nix+64−40
@@ -23,14 +23,16 @@ let
2323 ''}
2424 ${cfg.qemuVerbatimConfig}
2525 '';
26+ dirName = "libvirt";
27+ subDirs = list: [ dirName ] ++ map (e: "${dirName}/${e}") list;
2628
2729in {
2830
2931 ###### interface
3032
31− options = {
33+ options.virtualisation.libvirtd = {
3234
33− virtualisation.libvirtd.enable = mkOption {
35+ enable = mkOption {
3436 type = types.bool;
3537 default = false;
3638 description = ''
@@ -41,7 +43,7 @@ in {
4143 '';
4244 };
4345
44− virtualisation.libvirtd.qemuPackage = mkOption {
46+ qemuPackage = mkOption {
4547 type = types.package;
4648 default = pkgs.qemu;
4749 description = ''
@@ -51,7 +53,7 @@ in {
5153 '';
5254 };
5355
54− virtualisation.libvirtd.extraConfig = mkOption {
56+ extraConfig = mkOption {
5557 type = types.lines;
5658 default = "";
5759 description = ''
@@ -60,7 +62,7 @@ in {
6062 '';
6163 };
6264
63− virtualisation.libvirtd.qemuRunAsRoot = mkOption {
65+ qemuRunAsRoot = mkOption {
6466 type = types.bool;
6567 default = true;
6668 description = ''
@@ -72,7 +74,7 @@ in {
7274 '';
7375 };
7476
75− virtualisation.libvirtd.qemuVerbatimConfig = mkOption {
77+ qemuVerbatimConfig = mkOption {
7678 type = types.lines;
7779 default = ''
7880 namespaces = []
@@ -84,7 +86,7 @@ in {
8486 '';
8587 };
8688
87− virtualisation.libvirtd.qemuOvmf = mkOption {
89+ qemuOvmf = mkOption {
8890 type = types.bool;
8991 default = true;
9092 description = ''
@@ -93,7 +95,7 @@ in {
9395 '';
9496 };
9597
96− virtualisation.libvirtd.extraOptions = mkOption {
98+ extraOptions = mkOption {
9799 type = types.listOf types.str;
98100 default = [ ];
99101 example = [ "--verbose" ];
@@ -102,7 +104,7 @@ in {
102104 '';
103105 };
104106
105− virtualisation.libvirtd.onShutdown = mkOption {
107+ onShutdown = mkOption {
106108 type = types.enum ["shutdown" "suspend" ];
107109 default = "suspend";
108110 description = ''
@@ -113,6 +115,14 @@ in {
113115 '';
114116 };
115117
118+ allowedBridges = mkOption {
119+ type = types.listOf types.str;
120+ default = [ "virbr0" ];
121+ description = ''
122+ List of bridge devices that can be used by qemu:///session
123+ '';
124+ };
125+
116126 };
117127
118128
@@ -120,7 +130,12 @@ in {
120130
121131 config = mkIf cfg.enable {
122132
123− environment.systemPackages = with pkgs; [ libvirt libressl.nc cfg.qemuPackage ];
133+ environment = {
134+ # this file is expected in /etc/qemu and not sysconfdir (/var/lib)
135+ etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
136+ "allow ${e}") cfg.allowedBridges;
137+ systemPackages = with pkgs; [ libvirt libressl.nc cfg.qemuPackage ];
138+ };
124139
125140 boot.kernelModules = [ "tun" ];
126141
@@ -134,30 +149,15 @@ in {
134149 group = "qemu-libvirtd";
135150 };
136151
137− systemd.packages = [ pkgs.libvirt ];
138−
139− systemd.services.libvirtd = {
140− description = "Libvirt Virtual Machine Management Daemon";
141−
142− wantedBy = [ "multi-user.target" ];
143− after = [ "systemd-udev-settle.service" ]
144− ++ optional vswitch.enable "vswitchd.service";
145−
146− environment.LIBVIRTD_ARGS = ''--config "${configFile}" ${concatStringsSep " " cfg.extraOptions}'';
147−
148− path = [ cfg.qemuPackage ] # libvirtd requires qemu-img to manage disk images
149− ++ optional vswitch.enable vswitch.package;
150−
151− preStart = ''
152− mkdir -p /var/log/libvirt/qemu -m 755
153− rm -f /var/run/libvirtd.pid
154−
155− mkdir -p /var/lib/libvirt
156− mkdir -p /var/lib/libvirt/dnsmasq
152+ security.wrappers.qemu-bridge-helper = {
153+ source = "/run/${dirName}/nix-helpers/qemu-bridge-helper";
154+ };
157155
158− chmod 755 /var/lib/libvirt
159− chmod 755 /var/lib/libvirt/dnsmasq
156+ systemd.packages = [ pkgs.libvirt ];
160157
158+ systemd.services.libvirtd-config = {
159+ description = "Libvirt Virtual Machine Management Daemon - configuration";
160+ script = ''
161161 # Copy default libvirt network config .xml files to /var/lib
162162 # Files modified by the user will not be overwritten
163163 for i in $(cd ${pkgs.libvirt}/var/lib && echo \
@@ -169,21 +169,45 @@ in {
169169 done
170170
171171 # Copy generated qemu config to libvirt directory
172− cp -f ${qemuConfigFile} /var/lib/libvirt/qemu.conf
172+ cp -f ${qemuConfigFile} /var/lib/${dirName}/qemu.conf
173173
174174 # stable (not GC'able as in /nix/store) paths for using in <emulator> section of xml configs
175− mkdir -p /run/libvirt/nix-emulators
176175 for emulator in ${pkgs.libvirt}/libexec/libvirt_lxc ${cfg.qemuPackage}/bin/qemu-kvm ${cfg.qemuPackage}/bin/qemu-system-*; do
177− ln -s --force "$emulator" /run/libvirt/nix-emulators/
176+ ln -s --force "$emulator" /run/${dirName}/nix-emulators/
177+ done
178+
179+ for helper in libexec/qemu-bridge-helper bin/qemu-pr-helper; do
180+ ln -s --force ${cfg.qemuPackage}/$helper /run/${dirName}/nix-helpers/
178181 done
179182
180183 ${optionalString cfg.qemuOvmf ''
181− mkdir -p /run/libvirt/nix-ovmf
182− ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_CODE.fd /run/libvirt/nix-ovmf/
183− ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_VARS.fd /run/libvirt/nix-ovmf/
184+ ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_CODE.fd /run/${dirName}/nix-ovmf/
185+ ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_VARS.fd /run/${dirName}/nix-ovmf/
184186 ''}
185187 '';
186188
189+ serviceConfig = {
190+ Type = "oneshot";
191+ RuntimeDirectoryPreserve = "yes";
192+ LogsDirectory = subDirs [ "qemu" ];
193+ RuntimeDirectory = subDirs [ "nix-emulators" "nix-helpers" "nix-ovmf" ];
194+ StateDirectory = subDirs [ "dnsmasq" ];
195+ };
196+ };
197+
198+ systemd.services.libvirtd = {
199+ description = "Libvirt Virtual Machine Management Daemon";
200+
201+ wantedBy = [ "multi-user.target" ];
202+ requires = [ "libvirtd-config.service" ];
203+ after = [ "systemd-udev-settle.service" "libvirtd-config.service" ]
204+ ++ optional vswitch.enable "vswitchd.service";
205+
206+ environment.LIBVIRTD_ARGS = ''--config "${configFile}" ${concatStringsSep " " cfg.extraOptions}'';
207+
208+ path = [ cfg.qemuPackage ] # libvirtd requires qemu-img to manage disk images
209+ ++ optional vswitch.enable vswitch.package;
210+
187211 serviceConfig = {
188212 Type = "notify";
189213 KillMode = "process"; # when stopping, leave the VMs alone
@@ -203,7 +227,7 @@ in {
203227 systemd.sockets.virtlogd = {
204228 description = "Virtual machine log manager socket";
205229 wantedBy = [ "sockets.target" ];
206− listenStreams = [ "/run/libvirt/virtlogd-sock" ];
230+ listenStreams = [ "/run/${dirName}/virtlogd-sock" ];
207231 };
208232
209233 systemd.services.virtlogd = {
@@ -215,7 +239,7 @@ in {
215239 systemd.sockets.virtlockd = {
216240 description = "Virtual machine lock manager socket";
217241 wantedBy = [ "sockets.target" ];
218− listenStreams = [ "/run/libvirt/virtlockd-sock" ];
242+ listenStreams = [ "/run/${dirName}/virtlockd-sock" ];
219243 };
220244
221245 systemd.services.virtlockd = {
nixos/tests/mysql.nix+6
@@ -28,6 +28,12 @@ import ./make-test.nix ({ pkgs, ...} : {
2828 {
2929 users.users.testuser = { };
3030 services.mysql.enable = true;
31+ services.mysql.initialScript = pkgs.writeText "mariadb-init.sql" ''
32+ echo "ALTER USER root@localhost IDENTIFIED WITH unix_socket;"
33+ echo "DELETE FROM mysql.user WHERE password = ''' AND plugin = ''';"
34+ echo "DELETE FROM mysql.user WHERE user = ''';"
35+ echo "FLUSH PRIVILEGES;"
36+ '';
3137 services.mysql.ensureDatabases = [ "testdb" ];
3238 services.mysql.ensureUsers = [{
3339 name = "testuser";
pkgs/applications/altcoins/parity/beta.nix+3−3
@@ -1,6 +1,6 @@
11let
2− version = "2.5.1";
3− sha256 = "0nnrgc2qyqqld3znjigryqpg5jaqh3jnmin4a334dbr4jw50dz3d";
4− cargoSha256 = "184vfhsalk5dims3k13zrsv4lmm45a7nm3r0b84g72q7hhbl8pkf";
2+ version = "2.5.3";
3+ sha256 = "04z38ba4f1kmaa3d9b4gqz7dwr5blbppnkngw758xdm56772hfmj";
4+ cargoSha256 = "03dlzl96g8k02lifymwp1xs0b2mrnj5c1xzpwp014ijqlnzcfgsv";
55in
66 import ./parity.nix { inherit version sha256 cargoSha256; }
pkgs/applications/altcoins/parity/default.nix+3−3
@@ -1,6 +1,6 @@
11let
2− version = "2.4.6";
3− sha256 = "0vfq1pyd92n60h9gimn4d5j56xanvl43sgxk9h2kb16amy0mmh3z";
4− cargoSha256 = "04gi9vddahq1q207f83n3wriwdjnmmnby6mq4crdh7yx1p4b26m9";
2+ version = "2.4.8";
3+ sha256 = "1kr7hzv27vxa14wafhpaq5a4fv97zh71xjjmwzaqq4gj3k9yj0rm";
4+ cargoSha256 = "1yjyk6mhr3ws73aq6h8z5iabvj03ch7mxhkrfdkmhw3cjj0jgx6j";
55in
66 import ./parity.nix { inherit version sha256 cargoSha256; }
pkgs/applications/altcoins/parity/parity.nix+4−2
@@ -5,7 +5,7 @@
55
66{ stdenv
77, fetchFromGitHub
8−, rustPlatform
8+, rustPlatform
99, pkgconfig
1010, openssl
1111, systemd
@@ -29,12 +29,14 @@ rustPlatform.buildRustPackage rec {
2929 systemd.lib systemd.dev openssl openssl.dev
3030 ];
3131
32+ cargoBuildFlags = [ "--features final" ];
33+
3234 # test result: FAILED. 80 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out
3335 doCheck = false;
3436
3537 meta = with stdenv.lib; {
3638 description = "Fast, light, robust Ethereum implementation";
37− homepage = http://parity.io;
39+ homepage = "http://parity.io";
3840 license = licenses.gpl3;
3941 maintainers = [ maintainers.akru ];
4042 platforms = platforms.linux;
pkgs/applications/audio/ecasound/default.nix+2−2
@@ -15,11 +15,11 @@
1515
1616stdenv.mkDerivation rec {
1717 name = "ecasound-${version}";
18− version = "2.9.1";
18+ version = "2.9.2";
1919
2020 src = fetchurl {
2121 url = "https://ecasound.seul.org/download/ecasound-${version}.tar.gz";
22− sha256 = "1wyws3xc4f9pglrrqv6k9137sarv4asizqrxz8h0dn44rnzfiz1r";
22+ sha256 = "15rcs28fq2wfvfs66p5na7adq88b55qszbhshpizgdbyqzgr2jf1";
2323 };
2424
2525 buildInputs = [ alsaLib audiofile libjack2 liblo liboil libsamplerate libsndfile lilv lv2 ];
pkgs/applications/audio/pulseaudio-modules-bt/default.nix+1
@@ -35,6 +35,7 @@ in stdenv.mkDerivation rec {
3535
3636 patches = [
3737 ./fix-install-path.patch
38+ ./fix-aac-defaults.patch
3839 ];
3940
4041 nativeBuildInputs = [
pkgs/applications/audio/pulseaudio-modules-bt/fix-aac-defaults.patchnew file+15
@@ -0,0 +1,15 @@
1+diff --git a/src/modules/bluetooth/a2dp/a2dp_aac.c b/src/modules/bluetooth/a2dp/a2dp_aac.c
2+index 394a7a0..cf5abaf 100644
3+--- a/src/modules/bluetooth/a2dp/a2dp_aac.c
4++++ b/src/modules/bluetooth/a2dp/a2dp_aac.c
5+@@ -90,8 +90,8 @@ pa_aac_encoder_init(pa_a2dp_source_read_cb_t read_cb, pa_a2dp_source_read_buf_fr
6+ info->read_pcm = read_cb;
7+ info->read_buf_free = free_cb;
8+ info->aacenc_handle_opened = false;
9+- info->aac_enc_bitrate_mode = 5;
10+- info->aac_afterburner = false;
11++ info->aac_enc_bitrate_mode = 0;
12++ info->aac_afterburner = true;
13+ info->force_pa_fmt = PA_SAMPLE_INVALID;
14+ return true;
15+ }
pkgs/applications/audio/pulseeffects/default.nix+2−2
@@ -47,13 +47,13 @@ let
4747 ];
4848in stdenv.mkDerivation rec {
4949 pname = "pulseeffects";
50− version = "4.6.3";
50+ version = "4.6.5";
5151
5252 src = fetchFromGitHub {
5353 owner = "wwmm";
5454 repo = "pulseeffects";
5555 rev = "v${version}";
56− sha256 = "1gp23hpsnbiymbbhn6hp8sg1pnysgf04bj9k4h9dfinbgshlq6m7";
56+ sha256 = "11ihr29szpqlk9wkscns00ijihyvn5659bj1p7r1ixwgfv708apq";
5757 };
5858
5959 nativeBuildInputs = [
pkgs/applications/audio/qmmp/default.nix+2−2
@@ -29,11 +29,11 @@
2929# handle that.
3030
3131stdenv.mkDerivation rec {
32− name = "qmmp-1.3.2";
32+ name = "qmmp-1.3.3";
3333
3434 src = fetchurl {
3535 url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
36− sha256 = "1rh063kcyg7gs9yj2r4v5irpnq4pjaxaxsgrw30mdr21xhhc15cz";
36+ sha256 = "1777kqgvbkshqlawy00gbgwflxflwmjjidqdq29mhqszs76r6727";
3737 };
3838
3939 nativeBuildInputs = [ cmake pkgconfig ];
pkgs/applications/editors/android-studio/default.nix+3−3
@@ -13,9 +13,9 @@ let
1313 sha256Hash = "0y4l9d1yrvv1csx6vl4jnqgqy96y44rl6p8hcxrnbvrg61iqnj30";
1414 };
1515 betaVersion = {
16− version = "3.5.0.16"; # "Android Studio 3.5 Beta 4"
17− build = "191.5619324";
18− sha256Hash = "1rg6v9b8fdnmslpv80khhpx59lvwhj1vwbkyabz2fryfj67wz01z";
16+ version = "3.5.0.17"; # "Android Studio 3.5 Beta 5"
17+ build = "191.5675373";
18+ sha256Hash = "0iw9v2rzr32dhs3z4vgz93zvxcv111q4cvwzi2cb83hn8kl050ip";
1919 };
2020 latestVersion = { # canary & dev
2121 version = "3.6.0.3"; # "Android Studio 3.6 Canary 3"
pkgs/applications/editors/kakoune/default.nix+1−1
@@ -3,7 +3,7 @@
33with stdenv.lib;
44
55stdenv.mkDerivation rec {
6− name = "kakoune-${version}";
6+ pname = "kakoune-unwrapped";
77 version = "2019.01.20";
88 src = fetchFromGitHub {
99 repo = "kakoune";
pkgs/applications/editors/kakoune/plugins.nixnew file+5
@@ -0,0 +1,5 @@
1+{ parinfer-rust }:
2+
3+{
4+ inherit parinfer-rust;
5+}
pkgs/applications/editors/kakoune/wrapper.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv, bash }:
2+with stdenv.lib;
3+
4+kakoune:
5+
6+let
7+ getPlugins = { plugins ? [] }: plugins;
8+
9+ wrapper = { configure ? {} }:
10+ stdenv.mkDerivation rec {
11+ pname = "kakoune";
12+ version = getVersion kakoune;
13+
14+ src = ./.;
15+ buildCommand = ''
16+ mkdir -p $out/share/kak
17+ for plugin in ${strings.escapeShellArgs (getPlugins configure)}; do
18+ if [[ -d $plugin/share/kak/autoload ]]; then
19+ find "$plugin/share/kak/autoload" -type f -name '*.kak'| while read rcfile; do
20+ printf 'source "%s"\n' "$rcfile"
21+ done
22+ fi
23+ done >>$out/share/kak/plugins.kak
24+
25+ mkdir -p $out/bin
26+ substitute ${src}/wrapper.sh $out/bin/kak \
27+ --subst-var-by bash "${bash}" \
28+ --subst-var-by kakoune "${kakoune}" \
29+ --subst-var-by out "$out"
30+ chmod +x $out/bin/kak
31+ '';
32+
33+ preferLocalBuild = true;
34+ buildInputs = [ bash kakoune ];
35+ passthru = { unwrapped = kakoune; };
36+
37+ meta = kakoune.meta // {
38+ # prefer wrapper over the package
39+ priority = (kakoune.meta.priority or 0) - 1;
40+ hydraPlatforms = [];
41+ };
42+ };
43+in
44+ makeOverridable wrapper
pkgs/applications/editors/kakoune/wrapper.shnew file+30
@@ -0,0 +1,30 @@
1+#!@bash@/bin/bash
2+
3+# We use the -E option to load plugins. This only makes sense when we are
4+# starting a new session, so we detect that. Also, Kakoune can only handle
5+# one -E option, so we prepend loading plugins to an existing one.
6+args=( "$@" )
7+loadPlugins=true
8+EValueOffset=-1
9+pluginScript='@out@/share/kak/plugins.kak'
10+
11+for (( i = 0; i < ${#args[@]}; i++ )); do
12+ case "${args[i]}" in
13+ -n|-c|-l|-p|-clear|-version) loadPlugins=false;;
14+ -E) EValueOffset=$(( i + 1 ));;
15+ --) break;;
16+ esac
17+ case "${args[i]}" in
18+ -E|-c|-e|-s|-p|-f|-i|-ui|-debug) i=$(( i + 1 ));;
19+ esac
20+done
21+
22+if [[ $loadPlugins = true ]]; then
23+ if (( EValueOffset >= 0 )); then
24+ args[EValueOffset]="source '$pluginScript'"$'\n'"${args[EValueOffset]}"
25+ else
26+ args=( "-E" "source '$pluginScript'" "${args[@]}" )
27+ fi
28+fi
29+
30+exec @kakoune@/bin/kak "${args[@]}"
pkgs/applications/editors/typora/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 pname = "typora";
5− version = "0.9.70";
5+ version = "0.9.72";
66
77 src = fetchurl {
88 url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
9− sha256 = "08bgllbvgrpdkk9bryj4s16n274ps4igwrzdvsdbyw8wpp44vcy2";
9+ sha256 = "0q7fj77pr3ykpwgip87h12qxvpvlzs15mi9w3phqm3p9mmm9rlrs";
1010 };
1111
1212 nativeBuildInputs = [
pkgs/applications/graphics/drawpile/default.nix+2−2
@@ -59,11 +59,11 @@ let
5959
6060in stdenv.mkDerivation rec {
6161 name = "drawpile-${version}";
62− version = "2.1.10";
62+ version = "2.1.11";
6363
6464 src = fetchurl {
6565 url = "https://drawpile.net/files/src/drawpile-${version}.tar.gz";
66− sha256 = "074lp5z5kh6qwar3y4ik7gma5mdgafdsb50q425xcd3pv00gy0hm";
66+ sha256 = "00r5vzracvjk369rri2jxzgfaa1ll4qj5gdmzgflvidz8420bcvm";
6767 };
6868
6969 nativeBuildInputs = [
pkgs/applications/graphics/geeqie/default.nix+15−3
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, pkgconfig, autoconf, automake, gettext, intltool
22, gtk3, lcms2, exiv2, libchamplain, clutter-gtk, ffmpegthumbnailer, fbida
3−, wrapGAppsHook
3+, wrapGAppsHook, fetchpatch
44}:
55
66stdenv.mkDerivation rec {
@@ -12,8 +12,20 @@ stdenv.mkDerivation rec {
1212 sha256 = "0ciygvcxb78pqg59r6p061mkbpvkgv2rv3r79j3kgv3kalb3ln2w";
1313 };
1414
15− # Do not build the changelog as this requires markdown.
16− patches = [ ./geeqie-no-changelog.patch ];
15+ patches = [
16+ # Do not build the changelog as this requires markdown.
17+ (fetchpatch {
18+ name = "geeqie-1.4-goodbye-changelog.patch";
19+ url = "https://src.fedoraproject.org/rpms/geeqie/raw/132fb04a1a5e74ddb333d2474f7edb9a39dc8d27/f/geeqie-1.4-goodbye-changelog.patch";
20+ sha256 = "00a35dds44kjjdqsbbfk0x9y82jspvsbpm2makcm1ivzlhjjgszn";
21+ })
22+ # Fixes build with exiv2 0.27.1
23+ (fetchpatch {
24+ name = "geeqie-exiv2-0.27.patch";
25+ url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/geeqie-exiv2-0.27.patch?h=packages/geeqie&id=dee28a8b3e9039b9cd6927b5a93ef2a07cd8271d";
26+ sha256 = "05skpbyp8pcq92psgijyccc8liwfy2cpwprw6m186pf454yb5y9p";
27+ })
28+ ];
1729
1830 preConfigure = "./autogen.sh";
1931
pkgs/applications/graphics/geeqie/geeqie-no-changelog.patchdeleted−14
@@ -1,14 +0,0 @@
1−--- geeqie-1.4.orig/Makefile.am 2017-12-31 07:31:21.000000000 -0500
2−+++ geeqie-1.4/Makefile.am 2018-01-01 15:05:58.742068166 -0500
3−@@ -10,9 +10,9 @@
4− readmedir = @readmedir@
5−
6− if HAVE_MARKDOWN
7−-readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS README.html ChangeLog.html
8−+readme_DATA = README.md COPYING TODO README.lirc AUTHORS README.html
9− else
10−-readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS ChangeLog.html
11−+readme_DATA = README.md COPYING TODO README.lirc AUTHORS
12− endif
13−
14− desktopdir = $(datadir)/applications
pkgs/applications/graphics/hugin/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, cmake, fetchurl, gnumake, makeWrapper, pkgconfig
1+{ stdenv, cmake, fetchurl, gnumake, makeWrapper, pkgconfig, fetchpatch
22, autopanosiftc, boost, cairo, enblend-enfuse, exiv2, fftw, flann, gettext
33, glew, ilmbase, lcms2, lensfun, libjpeg, libpng, libtiff, libX11, libXi
44, libXmu, libGLU_combined, openexr, panotools, perlPackages, sqlite, vigra, wxGTK, zlib
@@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
1212 sha256 = "1l925qslp98gg7yzmgps10h6dq0nb60wbfk345anlxsv0g2ifizr";
1313 };
1414
15+ patches = [
16+ # Fixes build with exiv2 0.27.1
17+ (fetchpatch {
18+ url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/hugin-exiv2-0.27.1.patch?h=packages/hugin";
19+ sha256 = "1yxvlpvrhyrfd2w6kwx1w3mncsvlzdhp0w7xchy8q6kc2kd5nf7r";
20+ })
21+ ];
22+
1523 buildInputs = [
1624 boost cairo exiv2 fftw flann gettext glew ilmbase lcms2 lensfun libjpeg
1725 libpng libtiff libX11 libXi libXmu libGLU_combined openexr panotools sqlite vigra
pkgs/applications/graphics/luminance-hdr/default.nix+13−11
@@ -1,23 +1,25 @@
1−{ stdenv, cmake, fetchurl, pkgconfig, boost, exiv2, fftwFloat, gsl
1+{ stdenv, cmake, fetchFromGitHub, pkgconfig, boost, exiv2, fftwFloat, gsl
22, ilmbase, lcms2, libraw, libtiff, openexr
3−, qtbase, qtdeclarative, qttools, qtwebengine
3+, qtbase, qtdeclarative, qttools, qtwebengine, eigen
44}:
55
66stdenv.mkDerivation rec {
7− name = "luminance-hdr-2.5.1";
7+ pname = "luminance-hdr";
8+ version = "2.6.0";
89
9− src = fetchurl {
10− url = "mirror://sourceforge/qtpfsgui/${name}.tar.bz2";
11− sha256 = "15hnyk9yjkkc97dmnrg2ipfgwqxprlcyv2kyvbls4d54zc56x658";
10+ src = fetchFromGitHub {
11+ owner = "LuminanceHDR";
12+ repo = "LuminanceHDR";
13+ rev = "v.${version}";
14+ sha256 = "1izmgjjp8mgyxv57sjjr05z7g7059ykb5wchlcn4wrnnb6aslnvn";
1215 };
1316
1417 NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
1518
16− buildInputs =
17− [
18− qtbase qtdeclarative qttools qtwebengine
19− boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
20− ];
19+ buildInputs = [
20+ qtbase qtdeclarative qttools qtwebengine eigen
21+ boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
22+ ];
2123
2224 nativeBuildInputs = [ cmake pkgconfig ];
2325
pkgs/applications/graphics/nomacs/default.nix+4
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
2727 sha256 = "12582i5v85da7vwjxj8grj99hxg34ij5cn3b1578wspdfw1xfy1i";
2828 };
2929
30+ patches = [
31+ ./nomacs-iostream.patch
32+ ];
33+
3034 enableParallelBuilding = true;
3135
3236 setSourceRoot = ''
pkgs/applications/graphics/nomacs/nomacs-iostream.patchnew file+26
@@ -0,0 +1,26 @@
1+diff --git a/src/DkCore/DkMetaData.cpp b/src/DkCore/DkMetaData.cpp
2+index d195757e..affec7be 100644
3+--- a/src/DkCore/DkMetaData.cpp
4++++ b/src/DkCore/DkMetaData.cpp
5+@@ -42,6 +42,8 @@
6+ #include <QApplication>
7+ #pragma warning(pop) // no warnings from includes - end
8+
9++#include <iostream>
10++
11+ namespace nmc {
12+
13+ // DkMetaDataT --------------------------------------------------------------------
14+diff --git a/src/DkGui/DkNoMacs.cpp b/src/DkGui/DkNoMacs.cpp
15+index 6a412f70..bbfba233 100644
16+--- a/src/DkGui/DkNoMacs.cpp
17++++ b/src/DkGui/DkNoMacs.cpp
18+@@ -96,6 +96,8 @@
19+ #include <QWinTaskbarButton>
20+ #endif
21+
22++#include <iostream>
23++
24+ namespace nmc {
25+
26+ DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : QObject(parent) {
pkgs/applications/graphics/photivo/default.nix+1
@@ -37,5 +37,6 @@ stdenv.mkDerivation rec {
3737 meta = with stdenv.lib; {
3838 platforms = platforms.linux;
3939 license = licenses.gpl3;
40+ broken = true; # exiv2 0.27.1 FTBFS
4041 };
4142}
pkgs/applications/graphics/photoqt/default.nix+21−8
@@ -1,23 +1,36 @@
1−{ stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw
1+{ stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw, fetchpatch
22, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools, qtgraphicaleffects
3+, extra-cmake-modules, poppler, kimageformats, libarchive, libdevil
34}:
45
56stdenv.mkDerivation rec {
6− name = "photoqt-${version}";
7− version = "1.5.1";
7+ pname = "photoqt";
8+ version = "1.7.1";
89
910 src = fetchurl {
10− url = "https://photoqt.org/pkgs/photoqt-${version}.tar.gz";
11− sha256 = "17kkpzkmzfnigs26jjyd75iy58qffjsclif81cmviq73lzmqy0b1";
11+ url = "https://${pname}.org/pkgs/${pname}-${version}.tar.gz";
12+ sha256 = "1qvxdh3cbjcywqx0da2qp8z092660qyzv5yknqbps2zr12qqb103";
1213 };
1314
14− patches = [ ./photoqt-1.5.1-qt-5.9.patch ];
15+ patches = [
16+ # Fixes build with exiv2 0.27.1
17+ (fetchpatch {
18+ url = "https://gitlab.com/luspi/photoqt/commit/c6fd41478e818f3a651d40f96cab3d790e1c09a4.patch";
19+ sha256 = "1j2pdr7hm3js7lswhb4qkf9sj9viclhjqz50qxpyd7pqrl1gf2va";
20+ })
21+ ];
1522
16− nativeBuildInputs = [ cmake ];
23+ nativeBuildInputs = [ cmake extra-cmake-modules qttools ];
1724
1825 buildInputs = [
19− qtbase qtquickcontrols qttools exiv2 graphicsmagick
26+ qtbase qtquickcontrols exiv2 graphicsmagick poppler
2027 qtmultimedia qtdeclarative libraw qtgraphicaleffects
28+ kimageformats libarchive
29+ ];
30+
31+ cmakeFlags = [
32+ "-DFREEIMAGE=OFF"
33+ "-DDEVIL=OFF"
2134 ];
2235
2336 preConfigure = ''
pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patchdeleted−13
@@ -1,13 +0,0 @@
1−diff --git a/CMakeLists.txt b/CMakeLists.txt
2−index 97abcb5..fd4877a 100644
3−--- a/CMakeLists.txt
4−+++ b/CMakeLists.txt
5−@@ -50,7 +50,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -Wall")
6− #### FIND REQUIRED PACKAGES ####
7− ################################
8−
9−-FIND_PACKAGE(Qt5 COMPONENTS LinguistTools Quick Widgets Core Svg REQUIRED)
10−+FIND_PACKAGE(Qt5 COMPONENTS LinguistTools Quick Widgets Core Svg Sql Xml REQUIRED)
11− SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" ${CMAKE_MODULE_PATH})
12− FIND_PACKAGE(Magick)
13− FIND_PACKAGE(Exiv2)
pkgs/applications/graphics/qtpfsgui/default.nixdeleted−41
@@ -1,41 +0,0 @@
1−{stdenv, fetchurl, qt4, qmake4Hook, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
2−
3−stdenv.mkDerivation rec {
4− name = "qtpfsgui-1.9.3";
5−
6− src = fetchurl {
7− url = "mirror://sourceforge/qtpfsgui/${name}.tar.gz";
8− sha256 = "1mlg9dry4mfnnjlnwsw375hzsiagssdhccfmapx5nh6ykqrslsh1";
9− };
10−
11− buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
12− nativeBuildInputs = [ qmake4Hook ];
13−
14− hardeningDisable = [ "format" ];
15−
16− preConfigure = ''
17− export CPATH="${ilmbase.dev}/include/OpenEXR:$CPATH"
18− '';
19−
20− qmakeFlags = [
21− "EXIV2PATH=${exiv2.dev}/include/exiv2"
22− "OPENEXRDIR=${openexr.dev}/include/OpenEXR"
23− "FFTW3DIR=${fftwSinglePrec.dev}/include"
24− "LIBTIFFDIR=${libtiff.dev}/include"
25− ];
26−
27− meta = {
28− homepage = http://qtpfsgui.sourceforge.net/;
29− description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
30−
31− longDescription =
32− '' Qtpfsgui is an open source graphical user interface application that
33− aims to provide a workflow for high dynamic range (HDR) imaging.
34− '';
35−
36− license = stdenv.lib.licenses.gpl2Plus;
37−
38− maintainers = [ ];
39− platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
40− };
41−}
pkgs/applications/kde/gwenview.nix+9−1
@@ -3,7 +3,7 @@
33 extra-cmake-modules, kdoctools,
44 exiv2, lcms2,
55 baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi,
6− phonon, qtimageformats, qtsvg, qtx11extras, kinit
6+ phonon, qtimageformats, qtsvg, qtx11extras, kinit, fetchpatch
77}:
88
99mkDerivation {
@@ -18,4 +18,12 @@ mkDerivation {
1818 qtimageformats qtsvg qtx11extras
1919 ];
2020 propagatedUserEnvPkgs = [ kipi-plugins libkipi (lib.getBin kinit) ];
21+
22+ # Fixes build with exiv2-0.27.1. Drop in 19.04.2
23+ patches = [
24+ (fetchpatch {
25+ url = "https://github.com/KDE/gwenview/commit/172560b845460b6121154f88221c855542219943.patch";
26+ sha256 = "0y1l34h2s7rhfknvg6ggcc389jfzhpq69wf0s3xd5ccwfw7c0ycq";
27+ })
28+ ];
2129}
pkgs/applications/misc/1password/default.nix+4−4
@@ -2,24 +2,24 @@
22
33stdenv.mkDerivation rec {
44 pname = "1password";
5− version = "0.5.6-003";
5+ version = "0.5.7";
66 src =
77 if stdenv.hostPlatform.system == "i686-linux" then
88 fetchzip {
99 url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip";
10− sha256 = "11smnx8fh32qm3b82x2ps4y46q29h77x1j1dj3d5vs0vha9b8frj";
10+ sha256 = "1193lq6cvqkv2cy07l6wzb25gb5vb3s3pxm534q3izhzrrz6lisz";
1111 stripRoot = false;
1212 }
1313 else if stdenv.hostPlatform.system == "x86_64-linux" then
1414 fetchzip {
1515 url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip";
16− sha256 = "1qwxga6qmb3n76h2fl1lxhnz676cqbx8gic1b5c9hw88gnqwykb9";
16+ sha256 = "0hlw1jasxzg31293d2n3ydzj62q7ji7nig7aaighcvzi3c9j7v51";
1717 stripRoot = false;
1818 }
1919 else if stdenv.hostPlatform.system == "x86_64-darwin" then
2020 fetchzip {
2121 url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.zip";
22− sha256 = "0gzmwc20liqx2cqply06yarwp228ydfgfb26bmpxbvlp0cq7d07g";
22+ sha256 = "05z5k63fza6v0vhydyiq4sh9xhxnd9rcfxyym7jihv6b3fv3fnx3";
2323 stripRoot = false;
2424 }
2525 else throw "Architecture not supported";
pkgs/applications/misc/alacritty/default.nix+1−1
@@ -120,6 +120,6 @@ in buildRustPackage rec {
120120 homepage = https://github.com/jwilm/alacritty;
121121 license = with licenses; [ asl20 ];
122122 maintainers = with maintainers; [ mic92 ];
123− platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
123+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
124124 };
125125}
pkgs/applications/misc/calcurse/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "calcurse-${version}";
5− version = "4.4.0";
5+ version = "4.5.0";
66
77 src = fetchurl {
88 url = "https://calcurse.org/files/${name}.tar.gz";
9− sha256 = "0vw2xi6a2lrhrb8n55zq9lv4mzxhby4xdf3hmi1vlfpyrpdwkjzd";
9+ sha256 = "1vjwcmp51h7dsvwn0qx93w9chp3wp970v7d9mjhk7jyamcbfywn3";
1010 };
1111
1212 buildInputs = [ ncurses gettext python3 python3Packages.wrapPython ];
pkgs/applications/misc/copyq/default.nix+2−2
@@ -5,13 +5,13 @@
55
66stdenv.mkDerivation rec {
77 name = "CopyQ-${version}";
8− version = "3.8.0";
8+ version = "3.9.0";
99
1010 src = fetchFromGitHub {
1111 owner = "hluk";
1212 repo = "CopyQ";
1313 rev = "v${version}";
14− sha256 = "0kbhgg0j6iqfrpixvwl1mk3m0bz5s8bd6npk5xqcgzp1giywdc4i";
14+ sha256 = "1l9f0hg2ggy944sjlyiyglln5mjm9fvgmvwp3pnvmmc6mfbmslq3";
1515 };
1616
1717 nativeBuildInputs = [ cmake ];
pkgs/applications/misc/electron-cash/default.nix+2−2
@@ -2,13 +2,13 @@
22
33python3Packages.buildPythonApplication rec {
44 pname = "electron-cash";
5− version = "4.0.2";
5+ version = "4.0.7";
66
77 src = fetchurl {
88 url = "https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz";
99 # Verified using official SHA-1 and signature from
1010 # https://github.com/fyookball/keys-n-hashes
11− sha256 = "6255cd0493442ec57c10ae70ca2e84c6a29497f90a1393e6ac5772afe7572acf";
11+ sha256 = "d63ef2d52cff0b821b745067d752fd0c7f2902fa23eaf8e9392c54864cae5c77";
1212 };
1313
1414 propagatedBuildInputs = with python3Packages; [
pkgs/applications/misc/gpscorrelate/default.nix+30−17
@@ -1,28 +1,41 @@
1−{ fetchFromGitHub, stdenv, pkgconfig, exiv2, libxml2, gtk2
2−, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
1+{ fetchFromGitHub, stdenv, fetchpatch, pkgconfig, exiv2, libxml2, gtk3
2+, libxslt, docbook_xsl, docbook_xml_dtd_42, desktop-file-utils }:
33
44stdenv.mkDerivation rec {
5− name = "gpscorrelate-${version}";
6− version = "1.6.1";
5+ pname = "gpscorrelate";
6+ version = "unstable-2019-06-05";
77
88 src = fetchFromGitHub {
9− owner = "freefoote";
10− repo = "gpscorrelate";
11− rev = version;
12− sha256 = "1z0fc75rx7dl6nnydksa578qv116j2c2xs1czfiijzxjghx8njdj";
9+ owner = "dfandrich";
10+ repo = pname;
11+ rev = "80b14fe7c10c1cc8f62c13f517c062577ce88c85";
12+ sha256 = "1gaan0nd7ai0bwilfnkza7lg5mz87804mvlygj0gjc672izr37r6";
1313 };
1414
15− nativeBuildInputs = [ pkgconfig ];
16− buildInputs = [
17− exiv2 libxml2 gtk2
18− libxslt docbook_xsl
15+ nativeBuildInputs = [
16+ desktop-file-utils
1917 docbook_xml_dtd_42
18+ docbook_xsl
19+ libxslt
20+ pkgconfig
21+ ];
22+
23+ buildInputs = [
24+ exiv2
25+ gtk3
26+ libxml2
2027 ];
2128
22− patchPhase = ''
23− sed -i "Makefile" \
24− -es",^[[:blank:]]*prefix[[:blank:]]*=.*$,prefix = $out,g"
25− '';
29+ makeFlags = [
30+ "prefix=${placeholder ''out''}"
31+ "GTK=3"
32+ "CC=cc"
33+ "CXX=c++"
34+ ];
35+
36+ doCheck = true;
37+
38+ installTargets = [ "install" "install-desktop-file" ];
2639
2740 meta = with stdenv.lib; {
2841 description = "A GPS photo correlation tool, to add EXIF geotags";
@@ -44,7 +57,7 @@ stdenv.mkDerivation rec {
4457 '';
4558
4659 license = licenses.gpl2Plus;
47− homepage = https://github.com/freefoote/gpscorrelate;
60+ homepage = "https://github.com/dfandrich/gpscorrelate";
4861 platforms = platforms.linux;
4962 };
5063}
pkgs/applications/misc/jekyll/default.nix+26−1
@@ -1,8 +1,27 @@
11{ lib, bundlerApp, ruby
2+, writeShellScriptBin, makeWrapper
23, withOptionalDependencies ? false
34}:
45
5−bundlerApp rec {
6+let
7+ rubyWrapper = writeShellScriptBin "ruby" ''
8+ if [[ "$#" -eq 2 ]]; then
9+ if [[ "''${1##*/}" == "bundle" && "$2" == "install" ]]; then
10+ # See https://github.com/NixOS/nixpkgs/issues/58126 for more details.
11+ echo 'Skipping "bundle install" as it fails due to the Nix wrapper.'
12+ echo 'Please enter the new directory and run the following commands to serve the page:'
13+ echo 'nix-shell -p bundler --run "bundle install --gemfile=Gemfile --path vendor/cache"'
14+ echo 'nix-shell -p bundler --run "bundle exec jekyll serve"'
15+ exit 0
16+ # The following nearly works:
17+ unset BUNDLE_FROZEN
18+ exec ${ruby}/bin/ruby "$@" --gemfile=Gemfile --path=vendor/cache
19+ fi
20+ fi
21+ # Else: Don't modify the arguments:
22+ exec ${ruby}/bin/ruby "$@"
23+ '';
24+in bundlerApp rec {
625 pname = "jekyll";
726 exes = [ "jekyll" ];
827
@@ -11,6 +30,12 @@ bundlerApp rec {
1130 then ./full
1231 else ./basic;
1332
33+ buildInputs = [ makeWrapper ];
34+
35+ postBuild = ''
36+ wrapProgram $out/bin/jekyll --prefix PATH : ${rubyWrapper}/bin
37+ '';
38+
1439 meta = with lib; {
1540 description = "A blog-aware, static site generator, written in Ruby";
1641 longDescription = ''
pkgs/applications/misc/latte-dock/default.nix+2−2
@@ -3,12 +3,12 @@
33
44mkDerivation rec {
55 pname = "latte-dock";
6− version = "0.8.8";
6+ version = "0.8.9";
77 name = "${pname}-${version}";
88
99 src = fetchurl {
1010 url = "https://download.kde.org/stable/${pname}/${name}.tar.xz";
11− sha256 = "137s7rx35a5qrfww3q8bllj4zyjfa7l709snvdfj34y7jbq7p6cd";
11+ sha256 = "1kkpxa39crjpqgamrcpgp1mrcdg0aq9850yb6cf7lw7d3x2fdrxj";
1212 name = "${name}.tar.xz";
1313 };
1414
pkgs/applications/misc/lutris/default.nix+1−1
@@ -103,7 +103,7 @@ let
103103 perl which p7zip gnused gnugrep psmisc cups lcms2 mpg123 cairo unixODBC
104104 samba4 sane-backends openldap opencl-headers ocl-icd utillinux
105105
106− (wine.override { wineBuild = "wineWow"; })
106+ wineWowPackages.staging
107107
108108 # ZDOOM
109109 soundfont-fluid bzip2 game-music-emu
pkgs/applications/misc/pdfpc/default.nix+2−2
@@ -4,13 +4,13 @@
44stdenv.mkDerivation rec {
55 name = "${product}-${version}";
66 product = "pdfpc";
7− version = "4.3.2";
7+ version = "4.3.4";
88
99 src = fetchFromGitHub {
1010 repo = product;
1111 owner = product;
1212 rev = "v${version}";
13− sha256 = "15y6g92fp6x6dwwhrhkfny5z20w7pq9c8w19fh2vzff9aa6m2h9z";
13+ sha256 = "07aafsm4jzdgpahz83p0ajv40hry7gviyadqi13ahr8xdhhwy2sd";
1414 };
1515
1616 nativeBuildInputs = [
pkgs/applications/misc/qmapshack/default.nix+15−4
@@ -1,12 +1,12 @@
1−{ stdenv, fetchurl, cmake, qtscript, qtwebengine, gdal, proj, routino, quazip }:
1+{ stdenv, fetchurl, fetchpatch, cmake, qtscript, qtwebengine, gdal, proj, routino, quazip }:
22
33stdenv.mkDerivation rec {
44 name = "qmapshack-${version}";
5− version = "1.12.3";
5+ version = "1.13.0";
66
77 src = fetchurl {
88 url = "https://bitbucket.org/maproom/qmapshack/downloads/${name}.tar.gz";
9− sha256 = "1yp5gw4q4gwiwr9w4dz19am0bhsla9n2l3bdlk98a7f46kxgnkrx";
9+ sha256 = "1cv1f718r8vqyk2l6w3alz2aqjvb4msz8705pm9yr5ndi28qyrba";
1010 };
1111
1212 nativeBuildInputs = [ cmake ];
@@ -15,12 +15,23 @@ stdenv.mkDerivation rec {
1515
1616 cmakeFlags = [
1717 "-DROUTINO_XML_PATH=${routino}/share/routino"
18− "-DQUAZIP_INCLUDE_DIR=${quazip}/include/quazip"
18+ "-DQUAZIP_INCLUDE_DIR=${quazip}/include/quazip5"
1919 "-DLIBQUAZIP_LIBRARY=${quazip}/lib/libquazip.so"
2020 ];
2121
2222 enableParallelBuilding = true;
2323
24+ patches = [
25+ (fetchpatch {
26+ url = "https://bitbucket.org/maproom/qmapshack/raw/d0b1b595578a83fda981ccc1ff24166fa636ba1d/FindPROJ4.patch";
27+ sha256 = "1nx4ax233bnnj478cmjpm5c1qqmyn1navlihf10q6hhbanay9n99";
28+ })
29+ (fetchpatch {
30+ url = "https://bitbucket.org/maproom/qmapshack/raw/d0b1b595578a83fda981ccc1ff24166fa636ba1d/FindQuaZip5.patch";
31+ sha256 = "0z1b2dz2zlz685mxgn8bmh1fyhxpf6dzd6jvkkjyk2kvnrdxv3b9";
32+ })
33+ ];
34+
2435 meta = with stdenv.lib; {
2536 homepage = https://bitbucket.org/maproom/qmapshack/wiki/Home;
2637 description = "Plan your next outdoor trip";
pkgs/applications/misc/termdown/default.nix+2−2
@@ -6,11 +6,11 @@ with stdenv.lib;
66buildPythonApplication rec {
77
88 name = "termdown-${version}";
9− version = "1.14.1";
9+ version = "1.15.0";
1010
1111 src = fetchFromGitHub {
1212 rev = version;
13− sha256 = "0jgjzglna0gwp0j31l48pny69szslczl13aahwjfjypkv9lx8w2a";
13+ sha256 = "08l03yk5jc1g0gps789q1s2knnaqzlidy4s5q5nhwg9g25la19nr";
1414 repo = "termdown";
1515 owner = "trehn";
1616 };
pkgs/applications/misc/viking/default.nix+5−3
@@ -1,19 +1,21 @@
11{ fetchurl, stdenv, makeWrapper, pkgconfig, intltool, gettext, gtk2, expat, curl
22, gpsd, bc, file, gnome-doc-utils, libexif, libxml2, libxslt, scrollkeeper
3−, docbook_xml_dtd_412, gexiv2, sqlite, gpsbabel, expect, hicolor-icon-theme }:
3+, docbook_xml_dtd_412, gexiv2, sqlite, gpsbabel, expect, hicolor-icon-theme
4+, geoclue2, liboauth }:
45
56stdenv.mkDerivation rec {
67 name = "viking-${version}";
7− version = "1.6.2";
8+ version = "1.7";
89
910 src = fetchurl {
1011 url = "mirror://sourceforge/viking/viking/viking-${version}.tar.bz2";
11− sha256 = "09kq0sxs2czps0d6xzgkkp41746v44ip63m72qvfs7rsrnqj7qnz";
12+ sha256 = "092q2dv0rcz12nh2js1z1ralib1553dmzy9pdrvz9nv2vf61wybw";
1213 };
1314
1415 nativeBuildInputs = [ pkgconfig ];
1516 buildInputs = [ makeWrapper intltool gettext gtk2 expat curl gpsd bc file gnome-doc-utils
1617 libexif libxml2 libxslt scrollkeeper docbook_xml_dtd_412 gexiv2 sqlite hicolor-icon-theme
18+ geoclue2 liboauth
1719 ];
1820
1921 configureFlags = [ "--disable-scrollkeeper --disable-mapnik" ];
pkgs/applications/misc/zola/default.nix+3−3
@@ -2,16 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "zola";
5− version = "0.7.0";
5+ version = "0.8.0";
66
77 src = fetchFromGitHub {
88 owner = "getzola";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "02lr1n3gf0agj8x451ndyvv16lq7rccazp4nz9zy0pzwxwrlwhra";
11+ sha256 = "166kmlkzd1qyw9yq2jqs58z8b3d956jjhw9r15jzw98md949psr5";
1212 };
1313
14− cargoSha256 = "003dhh41fh337k3djibpj6hyd16xprbgws3lbp7x37p4lx7qlnfy";
14+ cargoSha256 = "1brmlg6nqyls1v62z0fg0km150q9m7h71wy67lidcnw76icmqr24";
1515
1616 nativeBuildInputs = [ cmake pkgconfig ];
1717 buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices cf-private ];
pkgs/applications/networking/browsers/firefox/common.nix+8−1
@@ -94,7 +94,14 @@ let
9494
9595 browserPatches = [
9696 ./env_var_for_system_dir.patch
97− ] ++ lib.optionals (stdenv.isAarch64 && lib.versionAtLeast ffversion "66" && lib.versionOlder ffversion "67") [
97+ ]
98+ ++ lib.optional (lib.versionAtLeast ffversion "63" && lib.versionOlder ffversion "69")
99+ (fetchpatch { # https://bugzilla.mozilla.org/show_bug.cgi?id=1500436#c29
100+ name = "write_error-parallel_make.diff";
101+ url = "https://hg.mozilla.org/mozilla-central/raw-diff/562655fe/python/mozbuild/mozbuild/action/node.py";
102+ sha256 = "11d7rgzinb4mwl7yzhidjkajynmxgmffr4l9isgskfapyax9p88y";
103+ })
104+ ++ lib.optionals (stdenv.isAarch64 && lib.versionAtLeast ffversion "66" && lib.versionOlder ffversion "67") [
98105 (fetchpatch {
99106 url = "https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/09c7fa0dc1d87922e3b464c0fa084df1227fca79/extra/firefox/arm.patch";
100107 sha256 = "1vbpih23imhv5r3g21m3m541z08n9n9j1nvmqax76bmyhn7mxp32";
pkgs/applications/networking/browsers/qutebrowser/default.nix+2−2
@@ -21,12 +21,12 @@ let
2121
2222in python3Packages.buildPythonApplication rec {
2323 pname = "qutebrowser";
24− version = "1.6.2";
24+ version = "1.6.3";
2525
2626 # the release tarballs are different from the git checkout!
2727 src = fetchurl {
2828 url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
29− sha256 = "1yzwrpqpghlpy2d7pbjgcb73dbngw835l4xbimz5aa90mvqkbwg1";
29+ sha256 = "0z9an14vlv0r48x7fk0mk7465gnhh19dx1w63lyhsgnfqy5pzlhy";
3030 };
3131
3232 # Needs tox
pkgs/applications/networking/browsers/vivaldi/default.nix+8−3
@@ -9,6 +9,7 @@
99, patchelf, makeWrapper
1010, isSnapshot ? false
1111, proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
12+, enableWidevine ? false, vivaldi-widevine ? null
1213}:
1314
1415let
@@ -50,8 +51,8 @@ in stdenv.mkDerivation rec {
5051 --set-rpath "${libPath}" \
5152 opt/${vivaldiName}/vivaldi-bin
5253 '' + stdenv.lib.optionalString proprietaryCodecs ''
53− sed -i '/^VIVALDI_FFMPEG_FOUND/ a \
54− checkffmpeg "${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so"' opt/${vivaldiName}/vivaldi
54+ sed -i '/^if \[ "$VIVALDI_FFMPEG_FOUND/i \
55+ VIVALDI_FFMPEG_FOUND=YES\nCACHED_FFMPEG=${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so' opt/${vivaldiName}/${vivaldiName}
5556 '' + ''
5657 echo "Finished patching Vivaldi binaries"
5758 '';
@@ -76,7 +77,11 @@ in stdenv.mkDerivation rec {
7677 "$out"/share/icons/hicolor/''${d}x''${d}/apps/vivaldi.png
7778 done
7879 wrapProgram "$out/bin/vivaldi" \
79− --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
80+ --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/ \
81+ ${stdenv.lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"}
82+ '' + stdenv.lib.optionalString enableWidevine ''
83+ rm $out/opt/${vivaldiName}/libwidevinecdm.so
84+ ln -s ${vivaldi-widevine}/lib/libwidevinecdm.so $out/opt/${vivaldiName}/libwidevinecdm.so
8085 '';
8186
8287 meta = with stdenv.lib; {
pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix+11−32
@@ -1,53 +1,32 @@
11{ stdenv, fetchurl
2−, dbus-glib, gtk3, libexif, libXScrnSaver, ninja, nss
3−, pciutils, pkgconfig, python2, xdg_utils, gn, at-spi2-core
2+, dpkg
43}:
54
65stdenv.mkDerivation rec {
7− name = "${product}-${version}";
8− product = "vivaldi-ffmpeg-codecs";
9− version = "72.0.3626.122";
6+ name = "chromium-codecs-ffmpeg";
7+ version = "74.0.3729.169";
108
119 src = fetchurl {
12− url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";
13− sha512 = "1477g5dgi4m0zbiqwm9w6jqkmjfmgjlbl3qs9ljldx8bif8my1jbz4hzws954aqxyxdbf5rjpvmrrqqppk5347prvsyl37rbsndaaqf";
10+ url = "https://launchpadlibrarian.net/424938057/${name}-extra_${version}-0ubuntu0.16.04.1_amd64.deb";
11+ sha256 = "1ls2fshfk08hqsfvbd7p6rp2gv3n0xdy86rdh00wiz5qgl3skfzc";
1412 };
1513
16− buildInputs = [ ];
14+ buildInputs = [ dpkg ];
1715
18− nativeBuildInputs = [
19− gtk3 libexif libXScrnSaver ninja nss pciutils python2 xdg_utils gn
20− pkgconfig dbus-glib at-spi2-core.dev
21− ];
22−
23− patches = [
24− ];
25−
26− configurePhase = ''
27− runHook preConfigure
28−
29− local args="ffmpeg_branding=\"ChromeOS\" proprietary_codecs=true enable_hevc_demuxing=true use_gnome_keyring=false use_sysroot=false use_gold=false use_allocator=\"none\" linux_use_bundled_binutils=false fatal_linker_warnings=false treat_warnings_as_errors=false enable_nacl=false enable_nacl_nonsfi=false is_clang=false clang_use_chrome_plugins=false is_component_build=true is_debug=false symbol_level=0 use_custom_libcxx=false use_lld=false use_jumbo_build=false"
30− gn gen out/Release -v --args="$args"
31−
32− runHook postConfigure
16+ unpackPhase = ''
17+ dpkg-deb -x $src .
18+ find .
3319 '';
3420
35− buildPhase = ''
36− ninja -C out/Release -v libffmpeg.so
37− '';
38−
39− dontStrip = true;
40−
4121 installPhase = ''
42− mkdir -p "$out/lib"
43− cp out/Release/libffmpeg.so "$out/lib/libffmpeg.so"
22+ install -vD usr/lib/chromium-browser/libffmpeg.so $out/lib/libffmpeg.so
4423 '';
4524
4625 meta = with stdenv.lib; {
4726 description = "Additional support for proprietary codecs for Vivaldi";
4827 homepage = "https://ffmpeg.org/";
4928 license = licenses.lgpl21;
50− maintainers = with maintainers; [ lluchs ];
29+ maintainers = with maintainers; [ betaboon lluchs ];
5130 platforms = [ "x86_64-linux" ];
5231 };
5332}
pkgs/applications/networking/browsers/vivaldi/widevine.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchurl
2+, unzip
3+}:
4+
5+stdenv.mkDerivation rec {
6+ name = "widevine";
7+ version = "4.10.1196.0";
8+
9+ src = fetchurl {
10+ url = "https://dl.google.com/widevine-cdm/${version}-linux-x64.zip";
11+ sha256 = "01c7nr7d2xs718jymicbk4ipzfx6q253109qv3lk4lryrrhvw14y";
12+ };
13+
14+ buildInputs = [ unzip ];
15+
16+ unpackPhase = ''
17+ unzip $src libwidevinecdm.so
18+ find .
19+ '';
20+
21+ installPhase = ''
22+ install -vD libwidevinecdm.so $out/lib/libwidevinecdm.so
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ description = "Widevine support for Vivaldi";
27+ homepage = "https://www.widevine.com";
28+ license = licenses.unfree;
29+ maintainers = with maintainers; [ betaboon ];
30+ platforms = [ "x86_64-linux" ];
31+ };
32+}
pkgs/applications/networking/cluster/helmfile/default.nix+2−2
@@ -1,6 +1,6 @@
11{ lib, buildGoModule, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
22
3−let version = "0.77.0"; in
3+let version = "0.79.3"; in
44
55buildGoModule {
66 pname = "helmfile";
@@ -10,7 +10,7 @@ buildGoModule {
1010 owner = "roboll";
1111 repo = "helmfile";
1212 rev = "v${version}";
13− sha256 = "0nj8gs7aqkxpj6bd80ks7g34qqa4y53a8sim1znbxs6mb678c2x2";
13+ sha256 = "0wgfpidpqyvh41dnw351v91z4szi1s6lqak9li2pmddz1rdkx66v";
1414 };
1515
1616 goPackagePath = "github.com/roboll/helmfile";
pkgs/applications/networking/cluster/kube3d/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
2+
3+buildGoPackage rec {
4+ pname = "kube3d";
5+ version = "1.1.0";
6+
7+ goPackagePath = "github.com/rancher/k3d";
8+
9+ src = fetchFromGitHub {
10+ owner = "rancher";
11+ repo = "k3d";
12+ rev = "v${version}";
13+ sha256 = "180q7a95znpkhfqcaw3asqrq22r6ppw98qsggp2wfm746mllg5pc";
14+ };
15+
16+ goDeps = ./deps.nix;
17+
18+ meta = with stdenv.lib; {
19+ homepage = "https://github.com/rancher/k3d";
20+ description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container";
21+ license = licenses.mit;
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ kuznero ];
24+ };
25+}
pkgs/applications/networking/cluster/kube3d/deps.nixnew file+174
@@ -0,0 +1,174 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2+[
3+ {
4+ goPackagePath = "github.com/Microsoft/go-winio";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/Microsoft/go-winio";
8+ rev = "v0.4.12";
9+ sha256 = "10v2f1xaw2cc97mjqnxzgs9ydpqv71f0ynp1spcywqw97la56zqw";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/davecgh/go-spew";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/davecgh/go-spew";
17+ rev = "v1.1.0";
18+ sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/docker/distribution";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/docker/distribution";
26+ rev = "v2.7.1";
27+ sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/docker/docker";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/docker/docker";
35+ rev = "v1.13.1";
36+ sha256 = "0l9kjibnpwcgk844sibxk9ppyqniw9r0np1mzp95f8f461jb0iar";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/docker/go-connections";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/docker/go-connections";
44+ rev = "v0.4.0";
45+ sha256 = "0mv6f6b5nljc17dmwmc28hc0y11pqglz7x0d2mjrwdmfxf64hwqq";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/docker/go-units";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/docker/go-units";
53+ rev = "v0.3.3";
54+ sha256 = "0npxsb3pp89slwf4a73fxm20hykad8xggij6i6hcd5jy19bjrd93";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/mattn/go-runewidth";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/mattn/go-runewidth";
62+ rev = "v0.0.4";
63+ sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/mitchellh/go-homedir";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/mitchellh/go-homedir";
71+ rev = "v1.1.0";
72+ sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1";
73+ };
74+ }
75+ {
76+ goPackagePath = "github.com/olekukonko/tablewriter";
77+ fetch = {
78+ type = "git";
79+ url = "https://github.com/olekukonko/tablewriter";
80+ rev = "v0.0.1";
81+ sha256 = "0hh95glg7d2md185r03wn52j2r33jc4zil0qvcrs66ka7bdxi7vj";
82+ };
83+ }
84+ {
85+ goPackagePath = "github.com/opencontainers/go-digest";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/opencontainers/go-digest";
89+ rev = "v1.0.0-rc1";
90+ sha256 = "01gc7fpn8ax429024p2fcx3yb18axwz5bjf2hqxlii1jbsgw4bh9";
91+ };
92+ }
93+ {
94+ goPackagePath = "github.com/pkg/errors";
95+ fetch = {
96+ type = "git";
97+ url = "https://github.com/pkg/errors";
98+ rev = "v0.8.1";
99+ sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
100+ };
101+ }
102+ {
103+ goPackagePath = "github.com/pmezard/go-difflib";
104+ fetch = {
105+ type = "git";
106+ url = "https://github.com/pmezard/go-difflib";
107+ rev = "v1.0.0";
108+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
109+ };
110+ }
111+ {
112+ goPackagePath = "github.com/stretchr/objx";
113+ fetch = {
114+ type = "git";
115+ url = "https://github.com/stretchr/objx";
116+ rev = "v0.1.0";
117+ sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
118+ };
119+ }
120+ {
121+ goPackagePath = "github.com/stretchr/testify";
122+ fetch = {
123+ type = "git";
124+ url = "https://github.com/stretchr/testify";
125+ rev = "v1.3.0";
126+ sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
127+ };
128+ }
129+ {
130+ goPackagePath = "github.com/urfave/cli";
131+ fetch = {
132+ type = "git";
133+ url = "https://github.com/urfave/cli";
134+ rev = "v1.20.0";
135+ sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
136+ };
137+ }
138+ {
139+ goPackagePath = "golang.org/x/crypto";
140+ fetch = {
141+ type = "git";
142+ url = "https://go.googlesource.com/crypto";
143+ rev = "c2843e01d9a2";
144+ sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
145+ };
146+ }
147+ {
148+ goPackagePath = "golang.org/x/net";
149+ fetch = {
150+ type = "git";
151+ url = "https://go.googlesource.com/net";
152+ rev = "b630fd6fe46b";
153+ sha256 = "0m84kwckmmc0z05kjb4dd43g1g61al32a4z593flpcbaqx8di5sd";
154+ };
155+ }
156+ {
157+ goPackagePath = "golang.org/x/sys";
158+ fetch = {
159+ type = "git";
160+ url = "https://go.googlesource.com/sys";
161+ rev = "d0b11bdaac8a";
162+ sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
163+ };
164+ }
165+ {
166+ goPackagePath = "golang.org/x/text";
167+ fetch = {
168+ type = "git";
169+ url = "https://go.googlesource.com/text";
170+ rev = "v0.3.0";
171+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
172+ };
173+ }
174+]
pkgs/applications/networking/cluster/kubecfg/default.nix+5−5
@@ -1,22 +1,22 @@
11{ lib, buildGoPackage, fetchFromGitHub, ... }:
22
3−let version = "0.9.1"; in
3+let version = "0.12.0"; in
44
55buildGoPackage {
66 name = "kubecfg-${version}";
77
88 src = fetchFromGitHub {
9− owner = "ksonnet";
9+ owner = "bitnami";
1010 repo = "kubecfg";
1111 rev = "v${version}";
12− sha256 = "010k33arxa4spaq923iazsisxgsaj8c7w4z250y9yrch8xxd74bi";
12+ sha256 = "118p1fy6cihswwz03vp62cz8395hgfqd82nmfkw88fx7av23rfhb";
1313 };
1414
15− goPackagePath = "github.com/ksonnet/kubecfg";
15+ goPackagePath = "github.com/bitnami/kubecfg";
1616
1717 meta = {
1818 description = "A tool for managing Kubernetes resources as code";
19− homepage = https://github.com/ksonnet/kubecfg;
19+ homepage = https://github.com/bitnami/kubecfg;
2020 license = lib.licenses.asl20;
2121 maintainers = with lib.maintainers; [ benley ];
2222 platforms = lib.platforms.unix;
pkgs/applications/networking/cluster/nomad/default.nix+6−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "nomad-${version}";
5− version = "0.8.7";
5+ version = "0.9.3";
66 rev = "v${version}";
77
88 goPackagePath = "github.com/hashicorp/nomad";
@@ -12,9 +12,13 @@ buildGoPackage rec {
1212 owner = "hashicorp";
1313 repo = "nomad";
1414 inherit rev;
15− sha256 = "0nkqiqkrccfmn7qkbhd48m9m56ix4xb0a3ar0z0pl4sbm25rlj0b";
15+ sha256 = "0hn9rr5v2y2pw0pmn27gz8dx5n964dsaf48sh0jhwc95b5q1rjwr";
1616 };
1717
18+ # We disable Nvidia GPU scheduling on Linux, as it doesn't work there:
19+ # Ref: https://github.com/hashicorp/nomad/issues/5535
20+ buildFlags = stdenv.lib.optionalString (stdenv.isLinux) "-tags nonvidia";
21+
1822 meta = with stdenv.lib; {
1923 homepage = https://www.nomadproject.io/;
2024 description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
pkgs/applications/networking/instant-messengers/baresip/default.nix+2−2
@@ -3,11 +3,11 @@
33, gsm, speex, portaudio, spandsp, libuuid, ccache, libvpx
44}:
55stdenv.mkDerivation rec {
6− version = "0.6.2";
6+ version = "0.6.3";
77 name = "baresip-${version}";
88 src=fetchurl {
99 url = "http://www.creytiv.com/pub/baresip-${version}.tar.gz";
10− sha256 = "1qi8im5sc3jbpic1sn46mmd98y0pckpnngf4n8dqdp76m4gf3yp1";
10+ sha256 = "031hjm30v45h1sfknrf2f2ci10n712bdkcyf92y2hzllnik58068";
1111 };
1212 nativeBuildInputs = [ pkgconfig ];
1313 buildInputs = [zlib openssl libre librem cairo mpg123
pkgs/applications/networking/instant-messengers/discord/default.nix+3−3
@@ -27,10 +27,10 @@ in {
2727 pname = "discord-canary";
2828 binaryName = "DiscordCanary";
2929 desktopName = "Discord Canary";
30− version = "0.0.84";
30+ version = "0.0.85";
3131 src = fetchurl {
32− url = "https://dl-canary.discordapp.net/apps/linux/0.0.84/discord-canary-0.0.84.tar.gz";
33− sha256 = "1s4m7qvwyb0zglgdcixfnp5asachkybfafbmr74c7zrb0scl80s1";
32+ url = "https://dl-canary.discordapp.net/apps/linux/0.0.85/discord-canary-0.0.85.tar.gz";
33+ sha256 = "0kr2mxpghqbj856l09fgw3cmlbdv9h2cd5gxwaymnnywif7czp4j";
3434 };
3535 };
3636}.${branch}
pkgs/applications/networking/instant-messengers/fractal/default.nix+9−1
@@ -1,5 +1,5 @@
11{ stdenv, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gtksourceview
2−, hicolor-icon-theme, glib, libhandy, gtk3, libsecret, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook }:
2+, hicolor-icon-theme, glib, libhandy, gtk3, libsecret, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook, fetchpatch }:
33
44rustPlatform.buildRustPackage rec {
55 version = "4.0.0";
@@ -21,6 +21,14 @@ rustPlatform.buildRustPackage rec {
2121 gtksourceview hicolor-icon-theme libsecret
2222 ];
2323
24+ patches = [
25+ # Fixes build with >= gstreamer 1.15.1
26+ (fetchpatch {
27+ url = "https://gitlab.gnome.org/GNOME/fractal/commit/e78f36c25c095ea09c9c421187593706ad7c4065.patch";
28+ sha256 = "1qv7ayhkhgrrldag2lzs9ql17nbc1d72j375ljhhf6cms89r19ir";
29+ })
30+ ];
31+
2432 postPatch = ''
2533 patchShebangs scripts/meson_post_install.py
2634 '';
pkgs/applications/networking/instant-messengers/gomuks/default.nix+10−8
@@ -1,20 +1,22 @@
1−{ stdenv, buildGo110Package, fetchFromGitHub }:
1+{ stdenv, buildGoModule, fetchFromGitHub }:
22
3−buildGo110Package rec {
4− name = "gomuks-${version}";
5− version = "2018-07-10";
3+buildGoModule rec {
4+ pname = "gomuks";
5+ version = "2019-06-28";
66
77 goPackagePath = "maunium.net/go/gomuks";
88
99 src = fetchFromGitHub {
1010 owner = "tulir";
11− repo = "gomuks";
12− rev = "68db26bcace31297471641fe95f8882e301f5699";
13− sha256 = "0dagdvsvn8nwqsvjbqk1c6gg2q1m40869nayrkwm3ndg2xkfdpm6";
11+ repo = pname;
12+ rev = "37df8eb454088e61db7a14f382851205bc1806ad";
13+ sha256 = "1hr15d9sbq6mddaxv3pwz86qp1hhzssgrvakfpc49xl4h04dq33g";
1414 };
1515
16+ modSha256 = "1qrqgzzsxqvmy4m9shypa94bzw34mc941jhmyccip9grk9fzsxws";
17+
1618 meta = with stdenv.lib; {
17− homepage = https://maunium.net/go/gomuks/;
19+ homepage = "https://maunium.net/go/gomuks/";
1820 description = "A terminal based Matrix client written in Go";
1921 license = licenses.gpl3;
2022 maintainers = with maintainers; [ tilpner ];
pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json+1−1
@@ -2,7 +2,7 @@
22 "name": "riot-web",
33 "productName": "Riot",
44 "main": "src/electron-main.js",
5− "version": "1.2.1",
5+ "version": "1.2.2",
66 "description": "A feature-rich client for Matrix.org",
77 "author": "New Vector Ltd.",
88 "dependencies": {
pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix+2−2
@@ -7,12 +7,12 @@ with (import ./yarn2nix.nix { inherit pkgs; });
77
88let
99 executableName = "riot-desktop";
10− version = "1.2.1";
10+ version = "1.2.2";
1111 riot-web-src = fetchFromGitHub {
1212 owner = "vector-im";
1313 repo = "riot-web";
1414 rev = "v${version}";
15− sha256 = "0l50swqzdzbzbnrlkvwi133d54jgj15cj3awmlc1qdhnfdc3wxbb";
15+ sha256 = "0ak1icl3apqn1b210jqj9ysnn40808lzrdwibdmv47c30hhq10fb";
1616 };
1717
1818in mkYarnPackage rec {
pkgs/applications/networking/instant-messengers/riot/riot-web.nix+2−2
@@ -6,11 +6,11 @@
66let configFile = writeText "riot-config.json" conf; in
77stdenv.mkDerivation rec {
88 name= "riot-web-${version}";
9− version = "1.2.1";
9+ version = "1.2.2";
1010
1111 src = fetchurl {
1212 url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
13− sha256 = "1h96c4yy06ag5lmsbm5h2ws1l7sp4qm5dcchw25k3937fdhwq840";
13+ sha256 = "19nb6gyjaijah068ika6hvk18hraivm71830i9cd4ssl6g5j4k8x";
1414 };
1515
1616 installPhase = ''
pkgs/applications/networking/instant-messengers/signal-desktop/default.nix+2−2
@@ -57,11 +57,11 @@ let
5757
5858in stdenv.mkDerivation rec {
5959 name = "signal-desktop-${version}";
60− version = "1.25.1";
60+ version = "1.25.3";
6161
6262 src = fetchurl {
6363 url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
64− sha256 = "1185psv93amqj0s7rgm8bhl3y4jcxc1945paslvjbmw01vi3p1lp";
64+ sha256 = "0f7pip4d97xixwf667xpi50r0r65givvmry862zhp2cq24bs0693";
6565 };
6666
6767 phases = [ "unpackPhase" "installPhase" ];
pkgs/applications/networking/irc/irssi/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl }:
22
33stdenv.mkDerivation rec {
4− version = "1.2.0";
4+ version = "1.2.1";
55 name = "irssi-${version}";
66
77 src = fetchurl {
88 url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
9− sha256 = "1sp3fc5fkdx0mmllvag94xaifnqbj1k09nl235pix26vv1gzq39m";
9+ sha256 = "01lay6bxgsk2vzkiknw12zr8gvgnvk9xwg992496knsgakr0x2zx";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix+4
@@ -42,5 +42,9 @@ stdenv.mkDerivation {
4242 maintainers = with maintainers; [ ma27 ];
4343 license = licenses.mit; # see https://github.com/torhve/weechat-matrix-protocol-script/blob/0052e7275ae149dc5241226391c9b1889ecc3c6b/matrix.lua#L53
4444 platforms = platforms.unix;
45+
46+ # As of 2019-06-30, all of the dependencies are available on macOS but the
47+ # package itself does not build.
48+ broken = stdenv.isDarwin;
4549 };
4650}
pkgs/applications/networking/p2p/transgui/default.nix+11−10
@@ -1,14 +1,15 @@
1−{ stdenv, fetchsvn, pkgconfig, makeDesktopItem, unzip, fpc, lazarus,
1+{ stdenv, fetchFromGitHub, pkgconfig, makeDesktopItem, unzip, fpc, lazarus,
22libX11, glib, gtk2, gdk_pixbuf, pango, atk, cairo, openssl }:
33
44stdenv.mkDerivation rec {
5− name = "transgui-5.0.1-svn-r${revision}";
6− revision = "988";
5+ pname = "transgui";
6+ version = "5.17.0";
77
8− src = fetchsvn {
9− url = "https://svn.code.sf.net/p/transgui/code/trunk/";
10− rev = revision;
11− sha256 = "1i6ysxs6d2wsmqi6ha10rl3n562brmhizlanhcfad04i53y8pyxf";
8+ src = fetchFromGitHub {
9+ owner = "transmission-remote-gui";
10+ repo = "transgui";
11+ rev = "v${version}";
12+ sha256 = "0p76vavny5asi5naa4jn67raxlarsmrkbchfn96y6gh5p2vzwpl7";
1213 };
1314
1415 nativeBuildInputs = [ pkgconfig ];
@@ -27,9 +28,9 @@ stdenv.mkDerivation rec {
2728 substituteInPlace restranslator.pas --replace /usr/ $out/
2829 '';
2930
30− patches = [
31− ./r988-compile-fix.patch
32− ];
31+ preBuild = ''
32+ lazbuild -B transgui.lpr --lazarusdir=${lazarus}/share/lazarus
33+ '';
3334
3435 makeFlags = [
3536 "FPC=fpc"
pkgs/applications/networking/p2p/transgui/r988-compile-fix.patchdeleted−22
@@ -1,22 +0,0 @@
1−diff --git a/utils.pas b/utils.pas
2−index eb8b828..1ff2440 100644
3−--- a/utils.pas
4−+++ b/utils.pas
5−@@ -100,7 +100,7 @@ uses
6− {$ifdef CALLSTACK}
7− lineinfo2,
8− {$endif CALLSTACK}
9−- LazFileUtils, LazUtf8, StdCtrls, Graphics;
10−+ LazFileUtils, LazUtf8, StdCtrls, Graphics, FileUtil;
11−
12− {$ifdef windows}
13− function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle;
14−@@ -235,7 +235,7 @@ end;
15−
16− function ParamStrUTF8(Param: Integer): utf8string;
17− begin
18−- Result:=FileUtil.ParamStrUTF8(Param);
19−+ Result:=LazUtf8.ParamStrUTF8(Param);
20− end;
21−
22− function ParamCount: integer;
pkgs/applications/networking/znc/default.nix+2−2
@@ -13,11 +13,11 @@ with stdenv.lib;
1313
1414stdenv.mkDerivation rec {
1515 name = "znc-${version}";
16− version = "1.7.3";
16+ version = "1.7.4";
1717
1818 src = fetchurl {
1919 url = "https://znc.in/releases/archive/${name}.tar.gz";
20− sha256 = "0g8i5hsl4kinpz1wp0a2zniidv3w2sd6awq8676fds516wcc6k0y";
20+ sha256 = "0wcvqkpin8w4i72alnn0nxnrc9ih543qs34hqpk9xmz6m0hjk8xi";
2121 };
2222
2323 nativeBuildInputs = [ pkgconfig ];
pkgs/applications/office/gnucash/default.nix+2−2
@@ -25,11 +25,11 @@ in
2525
2626stdenv.mkDerivation rec {
2727 name = "gnucash-${version}";
28− version = "3.5";
28+ version = "3.6";
2929
3030 src = fetchurl {
3131 url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
32− sha256 = "0ibp7g6aknvnkwkin97kv04ipksy3l18dsz9qysjb7h2nr8hnvbp";
32+ sha256 = "09azp17ghn7i8kwk0ci3gq0qkn5pvbknhf1cbk7v43mvc3g8djzi";
3333 };
3434
3535 nativeBuildInputs = [ pkgconfig makeWrapper cmake gtest ];
pkgs/applications/office/timetable/default.nixnew file+57
@@ -0,0 +1,57 @@
1+{ stdenv
2+, fetchFromGitHub
3+, glib
4+, gtk3
5+, hicolor-icon-theme
6+, json-glib
7+, libgee
8+, meson
9+, ninja
10+, pkgconfig
11+, pantheon
12+, python3
13+, wrapGAppsHook
14+}:
15+
16+
17+stdenv.mkDerivation rec {
18+ pname = "timetable";
19+ version = "1.0.6";
20+
21+ src = fetchFromGitHub {
22+ owner = "lainsce";
23+ repo = pname;
24+ rev = version;
25+ sha256 = "080xgp917v6j40qxy0y1iycz01yylbcr8pahx6zd6mpi022ccfv0";
26+ };
27+
28+ nativeBuildInputs = [
29+ meson
30+ ninja
31+ pkgconfig
32+ pantheon.vala
33+ python3
34+ wrapGAppsHook
35+ ];
36+
37+ buildInputs = [
38+ glib
39+ gtk3
40+ hicolor-icon-theme
41+ json-glib
42+ libgee
43+ pantheon.granite
44+ ];
45+
46+ postPatch = ''
47+ chmod +x meson/post_install.py
48+ patchShebangs meson/post_install.py
49+ '';
50+
51+ meta = with stdenv.lib; {
52+ description = "Plot out your own timetable for the week and organize it";
53+ homepage = "https://github.com/lainsce/timetable";
54+ maintainers = [ maintainers.kjuvi ] ++ pantheon.maintainers;
55+ license = licenses.gpl2Plus;
56+ };
57+}
pkgs/applications/office/watson/default.nix+7−15
@@ -3,27 +3,19 @@
33with pythonPackages;
44
55buildPythonApplication rec {
6− pname = "td-watson";
7− version = "1.5.2";
6+ pname = "watson";
7+ version = "1.7.0";
88
99 src = fetchPypi {
10− inherit version pname;
11− sha256 = "6e03d44a9278807fe5245e9ed0943f13ffb88e11249a02655c84cb86260b27c8";
10+ inherit version;
11+ pname = "td-watson";
12+ sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
1213 };
1314
14− # uses tox, test invocation fails
15− doCheck = true;
1615 checkPhase = ''
17− py.test -vs tests
16+ pytest -vs tests
1817 '';
1918
20− patches = [
21− (fetchpatch {
22− url = https://github.com/TailorDev/Watson/commit/f5760c71cbc22de4e12ede8f6f7257515a9064d3.patch;
23− sha256 = "0s9h26915ilpbd0qhmvk77r3gmrsdrl5l7dqxj0l5q66fp0z6b0g";
24− })
25− ];
26−
2719 checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
2820 propagatedBuildInputs = [ requests click arrow ];
2921
@@ -31,6 +23,6 @@ buildPythonApplication rec {
3123 homepage = https://tailordev.github.io/Watson/;
3224 description = "A wonderful CLI to track your time!";
3325 license = licenses.mit;
34− maintainers = with maintainers; [ mguentner ] ;
26+ maintainers = with maintainers; [ mguentner nathyong ] ;
3527 };
3628}
pkgs/applications/radio/soapyuhd/default.nix+2−2
@@ -3,7 +3,7 @@
33} :
44
55let
6− version = "0.3.5";
6+ version = "0.3.6";
77
88in stdenv.mkDerivation {
99 name = "soapyuhd-${version}";
@@ -12,7 +12,7 @@ in stdenv.mkDerivation {
1212 owner = "pothosware";
1313 repo = "SoapyUHD";
1414 rev = "soapy-uhd-${version}";
15− sha256 = "07cr4zk42d0l5g03wm7dzl5lmqr104hmzp1fdjqa1z7xq4v9c9b1";
15+ sha256 = "11kp5iv21k8lqwjjydzqmcxdgpm6yicw6d3jhzvcvwcavd41crs7";
1616 };
1717
1818 nativeBuildInputs = [ cmake pkgconfig ];
pkgs/applications/radio/urh/default.nix+2−2
@@ -3,13 +3,13 @@
33
44python3Packages.buildPythonApplication rec {
55 pname = "urh";
6− version = "2.7.0";
6+ version = "2.7.2";
77
88 src = fetchFromGitHub {
99 owner = "jopohl";
1010 repo = pname;
1111 rev = "v${version}";
12− sha256 = "0yxv38p8a2srk9c55jj96vcib6m6pb6m485ysfg2ilwjzipx2ab0";
12+ sha256 = "14027dcq0ag2qjpxcmsb9n1c64ypmi4rycwxzm2hajj7hk2736hv";
1313 };
1414
1515 buildInputs = [ hackrf rtl-sdr airspy limesuite ];
pkgs/applications/science/astronomy/stellarium/default.nix+2−2
@@ -6,13 +6,13 @@
66
77mkDerivation rec {
88 name = "stellarium-${version}";
9− version = "0.19.0";
9+ version = "0.19.1";
1010
1111 src = fetchFromGitHub {
1212 owner = "Stellarium";
1313 repo = "stellarium";
1414 rev = "v${version}";
15− sha256 = "1x9s9v9ann93nyqd8n8adwhx66xgq5vp0liyzl1h1ji6qk8jla3c";
15+ sha256 = "0hf1wv2bb5j7ny2xh29mj9m4hjblhn02zylay8gl85w7xlqs7s5r";
1616 };
1717
1818 nativeBuildInputs = [ cmake perl ];
pkgs/applications/science/biology/mosdepth/default.nix+6−6
@@ -4,26 +4,26 @@ let
44 hts-nim = fetchFromGitHub {
55 owner = "brentp";
66 repo = "hts-nim";
7− rev = "v0.2.5";
8− sha256 = "1fma99rjqxgg9dihkd10hm1jjp5amsk5wsxnvq1lk4mcsjix5xqb";
7+ rev = "v0.2.14";
8+ sha256 = "0d1z4b6mrppmz3hgkxd4wcy79w68icvhi7q7n3m2k17n8f3xbdx3";
99 };
1010
1111 docopt = fetchFromGitHub {
1212 owner = "docopt";
1313 repo = "docopt.nim";
14− rev = "v0.6.5";
15− sha256 = "0yx79m4jkdcazwlky55nwf39zj5kdhymrrdrjq29mahiwx83x5zr";
14+ rev = "v0.6.7";
15+ sha256 = "1ga7ckg21fzwwvh26jp2phn2h3pvkn8g8sm13dxif33rp471bv37";
1616 };
1717
1818in stdenv.mkDerivation rec {
1919 name = "mosdepth-${version}";
20− version = "0.2.3";
20+ version = "0.2.6";
2121
2222 src = fetchFromGitHub {
2323 owner = "brentp";
2424 repo = "mosdepth";
2525 rev = "v${version}";
26− sha256 = "1b9frrwhcvay3alhn0d02jccc2qlbij1732hzq9nhwnr4kvsvxx7";
26+ sha256 = "0i9pl9lsli3y84ygxanrr525gfg8fs9h481944cbzsmqmbldwvgk";
2727 };
2828
2929 buildInputs = [ nim ];
pkgs/applications/science/biology/octopus/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, lzma, pkg-config}:
2+
3+stdenv.mkDerivation rec {
4+ pname = "octopus";
5+ version = "0.6.3-beta";
6+ name = "${pname}-${version}";
7+
8+ src = fetchFromGitHub {
9+ owner = "luntergroup";
10+ repo = "octopus";
11+ rev = "v${version}";
12+ sha256 = "042fycg8ppld7iajpzq2d8h8wr0nw43zbl57y125sfihryvr373n";
13+ };
14+
15+ nativeBuildInputs = [ cmake pkg-config ];
16+ buildInputs = [ boost gmp htslib zlib lzma ];
17+
18+ postInstall = ''
19+ mkdir $out/bin
20+ mv $out/octopus $out/bin
21+ '';
22+
23+ meta = with stdenv.lib; {
24+ description = "Bayesian haplotype-based mutation calling";
25+ license = licenses.mit;
26+ homepage = "https://github.com/luntergroup/octopus";
27+ maintainers = with maintainers; [ jbedo ];
28+ platforms = platforms.x86_64;
29+ };
30+}
pkgs/applications/science/electronics/verilator/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "verilator-${version}";
5− version = "4.014";
5+ version = "4.016";
66
77 src = fetchurl {
88 url = "https://www.veripool.org/ftp/${name}.tgz";
9− sha256 = "1srk9a03hbq8rdp4mma817aiq61c2hbrs66qv25zj3dfnfqigxgd";
9+ sha256 = "18fqm6pgscy504ql27i150fdsd2j91hw5qsnpymws3pvqj2qz2ij";
1010 };
1111
1212 enableParallelBuilding = true;
pkgs/applications/science/math/gap/default.nix+2−2
@@ -61,11 +61,11 @@ in
6161stdenv.mkDerivation rec {
6262 pname = "gap";
6363 # https://www.gap-system.org/Releases/
64− version = "4.10.1";
64+ version = "4.10.2";
6565
6666 src = fetchurl {
6767 url = "https://www.gap-system.org/pub/gap/gap-${lib.versions.major version}.${lib.versions.minor version}/tar.bz2/gap-${version}.tar.bz2";
68− sha256 = "136s0zvhcw41fshj5zgsrjcy2kd58cdh2m3ddp5rdizi4rx54f10";
68+ sha256 = "0cp6ddk0469zzv1m1vair6gm27ic6c5m77ri8rn0znq3gaps6x94";
6969 };
7070
7171 # remove all non-essential packages (which take up a lot of space)
pkgs/applications/science/math/sage/default.nix+1−1
@@ -130,7 +130,7 @@ let
130130 singular = pkgs.singular.override { inherit flint; };
131131
132132 # https://trac.sagemath.org/ticket/26625
133− maxima-ecl = pkgs.maxima-ecl-5_41;
133+ maxima-ecl = pkgs.maxima-ecl;
134134
135135 # *not* to confuse with the python package "pynac"
136136 pynac = pkgs.pynac.override { inherit singular flint; };
pkgs/applications/science/math/sage/patches/do-not-test-package-manifests.patchdeleted−26
@@ -1,26 +0,0 @@
1−diff --git a/src/sage/misc/package.py b/src/sage/misc/package.py
2−index 3bca15d53b..7cf04ff8d1 100644
3−--- a/src/sage/misc/package.py
4−+++ b/src/sage/misc/package.py
5−@@ -478,16 +478,16 @@ def package_manifest(package):
6−
7− EXAMPLES::
8−
9−- sage: from sage.misc.package import package_manifest
10−- sage: sagetex_manifest = package_manifest('sagetex')
11−- sage: sagetex_manifest['package_name'] == 'sagetex'
12−+ sage: from sage.misc.package import package_manifest # optional - buildsystem
13−+ sage: sagetex_manifest = package_manifest('sagetex') # optional - buildsystem
14−+ sage: sagetex_manifest['package_name'] == 'sagetex' # optional - buildsystem
15− True
16−- sage: 'files' in sagetex_manifest
17−+ sage: 'files' in sagetex_manifest # optional - buildsystem
18− True
19−
20− Test a nonexistent package::
21−
22−- sage: package_manifest('dummy-package')
23−+ sage: package_manifest('dummy-package') # optional - buildsystem
24− Traceback (most recent call last):
25− ...
26− KeyError: 'dummy-package'
pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patchnew file+57
@@ -0,0 +1,57 @@
1+diff --git a/src/sage_setup/docbuild/__init__.py b/src/sage_setup/docbuild/__init__.py
2+index 0f2700168a..60f71357d2 100644
3+--- a/src/sage_setup/docbuild/__init__.py
4++++ b/src/sage_setup/docbuild/__init__.py
5+@@ -86,26 +86,6 @@ def builder_helper(type):
6+ """
7+ Returns a function which builds the documentation for
8+ output type ``type``.
9+-
10+- TESTS:
11+-
12+- Check that :trac:`25161` has been resolved::
13+-
14+- sage: from sage_setup.docbuild import DocBuilder, setup_parser
15+- sage: DocBuilder._options = setup_parser().parse_args([])[0] # builder_helper needs _options to be set
16+-
17+- sage: import sage_setup.docbuild.sphinxbuild
18+- sage: def raiseBaseException():
19+- ....: raise BaseException("abort pool operation")
20+- sage: original_runsphinx, sage_setup.docbuild.sphinxbuild.runsphinx = sage_setup.docbuild.sphinxbuild.runsphinx, raiseBaseException
21+-
22+- sage: from sage_setup.docbuild import builder_helper, build_many, build_ref_doc
23+- sage: helper = builder_helper("html")
24+- sage: try:
25+- ....: build_many(build_ref_doc, [("docname", "en", "html", {})])
26+- ....: except Exception as E:
27+- ....: "Non-exception during docbuild: abort pool operation" in str(E)
28+- True
29+ """
30+ def f(self, *args, **kwds):
31+ output_dir = self._output_dir(type)
32+@@ -127,10 +107,9 @@ def builder_helper(type):
33+ logger.debug(build_command)
34+
35+ # Run Sphinx with Sage's special logger
36+- sys.argv = ["sphinx-build"] + build_command.split()
37+- from .sphinxbuild import runsphinx
38++ args = "python -um sage_setup.docbuild.sphinxbuild -N".split() + build_command.split()
39+ try:
40+- runsphinx()
41++ subprocess.check_call(args)
42+ except Exception:
43+ if ABORT_ON_ERROR:
44+ raise
45+diff --git a/src/sage_setup/docbuild/sphinxbuild.py b/src/sage_setup/docbuild/sphinxbuild.py
46+index 9a2fba79bc..77c8ed3592 100644
47+--- a/src/sage_setup/docbuild/sphinxbuild.py
48++++ b/src/sage_setup/docbuild/sphinxbuild.py
49+@@ -318,3 +318,8 @@ def runsphinx():
50+ sys.stderr = saved_stderr
51+ sys.stdout.flush()
52+ sys.stderr.flush()
53++
54++if __name__ == '__main__':
55++ import sys
56++ sys.argv[0] = "sphinx-build"
57++ runsphinx()
pkgs/applications/science/math/sage/sage-src.nix+7−66
@@ -10,14 +10,14 @@
1010# all get the same sources with the same patches applied.
1111
1212stdenv.mkDerivation rec {
13− version = "8.7";
13+ version = "8.8";
1414 pname = "sage-src";
1515
1616 src = fetchFromGitHub {
1717 owner = "sagemath";
1818 repo = "sage";
1919 rev = version;
20− sha256 = "05vvrd6syh0hlmrk6kzjrwd0hpmvxp8vr8p3mkjb0jh5p2kjdd27";
20+ sha256 = "0jm7zdkz8wfgrmf6620jfr8kgvprrz3qfl8gzx6rl5z5cm734b6x";
2121 };
2222
2323 # Patches needed because of particularities of nix or the way this is packaged.
@@ -45,46 +45,23 @@ stdenv.mkDerivation rec {
4545 # Fixes a potential race condition which can lead to transient doctest failures.
4646 ./patches/fix-ecl-race.patch
4747
48− # Parallelize docubuild using subprocesses, fixing an isolation issue. See
49− # https://groups.google.com/forum/#!topic/sage-packaging/YGOm8tkADrE
50− (fetchpatch {
51− name = "sphinx-docbuild-subprocesses.patch";
52− url = "https://salsa.debian.org/science-team/sagemath/raw/8a215b17e6f791ddfae6df8ce6d01dfb89acb434/debian/patches/df-subprocess-sphinx.patch";
53− sha256 = "07p9i0fwjgapmfvmi436yn6v60p8pvmxqjc93wsssqgh5kd8qw3n";
54− stripLen = 1;
55− })
56−
57− # Part of the build system. Should become unnecessary with sage 8.8.
58− # Upstream discussion here: https://trac.sagemath.org/ticket/27124#comment:33
59− ./patches/do-not-test-package-manifests.patch
60−
6148 # Not necessary since library location is set explicitly
6249 # https://trac.sagemath.org/ticket/27660#ticket
6350 ./patches/do-not-test-find-library.patch
6451
65− # https://trac.sagemath.org/ticket/27697#ticket
66− (fetchpatch {
67− name = "pplpy-doc-location-configurable.patch";
68− url = "https://git.sagemath.org/sage.git/patch/?h=c4d966e7cb0c7b87c55d52dc6f46518433a2a0a2";
69− sha256 = "0pqbbsx8mriwny422s9mp3z5d095cnam32sm62q4mxk8g8jb9vm9";
70− })
7152
7253 # https://trac.sagemath.org/ticket/28007
7354 ./patches/threejs-offline.patch
55+
56+ # Parallelize docubuild using subprocesses, fixing an isolation issue. See
57+ # https://groups.google.com/forum/#!topic/sage-packaging/YGOm8tkADrE
58+ ./patches/sphinx-docbuild-subprocesses.patch
7459 ];
7560
7661 # Since sage unfortunately does not release bugfix releases, packagers must
7762 # fix those bugs themselves. This is for critical bugfixes, where "critical"
7863 # == "causes (transient) doctest failures / somebody complained".
79− bugfixPatches = [
80− # Transient doctest failure in src/sage/modular/abvar/torsion_subgroup.py
81− # https://trac.sagemath.org/ticket/27477
82− (fetchpatch {
83− name = "sig_on_in_matrix_sparce.patch";
84− url = "https://git.sagemath.org/sage.git/patch?id2=10407524b18659e14e184114b61c043fb816f3c2&id=c9b0cc9d0b8748ab85e568f8f57f316c5e8cbe54";
85− sha256 = "0wgp7yvn9sm1ynlhcr4l0hzmvr2n28llg4xc01p6k1zz4im64c17";
86− })
87− ];
64+ bugfixPatches = [ ];
8865
8966 # Patches needed because of package updates. We could just pin the versions of
9067 # dependencies, but that would lead to rebuilds, confusion and the burdons of
@@ -116,35 +93,6 @@ stdenv.mkDerivation rec {
11693 stripLen = 1;
11794 })
11895
119− # https://trac.sagemath.org/ticket/26451
120− (fetchSageDiff {
121− name = "sphinx-1.8.patch";
122− base = "8.7";
123− rev = "737afd8f314bd1e16feaec562bb4b5efa2effa8b";
124− sha256 = "0n56ss88ds662bp49j23z5c2i6hsn3jynxw13wv76hyl0h7l1hjh";
125− })
126−
127− # https://trac.sagemath.org/ticket/27653
128− (fetchpatch {
129− name = "sympy-1.4.patch";
130− url = "https://git.sagemath.org/sage.git/patch/?h=3277ba76d0ba7174608a31a0c6623e9210c63e3d";
131− sha256 = "09avaanwmdgqv14mmllbgw9z2scf4lc0y0kzdhlriiq8ss9j8iir";
132− })
133−
134− # https://trac.sagemath.org/ticket/27094
135− (fetchpatch {
136− name = "gap-4.10.1.patch";
137− url = "https://git.sagemath.org/sage.git/patch?id=d3483110474591ea6cc8e3210cd884f3e0018b3e";
138− sha256 = "028i6h8l8npwzx5z0ax0rcywl85gc83qw1jf93zf523msdfcsk0n";
139− })
140−
141− # https://trac.sagemath.org/ticket/27738
142− (fetchpatch {
143− name = "R-3.6.0.patch";
144− url = "https://git.sagemath.org/sage.git/patch/?h=8b7dbd0805d02d0e8674a272e161ceb24a637966";
145− sha256 = "1c81f13z1w62s06yvp43gz6vkp8mxcs289n6l4gj9xj10slimzff";
146− })
147−
14896 # https://trac.sagemath.org/ticket/26932
14997 (fetchSageDiff {
15098 name = "givaro-4.1.0_fflas-ffpack-2.4.0_linbox-1.6.0.patch";
@@ -152,13 +100,6 @@ stdenv.mkDerivation rec {
152100 rev = "c11d9cfa23ff9f77681a8f12742f68143eed4504";
153101 sha256 = "0xzra7mbgqvahk9v45bjwir2mqz73hrhhy314jq5nxrb35ysdxyi";
154102 })
155−
156− # https://trac.sagemath.org/ticket/26718
157− (fetchpatch {
158− name = "threejs-r100.patch";
159− url = "https://git.sagemath.org/sage.git/patch/?h=86c5bb000259e6de5d7c60afc608a4b0d010b690";
160− sha256 = "0sgqqd4df2bxsq19b6kfy7dvgyxprlpg7f3xx7g3fs8ij937m352";
161− })
162103 ];
163104
164105 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
pkgs/applications/version-management/git-and-tools/git-recent/default.nix+3−3
@@ -4,14 +4,14 @@
44}:
55
66stdenv.mkDerivation rec {
7− name = "git-recent-${version}";
8− version = "1.1.0";
7+ pname = "git-recent";
8+ version = "1.1.1";
99
1010 src = fetchFromGitHub {
1111 owner = "paulirish";
1212 repo = "git-recent";
1313 rev = "v${version}";
14− sha256 = "06r1jzmzdv3d4vxdh5qyf5g5rgavxfmh2rpbs7a7byg3k7d77hpn";
14+ sha256 = "1g8i6vpjnnfh7vc1269c91bap267w4bxdqqwnzb8x18vqgn2fx8i";
1515 };
1616
1717 buildInputs = [ makeWrapper ];
pkgs/applications/version-management/git-and-tools/hub/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 pname = "hub";
5− version = "2.12.0";
5+ version = "2.12.1";
66
77 goPackagePath = "github.com/github/hub";
88
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313 owner = "github";
1414 repo = pname;
1515 rev = "v${version}";
16− sha256 = "0wv0s0bhl7akyshzcsqlk8ws84cjdjizfpn6m9674lw9vs9rj2sj";
16+ sha256 = "0i9bqcgdidl5zawkpq2fjrimzbb37i1m2fisvj32d27fsp1824bk";
1717 };
1818
1919 nativeBuildInputs = [ groff utillinux ];
pkgs/applications/version-management/git-and-tools/pre-commit/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, python3Packages }:
22with python3Packages; buildPythonApplication rec {
33 pname = "pre-commit";
4− version = "1.16.1";
4+ version = "1.17.0";
55
66 src = fetchPypi {
77 inherit version;
88 pname = "pre_commit";
9− sha256 = "6ca409d1f22d444af427fb023a33ca8b69625d508a50e1b7eaabd59247c93043";
9+ sha256 = "1qswk30w2cq8xvj16mhszsi3npp0z08s8lki1w67nif23c2kkk6c";
1010 };
1111
1212 propagatedBuildInputs = [
pkgs/applications/video/clipgrab/default.nix+2−2
@@ -5,10 +5,10 @@
55
66stdenv.mkDerivation rec {
77 name = "clipgrab-${version}";
8− version = "3.8.2";
8+ version = "3.8.3";
99
1010 src = fetchurl {
11− sha256 = "0dhiv1mldp5f555im6mkjxdh6iivn1hnx2xdaqa6wxzsrwrvv5dd";
11+ sha256 = "1v8vvlqgjqy3gyzwaz9iq0m4fwlkimy5gzg6z3bqwp61p9zzw0zf";
1212 # The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
1313 url = "https://download.clipgrab.org/${name}.tar.gz";
1414 };
pkgs/applications/video/mythtv/default.nix+10−1
@@ -2,7 +2,7 @@
22, libpulseaudio, fftwSinglePrec , lame, zlib, libGLU_combined, alsaLib, freetype
33, perl, pkgconfig , libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
44, libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2
5−, linuxHeaders
5+, linuxHeaders, fetchpatch
66}:
77
88stdenv.mkDerivation rec {
@@ -16,6 +16,15 @@ stdenv.mkDerivation rec {
1616 sha256 = "0pjxv4bmq8h285jsr02svgaa03614arsyk12fn9d4rndjsi2cc3x";
1717 };
1818
19+ patches = [
20+ # Fixes build with exiv2 0.27.1.
21+ (fetchpatch {
22+ name = "004-exiv2.patch";
23+ url = "https://aur.archlinux.org/cgit/aur.git/plain/004-exiv2.patch?h=mythtv&id=76ea37f8556805b205878772ad7874e487c0d946";
24+ sha256 = "0mh542f53qgky0w3s2bv0gmcxzvmb10834z3cfff40fby2ffr6k8";
25+ })
26+ ];
27+
1928 setSourceRoot = ''sourceRoot=$(echo */mythtv)'';
2029
2130 buildInputs = [
pkgs/applications/video/plex-media-player/default.nix+11−11
@@ -9,41 +9,41 @@ let
99 # plex-media-player is updated, the versions for these files are changed,
1010 # so the build IDs (and SHAs) below will need to be updated!
1111 depSrcs = rec {
12− webClientBuildId = "85-88b3ac67015f76";
13− webClientDesktopBuildId = "3.77.2-7015f76";
14− webClientTvBuildId = "3.78.0-88b3ac6";
12+ webClientBuildId = "129-669a5eed7ae231";
13+ webClientDesktopBuildId = "3.100.1-d7ae231";
14+ webClientTvBuildId = "3.105.0-669a5ee";
1515
1616 webClient = fetchurl {
1717 url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/buildid.cmake";
18− sha256 = "0j7i4yr95ljw9cwyaygld41j7yvndj3dza3cbydv4x8mh2hn05v1";
18+ sha256 = "0gd7x0rf7sf696zd24y6pji9iam851vjjqbpm4xkqwpadwrwzhwk";
1919 };
2020 webClientDesktopHash = fetchurl {
2121 url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-desktop-${webClientDesktopBuildId}.tar.xz.sha1";
22− sha256 = "106kx9ahz7jgskpjraff2g235n1whwvf18yw0nmp5dwr9ys9h8jp";
22+ sha256 = "136hk7p6gxxmhq1d09jfjljkv76b5h2p16s5jwf28xixkp0ab2jg";
2323 };
2424 webClientDesktop = fetchurl {
2525 url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-desktop-${webClientDesktopBuildId}.tar.xz";
26− sha256 = "0h23h3fd3w43glvnhrg9qiajs0ql490kb00g3i4cpi29hy1ky45r";
26+ sha256 = "0yvjqar72jq58jllsp51b8ybiv6kad8w51bfzss87m1cv3qdbzpa";
2727 };
2828 webClientTvHash = fetchurl {
2929 url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-tv-${webClientTvBuildId}.tar.xz.sha1";
30− sha256 = "05zk2zpmcdf276ys5zyirsmvhvyvz99fa6hlgymma8ql6w67133r";
30+ sha256 = "0kkw9dd0kr5n4ip1pwfs2dkfjwrph88i0dlw64dca9i885gyjvhd";
3131 };
3232 webClientTv = fetchurl {
3333 url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-tv-${webClientTvBuildId}.tar.xz";
34− sha256 = "1cflpgaf4kyj6ccqa11j28rkp8s7zlbnid7s00m5n2c907dihmw2";
34+ sha256 = "0yssii01nx6ixg3mikqjn8hz34dalma0rfr8spj115xwr7aq8ixk";
3535 };
3636 };
3737in stdenv.mkDerivation rec {
3838 name = "plex-media-player-${version}";
39− version = "2.23.0.920";
40− vsnHash = "5bc1a2e5";
39+ version = "2.36.0.988";
40+ vsnHash = "0150ae52";
4141
4242 src = fetchFromGitHub {
4343 owner = "plexinc";
4444 repo = "plex-media-player";
4545 rev = "v${version}-${vsnHash}";
46− sha256 = "1jzlyj32gr3ar89qnk8slazrbchqkjfx9dchzkzfvpi6742v9igm";
46+ sha256 = "104arb0afv3jz0bvj8ij5s7av289ms9n91b4y4077la2wd6r1bq0";
4747 };
4848
4949 nativeBuildInputs = [ pkgconfig cmake python3 ];
pkgs/applications/video/smtube/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, qmake, qtscript, qtwebkit }:
22
33stdenv.mkDerivation rec {
4− version = "18.11.0";
4+ version = "19.6.0";
55 name = "smtube-${version}";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/smtube/SMTube/${version}/${name}.tar.bz2";
9− sha256 = "0rda7mdsr0awhra9yrmsdzp2c4s6xx5nax107d1fydnk084pygqp";
9+ sha256 = "0d3hskd6ar51zq29xj899i8sii9g4cxq99gz2y1dhgsnqbn36hpm";
1010 };
1111
1212 makeFlags = [
pkgs/applications/virtualization/virt-manager/default.nix+2−2
@@ -10,12 +10,12 @@ with stdenv.lib;
1010
1111python3Packages.buildPythonApplication rec {
1212 name = "virt-manager-${version}";
13− version = "2.1.0";
13+ version = "2.2.0";
1414 namePrefix = "";
1515
1616 src = fetchurl {
1717 url = "http://virt-manager.org/download/sources/virt-manager/${name}.tar.gz";
18− sha256 = "1m038kyngmxlgz91c7z8g73lb2wy0ajyah871a3g3wb5cnd0dsil";
18+ sha256 = "0186c2fjqm3wdr3wik4fcyl5l3gv5j6sxn18d0vclw83w4yrhjz9";
1919 };
2020
2121 nativeBuildInputs = [
pkgs/applications/virtualization/virtualbox/default.nix+1−1
@@ -4,7 +4,7 @@
44, pkgconfig, which, docbook_xsl, docbook_xml_dtd_43
55, alsaLib, curl, libvpx, nettools, dbus
66, makeself, perl
7−, javaBindings ? false, jdk ? null
7+, javaBindings ? true, jdk ? null # Almost doesn't affect closure size
88, pythonBindings ? false, python3 ? null
99, extensionPack ? null, fakeroot ? null
1010, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
pkgs/applications/window-managers/i3/pystatus.nix+4−5
@@ -3,19 +3,18 @@
33python3Packages.buildPythonApplication rec {
44 # i3pystatus moved to rolling release:
55 # https://github.com/enkore/i3pystatus/issues/584
6− version = "unstable-2019-02-10";
6+ version = "unstable-2019-06-10";
77 pname = "i3pystatus";
8− disabled = !python3Packages.isPy3k;
98
109 src = fetchFromGitHub
1110 {
1211 owner = "enkore";
1312 repo = "i3pystatus";
14− rev = "bcd8f12b18d491029fdd5bd0f433b4500fcdc68e";
15− sha256 = "0gw6sla73cid6gwxn2n4zmsg2svq5flf9zxly6x2rfljizgf0720";
13+ rev = "56ce08d0ff8d5d64950d6b588ebede35a95e0ce2";
14+ sha256 = "12938860jbcly1xwhd71jvy2dff28pwv9kqh6mab1859148bzmcg";
1615 };
1716
18− propagatedBuildInputs = with python3Packages; [ keyring colour netifaces praw psutil basiciw ] ++
17+ propagatedBuildInputs = with python3Packages; [ keyring colour netifaces psutil basiciw ] ++
1918 [ libpulseaudio ] ++ extraLibs;
2019
2120 libpulseaudioPath = stdenv.lib.makeLibraryPath [ libpulseaudio ];
pkgs/build-support/build-bazel-package/default.nix+6−4
@@ -51,8 +51,10 @@ in stdenv.mkDerivation (fBuildAttrs // {
5151 rm -rf $bazelOut/external/{local_*,\@local_*}
5252
5353 # Patching markers to make them deterministic
54− sed -i 's, -\?[0-9][0-9]*$, 1,' $bazelOut/external/\@*.marker
55− sed -i '/^ENV:TMP.*/d' $bazelOut/external/\@*.marker
54+ find $bazelOut/external -name '@*\.marker' -exec sed -i \
55+ -e 's, -\?[0-9][0-9]*$, 1,' \
56+ -e '/^ENV:TMP.*/d' \
57+ '{}' \;
5658
5759 # Remove all vcs files
5860 rm -rf $(find $bazelOut/external -type d -name .git)
@@ -86,8 +88,8 @@ in stdenv.mkDerivation (fBuildAttrs // {
8688 '';
8789
8890 preConfigure = ''
89− mkdir -p $bazelOut/external
90− cp -r $deps/* $bazelOut/external
91+ mkdir -p "$bazelOut"
92+ cp -r $deps $bazelOut/external
9193 chmod -R +w $bazelOut
9294 find $bazelOut -type l | while read symlink; do
9395 ln -sf $(readlink "$symlink" | sed "s,NIX_BUILD_TOP,$NIX_BUILD_TOP,") "$symlink"
pkgs/build-support/trivial-builders.nix+1−1
@@ -143,7 +143,7 @@ rec {
143143 * Automatically includes interpreter above the contents passed.
144144 *
145145 * Example:
146− * # Writes my-file to /nix/store/<store path>/my-file and makes executable.
146+ * # Writes my-file to /nix/store/<store path> and makes executable.
147147 * writeShellScript "my-file"
148148 * ''
149149 * Contents of File
pkgs/data/fonts/amiri/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ lib, fetchzip }:
2+
3+let
4+ version = "0.111";
5+
6+in fetchzip rec {
7+ name = "Amiri-${version}";
8+
9+ url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip";
10+
11+ sha256 = "1w3a5na4mazspwy8j2hvpjha10sgd287kamm51p49jcr90cvwbdr";
12+
13+ postFetch = ''
14+ unzip $downloadedFile
15+ install -m444 -Dt $out/share/fonts/truetype ${name}/*.ttf
16+ install -m444 -Dt $out/share/doc/${name} ${name}/{*.txt,*.pdf}
17+ '';
18+
19+ meta = with lib; {
20+ description = "A classical Arabic typeface in Naskh style";
21+ homepage = "https://www.amirifont.org/";
22+ license = licenses.ofl;
23+ maintainers = [ maintainers.vbgl ];
24+ platforms = platforms.all;
25+ };
26+}
27+
pkgs/data/icons/papirus-icon-theme/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "papirus-icon-theme";
5− version = "20190521";
5+ version = "20190615";
66
77 src = fetchFromGitHub {
88 owner = "PapirusDevelopmentTeam";
99 repo = pname;
1010 rev = version;
11− sha256 = "192s14bf2ni46jkiifbsl82qy1miy8fnxs2fpqwf6s6jlv9x4zxs";
11+ sha256 = "1999q6jw4ib8xrw3ydmprnq0mbmzqj8l92rx4rrh22lw9kdvig8w";
1212 };
1313
1414 nativeBuildInputs = [ gtk3 ];
pkgs/data/misc/osinfo-db/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 pname = "osinfo-db";
5− version = "20190504";
5+ version = "20190611";
66
77 src = fetchurl {
88 url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
9− sha256 = "1yik26gbm3y3wviyabfpyx7pnqx72z5j7267hdgfscdvrwwmyi5z";
9+ sha256 = "00gkdkycicl4rlr8by61sfsgpjsiswr8b148fl2arinr4vz3n46h";
1010 };
1111
1212 nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];
pkgs/data/themes/matcha/default.nix+3−3
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "matcha-${version}";
5− version = "2019_05_09";
5+ version = "2019-06-22";
66
77 src = fetchFromGitHub {
88 owner = "vinceliuice";
99 repo = "matcha";
10− rev = version;
11− sha256 = "0xnv89appivrnbppyjqaa35pls120mkz253p2lblyxzbvi5kgn73";
10+ rev = "f42df7a3219d7fbacb7be1b2e0e416d74339865e";
11+ sha256 = "1x954rmxv14xndn4ybhbr4pmzccnwqp462bpvzd2hak5wsqs4wxc";
1212 };
1313
1414 buildInputs = [ gdk_pixbuf librsvg ];
pkgs/desktops/deepin/dde-control-center/default.nixnew file+112
@@ -0,0 +1,112 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, cmake, deepin, qttools, qtdeclarative,
2+ networkmanager, qtsvg, qtx11extras, dtkcore, dtkwidget, geoip, gsettings-qt,
3+ dde-network-utils, networkmanager-qt, xorg, mtdev, fontconfig, freetype, dde-api,
4+ dde-daemon, qt5integration, deepin-desktop-base, deepin-desktop-schemas, dbus,
5+ systemd, dde-qt-dbus-factory, qtmultimedia, qtbase, glib, gnome3, which,
6+ substituteAll, wrapGAppsHook, tzdata
7+}:
8+
9+stdenv.mkDerivation rec {
10+ name = "${pname}-${version}";
11+ pname = "dde-control-center";
12+ version = "4.10.11";
13+
14+ src = fetchFromGitHub {
15+ owner = "linuxdeepin";
16+ repo = pname;
17+ rev = version;
18+ sha256 = "1ip8wjwf0n9q8xnqymzh8lz0j5gcnns976n291np6k5kdh2wqhr5";
19+ };
20+
21+ nativeBuildInputs = [
22+ cmake
23+ deepin.setupHook
24+ pkgconfig
25+ wrapGAppsHook
26+ ];
27+
28+ buildInputs = [
29+ dde-api
30+ dde-daemon
31+ dde-network-utils
32+ dde-qt-dbus-factory
33+ deepin-desktop-base
34+ deepin-desktop-schemas
35+ dtkcore
36+ dtkwidget
37+ fontconfig
38+ freetype
39+ geoip
40+ glib
41+ gnome3.networkmanager-l2tp
42+ gnome3.networkmanager-openconnect
43+ gnome3.networkmanager-openvpn
44+ gnome3.networkmanager-vpnc
45+ gsettings-qt
46+ mtdev
47+ networkmanager-qt
48+ qt5integration
49+ qtbase
50+ qtdeclarative
51+ qtmultimedia
52+ qtsvg
53+ qttools
54+ qtx11extras
55+ xorg.libX11
56+ xorg.libXext
57+ xorg.libXrandr
58+ xorg.libxcb
59+ ];
60+
61+ cmakeFlags = [
62+ "-DDISABLE_SYS_UPDATE=YES"
63+ "-DDCC_DISABLE_GRUB=YES"
64+ ];
65+
66+ patches = [
67+ (substituteAll {
68+ src = ./fix-paths.patch;
69+ nmcli = "${networkmanager}/bin/nmcli";
70+ which = "${which}/bin/which";
71+ # not packaged
72+ # dman = "${deepin-manual}/bin/dman";
73+ inherit tzdata;
74+ # exclusive to deepin linux?
75+ # allows to synchronize configuration files to cloud networks
76+ # deepin_sync = "${deepin-sync}";
77+ })
78+ ];
79+
80+ postPatch = ''
81+ searchHardCodedPaths
82+
83+ patchShebangs translate_ts2desktop.sh
84+ patchShebangs translate_generation.sh
85+ patchShebangs translate_desktop2ts.sh
86+
87+ fixPath $out /usr dde-control-center-autostart.desktop \
88+ com.deepin.dde.ControlCenter.service \
89+ src/frame/widgets/utils.h
90+
91+ substituteInPlace dde-control-center.desktop \
92+ --replace "dbus-send" "${dbus}/bin/dbus-send"
93+ substituteInPlace com.deepin.controlcenter.addomain.policy \
94+ --replace "/bin/systemctl" "${systemd}/bin/systemctl"
95+ '';
96+
97+ postFixup = ''
98+ # debuging
99+ searchForUnresolvedDLL $out
100+ searchHardCodedPaths $out
101+ '';
102+
103+ passthru.updateScript = deepin.updateScript { inherit name; };
104+
105+ meta = with stdenv.lib; {
106+ description = "Control panel of Deepin Desktop Environment";
107+ homepage = https://github.com/linuxdeepin/dde-control-center;
108+ license = licenses.gpl3;
109+ platforms = platforms.linux;
110+ maintainers = with maintainers; [ romildo worldofpeace ];
111+ };
112+}
pkgs/desktops/deepin/dde-control-center/fix-paths.patchnew file+65
@@ -0,0 +1,65 @@
1+diff --git a/src/frame/frame.cpp b/src/frame/frame.cpp
2+index 90d06f8..7cdad04 100644
3+--- a/src/frame/frame.cpp
4++++ b/src/frame/frame.cpp
5+@@ -375,7 +375,7 @@ void Frame::keyPressEvent(QKeyEvent *e)
6+ #ifdef QT_DEBUG
7+ case Qt::Key_Escape: qApp->quit(); break;
8+ #endif
9+- case Qt::Key_F1: QProcess::startDetached("dman", QStringList("dde")); break;
10++ case Qt::Key_F1: QProcess::startDetached("@dman@", QStringList("dde")); break;
11+ default:;
12+ }
13+ }
14+diff --git a/src/frame/modules/datetime/timezone_dialog/timezone.cpp b/src/frame/modules/datetime/timezone_dialog/timezone.cpp
15+index 3dd4aad..5f1b363 100644
16+--- a/src/frame/modules/datetime/timezone_dialog/timezone.cpp
17++++ b/src/frame/modules/datetime/timezone_dialog/timezone.cpp
18+@@ -46,7 +46,7 @@ namespace installer {
19+ namespace {
20+
21+ // Absolute path to zone.tab file.
22+-const char kZoneTabFile[] = "/usr/share/zoneinfo/zone.tab";
23++const char kZoneTabFile[] = "@tzdata@/share/zoneinfo/zone.tab";
24+
25+ // Absolute path to backward timezone file.
26+ const char kTimezoneAliasFile[] = "/timezone_alias";
27+diff --git a/src/frame/modules/network/connectionvpneditpage.cpp b/src/frame/modules/network/connectionvpneditpage.cpp
28+index e292865..95c5a2b 100644
29+--- a/src/frame/modules/network/connectionvpneditpage.cpp
30++++ b/src/frame/modules/network/connectionvpneditpage.cpp
31+@@ -215,7 +215,7 @@ void ConnectionVpnEditPage::exportConnConfig()
32+ qDebug() << Q_FUNC_INFO << args;
33+
34+ QProcess p;
35+- p.start("nmcli", args);
36++ p.start("@nmcli@", args);
37+ p.waitForFinished();
38+ qDebug() << p.readAllStandardOutput();
39+ qDebug() << p.readAllStandardError();
40+diff --git a/src/frame/modules/network/vpnpage.cpp b/src/frame/modules/network/vpnpage.cpp
41+index 521a603..450d1a6 100644
42+--- a/src/frame/modules/network/vpnpage.cpp
43++++ b/src/frame/modules/network/vpnpage.cpp
44+@@ -224,7 +224,7 @@ void VpnPage::importVPN()
45+ qDebug() << args;
46+
47+ QProcess p;
48+- p.start("nmcli", args);
49++ p.start("@nmcli@", args);
50+ p.waitForFinished();
51+ const auto stat = p.exitCode();
52+ const QString output = p.readAllStandardOutput();
53+diff --git a/src/frame/modules/sync/syncworker.cpp b/src/frame/modules/sync/syncworker.cpp
54+index 3f929bf..6f240d9 100644
55+--- a/src/frame/modules/sync/syncworker.cpp
56++++ b/src/frame/modules/sync/syncworker.cpp
57+@@ -24,7 +24,7 @@ SyncWorker::SyncWorker(SyncModel *model, QObject *parent)
58+
59+ m_model->setSyncIsValid(
60+ QProcess::execute(
61+- "which", QStringList() << "/usr/lib/deepin-sync-daemon/deepin-sync-daemon") ==
62++ "@which@", QStringList() << "@deepin_sync@/lib/deepin-sync-daemon/deepin-sync-daemon") ==
63+ 0 &&
64+ valueByQSettings<bool>(DCC_CONFIG_FILES, "CloudSync", "AllowCloudSync", false));
65+ }
pkgs/desktops/deepin/dde-daemon/default.nix+8−3
@@ -4,12 +4,12 @@
44 deepin-wallpapers, deepin-desktop-base, alsaLib, glib, gtk3,
55 libgudev, libinput, libnl, librsvg, linux-pam, networkmanager,
66 pulseaudio, python3, hicolor-icon-theme, glibc, tzdata, go,
7− deepin, makeWrapper, wrapGAppsHook }:
7+ deepin, makeWrapper, xkeyboard_config, wrapGAppsHook }:
88
99buildGoPackage rec {
1010 name = "${pname}-${version}";
1111 pname = "dde-daemon";
12− version = "3.27.2.5";
12+ version = "3.27.2.6";
1313
1414 goPackagePath = "pkg.deepin.io/dde/daemon";
1515
@@ -17,7 +17,7 @@ buildGoPackage rec {
1717 owner = "linuxdeepin";
1818 repo = pname;
1919 rev = version;
20− sha256 = "117yhsb0axwblncyj02fhcyl4b7jl7vvh1bbx08bscih5lnvjihx";
20+ sha256 = "14g138h23f1lh1y98pdrfhnph1m7pw8lq8ypiwv9qf3fmdyn35d4";
2121 };
2222
2323 patches = [
@@ -63,6 +63,7 @@ buildGoPackage rec {
6363 librsvg
6464 pulseaudio
6565 tzdata
66+ xkeyboard_config
6667 ];
6768
6869 postPatch = ''
@@ -70,12 +71,16 @@ buildGoPackage rec {
7071 patchShebangs network/nm_generator/gen_nm_consts.py
7172
7273 fixPath $out /usr/share/dde/data launcher/manager.go dock/dock_manager_init.go
74+ fixPath $out /usr/share/dde-daemon launcher/manager.go gesture/config.go
7375 fixPath ${networkmanager.dev} /usr/share/gir-1.0/NM-1.0.gir network/nm_generator/Makefile
7476 fixPath ${glibc.bin} /usr/bin/getconf systeminfo/utils.go
7577 fixPath ${deepin-desktop-base} /etc/deepin-version systeminfo/version.go accounts/deepinversion.go
7678 fixPath ${tzdata} /usr/share/zoneinfo timedate/zoneinfo/zone.go
7779 fixPath ${dde-api} /usr/lib/deepin-api grub2/modify_manger.go accounts/image_blur.go
7880 fixPath ${deepin-wallpapers} /usr/share/wallpapers appearance/background/list.go accounts/user.go
81+ fixPath ${xkeyboard_config} /usr/share/X11/xkb inputdevices/layout_list.go
82+
83+ # TODO: deepin-system-monitor comes from dde-extra
7984
8085 sed -i -e "s|{DESTDIR}/etc|{DESTDIR}$out/etc|" Makefile
8186 sed -i -e "s|{DESTDIR}/lib|{DESTDIR}$out/lib|" Makefile
pkgs/desktops/deepin/deepin-calculator/default.nixnew file+49
@@ -0,0 +1,49 @@
1+{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, qtsvg, dtkcore,
2+ dtkwidget, deepin }:
3+
4+stdenv.mkDerivation rec {
5+ name = "${pname}-${version}";
6+ pname = "deepin-calculator";
7+ version = "1.0.11";
8+
9+ src = fetchFromGitHub {
10+ owner = "linuxdeepin";
11+ repo = pname;
12+ rev = version;
13+ sha256 = "10bfq0h8v0a8i46gcbsy79l194g8sc0ysg289ndrra209fhwlidq";
14+ };
15+
16+ nativeBuildInputs = [
17+ qmake
18+ pkgconfig
19+ qttools
20+ deepin.setupHook
21+ ];
22+
23+ buildInputs = [
24+ dtkcore
25+ dtkwidget
26+ qtsvg
27+ ];
28+
29+ postPatch = ''
30+ searchHardCodedPaths # debugging
31+ patchShebangs translate_generation.sh
32+ fixPath $out /usr deepin-calculator.pro
33+ substituteInPlace deepin-calculator.desktop --replace "Exec=deepin-calculator" "Exec=$out/bin/deepin-calculator"
34+ '';
35+
36+ postFixup = ''
37+ searchHardCodedPaths $out # debugging
38+ '';
39+
40+ passthru.updateScript = deepin.updateScript { inherit name; };
41+
42+ meta = with stdenv.lib; {
43+ description = "Easy to use calculator for Deepin Desktop Environment";
44+ homepage = https://github.com/linuxdeepin/deepin-calculator;
45+ license = licenses.gpl3;
46+ platforms = platforms.linux;
47+ maintainers = with maintainers; [ romildo ];
48+ };
49+}
pkgs/desktops/deepin/default.nix+2
@@ -9,6 +9,7 @@ let
99 dbus-factory = callPackage ./dbus-factory { };
1010 dde-api = callPackage ./dde-api { };
1111 dde-calendar = callPackage ./dde-calendar { };
12+ dde-control-center = callPackage ./dde-control-center { };
1213 dde-daemon = callPackage ./dde-daemon { };
1314 dde-dock = callPackage ./dde-dock { };
1415 dde-file-manager = callPackage ./dde-file-manager { };
@@ -18,6 +19,7 @@ let
1819 dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
1920 dde-session-ui = callPackage ./dde-session-ui { };
2021 deepin-anything = callPackage ./deepin-anything { };
22+ deepin-calculator = callPackage ./deepin-calculator { };
2123 deepin-desktop-base = callPackage ./deepin-desktop-base { };
2224 deepin-desktop-schemas = callPackage ./deepin-desktop-schemas { };
2325 deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
pkgs/desktops/gnome-3/extensions/appindicator/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "gnome-shell-extension-appindicator-${version}";
5− version = "28";
5+ version = "29";
66
77 src = fetchFromGitHub {
88 owner = "Ubuntu";
99 repo = "gnome-shell-extension-appindicator";
1010 rev = "v${version}";
11− sha256 = "03sgb2xkb4lzp8pbb7g56q29y1r764qzpc0j4d4m1gi0sb39sxrl";
11+ sha256 = "02cr6rhi3dfk49jcjm6vh7yx117bv5wqyvd34cyv1kzwzsla8v2i";
1212 };
1313
1414 # This package has a Makefile, but it's used for building a zip for
pkgs/development/compilers/chicken/5/chicken.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, makeWrapper, bootstrap-chicken ? null }:
22
33let
4− version = "5.0.0";
4+ version = "5.1.0";
55 platform = with stdenv;
66 if isDarwin then "macosx"
77 else if isCygwin then "cygwin"
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717
1818 src = fetchurl {
1919 url = "https://code.call-cc.org/releases/${version}/chicken-${version}.tar.gz";
20− sha256 = "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8";
20+ sha256 = "0jsbp3kp0134f318j3wpd1n85gf8qzh034fn198gvazsv2l024aw";
2121 };
2222
2323 setupHook = lib.ifEnable (bootstrap-chicken != null) ./setup-hook.sh;
pkgs/development/compilers/kotlin/default.nix+2−2
@@ -1,14 +1,14 @@
11{ stdenv, fetchurl, makeWrapper, jre, unzip }:
22
33let
4− version = "1.3.31";
4+ version = "1.3.40";
55in stdenv.mkDerivation rec {
66 inherit version;
77 name = "kotlin-${version}";
88
99 src = fetchurl {
1010 url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
11− sha256 = "0sldhjxh2ghzwkabgziyiq4609iws0vninr8zxclzbqmcgajawqh";
11+ sha256 = "14n3x0771d0a1yqncig97lk4bigkx2nvx20khpcnvf873c2b3h28";
1212 };
1313
1414 propagatedBuildInputs = [ jre ] ;
pkgs/development/compilers/llvm/7/llvm.nix+3−1
@@ -15,7 +15,9 @@
1515, debugVersion ? false
1616, enableManpages ? false
1717, enableSharedLibraries ? true
18−, enablePFM ? !stdenv.isDarwin
18+, enablePFM ? !(stdenv.isDarwin
19+ || stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
20+ )
1921, enablePolly ? false
2022}:
2123
pkgs/development/compilers/llvm/8/llvm.nix+3−1
@@ -14,7 +14,9 @@
1414, debugVersion ? false
1515, enableManpages ? false
1616, enableSharedLibraries ? true
17−, enablePFM ? !stdenv.isDarwin
17+, enablePFM ? !(stdenv.isDarwin
18+ || stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
19+)
1820, enablePolly ? false
1921}:
2022
pkgs/development/compilers/nim/default.nix+47−23
@@ -1,14 +1,15 @@
11# based on https://github.com/nim-lang/Nim/blob/v0.18.0/.travis.yml
22
3−{ stdenv, lib, fetchurl, makeWrapper, nodejs-slim-10_x, openssl, pcre, readline, boehmgc, sfml, tzdata, coreutils }:
3+{ stdenv, lib, fetchurl, makeWrapper, nodejs-slim-11_x, openssl, pcre, readline,
4+ boehmgc, sfml, tzdata, coreutils, sqlite }:
45
56stdenv.mkDerivation rec {
67 name = "nim-${version}";
7− version = "0.19.4";
8+ version = "0.20.0";
89
910 src = fetchurl {
1011 url = "https://nim-lang.org/download/${name}.tar.xz";
11− sha256 = "0k59dhfsg5wnkc3nxg5a336pjd9jnfxabns63bl9n28iwdg16hgl";
12+ sha256 = "144sd7icg2p6qsrr29jdnl11hr34daxq4h16ywwrayz866w7kx2i";
1213 };
1314
1415 doCheck = !stdenv.isDarwin;
@@ -20,6 +21,7 @@ stdenv.mkDerivation rec {
2021 "-lpcre"
2122 "-lreadline"
2223 "-lgc"
24+ "-lsqlite3"
2325 ];
2426
2527 # 1. nodejs is only needed for tests
@@ -27,19 +29,21 @@ stdenv.mkDerivation rec {
2729 # used for bootstrapping, but koch insists on moving the nim compiler around
2830 # as part of building it, so it cannot be read-only
2931
32+ checkInputs = [
33+ nodejs-slim-11_x tzdata coreutils
34+ ];
35+
3036 nativeBuildInputs = [
31− makeWrapper nodejs-slim-10_x tzdata coreutils
37+ makeWrapper
3238 ];
3339
3440 buildInputs = [
35− openssl pcre readline boehmgc sfml
41+ openssl pcre readline boehmgc sfml sqlite
3642 ];
3743
38− phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" "checkPhase" ];
39−
4044 buildPhase = ''
41− # use $CC to trigger the linker since calling ld in build.sh causes an error
42− LD=$CC
45+ runHook preBuild
46+
4347 # build.sh wants to write to $HOME/.cache
4448 HOME=$TMPDIR
4549 sh build.sh
@@ -48,35 +52,55 @@ stdenv.mkDerivation rec {
4852 -d:useGnuReadline \
4953 ${lib.optionals (stdenv.isDarwin || stdenv.isLinux) "-d:nativeStacktrace"}
5054 ./koch tools -d:release
51− '';
5255
53− installPhase = ''
54− install -Dt $out/bin bin/* koch
55− ./koch install $out
56− mv $out/nim/bin/* $out/bin/ && rmdir $out/nim/bin
57− mv $out/nim/* $out/ && rmdir $out/nim
58− wrapProgram $out/bin/nim \
59− --suffix PATH : ${lib.makeBinPath [ stdenv.cc ]}
56+ runHook postBuild
6057 '';
6158
62− patchPhase =
59+ prePatch =
6360 let disableTest = ''sed -i '1i discard \"\"\"\n disabled: true\n\"\"\"\n\n' '';
6461 disableStdLibTest = ''sed -i -e '/^when isMainModule/,/^END$/{s/^/#/}' '';
62+ disableCompile = ''sed -i -e 's/^/#/' '';
6563 in ''
66− substituteInPlace ./tests/async/tioselectors.nim --replace "/bin/sleep" "sleep"
6764 substituteInPlace ./tests/osproc/tworkingdir.nim --replace "/usr/bin" "${coreutils}/bin"
6865 substituteInPlace ./tests/stdlib/ttimes.nim --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
6966
70− # disable tests requiring network access (not available in the build container)
67+ # reported upstream: https://github.com/nim-lang/Nim/issues/11435
68+ ${disableTest} ./tests/misc/tstrace.nim
69+
70+ # runs out of memory on a machine with 8GB RAM
71+ ${disableTest} ./tests/system/t7894.nim
72+
73+ # requires network access (not available in the build container)
7174 ${disableTest} ./tests/stdlib/thttpclient.nim
7275 '' + lib.optionalString stdenv.isAarch64 ''
73− # disable test supposedly broken on aarch64
76+ # supposedly broken on aarch64
7477 ${disableStdLibTest} ./lib/pure/stats.nim
78+
79+ # reported upstream: https://github.com/nim-lang/Nim/issues/11463
80+ ${disableCompile} ./lib/nimhcr.nim
81+ ${disableTest} ./tests/dll/nimhcr_unit.nim
82+ ${disableTest} ./tests/dll/nimhcr_integration.nim
7583 '';
7684
7785 checkPhase = ''
78− PATH=$PATH:$out/bin
79− ./koch tests
86+ runHook preCheck
87+
88+ ./koch tests --nim:bin/nim all
89+
90+ runHook postCheck
91+ '';
92+
93+ installPhase = ''
94+ runHook preInstall
95+
96+ install -Dt $out/bin bin/* koch
97+ ./koch install $out
98+ mv $out/nim/bin/* $out/bin/ && rmdir $out/nim/bin
99+ mv $out/nim/* $out/ && rmdir $out/nim
100+ wrapProgram $out/bin/nim \
101+ --suffix PATH : ${lib.makeBinPath [ stdenv.cc ]}
102+
103+ runHook postInstall
80104 '';
81105
82106 meta = with stdenv.lib; {
pkgs/development/compilers/openjdk/11.nix+2
@@ -4,6 +4,7 @@
44, libjpeg, giflib
55, setJavaClassPath
66, minimal ? false
7+, enableJavaFX ? true, openjfx
78, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
89}:
910
@@ -68,6 +69,7 @@ let
6869 ''
6970 + lib.optionalString (architecture == "amd64") " \"--with-jvm-features=zgc\""
7071 + lib.optionalString minimal " \"--enable-headless-only\""
72+ + lib.optionalString (!minimal && enableJavaFX) " \"--with-import-modules=${openjfx}\""
7173 + ");"
7274 # https://bugzilla.redhat.com/show_bug.cgi?id=1306558
7375 # https://github.com/JetBrains/jdk8u/commit/eaa5e0711a43d64874111254d74893fa299d5716
pkgs/development/compilers/openjdk/openjfx/11.nixnew file+110
@@ -0,0 +1,110 @@
1+{ stdenv, fetchurl, writeText, openjdk, bootjdk, gradleGen, pkgconfig, perl, cmake, gperf
2+, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib, ffmpeg, python, ruby }:
3+
4+let
5+ major = "11";
6+ update = ".0.3";
7+ build = "1";
8+ repover = "${major}${update}+${build}";
9+ gradle_ = (gradleGen.override {
10+ jdk = bootjdk;
11+ }).gradle_4_10;
12+
13+ makePackage = args: stdenv.mkDerivation ({
14+ version = "${major}${update}-${repover}";
15+
16+ src = fetchurl {
17+ url = "http://hg.openjdk.java.net/openjfx/${major}/rt/archive/${repover}.tar.gz";
18+ sha256 = "1h7qsylr7rnwnbimqjyn3whszp9kv4h3gpicsrb3mradxc9yv194";
19+ };
20+
21+ buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg ];
22+ nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
23+
24+ dontUseCmakeConfigure = true;
25+
26+ config = writeText "gradle.properties" (''
27+ CONF = Release
28+ JDK_HOME = ${bootjdk}/lib/openjdk
29+ '' + args.gradleProperties or "");
30+
31+ buildPhase = ''
32+ runHook preBuild
33+
34+ export GRADLE_USER_HOME=$(mktemp -d)
35+ ln -s $config gradle.properties
36+ export NIX_CFLAGS_COMPILE="$(pkg-config --cflags glib-2.0) $NIX_CFLAGS_COMPILE"
37+ gradle --no-daemon $gradleFlags sdk
38+
39+ runHook postBuild
40+ '';
41+ } // args);
42+
43+ # Fake build to pre-download deps into fixed-output derivation.
44+ # We run nearly full build because I see no other way to download everything that's needed.
45+ # Anyone who knows a better way?
46+ deps = makePackage {
47+ pname = "openjfx-deps";
48+
49+ # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
50+ installPhase = ''
51+ find $GRADLE_USER_HOME -type f -regex '.*\.\(jar\|pom\)' \
52+ | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
53+ | sh
54+ rm -rf $out/tmp
55+ '';
56+
57+ outputHashAlgo = "sha256";
58+ outputHashMode = "recursive";
59+ outputHash =
60+ # Downloaded AWT jars differ by platform.
61+ if stdenv.system == "x86_64-linux" then "0d4msxswdav1xsfkpr0qd3xgqkcbxzf47v1zdy5jmg5w4bs6a78a"
62+ else if stdenv.system == "i686-linux" then "0mjlyf6jvbis7nrm5d394sjv4hjw6k3753hr1nwdxk8skwc3ry08"
63+ else throw "Unsupported platform";
64+ };
65+
66+in makePackage {
67+ pname = "openjfx-modular-sdk";
68+
69+ gradleProperties = ''
70+ COMPILE_MEDIA = true
71+ COMPILE_WEBKIT = true
72+ '';
73+
74+ preBuild = ''
75+ swtJar="$(find ${deps} -name org.eclipse.swt\*.jar)"
76+ substituteInPlace build.gradle \
77+ --replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }' \
78+ --replace 'name: SWT_FILE_NAME' "files('$swtJar')"
79+ '';
80+
81+ installPhase = ''
82+ cp -r build/modular-sdk $out
83+ '';
84+
85+ stripDebugList = [ "." ];
86+
87+ postFixup = ''
88+ # Remove references to bootstrap.
89+ find "$out" -name \*.so | while read lib; do
90+ new_refs="$(patchelf --print-rpath "$lib" | sed -E 's,:?${bootjdk}[^:]*,,')"
91+ patchelf --set-rpath "$new_refs" "$lib"
92+ done
93+
94+ # Test to make sure that we don't depend on the bootstrap
95+ if grep -q -r '${bootjdk}' "$out"; then
96+ echo "Extraneous references to ${bootjdk} detected" >&2
97+ exit 1
98+ fi
99+ '';
100+
101+ passthru.deps = deps;
102+
103+ meta = with stdenv.lib; {
104+ homepage = http://openjdk.java.net/projects/openjfx/;
105+ license = openjdk.meta.license;
106+ description = "The next-generation Java client toolkit.";
107+ maintainers = with maintainers; [ abbradar ];
108+ platforms = openjdk.meta.platforms;
109+ };
110+}
pkgs/development/compilers/qbe/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, fetchgit }:
2+
3+stdenv.mkDerivation {
4+ pname = "qbe";
5+ version = "unstable-2019-05-15";
6+
7+ src = fetchgit {
8+ url = "git://c9x.me/qbe.git";
9+ rev = "acc3af47330fd6610cf0fbdb28e9fbd05160888f";
10+ sha256 = "1c8ynqbakgz3hfdcyhwdmz7i1hnyd9m25f9y47sc21bvxwfrbzpi";
11+ };
12+
13+ makeFlags = [ "PREFIX=$(out)" ];
14+ meta = with stdenv.lib; {
15+ homepage = "https://c9x.me/compile/";
16+ description = "A small compiler backend written in C";
17+ maintainers = with maintainers; [ fgaz ];
18+ license = licenses.mit;
19+ platforms = platforms.all;
20+ };
21+}
22+
pkgs/development/compilers/rust/binaryBuild.nix+4−19
@@ -31,7 +31,8 @@ rec {
3131 license = [ licenses.mit licenses.asl20 ];
3232 };
3333
34− buildInputs = [ bash ] ++ stdenv.lib.optional stdenv.isDarwin Security;
34+ buildInputs = [ bash ]
35+ ++ stdenv.lib.optional stdenv.isDarwin Security;
3536
3637 postPatch = ''
3738 patchShebangs .
@@ -53,17 +54,6 @@ rec {
5354 "$out/bin/cargo"
5455 ''}
5556
56− ${optionalString (stdenv.isDarwin && bootstrapping) ''
57− install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/rustc"
58− install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/rustdoc"
59− install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
60− install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/cargo"
61− install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
62− for f in $out/lib/lib*.dylib; do
63− install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$f"
64− done
65− ''}
66−
6757 # Do NOT, I repeat, DO NOT use `wrapProgram` on $out/bin/rustc
6858 # (or similar) here. It causes strange effects where rustc loads
6959 # the wrong libraries in a bootstrap-build causing failures that
@@ -85,7 +75,8 @@ rec {
8575 license = [ licenses.mit licenses.asl20 ];
8676 };
8777
88− buildInputs = [ makeWrapper bash ] ++ stdenv.lib.optional stdenv.isDarwin Security;
78+ buildInputs = [ makeWrapper bash ]
79+ ++ stdenv.lib.optional stdenv.isDarwin Security;
8980
9081 postPatch = ''
9182 patchShebangs .
@@ -102,12 +93,6 @@ rec {
10293 "$out/bin/cargo"
10394 ''}
10495
105− ${optionalString (stdenv.isDarwin && bootstrapping) ''
106− install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
107− install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/cargo"
108− install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
109− ''}
110−
11196 wrapProgram "$out/bin/cargo" \
11297 --suffix PATH : "${rustc}/bin"
11398 '';
pkgs/development/compilers/rust/bootstrap.nix+8−8
@@ -3,16 +3,16 @@
33let
44 # Note: the version MUST be one version prior to the version we're
55 # building
6− version = "1.33.0";
6+ version = "1.34.2";
77
8− # fetch hashes by running `print-hashes.sh 1.33.0`
8+ # fetch hashes by running `print-hashes.sh 1.34.2`
99 hashes = {
10− i686-unknown-linux-gnu = "c379203687d98e60623aa88c4df4992dd5a9548bc30674b9fc8e671a979e9f3a";
11− x86_64-unknown-linux-gnu = "6623168b9ee9de79deb0d9274c577d741ea92003768660aca184e04fe774393f";
12− armv7-unknown-linux-gnueabihf = "f6f0ec0a98d922c4bfd79703bc9e9eef439ba347453f33608a87cd63c47e7245";
13− aarch64-unknown-linux-gnu = "a308044e4076b62f637313ea803fa0a8f340b0f1b53136856f2c43afcabe5387";
14− i686-apple-darwin = "ed20809d56bbaea041721ce6fc9f10f7ae7a720c5821587f01a537d07a5454b1";
15− x86_64-apple-darwin = "864e7c074a0b88e38883c87c169513d072300bb52e1d320a067bd34cf14f66bd";
10+ i686-unknown-linux-gnu = "926bafd09eb90ba7d5a0195fcffb8f33dd57e515af4f8987a143459f6b1d3f04";
11+ x86_64-unknown-linux-gnu = "2bf6622d980a52832bae141304e96f317c8a1ccd2dfd69a134a14033e6e43c0f";
12+ armv7-unknown-linux-gnueabihf = "70d1057fcc133dc3e44377060a00d2f9d3a134e2670963d3f1d93f3dbfa0548e";
13+ aarch64-unknown-linux-gnu = "15fc6b7ec121df9d4e42483dd12c677203680bec8c69b6f4f62e5a35a07341a8";
14+ i686-apple-darwin = "b9fc44cbb06050975664f1033d1337bb38d5ea73b503a5d3af5409033397be5c";
15+ x86_64-apple-darwin = "6fdd4bf7fe26dded0cd57b41ab5f0500a5a99b7bc770523a425e9e34f63d0fd8";
1616 };
1717
1818 platform =
pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch+23−24
@@ -1,8 +1,7 @@
1−diff --git a/src/libstd/net/tcp.rs b/src/libstd/net/tcp.rs
2−index 86ecb10edf..626be0a52d 100644
3−--- a/src/libstd/net/tcp.rs
4−+++ b/src/libstd/net/tcp.rs
5−@@ -955,6 +955,7 @@ mod tests {
1+diff -ru -x '*~' rustc-1.35.0-src-orig/src/libstd/net/tcp.rs rustc-1.35.0-src/src/libstd/net/tcp.rs
2+--- rustc-1.35.0-src-orig/src/libstd/net/tcp.rs 2019-05-20 14:10:15.000000000 +0200
3++++ rustc-1.35.0-src/src/libstd/net/tcp.rs 2019-06-13 19:59:46.740611889 +0200
4+@@ -973,6 +973,7 @@
65 }
76 }
87
@@ -10,7 +9,7 @@ index 86ecb10edf..626be0a52d 100644
109 #[test]
1110 fn listen_localhost() {
1211 let socket_addr = next_test_ip4();
13−@@ -1013,6 +1014,7 @@ mod tests {
12+@@ -1031,6 +1032,7 @@
1413 })
1514 }
1615
@@ -18,7 +17,7 @@ index 86ecb10edf..626be0a52d 100644
1817 #[test]
1918 fn read_eof() {
2019 each_ip(&mut |addr| {
21−@@ -1032,6 +1034,7 @@ mod tests {
20+@@ -1050,6 +1052,7 @@
2221 })
2322 }
2423
@@ -26,7 +25,7 @@ index 86ecb10edf..626be0a52d 100644
2625 #[test]
2726 fn write_close() {
2827 each_ip(&mut |addr| {
29−@@ -1058,6 +1061,7 @@ mod tests {
28+@@ -1076,6 +1079,7 @@
3029 })
3130 }
3231
@@ -34,7 +33,7 @@ index 86ecb10edf..626be0a52d 100644
3433 #[test]
3534 fn multiple_connect_serial() {
3635 each_ip(&mut |addr| {
37−@@ -1080,6 +1084,7 @@ mod tests {
36+@@ -1098,6 +1102,7 @@
3837 })
3938 }
4039
@@ -42,7 +41,7 @@ index 86ecb10edf..626be0a52d 100644
4241 #[test]
4342 fn multiple_connect_interleaved_greedy_schedule() {
4443 const MAX: usize = 10;
45−@@ -1116,6 +1121,7 @@ mod tests {
44+@@ -1134,6 +1139,7 @@
4645 }
4746
4847 #[test]
@@ -50,7 +49,7 @@ index 86ecb10edf..626be0a52d 100644
5049 fn multiple_connect_interleaved_lazy_schedule() {
5150 const MAX: usize = 10;
5251 each_ip(&mut |addr| {
53−@@ -1394,6 +1400,7 @@ mod tests {
52+@@ -1467,6 +1473,7 @@
5453 }
5554
5655 #[test]
@@ -58,7 +57,7 @@ index 86ecb10edf..626be0a52d 100644
5857 fn clone_while_reading() {
5958 each_ip(&mut |addr| {
6059 let accept = t!(TcpListener::bind(&addr));
61−@@ -1504,7 +1511,10 @@ mod tests {
60+@@ -1597,7 +1604,10 @@
6261
6362 // FIXME: re-enabled bitrig/openbsd tests once their socket timeout code
6463 // no longer has rounding errors.
@@ -67,30 +66,30 @@ index 86ecb10edf..626be0a52d 100644
6766+ target_os = "netbsd",
6867+ target_os = "openbsd",
6968+ target_os = "macos"), ignore)]
69+ #[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
7070 #[test]
7171 fn timeouts() {
72− let addr = next_test_ip4();
73−@@ -1591,6 +1601,7 @@ mod tests {
72+@@ -1643,6 +1653,7 @@
7473 drop(listener);
7574 }
7675
7776+ #[cfg_attr(target_os = "macos", ignore)]
7877 #[test]
79− fn nodelay() {
80− let addr = next_test_ip4();
81−@@ -1605,6 +1616,7 @@ mod tests {
82− assert_eq!(false, t!(stream.nodelay()));
78+ #[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
79+ fn test_read_with_timeout() {
80+@@ -1687,6 +1698,7 @@
81+ drop(listener);
8382 }
8483
8584+ #[cfg_attr(target_os = "macos", ignore)]
8685 #[test]
87− fn ttl() {
88− let ttl = 100;
89−@@ -1642,6 +1654,7 @@ mod tests {
90− }
86+ #[cfg_attr(target_env = "sgx", ignore)]
87+ fn nodelay() {
88+@@ -1719,6 +1731,7 @@
89+ assert_eq!(ttl, t!(stream.ttl()));
9190 }
9291
9392+ #[cfg_attr(target_os = "macos", ignore)]
9493 #[test]
95− fn peek() {
96− each_ip(&mut |addr| {
94+ #[cfg_attr(target_env = "sgx", ignore)]
95+ fn set_nonblocking() {
pkgs/development/compilers/rust/rustc.nix+2−2
@@ -17,11 +17,11 @@ let
1717 llvmShared = llvm_7.override { enableSharedLibraries = true; };
1818in stdenv.mkDerivation rec {
1919 pname = "rustc";
20− version = "1.34.2";
20+ version = "1.35.0";
2121
2222 src = fetchurl {
2323 url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
24− sha256 = "0mig0prkmlnpbba1cmi17vlsl88ikv5pi26zjy2kcr64l62lm6n6";
24+ sha256 = "0bbizy6b7002v1rdhrxrf5gijclbyizdhkglhp81ib3bf5x66kas";
2525 };
2626
2727 __darwinAllowLocalNetworking = true;
pkgs/development/coq-modules/gappalib/default.nix+1−1
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
2424 };
2525
2626 passthru = {
27− compatibleCoqVersions = stdenv.lib.flip stdenv.lib.versionAtLeast "8.7";
27+ compatibleCoqVersions = stdenv.lib.flip builtins.elem [ "8.7" "8.8" "8.9" ];
2828 };
2929
3030}
pkgs/development/coq-modules/mathcomp/default.nix+13−2
@@ -3,6 +3,9 @@
33}:
44with builtins // stdenv.lib;
55let
6+ ####################################
7+ # CONFIGURATION (please edit this) #
8+ ####################################
69 # sha256 of released mathcomp versions
710 mathcomp-sha256 = {
811 "1.9.0" = "0lid9zaazdi3d38l8042lczb02pw5m9wq0yysiilx891hgq2p81r";
@@ -19,8 +22,16 @@ let
1922 };
2023 # computes the default version of mathcomp given a version of Coq
2124 max-mathcomp-version = last (naturalSort (attrNames mathcomp-coq-versions));
22− default-mathcomp-version = let v = last (naturalSort (["0.0.0"]
23− ++ (attrNames (filterAttrs (_: vs: vs coq.coq-version) mathcomp-coq-versions))));
25+ # mathcomp prefered version by decreasing order
26+ # (the first version in the list will be tried first)
27+ mathcomp-version-preference = [ "1.8.0" "1.9.0" "1.7.0" "1.6.1" ];
28+
29+ ##############################################################
30+ # COMPUTED using the configuration above (edit with caution) #
31+ ##############################################################
32+ default-mathcomp-version = let v = head (
33+ filter (mc: mathcomp-coq-versions."${mc}" coq.coq-version)
34+ mathcomp-version-preference ++ ["0.0.0"]);
2435 in if v == "0.0.0" then max-mathcomp-version else v;
2536
2637 # list of core mathcomp packages sorted by dependency order
pkgs/development/coq-modules/mathcomp/extra.nix+46−23
@@ -1,7 +1,7 @@
1−{ stdenv, fetchFromGitHub, coq, mathcomp, coqPackages,
1+{ stdenv, fetchFromGitHub, coq, ssreflect, coqPackages,
22 recurseIntoAttrs }:
33with builtins // stdenv.lib;
4−let current-mathcomp = mathcomp; in
4+let current-ssreflect = ssreflect; in
55let
66# configuring packages
77param = {
@@ -20,6 +20,7 @@ param = {
2020 };
2121 multinomials = {
2222 version-sha256 = {
23+ "1.3" = "0l3vi5n094nx3qmy66hsv867fnqm196r8v605kpk24gl0aa57wh4";
2324 "1.2" = "1mh1w339dslgv4f810xr1b8v2w7rpx6fgk9pz96q0fyq49fw2xcq";
2425 "1.1" = "1q8alsm89wkc0lhcvxlyn0pd8rbl2nnxg81zyrabpz610qqjqc3s";
2526 "1.0" = "1qmbxp1h81cy3imh627pznmng0kvv37k4hrwi2faa101s6bcx55m";
@@ -32,7 +33,9 @@ param = {
3233 "0.2.0" = "1186xjxgns4ns1szyi931964bjm0mp126qzlv10mkqqgfw07nhrd";
3334 "0.1.0" = "0hwkr2wzy710pcyh274fcarzdx8sv8myp16pv0vq5978nmih46al";
3435 };
36+ compatibleCoqVersions = flip elem ["8.8" "8.9"];
3537 description = "Analysis library compatible with Mathematical Components";
38+ license = stdenv.lib.licenses.cecill-c;
3639 };
3740 real-closed = {
3841 version-sha256 = {
@@ -42,6 +45,15 @@ param = {
4245 };
4346 description = "Mathematical Components Library on real closed fields";
4447 };
48+ coqeal = {
49+ version-sha256 = {
50+ "1.0.0" = "1had6f1n85lmh9x31avbmgl3m0rsiw9f8ma95qzk5b57fjg5k1ii";
51+ };
52+ description = "CoqEAL - The Coq Effective Algebra Library";
53+ owner = "CoqEAL";
54+ compatibleCoqVersions = flip elem ["8.7" "8.8" "8.9"];
55+ license = stdenv.lib.licenses.mit;
56+ };
4557};
4658versions = {
4759 "1.9.0" = {
@@ -49,13 +61,17 @@ versions = {
4961 bigenough.version = "1.0.0";
5062 analysis = {
5163 version = "0.2.2";
52− core-deps = with coqPackages; [ mathcomp_1_9-field ];
64+ core-deps = with coqPackages; [ mathcomp-field_1_9 ];
65+ extra-deps = with coqPackages; [ mathcomp_1_9-finmap mathcomp_1_9-bigenough ];
66+ };
67+ multinomials = {
68+ version = "1.3";
69+ core-deps = with coqPackages; [ mathcomp-algebra_1_9 ];
5370 extra-deps = with coqPackages; [ mathcomp_1_9-finmap mathcomp_1_9-bigenough ];
5471 };
55− multinomials = {};
5672 real-closed = {
5773 version = "1.0.3";
58− core-deps = with coqPackages; [ mathcomp_1_9-field ];
74+ core-deps = with coqPackages; [ mathcomp-field_1_9 ];
5975 extra-deps = with coqPackages; [ mathcomp_1_9-bigenough ];
6076 };
6177 };
@@ -64,37 +80,42 @@ versions = {
6480 bigenough.version = "1.0.0";
6581 analysis = {
6682 version = "0.2.2";
67− core-deps = with coqPackages; [ mathcomp_1_8-field ];
83+ core-deps = with coqPackages; [ mathcomp-field_1_8 ];
6884 extra-deps = with coqPackages; [ mathcomp_1_8-finmap mathcomp_1_8-bigenough ];
6985 };
7086 multinomials = {
71− version = "1.2";
72− core-deps = with coqPackages; [ mathcomp_1_8-algebra ];
87+ version = "1.3";
88+ core-deps = with coqPackages; [ mathcomp-algebra_1_8 ];
7389 extra-deps = with coqPackages; [ mathcomp_1_8-finmap mathcomp_1_8-bigenough ];
7490 };
7591 real-closed = {
7692 version = "1.0.3";
77− core-deps = with coqPackages; [ mathcomp_1_8-field ];
93+ core-deps = with coqPackages; [ mathcomp-field_1_8 ];
7894 extra-deps = with coqPackages; [ mathcomp_1_8-bigenough ];
7995 };
96+ coqeal = {
97+ version = "1.0.0";
98+ core-deps = with coqPackages; [ mathcomp-algebra_1_8 ];
99+ extra-deps = with coqPackages; [ bignums paramcoq mathcomp_1_8-multinomials ];
100+ };
80101 };
81102 "1.7.0" = {
82103 finmap.version = "1.1.0";
83104 bigenough.version = "1.0.0";
84105 analysis = {
85106 version = "0.1.0";
86− core-deps = with coqPackages; [ mathcomp_1_7-field ];
107+ core-deps = with coqPackages; [ mathcomp-field_1_7 ];
87108 extra-deps = with coqPackages; [ mathcomp_1_7-finmap mathcomp_1_7-bigenough ];
88109 };
89110 multinomials = {
90111 version = "1.1";
91− core-deps = with coqPackages; [ mathcomp_1_7-algebra ];
112+ core-deps = with coqPackages; [ mathcomp-algebra_1_7 ];
92113 extra-deps = with coqPackages; [ mathcomp_1_7-finmap_1_0 mathcomp_1_7-bigenough ];
93114 };
94115 real-closed = {
95116 version = "1.0.1";
96− core-deps = with coqPackages; [ mathcomp_1_8-field ];
97− extra-deps = with coqPackages; [ mathcomp_1_8-bigenough ];
117+ core-deps = with coqPackages; [ mathcomp-field_1_7 ];
118+ extra-deps = with coqPackages; [ mathcomp_1_7-bigenough ];
98119 };
99120 };
100121};
@@ -104,24 +125,25 @@ packageGen = {
104125 # optional arguments
105126 src ? "",
106127 owner ? "math-comp",
107− core-deps ? [ coqPackages.mathcomp-ssreflect ],
108128 extra-deps ? [],
109− mathcomp ? current-mathcomp,
129+ ssreflect ? current-ssreflect,
130+ core-deps ? null,
110131 compatibleCoqVersions ? null,
111− license ? mathcomp.meta.license,
132+ license ? ssreflect.meta.license,
112133 # mandatory
113134 package, version ? "broken", version-sha256, description
114135 }:
115136 let
116137 theCompatibleCoqVersions = if compatibleCoqVersions == null
117− then mathcomp.compatibleCoqVersions
138+ then ssreflect.compatibleCoqVersions
118139 else compatibleCoqVersions;
140+ mc-core-deps = if builtins.isNull core-deps then [ssreflect] else core-deps;
119141 in
120142 { "${package}" = let from = src; in
121143
122144 stdenv.mkDerivation rec {
123145 inherit version;
124− name = "coq${coq.coq-version}-mathcomp-${mathcomp.version}-${package}-${version}";
146+ name = "coq${coq.coq-version}-mathcomp${ssreflect.version}-${package}-${version}";
125147
126148 src = if from == "" then fetchFromGitHub {
127149 owner = owner;
@@ -130,7 +152,7 @@ packageGen = {
130152 sha256 = version-sha256."${version}";
131153 } else from;
132154
133− propagatedBuildInputs = [ coq mathcomp ] ++ extra-deps;
155+ propagatedBuildInputs = [ coq ] ++ mc-core-deps ++ extra-deps;
134156
135157 installFlags = "-f Makefile.coq COQLIB=$(out)/lib/coq/${coq.coq-version}/";
136158
@@ -138,7 +160,7 @@ packageGen = {
138160 inherit description;
139161 inherit license;
140162 inherit (src.meta) homepage;
141− inherit (mathcomp.meta) platforms;
163+ inherit (ssreflect.meta) platforms;
142164 maintainers = [ stdenv.lib.maintainers.vbgl ];
143165 broken = (version == "broken");
144166 };
@@ -151,14 +173,14 @@ packageGen = {
151173 };
152174 };
153175
154−current-versions = versions."${current-mathcomp.version}" or {};
176+current-versions = versions."${current-ssreflect.version}" or {};
155177
156178select = x: mapAttrs (n: pkg: {package = n;} // pkg) (recursiveUpdate param x);
157179
158180for-version = v: suffix: (mapAttrs' (n: pkg:
159181 {name = "mathcomp_${suffix}-${n}";
160182 value = (packageGen ({
161− mathcomp = coqPackages."mathcomp_${suffix}";
183+ ssreflect = coqPackages."mathcomp-ssreflect_${suffix}";
162184 } // pkg))."${n}";})
163185 (select versions."${v}"));
164186
@@ -173,7 +195,8 @@ in
173195mathcompExtraGen = packageGen;
174196mathcomp_1_7-finmap_1_0 =
175197 (packageGen (select {finmap = {version = "1.0.0";
176− mathcomp = coqPackages.mathcomp_1_7;};
198+ ssreflect = coqPackages.mathcomp-ssreflect_1_7;};
177199 }).finmap).finmap;
178200multinomials = all.mathcomp-multinomials;
201+coqeal = all.mathcomp-coqeal;
179202} // all
pkgs/development/go-modules/generic/default.nix+2−1
@@ -125,7 +125,7 @@ let
125125 local type;
126126 type="$1"
127127 if [ -n "$subPackages" ]; then
128− echo "./$subPackages"
128+ echo "$subPackages" | sed "s,\(^\| \),\1./,g"
129129 else
130130 find . -type f -name \*$type.go -exec dirname {} \; | grep -v "/vendor/" | sort --unique
131131 fi
@@ -144,6 +144,7 @@ let
144144 export NIX_BUILD_CORES=1
145145 fi
146146 for pkg in $(getGoDirs ""); do
147+ echo "Building subPackage $pkg"
147148 buildGoDir install "$pkg"
148149 done
149150 '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
pkgs/development/haskell-modules/configuration-common.nix+4−4
@@ -1262,14 +1262,14 @@ self: super: {
12621262 # The latest release version is ancient. You really need this tool from git.
12631263 haskell-ci = generateOptparseApplicativeCompletion "haskell-ci"
12641264 (addBuildDepend (overrideSrc (dontCheck super.haskell-ci) {
1265− version = "20190307-git";
1265+ version = "20190625-git";
12661266 src = pkgs.fetchFromGitHub {
12671267 owner = "haskell-CI";
12681268 repo = "haskell-ci";
1269− rev = "2baceb59bc2f36e798ff9fb6e8865c449f01d3a2";
1270− sha256 = "1wqhqajxni6h9rrj22xj6421d4m0gs8qk2glghpdp307ns5gr2j4";
1269+ rev = "260f967c6973dfb22ecc8061a1811a2ea4b79e01";
1270+ sha256 = "1mvn6pqa6wfcm4jxhlhm4l54pwrlgnz7vdrmkwabliwz4q0bzgqk";
12711271 };
1272− }) (with self; [base-compat generic-lens microlens optparse-applicative ShellCheck]));
1272+ }) (with self; [base-compat generic-lens microlens optparse-applicative ShellCheck exceptions temporary]));
12731273
12741274 # Fix build with attr-2.4.48 (see #53716)
12751275 xattr = appendPatch super.xattr ./patches/xattr-fix-build.patch;
pkgs/development/libraries/arrow-cpp/default.nix+3−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, fetchFromGitHub, autoconf, boost, brotli, cmake, double-conversion, flatbuffers, gflags, glog, gtest, lz4, perl, python, rapidjson, snappy, thrift, uriparser, which, zlib, zstd }:
1+{ stdenv, fetchurl, fetchFromGitHub, fixDarwinDylibNames, autoconf, boost, brotli, cmake, double-conversion, flatbuffers, gflags, glog, gtest, lz4, perl, python, rapidjson, snappy, thrift, uriparser, which, zlib, zstd }:
22
33let
44 parquet-testing = fetchFromGitHub {
@@ -32,7 +32,8 @@ stdenv.mkDerivation rec {
3232 ./darwin.patch
3333 ];
3434
35− nativeBuildInputs = [ cmake autoconf /* for vendored jemalloc */ ];
35+ nativeBuildInputs = [ cmake autoconf /* for vendored jemalloc */ ]
36+ ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
3637 buildInputs = [
3738 boost brotli double-conversion flatbuffers gflags glog gtest lz4 rapidjson
3839 snappy thrift uriparser zlib zstd python.pkgs.python python.pkgs.numpy
pkgs/development/libraries/cimg/default.nix+2−2
@@ -3,11 +3,11 @@
33stdenv.mkDerivation rec {
44
55 name = "cimg-${version}";
6− version = "2.6.5";
6+ version = "2.6.6";
77
88 src = fetchurl {
99 url = "http://cimg.eu/files/CImg_${version}.zip";
10− sha256 = "1q409xrri67vqhda6f6jfqnvzj1b3b9xlpi27vm9vl10k2lv4m3a";
10+ sha256 = "06a6qgs7q79asfbfp615h5iin23y7g8y1achnmsp3rpkikssskzv";
1111 };
1212
1313 nativeBuildInputs = [ unzip ];
pkgs/development/libraries/exiv2/default.nix+77−11
@@ -1,28 +1,94 @@
1−{ stdenv, fetchFromGitHub, zlib, expat, gettext
2−, autoconf }:
1+{ stdenv
2+, fetchFromGitHub
3+, zlib
4+, expat
5+, cmake
6+, which
7+, libxml2
8+, python3
9+, gettext
10+, doxygen
11+, graphviz
12+, libxslt
13+}:
314
415stdenv.mkDerivation rec {
5− name = "exiv2-0.26.2018.12.30";
16+ pname = "exiv2";
17+ version = "0.27.1";
618
7− #url = "https://www.exiv2.org/builds/${name}-trunk.tar.gz";
819 src = fetchFromGitHub rec {
920 owner = "exiv2";
1021 repo = "exiv2";
11− rev = "f5d0b25"; # https://github.com/Exiv2/exiv2/commits/0.26
12− sha256 = "1blaz3g8dlij881g14nv2nsgr984wy6ypbwgi2pixk978p0gm70i";
22+ rev = version;
23+ sha256 = "0b5m921070fkyif0zlyb49gly3p6xd0hv1jyym4j25hx12gzbx0c";
1324 };
1425
15− postPatch = "patchShebangs ./src/svn_version.sh";
26+ patches = [
27+ # https://github.com/Exiv2/exiv2/commit/aae88060ca85a483cd7fe791ba116c04d96c0bf9#comments
28+ ./fix-cmake.patch
29+ ];
1630
17− preConfigure = "make config"; # needed because not using tarball
31+ cmakeFlags = [
32+ "-DEXIV2_BUILD_PO=ON"
33+ "-DEXIV2_BUILD_DOC=ON"
34+ ];
1835
19− outputs = [ "out" "dev" ];
36+ outputs = [ "out" "dev" "doc" "man" ];
2037
2138 nativeBuildInputs = [
39+ cmake
40+ doxygen
2241 gettext
23− autoconf # needed because not using tarball
42+ graphviz
43+ libxslt
44+ ];
45+
46+ propagatedBuildInputs = [
47+ expat
48+ zlib
49+ ];
50+
51+ checkInputs = [
52+ libxml2.bin
53+ python3
54+ which
55+ ];
56+
57+ buildFlags = [
58+ "doc"
2459 ];
25− propagatedBuildInputs = [ zlib expat ];
60+
61+ doCheck = stdenv.isLinux;
62+
63+ # Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake.
64+ checkTarget = "tests";
65+
66+ preCheck = ''
67+ patchShebangs ../test/
68+ mkdir ../test/tmp
69+ export LD_LIBRARY_PATH="$(realpath ../build/lib)"
70+
71+ # Fix tests on Aarch64
72+ ${stdenv.lib.optionalString stdenv.isAarch64 ''
73+ rm -f ../tests/bugfixes/github/test_CVE_2018_12265.py
74+ ''}
75+ '';
76+
77+ postCheck = ''
78+ (cd ../tests/ && python3 runner.py)
79+ '';
80+
81+ # With cmake we have to enable samples or there won't be
82+ # a tests target. This removes them.
83+ postInstall = ''
84+ ( cd "$out/bin"
85+ mv exiv2 .exiv2
86+ rm *
87+ mv .exiv2 exiv2
88+ )
89+ '';
90+
91+ enableParallelBuilding = true;
2692
2793 meta = with stdenv.lib; {
2894 homepage = https://www.exiv2.org/;
pkgs/development/libraries/exiv2/fix-cmake.patchnew file+16
@@ -0,0 +1,16 @@
1+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2+index 34087004..41b3a068 100644
3+--- a/src/CMakeLists.txt
4++++ b/src/CMakeLists.txt
5+@@ -239,9 +239,9 @@ install(FILES
6+ ${CMAKE_BINARY_DIR}/exiv2lib_export.h
7+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/exiv2)
8+
9+-install(EXPORT exiv2Config DESTINATION "${CMAKE_INSTALL_LIBDIR}/exiv2/cmake")
10++install(EXPORT exiv2Config DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/exiv2")
11+
12+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2ConfigVersion.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/exiv2/cmake")
13++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/exiv2ConfigVersion.cmake DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/exiv2")
14+
15+ # ******************************************************************************
16+ # exiv2 application
pkgs/development/libraries/intel-media-driver/default.nix+2
@@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
1717 cmakeFlags = [
1818 "-DINSTALL_DRIVER_SYSCONF=OFF"
1919 "-DLIBVA_DRIVERS_PATH=${placeholder "out"}/lib/dri"
20+ # Works only on hosts with suitable CPUs.
21+ "-DMEDIA_RUN_TEST_SUITE=OFF"
2022 ];
2123
2224 nativeBuildInputs = [ cmake pkgconfig ];
pkgs/development/libraries/kerberos/heimdal.nix+2−2
@@ -7,13 +7,13 @@
77with stdenv.lib;
88stdenv.mkDerivation rec {
99 name = "heimdal-${version}";
10− version = "7.6.0";
10+ version = "7.7.0";
1111
1212 src = fetchFromGitHub {
1313 owner = "heimdal";
1414 repo = "heimdal";
1515 rev = "heimdal-${version}";
16− sha256 = "1i70xas6wddkw2840lk0ah9w6ddx0dzrslby1ggxlwfmcax8rcgp";
16+ sha256 = "099qn9b8q20invvi5r8d8q9rnwpcm3nr89hx5rj7gj2ah2x5vgxs";
1717 };
1818
1919 outputs = [ "out" "dev" "man" "info" ];
pkgs/development/libraries/libcouchbase/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "libcouchbase-${version}";
5− version = "2.10.3";
5+ version = "2.10.4";
66
77 src = fetchFromGitHub {
88 owner = "couchbase";
99 repo = "libcouchbase";
1010 rev = version;
11− sha256 = "0a3fin5rcwa3xwd980mrzrkr7dpjdwbri81mqwxw1fkppjqw23z4";
11+ sha256 = "1yfmcx65aqd5l87scha6kmm2s38n85ci3gg0h6qfs16s3jfi6bw7";
1212 };
1313
1414 cmakeFlags = "-DLCB_NO_MOCK=ON";
pkgs/development/libraries/libextractor/default.nix+10−1
@@ -1,5 +1,5 @@
11{ fetchurl, stdenv, libtool, gettext, zlib, bzip2, flac, libvorbis
2−, exiv2, libgsf, rpm, pkgconfig
2+, exiv2, libgsf, rpm, pkgconfig, fetchpatch
33, gtkSupport ? true, glib ? null, gtk3 ? null
44, videoSupport ? true, ffmpeg ? null, libmpeg2 ? null}:
55
@@ -14,6 +14,15 @@ stdenv.mkDerivation rec {
1414 sha256 = "1zz2zvikvfibxnk1va3kgzs7djsmiqy7bmk8y01vbsf54ryjb3zh";
1515 };
1616
17+ patches = [
18+ # Fixes build with exiv2 0.27
19+ (fetchpatch {
20+ name = "libextractor-exiv2-0.27.patch";
21+ url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/libextractor-exiv2-0.27.patch?h=packages/libextractor&id=4dc53f7fc69210ae571285dface108ed65d8ee53";
22+ sha256 = "0w4gc1q1m1yxsd4hv105nblmif465nw3g5nxzldy0x2rl9mdncg6";
23+ })
24+ ];
25+
1726 preConfigure =
1827 '' echo "patching installation directory in \`extractor.c'..."
1928 sed -i "src/main/extractor.c" \
pkgs/development/libraries/libhandy/default.nix+2−2
@@ -7,7 +7,7 @@
77
88let
99 pname = "libhandy";
10− version = "0.0.9";
10+ version = "0.0.10";
1111in stdenv.mkDerivation rec {
1212 name = "${pname}-${version}";
1313
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
1919 owner = "Librem5";
2020 repo = pname;
2121 rev = "v${version}";
22− sha256 = "0smfnvfba6cnxbrcm1vh3zbr1hww43qcxhawka3hzn2hjr06rfzn";
22+ sha256 = "1702hbdqhfpgw0c4vj2ag08vgl83byiryrbngbq11b9azmj3jhzs";
2323 };
2424
2525 nativeBuildInputs = [
pkgs/development/libraries/libpqxx/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "libpqxx";
5− version = "6.4.4";
5+ version = "6.4.5";
66
77 src = fetchFromGitHub {
88 owner = "jtv";
99 repo = pname;
1010 rev = version;
11− sha256 = "0l62qlln5q1qhapbnm8n1k0hbzf3287gld1jpcbwr0yj79l9j579";
11+ sha256 = "0djmjr2b5x5nd2a4idv5j8s6w0kdmvil910iv1kyc7x94dirbrni";
1212 };
1313
1414 nativeBuildInputs = [ gnused python2 ];
pkgs/development/libraries/libressl/default.nix+1−1
@@ -39,7 +39,7 @@ let
3939 meta = with lib; {
4040 description = "Free TLS/SSL implementation";
4141 homepage = "https://www.libressl.org";
42− license = with licenses; [ publicDomain bsdOriginal bsd0 bsd3 gpl3 isc ];
42+ license = with licenses; [ publicDomain bsdOriginal bsd0 bsd3 gpl3 isc openssl ];
4343 platforms = platforms.all;
4444 maintainers = with maintainers; [ thoughtpolice fpletz globin ];
4545 };
pkgs/development/libraries/libsass/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "libsass";
5− version = "3.6.0";
5+ version = "3.6.1";
66
77 src = fetchFromGitHub {
88 owner = "sass";
99 repo = pname;
1010 rev = version;
11− sha256 = "0c2cfmxv1h4f258l9ph6jrnk1ip5bngapzbw1x3vsqxw7hy20n4a";
11+ sha256 = "1599j2lbsygy3883x9si7rbad1pkjhl6y72aimaapcv90ga5kxkm";
1212 # Remove unicode file names which leads to different checksums on HFS+
1313 # vs. other filesystems because of unicode normalisation.
1414 extraPostFetch = ''
pkgs/development/libraries/libtoxcore/default.nix+2−2
@@ -48,7 +48,7 @@ in rec {
4848 };
4949
5050 libtoxcore_0_2 = generic {
51− version = "0.2.9";
52− sha256 = "0aljr9hqybla6p61af6fdkv0x8gph7c2wacqqa9hq2z9w0p4fs5j";
51+ version = "0.2.10";
52+ sha256 = "0r5j2s5n8ikayvr1zylvv3ai3smbhm2m0yhpa9lfcsxhvyn9phcn";
5353 };
5454}
pkgs/development/libraries/liburcu/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, perl }:
22
33stdenv.mkDerivation rec {
4− version = "0.11.0";
4+ version = "0.11.1";
55 name = "liburcu-${version}";
66
77 src = fetchurl {
88 url = "https://lttng.org/files/urcu/userspace-rcu-${version}.tar.bz2";
9− sha256 = "1rxk5vbkbmqlsnjnvkjz0pkx2076mqnq6jzblpmz8rk29x66kx8s";
9+ sha256 = "0l1kxgzch4m8fxiz2hc8fwg56hrvzzspp7n0svnl7i7iycdrgfcj";
1010 };
1111
1212 checkInputs = [ perl ];
pkgs/development/libraries/libvirt/default.nix+30−5
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, fetchgit
2−, pkgconfig, makeWrapper, libtool, autoconf, automake
2+, pkgconfig, makeWrapper, libtool, autoconf, automake, fetchpatch
33, coreutils, libxml2, gnutls, perl, python2, attr
44, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
55, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
@@ -17,22 +17,46 @@ let
1717 buildFromTarball = stdenv.isDarwin;
1818in stdenv.mkDerivation rec {
1919 name = "libvirt-${version}";
20− version = "4.10.0";
20+ version = "5.4.0";
2121
2222 src =
2323 if buildFromTarball then
2424 fetchurl {
2525 url = "http://libvirt.org/sources/${name}.tar.xz";
26− sha256 = "0v17zzyyb25nn9l18v5244myg7590dp6ppwgi8xysipifc0q77bz";
26+ sha256 = "0ywf8m9yz2hxnic7fylzlmgy4m353r4vv5zsvp89zq5yh4h81yhw";
2727 }
2828 else
2929 fetchgit {
3030 url = git://libvirt.org/libvirt.git;
3131 rev = "v${version}";
32− sha256 = "0dlpv3v6jpbmgvhpn29ryp0w2a1xny8ciqid8hnlf3klahz9kwz9";
32+ sha256 = "1dja1mf295w0sl83zag62c4j55cfbzzfbhdxpkyv2zm3zv0mwdyc";
3333 fetchSubmodules = true;
3434 };
3535
36+ patches = optionals (!stdenv.isDarwin) [
37+ (fetchpatch {
38+ name = "5.4.0-CVE-2019-10161.patch";
39+ url = "https://libvirt.org/git/?p=libvirt.git;a=patch;h=aed6a032cead4386472afb24b16196579e239580";
40+ sha256 = "19k9z9xx68nf03igbgy1imxnlp5ppj7cgdbq9kri3s834hkjcygs";
41+ })
42+ ] ++ [
43+ (fetchpatch {
44+ name = "5.4.0-CVE-2019-10166.patch";
45+ url = "https://libvirt.org/git/?p=libvirt.git;a=patch;h=db0b78457f183e4c7ac45bc94de86044a1e2056a";
46+ sha256 = "17pd1rab2mxj4q0vg30vi2gh78mf52ik1p5l12wrghb0wjf7swml";
47+ })
48+ (fetchpatch {
49+ name = "5.4.0-CVE-2019-10167.patch";
50+ url = "https://libvirt.org/git/?p=libvirt.git;a=patch;h=8afa68bac0cf99d1f8aaa6566685c43c22622f26";
51+ sha256 = "0hgbwk0y2n6ihzjk8vqabhw914axjqgzcb7c5xx893r86c54c0ml";
52+ })
53+ (fetchpatch {
54+ name = "5.4.0-CVE-2019-10168.patch";
55+ url = "https://libvirt.org/git/?p=libvirt.git;a=patch;h=bf6c2830b6c338b1f5699b095df36f374777b291";
56+ sha256 = "0s4hc3hsjncx1852ndjas1nng9v23pxf4mi1jxcajsqvhw89la0g";
57+ })
58+ ];
59+
3660 nativeBuildInputs = [ makeWrapper pkgconfig ];
3761 buildInputs = [
3862 libxml2 gnutls perl python2 readline gettext libtasn1 libgcrypt yajl
@@ -76,13 +100,14 @@ in stdenv.mkDerivation rec {
76100 "--with-esx"
77101 "--with-remote"
78102 ] ++ optionals stdenv.isLinux [
103+ "QEMU_BRIDGE_HELPER=/run/wrappers/bin/qemu-bridge-helper"
104+ "QEMU_PR_HELPER=/run/libvirt/nix-helpers/qemu-pr-helper"
79105 "--with-attr"
80106 "--with-apparmor"
81107 "--with-secdriver-apparmor"
82108 "--with-numad"
83109 "--with-macvtap"
84110 "--with-virtualport"
85− "--with-init-script=systemd+redhat"
86111 "--with-storage-disk"
87112 ] ++ optionals (stdenv.isLinux && zfs != null) [
88113 "--with-storage-zfs"
pkgs/development/libraries/matio/default.nix+2−2
@@ -1,9 +1,9 @@
11{ stdenv, fetchurl }:
22stdenv.mkDerivation rec {
3− name = "matio-1.5.15";
3+ name = "matio-1.5.16";
44 src = fetchurl {
55 url = "mirror://sourceforge/matio/${name}.tar.gz";
6− sha256 = "1kxi15ph68nnbi0s1m8icb0685wg8ql8gj7wnkdk20kzpf3lbgr1";
6+ sha256 = "0i2g7jqbb4j8xlf1ly7gfpw5zyxmr245qf57v6w0jmwx4rfkvfj7";
77 };
88
99 meta = with stdenv.lib; {
pkgs/development/libraries/mtxclient/default.nix+4
@@ -27,5 +27,9 @@ stdenv.mkDerivation rec {
2727 license = licenses.mit;
2828 maintainers = with maintainers; [ fpletz ];
2929 platforms = platforms.unix;
30+
31+ # As of 2019-06-30, all of the dependencies are available on macOS but the
32+ # package itself does not build.
33+ broken = stdenv.isDarwin;
3034 };
3135}
pkgs/development/libraries/ogre/default.nix+2−2
@@ -11,11 +11,11 @@
1111
1212stdenv.mkDerivation rec {
1313 name = "ogre-${version}";
14− version = "1.12.0";
14+ version = "1.12.1";
1515
1616 src = fetchurl {
1717 url = "https://github.com/OGRECave/ogre/archive/v${version}.zip";
18− sha256 = "1hkkg5prixppiq1p5jz7wz1npm5s7kwm1s86079280waccvr2v6x";
18+ sha256 = "1iv6k0dwdzg5nnzw2mcgcl663q4f7p2kj7nhs8afnsikrzxxgsi4";
1919 };
2020
2121 cmakeFlags = [ "-DOGRE_BUILD_SAMPLES=${toString withSamples}" ]
pkgs/development/libraries/olm/default.nix+3−1
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 description = "Implements double cryptographic ratchet and Megolm ratchet";
99 license = stdenv.lib.licenses.asl20;
1010 homepage = https://matrix.org/git/olm/about;
11− platforms = stdenv.lib.platforms.linux;
11+ platforms = with stdenv.lib.platforms; darwin ++ linux;
1212 };
1313
1414 src = fetchurl {
@@ -22,5 +22,7 @@ stdenv.mkDerivation rec {
2222 # requires optimisation but memory operations are compiled with -O0
2323 hardeningDisable = ["fortify"];
2424
25+ makeFlags = if stdenv.cc.isClang then [ "CC=cc" ] else null;
26+
2527 installFlags = "PREFIX=$(out)";
2628}
pkgs/development/libraries/openmpi/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, gfortran, perl, libnl
1+{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
22, rdma-core, zlib, numactl, libevent, hwloc
33
44# Enable the Sun Grid Engine bindings
@@ -19,6 +19,14 @@ in stdenv.mkDerivation rec {
1919 sha256 = "02cpzcp113gj5hb0j2xc0cqma2fn04i2i0bzf80r71120p9bdryc";
2020 };
2121
22+ patches = [
23+ (fetchpatch {
24+ name = "openmpi-mca_btl_vader_component_close-segfault.patch";
25+ url = "https://github.com/open-mpi/ompi/pull/6526.patch";
26+ sha256 = "0s7ac9rkcj3fi6ampkvy76njlj478yyr4zvypjc7licy6dgr595x";
27+ })
28+ ];
29+
2230 postPatch = ''
2331 patchShebangs ./
2432 '';
pkgs/development/libraries/opensubdiv/default.nix+2−2
@@ -6,13 +6,13 @@
66
77stdenv.mkDerivation rec {
88 name = "opensubdiv-${version}";
9− version = "3.3.3";
9+ version = "3.4.0";
1010
1111 src = fetchFromGitHub {
1212 owner = "PixarAnimationStudios";
1313 repo = "OpenSubdiv";
1414 rev = "v${lib.replaceChars ["."] ["_"] version}";
15− sha256 = "1rld4hgl9yrbnk5sd6bhvnm8jdnqq09hq93hrmx0nhccccximi9z";
15+ sha256 = "0cippg6aqc5dlya1cmh3908pwssrg52fwgyylnvz5343yrxmgk12";
1616 };
1717
1818 outputs = [ "out" "dev" ];
pkgs/development/libraries/packr/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ buildGoModule
2+, fetchFromGitHub
3+, lib
4+}:
5+
6+buildGoModule rec {
7+ pname = "packr";
8+ version = "2.5.1";
9+
10+ src = fetchFromGitHub {
11+ owner = "gobuffalo";
12+ repo = pname;
13+ rev = "v${version}";
14+ sha256 = "070hpnsr5w1r1cg9wl80cafmhkx4z3s29wq04fa7rk49hmwml4jy";
15+ };
16+
17+ modSha256 = "0xvpk9jjcqac44s4fp0jwpljxvs0ypjwc5qfg0w90s2r7jn50fxn";
18+
19+ meta = with lib; {
20+ description = "The simple and easy way to embed static files into Go binaries";
21+ homepage = "https://github.com/gobuffalo/packr";
22+ license = licenses.mit;
23+ maintainers = with maintainers; [ mmahut ];
24+ };
25+}
pkgs/development/libraries/physics/rivet/default.nix+1−1
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 name = "rivet-${version}";
5− version = "2.7.0";
5+ version = "2.7.2";
66
77 src = fetchurl {
88 url = "https://www.hepforge.org/archive/rivet/Rivet-${version}.tar.bz2";
pkgs/development/libraries/physics/yoda/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "yoda-${version}";
5− version = "1.7.4";
5+ version = "1.7.7";
66
77 src = fetchurl {
88 url = "https://www.hepforge.org/archive/yoda/YODA-${version}.tar.bz2";
9− sha256 = "0w9s3qv87hrmpq4dkrxcrl2hn2vcsbvy8ml99w85404wksw1dwrx";
9+ sha256 = "1ki88rscnym0vjxpfgql8m1lrc7vm1jb9w4jhw9lvv3rk84lpdng";
1010 };
1111
1212 pythonPath = []; # python wrapper support
pkgs/development/libraries/pyotherside/default.nix+2−2
@@ -3,13 +3,13 @@
33
44stdenv.mkDerivation rec {
55 pname = "pyotherside";
6− version = "1.5.6";
6+ version = "1.5.8";
77
88 src = fetchFromGitHub {
99 owner = "thp";
1010 repo = "pyotherside";
1111 rev = version;
12− sha256 = "1cjx0fbrq9qvbirwy76pw1f5skm2afd51k4qb269ql4gpl67d5lv";
12+ sha256 = "0dnsvyg990ln3bdjdyc5b4lbb63wcjij0skq8pb4x4jglfy7vz4z";
1313 };
1414
1515 nativeBuildInputs = [ qmake ];
pkgs/development/libraries/trompeloeil/default.nixnew file+23
@@ -0,0 +1,23 @@
1+{ stdenv, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ name = "trompeloeil-${version}";
5+ version = "34";
6+
7+ src = fetchFromGitHub {
8+ owner = "rollbear";
9+ repo = "trompeloeil";
10+ rev = "v${version}";
11+ sha256 = "0mj3zni18kfm04jrqjaa1p6ii5q0dz6qdm3hi57z9lzygaxbdc97";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+
16+ meta = with stdenv.lib; {
17+ description = "Header only C++14 mocking framework";
18+ homepage = "https://github.com/rollbear/trompeloeil";
19+ license = licenses.boost;
20+ maintainers = [ maintainers.bjornfor ];
21+ platforms = platforms.unix;
22+ };
23+}
pkgs/development/libraries/unixODBCDrivers/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, unixODBC, cmake, postgresql, mysql55, mariadb, sqlite, zlib, libxml2, dpkg, lib, openssl, kerberos, curl, libuuid, autoPatchelfHook }:
1+{ fetchurl, stdenv, unixODBC, cmake, postgresql, mysql, mariadb, sqlite, zlib, libxml2, dpkg, lib, openssl, kerberos, curl, libuuid, autoPatchelfHook }:
22
33# I haven't done any parameter tweaking.. So the defaults provided here might be bad
44
@@ -67,7 +67,7 @@
6767 };
6868
6969 nativeBuildInputs = [ cmake ];
70− buildInputs = [ unixODBC mysql55 ];
70+ buildInputs = [ unixODBC mysql ];
7171
7272 cmakeFlags = [ "-DWITH_UNIXODBC=1" ];
7373
pkgs/development/libraries/vulkan-loader/default.nix+3−1
@@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
2121 buildInputs = [ cmake python3 xlibsWrapper libxcb libXrandr libXext wayland ];
2222 enableParallelBuilding = true;
2323
24+ patches = [ ./system-search-path.patch ];
25+
2426 cmakeFlags = [
25− "-DFALLBACK_DATA_DIRS=${addOpenGLRunpath.driverLink}/share:/usr/local/share:/usr/share"
27+ "-DSYSTEM_SEARCH_PATH=${addOpenGLRunpath.driverLink}/share"
2628 "-DVULKAN_HEADERS_INSTALL_DIR=${vulkan-headers}"
2729 ];
2830
pkgs/development/libraries/vulkan-loader/system-search-path.patchnew file+45
@@ -0,0 +1,45 @@
1+diff --git a/CMakeLists.txt b/CMakeLists.txt
2+index 9ac5ce835..cbdb0ff56 100644
3+--- a/CMakeLists.txt
4++++ b/CMakeLists.txt
5+@@ -88,6 +88,12 @@ if(UNIX)
6+ STRING
7+ "Search path to use when XDG_DATA_DIRS is unset or empty or the current process is SUID/SGID. Default is freedesktop compliant."
8+ )
9++ set(
10++ SYSTEM_SEARCH_PATH ""
11++ CACHE
12++ STRING
13++ "Search path to always use, after all other search paths."
14++ )
15+ endif()
16+
17+ if(UNIX AND NOT APPLE) # i.e.: Linux
18+@@ -184,6 +190,7 @@ if(UNIX)
19+ add_definitions(-DFALLBACK_CONFIG_DIRS="${FALLBACK_CONFIG_DIRS}")
20+ add_definitions(-DFALLBACK_DATA_DIRS="${FALLBACK_DATA_DIRS}")
21+ add_definitions(-DSYSCONFDIR="${CMAKE_INSTALL_FULL_SYSCONFDIR}")
22++ add_definitions(-DSYSTEM_SEARCH_PATH="${SYSTEM_SEARCH_PATH}")
23+
24+ # Make sure /etc is searched by the loader
25+ if(NOT (CMAKE_INSTALL_FULL_SYSCONFDIR STREQUAL "/etc"))
26+diff --git a/loader/loader.c b/loader/loader.c
27+index 0d3b5a947..abe357004 100644
28+--- a/loader/loader.c
29++++ b/loader/loader.c
30+@@ -3688,6 +3688,7 @@ static VkResult ReadDataFilesInSearchPaths(const struct loader_instance *inst, e
31+ search_path_size += DetermineDataFilePathSize(xdgdatahome, rel_size);
32+ search_path_size += DetermineDataFilePathSize(home_root, rel_size);
33+ }
34++ search_path_size += DetermineDataFilePathSize(SYSTEM_SEARCH_PATH, rel_size);
35+ #endif
36+ }
37+ }
38+@@ -3737,6 +3738,7 @@ static VkResult ReadDataFilesInSearchPaths(const struct loader_instance *inst, e
39+ CopyDataFilePath(xdgdatahome, relative_location, rel_size, &cur_path_ptr);
40+ CopyDataFilePath(home_root, relative_location, rel_size, &cur_path_ptr);
41+ }
42++ CopyDataFilePath(SYSTEM_SEARCH_PATH, relative_location, rel_size, &cur_path_ptr);
43+ }
44+
45+ // Remove the last path separator
pkgs/development/lua-modules/bit32.patchnew file+14
@@ -0,0 +1,14 @@
1+diff -Naur lua-compat-5.2/c-api/compat-5.2.h lua-compat-5.2-patched/c-api/compat-5.2.h
2+--- lua-compat-5.2/c-api/compat-5.2.h 2015-02-19 09:23:42.000000000 +1100
3++++ lua-compat-5.2-patched/c-api/compat-5.2.h 2019-06-17 17:58:13.585361793 +1000
4+@@ -146,8 +146,10 @@
5+ #define lua_pushglobaltable(L) \
6+ lua_pushvalue(L, LUA_GLOBALSINDEX)
7+
8++#if !defined(luaL_newlib)
9+ #define luaL_newlib(L, l) \
10+ (lua_newtable((L)),luaL_setfuncs((L), (l), 0))
11++#endif
12+
13+ void luaL_checkversion (lua_State *L);
14+
pkgs/development/lua-modules/overrides.nix+6−4
@@ -6,10 +6,12 @@ with super;
66 #### manual fixes for generated packages
77 ##########################################3
88 bit32 = super.bit32.override({
9− disabled = !isLua51;
10− # Theoretically works with luajit, but it does redefine at least one Lua
11− # 5.2 function that Luajit 2.1 provides, see:
12− # https://github.com/LuaJIT/LuaJIT/issues/325
9+ # Small patch in order to no longer redefine a Lua 5.2 function that Luajit
10+ # 2.1 also provides, see https://github.com/LuaJIT/LuaJIT/issues/325 for
11+ # more
12+ patches = [
13+ ./bit32.patch
14+ ];
1315 });
1416
1517 busted = super.busted.override({
pkgs/development/ocaml-modules/elpi/default.nix+10−22
@@ -1,40 +1,28 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, camlp5
1+{ lib, fetchFromGitHub, buildDunePackage, camlp5
22, ppx_tools_versioned, ppx_deriving, re
33}:
44
5−if !stdenv.lib.versionAtLeast ocaml.version "4.03"
6−then throw "elpi is not available for OCaml ${ocaml.version}"
7−else
5+buildDunePackage rec {
6+ pname = "elpi";
7+ version = "1.4.1";
88
9−stdenv.mkDerivation rec {
10− name = "ocaml${ocaml.version}-elpi-${version}";
11− version = "1.2.0";
129 src = fetchFromGitHub {
1310 owner = "LPCIC";
1411 repo = "elpi";
1512 rev = "v${version}";
16− sha256 = "1n4jpidx0vk4y66bhd704ajn8n6f1fd5wsi1shj6wijfmjl14h7s";
13+ sha256 = "0sj2jbimg3jqwz4bsfcdqbrh45bb1dbgxj5g234pg1xjy9kxzl2w";
1714 };
1815
19− buildInputs = [ ocaml findlib ppx_tools_versioned ];
16+ minimumOCamlVersion = "4.04";
2017
21− propagatedBuildInputs = [ camlp5 ppx_deriving re ];
22−
23− createFindlibDestdir = true;
18+ buildInputs = [ ppx_tools_versioned ];
2419
25− preInstall = "make byte";
26−
27− postInstall = ''
28− mkdir -p $out/bin
29− make install-bin BIN=$out/bin
30− make install-bin BYTE=1 BIN=$out/bin
31− '';
20+ propagatedBuildInputs = [ camlp5 ppx_deriving re ];
3221
3322 meta = {
3423 description = "Embeddable λProlog Interpreter";
35− license = stdenv.lib.licenses.lgpl21Plus;
36− maintainers = [ stdenv.lib.maintainers.vbgl ];
24+ license = lib.licenses.lgpl21Plus;
25+ maintainers = [ lib.maintainers.vbgl ];
3726 inherit (src.meta) homepage;
38− inherit (ocaml.meta) platforms;
3927 };
4028}
pkgs/development/python-modules/baselines/default.nix+15−10
@@ -1,6 +1,6 @@
11{ lib
22, buildPythonPackage
3−, fetchPypi
3+, fetchFromGitHub
44, pytest
55, gym
66, scipy
@@ -17,18 +17,16 @@
1717
1818buildPythonPackage rec {
1919 pname = "baselines";
20− version = "0.1.5";
20+ version = "0.1.6"; # remember to manually adjust the rev
2121
22− src = fetchPypi {
23− inherit pname version;
24− sha256 = "0n1mxkcg82gzhkb4j5zzwm335r3rc1sblknqs4x6nkrrh42d65cm";
22+ src = fetchFromGitHub {
23+ owner = "openai";
24+ repo = "baselines";
25+ # Unfortunately releases are not tagged. This commit bumps the version in setup.py
26+ rev = "2bca7901f51c88cdef3ca0666c6a87c454a4dbe8";
27+ sha256 = "0j2ck7rsrcyny9qbmrw9aqvzfhv70nbign8iva2dsisa2x24gbcl";
2528 };
2629
27− patches = [
28− # already fixed upstream
29− ./fix-dep-names.patch
30− ];
31−
3230 propagatedBuildInputs = [
3331 gym
3432 scipy
@@ -43,6 +41,13 @@ buildPythonPackage rec {
4341 click
4442 ];
4543
44+ postPatch = ''
45+ # Needed for the atari wrapper, but the gym-atari package is not supported
46+ # in nixos anyways. Since opencv-python is not currently packaged, we
47+ # disable it.
48+ sed -ie '/opencv-python/d' setup.py
49+ '';
50+
4651 # fails to create a daemon, probably because of sandboxing
4752 doCheck = false;
4853
pkgs/development/python-modules/baselines/fix-dep-names.patchdeleted−18
@@ -1,18 +0,0 @@
1−diff --git a/setup.py b/setup.py
2−index bf8badc..570be20 100644
3−--- a/setup.py
4−+++ b/setup.py
5−@@ -10,11 +10,11 @@ setup(name='baselines',
6− packages=[package for package in find_packages()
7− if package.startswith('baselines')],
8− install_requires=[
9−- 'gym[mujoco,atari,classic_control,robotics]',
10−+ 'gym',
11− 'scipy',
12− 'tqdm',
13− 'joblib',
14−- 'zmq',
15−+ 'pyzmq',
16− 'dill',
17− 'progressbar2',
18− 'mpi4py',
pkgs/development/python-modules/braintree/default.nix+2−2
@@ -6,11 +6,11 @@
66
77buildPythonPackage rec {
88 pname = "braintree";
9− version = "3.54.0";
9+ version = "3.55.0";
1010
1111 src = fetchPypi {
1212 inherit pname version;
13− sha256 = "09dbj04r55hnm8zvfz8wbnxkxb1pfy7g43pzcgs4hhh5xh45ppfd";
13+ sha256 = "0l3i0ayzykrsraqf87z4h39qm3kxyfwrm09n81gnkvsn2126izsd";
1414 };
1515
1616 propagatedBuildInputs = [ requests ];
pkgs/development/python-modules/chameleon/default.nix+2−2
@@ -5,11 +5,11 @@
55
66buildPythonPackage rec {
77 pname = "Chameleon";
8− version = "3.6.1";
8+ version = "3.6.2";
99
1010 src = fetchPypi {
1111 inherit pname version;
12− sha256 = "850f74f756bcb99423dd2658b99f448b09f09ccc2c60c0a2d6dec52294d7f9ed";
12+ sha256 = "0aw6cqnychmsxjjgihwr7df92xw6ac1wr4x70mvq28z3iq35x7ls";
1313 };
1414
1515 meta = with stdenv.lib; {
pkgs/development/python-modules/cherrypy/default.nix+2−2
@@ -6,14 +6,14 @@
66
77buildPythonPackage rec {
88 pname = "cherrypy";
9− version = "18.1.1";
9+ version = "18.1.2";
1010
1111 disabled = !isPy3k;
1212
1313 src = fetchPypi {
1414 pname = "CherryPy";
1515 inherit version;
16− sha256 = "6585c19b5e4faffa3613b5bf02c6a27dcc4c69a30d302aba819639a2af6fa48b";
16+ sha256 = "1w3hpsg7q8shdmscmbqk00w90lcw3brary7wl1a56k5h7nx33pj8";
1717 };
1818
1919 propagatedBuildInputs = [
pkgs/development/python-modules/cmd2/default.nix+2−2
@@ -6,11 +6,11 @@
66}:
77buildPythonPackage rec {
88 pname = "cmd2";
9− version = "0.9.13";
9+ version = "0.9.14";
1010
1111 src = fetchPypi {
1212 inherit pname version;
13− sha256 = "b873ade57ebf6c42a9d4e8c705fc2b16777e9d2e53fec5b113914dc65f2eae38";
13+ sha256 = "0rllwc4h89xdivy85nmgqdi2s0sk1zw31mlvrnlr9gz2902cnq93";
1414 };
1515
1616 LC_ALL="en_US.UTF-8";
pkgs/development/python-modules/confluent-kafka/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:
22
33buildPythonPackage rec {
4− version = "1.0.0";
4+ version = "1.0.1";
55 pname = "confluent-kafka";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "a7427944af963410479c2aaae27cc9d28db39c9a93299f14dcf16df80092c63a";
9+ sha256 = "04bsnyhldcvscdj0dg3hm5k27vmhfi9k6bwz963sd3q2h7g9k6kg";
1010 };
1111
1212 buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;
pkgs/development/python-modules/datadog/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "datadog";
7− version = "0.26.0";
7+ version = "0.29.3";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "cbaa6b4b2b88fd552605e6730f60d5437017bb76d6b701432eaafbc983735b79";
11+ sha256 = "0p47hy1p2hf233blalyz0yr6nf13iwk9ndkqdk428dmf8b8m2plr";
1212 };
1313
1414 postPatch = ''
pkgs/development/python-modules/django_taggit/default.nix+12−1
@@ -1,7 +1,11 @@
11{ stdenv
22, buildPythonPackage
3+, python
34, fetchPypi
45, pythonOlder
6+, django
7+, mock
8+, isort
59}:
610
711buildPythonPackage rec {
@@ -14,7 +18,14 @@ buildPythonPackage rec {
1418 sha256 = "a21cbe7e0879f1364eef1c88a2eda89d593bf000ebf51c3f00423c6927075dce";
1519 };
1620
17− doCheck = false;
21+ propagatedBuildInputs = [ isort django ];
22+
23+ checkInputs = [ mock ];
24+ checkPhase = ''
25+ # prove we're running tests against installed package, not build dir
26+ rm -r taggit
27+ ${python.interpreter} -m django test --settings=tests.settings
28+ '';
1829
1930 meta = with stdenv.lib; {
2031 description = "django-taggit is a reusable Django application for simple tagging";
pkgs/development/python-modules/dm-sonnet/default.nix+10−3
@@ -11,10 +11,11 @@
1111, wrapt
1212, tensorflow
1313, tensorflow-probability
14+, tensorflow-estimator
1415}:
1516
1617let
17− version = "1.30";
18+ version = "1.33";
1819
1920 # first build all binaries and generate setup.py using bazel
2021 bazel-build = buildBazelPackage rec {
@@ -24,7 +25,7 @@ let
2425 owner = "deepmind";
2526 repo = "sonnet";
2627 rev = "v${version}";
27− sha256 = "1dli4a4arx2gmb4p676pfibvnpag9f13znisrk9381g7xpqqmaw6";
28+ sha256 = "1nqsja1s8jrkq6v1whgh7smk17313mjr9vs3k5c1m8px4yblzhqc";
2829 };
2930
3031 nativeBuildInputs = [
@@ -35,9 +36,14 @@ let
3536 bazelTarget = ":install";
3637
3738 fetchAttrs = {
38− sha256 = "0q7mz69nzng8i6pn3h0va79q4nh60jfjjj9crric8g6dmdwc3h1i";
39+ sha256 = "0f2rlzrlazmgjrsin8vq3jfv431cc8sx8lxsr6x4wgd4jx5d1zzy";
3940 };
4041
42+ bazelFlags = [
43+ # https://github.com/deepmind/sonnet/issues/134
44+ "--incompatible_disable_deprecated_attr_params=false"
45+ ];
46+
4147 buildAttrs = {
4248 preBuild = ''
4349 patchShebangs .
@@ -68,6 +74,7 @@ in buildPythonPackage rec {
6874 wrapt
6975 tensorflow
7076 tensorflow-probability
77+ tensorflow-estimator
7178 ];
7279
7380 # not sure how to properly run the real test suite -- through bazel?
pkgs/development/python-modules/google-pasta/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, six
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "google-pasta";
9+ version = "0.1.7";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "1zmqfvy28i2509277s6sz098kddd16cx21vpxyc8xml1nclcxlbr";
14+ };
15+
16+ propagatedBuildInputs = [
17+ six
18+ ];
19+
20+ meta = {
21+ description = "An AST-based Python refactoring library";
22+ homepage = https://github.com/google/pasta;
23+ license = lib.licenses.asl20;
24+ maintainers = with lib.maintainers; [ timokau ];
25+ };
26+}
pkgs/development/python-modules/libversion/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "libversion";
5− version = "1.1.3";
5+ version = "1.1.4";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "1ax1bq5hrbs2pq2krya83yj1s5cm33pcpwalnc15cgj73kmhb5fn";
9+ sha256 = "0xp0wv4s1537s0iqa1ih3kfh1p70s7d1fkwhvrnbj8m98yjij84q";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/libvirt/default.nix+2−2
@@ -2,12 +2,12 @@
22
33buildPythonPackage rec {
44 pname = "libvirt";
5− version = "4.10.0";
5+ version = "5.4.0";
66
77 src = assert version == libvirt.version; fetchgit {
88 url = git://libvirt.org/libvirt-python.git;
99 rev = "v${version}";
10− sha256 = "184gd857fkks9ivh4zzbmva2fs2dfxg9lihvhfrwyd2pxflglvyf";
10+ sha256 = "0ja35z90i3m7vsjfpzfm7awkmja3h0150376i5pzmf2q8vp61fi5";
1111 };
1212
1313 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/luftdaten/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildPythonPackage rec {
44 pname = "luftdaten";
5− version = "0.5.0";
5+ version = "0.6.1";
66
77 disabled = !isPy3k;
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "4672f807c0e22bde2606dd887b0358de1da77068d1a1afe6dd8e331d2391b02c";
11+ sha256 = "0jxp9yfabdgn2d6w69ijrw1bk1d9g897425cyybiyc13zhhs0kwg";
1212 };
1313
1414 propagatedBuildInputs = [ aiohttp async-timeout ];
pkgs/development/python-modules/mpi4py/default.nix+3−9
@@ -1,24 +1,18 @@
1−{ stdenv, fetchPypi, fetchpatch, python, buildPythonPackage, mpi, openssh }:
1+{ stdenv, fetchPypi, python, buildPythonPackage, mpi, openssh }:
22
33buildPythonPackage rec {
44 pname = "mpi4py";
5− version = "3.0.1";
5+ version = "3.0.2";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "0ld8rjmsjr0dklvj2g1gr3ax32sdq0xjxyh0cspknc1i36waajb5";
9+ sha256 = "1q28xl36difma1wq0acq111cqxjya32kn3lxp6fbidz3wg8jkmpq";
1010 };
1111
1212 passthru = {
1313 inherit mpi;
1414 };
1515
16− patches = [ ( fetchpatch {
17− # Upstream patch to ensure compatibility with openmpi-4.0.1
18− url = "https://github.com/mpi4py/mpi4py/commit/42f5e35a6a90454516c11131549a08cd766edbb0.patch";
19− sha256 = "1dm0i3amwj1cddzz1m9ssd7qp655c8rv1wzjs9ww3kzd90fm4w72";
20− })];
21−
2216 postPatch = ''
2317 substituteInPlace test/test_spawn.py --replace \
2418 "unittest.skipMPI('openmpi(<3.0.0)')" \
pkgs/development/python-modules/pip-tools/default.nix+17−9
@@ -1,14 +1,13 @@
1−{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first
1+{ stdenv, fetchPypi, buildPythonPackage, pip, pytest, click, six, first
22, setuptools_scm, git, glibcLocales, mock }:
33
44buildPythonPackage rec {
55 pname = "pip-tools";
6− version = "3.3.2";
7− name = pname + "-" + version;
6+ version = "3.8.0";
87
9− src = fetchurl {
10− url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
11− sha256 = "100496b15463155f4da3df04c2ca0068677e1ee74d346ebade2d85eef4de8cda";
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "1vwh3hx4jrzf51yj9h31nk9ji53lqaq63mlqd7n84hcmfwy3rwz4";
1211 };
1312
1413 LC_ALL = "en_US.UTF-8";
@@ -17,13 +16,22 @@ buildPythonPackage rec {
1716
1817 disabledTests = stdenv.lib.concatMapStringsSep " and " (s: "not " + s) [
1918 # Depend on network tests:
19+ "test_allow_unsafe_option" #paramaterized, but all fail
20+ "test_annotate_option" #paramaterized, but all fail
2021 "test_editable_package_vcs"
22+ "test_editable_top_level_deps_preserved" # can't figure out how to select only one parameter to ignore
23+ "test_filter_pip_markers"
24+ "test_filter_pip_markes"
2125 "test_generate_hashes_all_platforms"
22− "test_generate_hashes_without_interfering_with_each_other"
23− "test_realistic_complex_sub_dependencies"
26+ "test_generate_hashes_verbose"
2427 "test_generate_hashes_with_editable"
25− "test_filter_pip_markes"
28+ "test_generate_hashes_with_url"
29+ "test_generate_hashes_without_interfering_with_each_other"
2630 "test_get_hashes_local_repository_cache_miss"
31+ "test_realistic_complex_sub_dependencies"
32+ "test_stdin"
33+ "test_upgrade_packages_option"
34+ "test_url_package"
2735 # Expect specific version of "six":
2836 "test_editable_package"
2937 "test_input_file_without_extension"
pkgs/development/python-modules/pytesseract/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "pytesseract";
5− version = "0.2.6";
5+ version = "0.2.7";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "0w4phjw0gn52hqlm3ixs2cmj25x7y7nk6ijr9f82wvjvb4hh7hhi";
9+ sha256 = "0vyv6wnch1l5kcxqzngakx948qz90q604bl5h93x54381lq3ndj6";
1010 };
1111
1212 patches = [
pkgs/development/python-modules/pytest-django/default.nix+2−2
@@ -10,11 +10,11 @@
1010}:
1111buildPythonPackage rec {
1212 pname = "pytest-django";
13− version = "3.4.8";
13+ version = "3.5.1";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "1vj2xfb6jl570zmmwlhvfpj7af5q554z72z51ril07gyfkkq6cjd";
17+ sha256 = "1fynkswykgnqn8wqibavf598md5p005ilcac6sk4hpfv0v2v8kr6";
1818 };
1919
2020 nativeBuildInputs = [ pytest setuptools_scm ];
pkgs/development/python-modules/python-dotenv/default.nix+17−4
@@ -1,15 +1,28 @@
1−{ lib, buildPythonPackage, fetchPypi, click, ipython }:
1+{ lib, buildPythonPackage, fetchPypi, isPy27
2+, click
3+, ipython
4+, pytest
5+, sh
6+, typing
7+}:
28
39buildPythonPackage rec {
410 pname = "python-dotenv";
5− version = "0.10.2";
11+ version = "0.10.3";
612
713 src = fetchPypi {
814 inherit pname version;
9− sha256 = "6640acd76e6cab84648e4fec16c9d19de6700971f9d91d045e7120622167bfda";
15+ sha256 = "0i25gh8wi87l4g0iflp81rlgmps4cdmp90hwypalp7gcbwfxfmzi";
1016 };
1117
12− checkInputs = [ click ipython ];
18+ propagatedBuildInputs = [ click ] ++ lib.optionals isPy27 [ typing ];
19+
20+ checkInputs = [ ipython pytest sh ];
21+
22+ # cli tests are impure
23+ checkPhase = ''
24+ pytest tests/ -k 'not cli'
25+ '';
1326
1427 meta = with lib; {
1528 description = "Add .env support to your django/flask apps in development and deployments";
pkgs/development/python-modules/qtpy/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "QtPy";
5− version = "1.7.1";
5+ version = "1.8.0";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "17pdn4d77gjjrsq7m1i6dz9px0dfi6wgaqz2v3sa3crl15spawp9";
9+ sha256 = "14hws3zc2d548bfkxk1j2xy4ll368rak3z16bz3pdlj9j259jrpb";
1010 };
1111
1212 # no concrete propagatedBuildInputs as multiple backends are supposed
pkgs/development/python-modules/robotframework-seleniumlibrary/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, buildPythonPackage, fetchFromGitHub, python, robotframework, selenium, mockito, robotstatuschecker, approvaltests }:
22
33buildPythonPackage rec {
4− version = "3.2.0";
4+ version = "3.3.1";
55 pname = "robotframework-seleniumlibrary";
66
77 # no tests included in PyPI tarball
@@ -9,7 +9,7 @@ buildPythonPackage rec {
99 owner = "robotframework";
1010 repo = "SeleniumLibrary";
1111 rev = "v${version}";
12− sha256 = "106dl0qgf52wqk1xn4ghj7n2fjhaq0fh2wlnqn29aczbv5q581y3";
12+ sha256 = "0dabc5dwx0pwsyiy74d7wj97k72yl28a17sasjzrdq819pyc3dvq";
1313 };
1414
1515 propagatedBuildInputs = [ robotframework selenium ];
pkgs/development/python-modules/sabyenc/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "sabyenc";
5− version = "3.3.5";
5+ version = "3.3.6";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "0fpvd5mckf1kbn0bhc5ybm08y41ps7sc5f9khz08qyjbikbcww85";
9+ sha256 = "1qbymi1626mmcxnsqdwnz2krxg7jvl4qbh8nwjj54z2p681wvjm4";
1010 };
1111
1212 # tests are not included in pypi distribution
pkgs/development/python-modules/snakeviz/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "snakeviz";
5− version = "2.0.0";
5+ version = "2.0.1";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "0hvfc7c25cz6p3m3p3klm3njiysp7lkrs9sxm4p40spldl0jlfpa";
9+ sha256 = "11a8cd4g98vq2x61i99ncl5w83clnndwg909ya4y1cdf0k1ckb40";
1010 };
1111
1212 # Upstream doesn't run tests from setup.py
pkgs/development/python-modules/statsmodels/default.nix+2−2
@@ -13,11 +13,11 @@
1313
1414buildPythonPackage rec {
1515 pname = "statsmodels";
16− version = "0.9.0";
16+ version = "0.10.0";
1717
1818 src = fetchPypi {
1919 inherit pname version;
20− sha256 = "6461f93a842c649922c2c9a9bc9d9c4834110b89de8c4af196a791ab8f42ba3b";
20+ sha256 = "1fhsq3bz5ya54ipa0cb8qgfj7gfgxprv4briig0ly4r11rj23wv5";
2121 };
2222
2323 checkInputs = with self; [ nose ];
pkgs/development/python-modules/tensorflow-estimator/default.nix+2−2
@@ -6,13 +6,13 @@
66
77buildPythonPackage rec {
88 pname = "tensorflow-estimator";
9− version = "1.13.0";
9+ version = "1.14.0";
1010 format = "wheel";
1111
1212 src = fetchPypi {
1313 pname = "tensorflow_estimator";
1414 inherit version format;
15− sha256 = "068l4w0w7dj9gqkf8avjclq9zsp7ifwzw4rpf4qjylz3hczamzbw";
15+ sha256 = "14irpsyj14vn2dpwr601f54058wywci1pv0hss8s01rl0rk3y1ya";
1616 };
1717
1818 propagatedBuildInputs = [ mock numpy absl-py ];
pkgs/development/python-modules/tensorflow-probability/default.nix+82−13
@@ -1,35 +1,104 @@
11{ lib
22, fetchFromGitHub
3+, buildBazelPackage
34, buildPythonPackage
5+, python
6+, setuptools
7+, wheel
48, tensorflow
9+, six
10+, numpy
11+, decorator
12+, cloudpickle
13+, hypothesis
14+, scipy
15+, matplotlib
16+, mock
517, pytest
618}:
719
8−buildPythonPackage rec {
9− pname = "tensorflow-probability";
10− version = "0.6.0";
20+let
21+ version = "0.7";
22+ pname = "tensorflow_probability";
1123
12− src = fetchFromGitHub {
13− owner = "tensorflow";
14− repo = "probability";
15− rev = "v${version}";
16− sha256 = "1y210n4asv8j39pk68bdfrz01gddflvzhxbcvj5jw6rjgaagnhvx";
24+ # first build all binaries and generate setup.py using bazel
25+ bazel-wheel = buildBazelPackage {
26+ name = "${pname}-${version}-py2.py3-none-any.whl";
27+
28+ src = fetchFromGitHub {
29+ owner = "tensorflow";
30+ repo = "probability";
31+ rev = "v${version}";
32+ sha256 = "0sy9gmjcvmwciamqvd7kd9qw2wd7ksklk80815fsn7sj0wiqxjyd";
33+ };
34+
35+ nativeBuildInputs = [
36+ # needed to create the output wheel in installPhase
37+ python
38+ setuptools
39+ wheel
40+ ];
41+
42+ bazelTarget = ":pip_pkg";
43+
44+ fetchAttrs = {
45+ sha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
46+ };
47+
48+ buildAttrs = {
49+ preBuild = ''
50+ patchShebangs .
51+ '';
52+
53+ installPhase = ''
54+ # work around timestamp issues
55+ # https://github.com/NixOS/nixpkgs/issues/270#issuecomment-467583872
56+ export SOURCE_DATE_EPOCH=315532800
57+
58+ # First build, then move. Otherwise pip_pkg would create the dir $out
59+ # and then put the wheel in that directory. However we want $out to
60+ # point directly to the wheel file.
61+ ./bazel-bin/pip_pkg . --release
62+ mv *.whl "$out"
63+ '';
64+ };
1765 };
66+in buildPythonPackage rec {
67+ inherit version pname;
68+ format = "wheel";
69+
70+ src = bazel-wheel;
1871
1972 propagatedBuildInputs = [
2073 tensorflow
74+ six
75+ numpy
76+ decorator
77+ cloudpickle
2178 ];
2279
80+ # Listed here:
81+ # https://github.com/tensorflow/probability/blob/f01d27a6f256430f03b14beb14d37def726cb257/testing/run_tests.sh#L58
2382 checkInputs = [
83+ hypothesis
2484 pytest
85+ scipy
86+ matplotlib
87+ mock
2588 ];
2689
27− # Tests have an invalid import (`tensorflow_probability.opensource`), should
28− # be resolved in the next version with
29− # https://github.com/tensorflow/probability/commit/77d5957f2f0bdddcb46582799cd9c5c5167a1a40
30− doCheck = false;
90+ # actual checks currently fail because for some reason
91+ # tf.enable_eager_execution is called too late. Probably because upstream
92+ # intents these tests to be run by bazel, not plain pytest.
93+ # checkPhase = ''
94+ # # tests need to import from other test files
95+ # export PYTHONPATH="$PWD/tensorflow-probability:$PYTHONPATH"
96+ # py.test
97+ # '';
98+
99+ # sanity check
31100 checkPhase = ''
32− py.test
101+ python -c 'import tensorflow_probability'
33102 '';
34103
35104 meta = with lib; {
pkgs/development/python-modules/tensorflow-tensorboard/default.nix+3−3
@@ -14,7 +14,7 @@
1414
1515buildPythonPackage rec {
1616 pname = "tensorflow-tensorboard";
17− version = "1.13.0";
17+ version = "1.14.0";
1818 format = "wheel";
1919
2020 src = fetchPypi ({
@@ -23,10 +23,10 @@ buildPythonPackage rec {
2323 format = "wheel";
2424 } // (if isPy3k then {
2525 python = "py3";
26− sha256 = "19ixs811ndx8qh72dif0ywjss3rv7pf1khsgg6rvfjb9nw8wgjc2";
26+ sha256 = "1z631614jk5zgasgmwfr33gz8bwv11p9f5llzlwvx3a8rnyv3q2h";
2727 } else {
2828 python = "py2";
29− sha256 = "0qpv6jsf6jjvdl95qvarn006kfj5a99mq925d73xg4af50ssvkrf";
29+ sha256 = "1clv29yy942l3mfar2z6wkkk6l18fz7j6mi2dfz24j9dln0scny3";
3030 }));
3131
3232 propagatedBuildInputs = [
pkgs/development/python-modules/tensorflow/bin.nix+20−4
@@ -5,6 +5,8 @@
55, isPy3k, pythonOlder
66, astor
77, gast
8+, google-pasta
9+, wrapt
810, numpy
911, six
1012, termcolor
@@ -41,7 +43,7 @@ let
4143
4244in buildPythonPackage rec {
4345 pname = "tensorflow";
44− version = "1.13.1";
46+ version = "1.14.0";
4547 format = "wheel";
4648
4749 src = let
@@ -53,9 +55,23 @@ in buildPythonPackage rec {
5355 dls = import (./. + "/tf${version}-hashes.nix");
5456 in fetchurl dls.${key};
5557
56− propagatedBuildInputs = [ protobuf numpy termcolor grpcio six astor absl-py gast tensorflow-estimator tensorflow-tensorboard keras-applications keras-preprocessing ]
57− ++ lib.optional (!isPy3k) mock
58− ++ lib.optionals (pythonOlder "3.4") [ backports_weakref ];
58+ propagatedBuildInputs = [
59+ protobuf
60+ numpy
61+ termcolor
62+ grpcio
63+ six
64+ astor
65+ absl-py
66+ gast
67+ google-pasta
68+ wrapt
69+ tensorflow-estimator
70+ tensorflow-tensorboard
71+ keras-applications
72+ keras-preprocessing
73+ ] ++ lib.optional (!isPy3k) mock
74+ ++ lib.optionals (pythonOlder "3.4") [ backports_weakref ];
5975
6076 # Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
6177 # and the propageted input tensorflow-tensorboard which causes environment collisions.
pkgs/development/python-modules/tensorflow/prefetcher.sh+1−1
@@ -1,4 +1,4 @@
1−version=1.13.1
1+version=1.14.0
22hashfile=tf${version}-hashes.nix
33rm -f $hashfile
44echo "{" >> $hashfile
pkgs/development/python-modules/tensorflow/tf1.13.1-hashes.nixdeleted−42
@@ -1,42 +0,0 @@
1−{
2−linux_py_27_cpu = {
3− url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.13.1-cp27-none-linux_x86_64.whl";
4− sha256 = "0y1vd3y5fxcjj5d35qbk8482b0s642nyp0c2sm068vx5wd4sjpcg";
5−};
6−linux_py_35_cpu = {
7− url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.13.1-cp35-cp35m-linux_x86_64.whl";
8− sha256 = "0b27swk4c2vaimwzbzl4c7xnccr9cfak5a3848lfqlcavcmbp94j";
9−};
10−linux_py_36_cpu = {
11− url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.13.1-cp36-cp36m-linux_x86_64.whl";
12− sha256 = "087jwjby3bym09z55cjhc587aasf01y6l009p1q2vcpfq7s7ljmk";
13−};
14−linux_py_37_cpu = {
15− url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.13.1-cp37-cp37m-linux_x86_64.whl";
16− sha256 = "0as68dp87lh7ffcccb149km6vws15ap04604irxwz35fq9h7grxg";
17−};
18−linux_py_27_gpu = {
19− url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.13.1-cp27-none-linux_x86_64.whl";
20− sha256 = "0bf239f2bnsbqs3qh4xdql9pgbsm0zk7j8q1hg0wn0wrq440n0ds";
21−};
22−linux_py_35_gpu = {
23− url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.13.1-cp35-cp35m-linux_x86_64.whl";
24− sha256 = "1cqav22a8yz6fzk46z6kv1ha2i28h5wccbd7k66drrfxibmb93j0";
25−};
26−linux_py_36_gpu = {
27− url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.13.1-cp36-cp36m-linux_x86_64.whl";
28− sha256 = "1xnbiz36z7nicqrv0cmymfnwb8mdz2hifcv71gh6gnyi1962f2d7";
29−};
30−linux_py_37_gpu = {
31− url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.13.1-cp37-cp37m-linux_x86_64.whl";
32− sha256 = "10gcrmd9y5a89wpi4rpp9scc9l2krijv8yjp7iphlykmn54ps74k";
33−};
34−mac_py_2_cpu = {
35− url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.13.1-py2-none-any.whl";
36− sha256 = "1a6y5xj2wqkd8qmabn2xjg3q7x2jfixwrz351dgcxlhy8qy5yc0g";
37−};
38−mac_py_3_cpu = {
39− url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.13.1-py3-none-any.whl";
40− sha256 = "1klsv18k0isfd61z1wirfz1lnqmx8k73ga8g9s18yand65iycads";
41−};
42−}
pkgs/development/python-modules/tensorflow/tf1.14.0-hashes.nixnew file+42
@@ -0,0 +1,42 @@
1+{
2+linux_py_27_cpu = {
3+ url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.14.0-cp27-none-linux_x86_64.whl";
4+ sha256 = "0yywdrfk97dh1bxhibspg0raz70fx9lcczj6xlimqy4xb60clx7k";
5+};
6+linux_py_35_cpu = {
7+ url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.14.0-cp35-cp35m-linux_x86_64.whl";
8+ sha256 = "1xvyb6xcrjhlwvrmrhn5vs9xy7g98smqmpv4i3hhpry4qyasphhj";
9+};
10+linux_py_36_cpu = {
11+ url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.14.0-cp36-cp36m-linux_x86_64.whl";
12+ sha256 = "1psd9vyxz9f39dwj77nvrg373sxv3p5vdp9fnz81dpsm0b0mwl44";
13+};
14+linux_py_37_cpu = {
15+ url = "https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.14.0-cp37-cp37m-linux_x86_64.whl";
16+ sha256 = "0bg2sb1n2ag27r7ww695kg5hb0mjrw4kc5893krmixx2j71860c5";
17+};
18+linux_py_27_gpu = {
19+ url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.14.0-cp27-none-linux_x86_64.whl";
20+ sha256 = "0y1x91gayg6pjddgl8ndcm63wfzhyv4s5khgl7ffzsgni1ivaqw5";
21+};
22+linux_py_35_gpu = {
23+ url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.14.0-cp35-cp35m-linux_x86_64.whl";
24+ sha256 = "03piggpbz1jx8m2b95spq3jrdff4w6xx63ji07am7hyw2nsgx3mx";
25+};
26+linux_py_36_gpu = {
27+ url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.14.0-cp36-cp36m-linux_x86_64.whl";
28+ sha256 = "0ypkp8cfhharsyyikb1qgf44cfm6284km9xswzvzymjzz75vg3gd";
29+};
30+linux_py_37_gpu = {
31+ url = "https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.14.0-cp37-cp37m-linux_x86_64.whl";
32+ sha256 = "0virp8nn2ysx4855hq29kas6fm6b3dsiybwzdxy9nnb9n2d8qlm2";
33+};
34+mac_py_2_cpu = {
35+ url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.14.0-py2-none-any.whl";
36+ sha256 = "14f86k3pgq7z6i4s4im55zpp38f0drnm7xlclavsgcc0nxnj3z26";
37+};
38+mac_py_3_cpu = {
39+ url = "https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.14.0-py3-none-any.whl";
40+ sha256 = "0f3swpcjfgqhj6h5wnx8snc0xjkx4hnkqx83fmlrwpncs8c131d3";
41+};
42+}
pkgs/development/python-modules/tomlkit/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 pname = "tomlkit";
7− version = "0.5.3";
7+ version = "0.5.4";
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "1hjfzlb6y694pkadygcaq1n63di97pxgq2zpc74in1axc5166l6n";
11+ sha256 = "1pby2lbzwy2pwdbq8xaqi4560b1ih5m0y141mmbc446j3w168fvv";
1212 };
1313
1414 propagatedBuildInputs =
pkgs/development/python-modules/twilio/default.nix+2−2
@@ -3,13 +3,13 @@
33
44buildPythonPackage rec {
55 pname = "twilio";
6− version = "6.28.0";
6+ version = "6.29.0";
77 # tests not included in PyPi, so fetch from github instead
88 src = fetchFromGitHub {
99 owner = "twilio";
1010 repo = "twilio-python";
1111 rev = version;
12− sha256 = "161s4nb4hhqgb8kc5wiq3s4jkv9a3fg9vycf5ga804vzfr04zlki";
12+ sha256 = "1xsg862d68rdrl6m3v9zcq20h42jn6x9cv1bk2ydiizyn6ngqz8w";
1313 };
1414
1515 buildInputs = [ nose mock ];
pkgs/development/python-modules/vega/default.nix+2−2
@@ -3,11 +3,11 @@
33
44buildPythonPackage rec {
55 pname = "vega";
6− version = "2.1.0";
6+ version = "2.3.2";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "0lshwsvi242m0ybrqjvbag73x1mrb31w2jq3lnklqyzry153xfdb";
10+ sha256 = "0f39kfinn297gjhms9jys3ixdlsn0dz3gndgacyimp77jhzir4v1";
1111 };
1212
1313 buildInputs = [ pytest ];
pkgs/development/python-modules/virtual-display/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildPythonPackage rec {
44 pname = "PyVirtualDisplay";
5− version = "0.2.3";
5+ version = "0.2.4";
66
77 propagatedBuildInputs = [ EasyProcess ];
88
99 src = fetchPypi {
1010 inherit pname version;
11− sha256 = "658d03ea2d6727cbe70c30af71e9014d3d39114a3c50bd661b75aad188fdd3aa";
11+ sha256 = "0nybvd7sajig6vya2v3fd20dls6f3nnf12x8anrfxnjs41chgx87";
1212 };
1313
1414 # requires X server
pkgs/development/python-modules/xarray/default.nix+2−2
@@ -10,11 +10,11 @@
1010
1111buildPythonPackage rec {
1212 pname = "xarray";
13− version = "0.12.1";
13+ version = "0.12.2";
1414
1515 src = fetchPypi {
1616 inherit pname version;
17− sha256 = "ac09a819e791be208ae33fa7ecee19d0fe7b5479906f927d358a61957ce27e10";
17+ sha256 = "0wlpyzxdhcc043g9sjbrflky7xwdyq487v64i532zb2fpjskd59s";
1818 };
1919
2020 checkInputs = [ pytest ];
pkgs/development/python-modules/yamllint/default.nix+2−2
@@ -3,11 +3,11 @@
33
44buildPythonPackage rec {
55 pname = "yamllint";
6− version = "1.15.0";
6+ version = "1.16.0";
77
88 src = fetchPypi {
99 inherit pname version;
10− sha256 = "8f25759997acb42e52b96bf3af0b4b942e6516b51198bebd3402640102006af7";
10+ sha256 = "1bw39aiyqspjsxps5m3skaszih8vap8kyialbzg7jjc080nyqkws";
1111 };
1212
1313 checkInputs = [ nose ];
pkgs/development/python-modules/zconfig/default.nix+2−2
@@ -8,11 +8,11 @@
88
99buildPythonPackage rec {
1010 pname = "ZConfig";
11− version = "3.4.0";
11+ version = "3.5.0";
1212
1313 src = fetchPypi {
1414 inherit pname version;
15− sha256 = "560f779c7dcca0593083cbdb3fac9bfc7974cd5061363e2254844192e5644998";
15+ sha256 = "0s7aycxna07a04b4rswbkj4y5qh3gxy2mcsqb9dmy0iimj9f9550";
1616 };
1717
1818 patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
pkgs/development/tools/analysis/checkstyle/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, makeWrapper, jre }:
22
33stdenv.mkDerivation rec {
4− version = "8.21";
4+ version = "8.22";
55 name = "checkstyle-${version}";
66
77 src = fetchurl {
88 url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar";
9− sha256 = "1jd6kbfmvgr3mr8kjhhr1fj1i3j36ysnfi14g5027ngwbq7klm7d";
9+ sha256 = "0lnpzh4c5m8xkdx8dxywp33i3zrnwj1nhgpqnqgx31aw3x0drw40";
1010 };
1111
1212 nativeBuildInputs = [ makeWrapper ];
pkgs/development/tools/analysis/cppcheck/default.nix+2−2
@@ -2,12 +2,12 @@
22
33stdenv.mkDerivation rec {
44 pname = "cppcheck";
5− version = "1.87";
5+ version = "1.88";
66 name = "${pname}-${version}";
77
88 src = fetchurl {
99 url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
10− sha256 = "1jl1qlr8la1rix1ffcvl6s4arv2n9fvx85sl4zgp29428xks9c73";
10+ sha256 = "1jiqv9pzzy2gxkdhxv3gqjarwgbvc7kxyc66dm3i6xwp94bl89dv";
1111 };
1212
1313 buildInputs = [ pcre ];
pkgs/development/tools/analysis/tflint/default.nix+3−3
@@ -2,16 +2,16 @@
22
33buildGoModule rec {
44 pname = "tflint";
5− version = "0.8.3";
5+ version = "0.9.0";
66
77 src = fetchFromGitHub {
88 owner = "wata727";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "0kqlwncsxssi1jchmrg1wmv7dknp0shx33j7kkryy12wdxxcbwyb";
11+ sha256 = "1k050kcgvy21jk01mkgscfl7hlfgaa1621920w111fghqxibssan";
1212 };
1313
14− modSha256 = "1j5hjr4l4ivvhrywk286zczsn9balaaq5l5qx4ga4v0llwspmygm";
14+ modSha256 = "17pm6v34gya8bgz8g5hh1cijjldk78j53x9yvsjpcjnqm7l0clcd";
1515
1616 subPackages = [ "." ];
1717
pkgs/development/tools/bazel-watcher/default.nix+21−7
@@ -1,11 +1,27 @@
11{ buildBazelPackage
22, fetchFromGitHub
3+, fetchpatch
34, git
45, go
56, python
67, stdenv
78}:
89
10+let
11+ patches = [
12+ ./use-go-in-path.patch
13+
14+ # update rules_go to fix the build. Remove these when updating past 0.10.3
15+ (fetchpatch {
16+ url = "https://github.com/bazelbuild/bazel-watcher/commit/686130f50cea274f7453f6abc8c5249654047462.patch";
17+ sha256 = "0rzs01sfiinl5d3dq9sx1bhl8kkzppdwh964fr7bzafqcxv5llmb";
18+ })
19+ (fetchpatch {
20+ url = "https://github.com/bazelbuild/bazel-watcher/commit/18bdb44832ccc533e0ab3923ef80060eeb24582d.patch";
21+ sha256 = "0k5hvlxlg4n092d53cbfxqqhzc6f1jv4licdhhi1dhckkhb4sdk6";
22+ })
23+ ];
24+in
925buildBazelPackage rec {
1026 name = "bazel-watcher-${version}";
1127 version = "0.10.3";
@@ -22,11 +38,10 @@ buildBazelPackage rec {
2238 bazelTarget = "//ibazel";
2339
2440 fetchAttrs = {
41+ inherit patches;
42+
2543 preBuild = ''
2644 patchShebangs .
27−
28− # tell rules_go to use the Go binary found in the PATH
29− sed -e 's:go_register_toolchains():go_register_toolchains(go_version = "host"):g' -i WORKSPACE
3045 '';
3146
3247 preInstall = ''
@@ -47,15 +62,14 @@ buildBazelPackage rec {
4762 sed -e '/^FILE:@bazel_gazelle_go_repository_tools.*/d' -i $bazelOut/external/\@*.marker
4863 '';
4964
50− sha256 = "1ck1rsg5msd77abs889nl2n2i3jlah4d4vjz5wbsb3jyhzn8n5ny";
65+ sha256 = "01d4m4kb2mhz8fxl9apzsdq0pd7i79w3q49x51rwa524caml9zfv";
5166 };
5267
5368 buildAttrs = {
69+ inherit patches;
70+
5471 preBuild = ''
5572 patchShebangs .
56−
57− # tell rules_go to use the Go binary found in the PATH
58− sed -e 's:go_register_toolchains():go_register_toolchains(go_version = "host"):g' -i WORKSPACE
5973 '';
6074
6175 installPhase = ''
pkgs/development/tools/bazel-watcher/use-go-in-path.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/WORKSPACE b/WORKSPACE
2+index 51273b6..fcf9ffb 100644
3+--- a/WORKSPACE
4++++ b/WORKSPACE
5+@@ -61,7 +61,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe
6+
7+ go_rules_dependencies()
8+
9+-go_register_toolchains()
10++go_register_toolchains(go_version = "host")
11+
12+ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
13+
pkgs/development/tools/build-managers/bazel/cpp-test.nixnew file+49
@@ -0,0 +1,49 @@
1+{
2+ bazel
3+, bazelTest
4+, bazel-examples
5+, gccStdenv
6+, lib
7+, runLocal
8+, runtimeShell
9+, writeScript
10+, writeText
11+}:
12+
13+let
14+
15+ toolsBazel = writeScript "bazel" ''
16+ #! ${runtimeShell}
17+
18+ export CXX='${gccStdenv.cc}/bin/g++'
19+ export LD='${gccStdenv.cc}/bin/ld'
20+ export CC='${gccStdenv.cc}/bin/gcc'
21+
22+ # XXX: hack for macosX, this flags disable bazel usage of xcode
23+ # See: https://github.com/bazelbuild/bazel/issues/4231
24+ export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1
25+
26+ exec "$BAZEL_REAL" "$@"
27+ '';
28+
29+ workspaceDir = runLocal "our_workspace" {} (''
30+ cp -r ${bazel-examples}/cpp-tutorial/stage3 $out
31+ find $out -type d -exec chmod 755 {} \;
32+ ''
33+ + (lib.optionalString gccStdenv.isDarwin ''
34+ mkdir $out/tools
35+ cp ${toolsBazel} $out/tools/bazel
36+ ''));
37+
38+ testBazel = bazelTest {
39+ name = "bazel-test-cpp";
40+ inherit workspaceDir;
41+ bazelPkg = bazel;
42+ bazelScript = ''
43+ ${bazel}/bin/bazel \
44+ build --verbose_failures \
45+ //...
46+ '';
47+ };
48+
49+in testBazel
pkgs/development/tools/build-managers/bazel/default.nix+34−12
@@ -1,4 +1,4 @@
1−{ stdenv, callPackage, lib, fetchurl, runCommand, runCommandCC, makeWrapper
1+{ stdenv, callPackage, lib, fetchurl, fetchFromGitHub, runCommand, runCommandCC, makeWrapper
22# this package (through the fixpoint glass)
33, bazel
44, lr, xe, zip, unzip, bash, writeCBin, coreutils
@@ -94,8 +94,7 @@ let
9494 # however it contains prebuilt java binaries, with wrong interpreter
9595 # and libraries path.
9696 # We prefetch it, patch it, and override it in a global bazelrc.
97− system = if stdenv.hostPlatform.isDarwin
98− then "darwin" else "linux";
97+ system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux";
9998
10099 remote_java_tools = stdenv.mkDerivation {
101100 name = "remote_java_tools_${system}";
@@ -133,6 +132,11 @@ stdenv.mkDerivation rec {
133132 sourceRoot = ".";
134133
135134 patches = [
135+ # On Darwin, the last argument to gcc is coming up as an empty string. i.e: ''
136+ # This is breaking the build of any C target. This patch removes the last
137+ # argument if it's found to be an empty string.
138+ ./trim-last-argument-to-gcc-if-empty.patch
139+
136140 ./python-stub-path-fix.patch
137141 ] ++ lib.optional enableNixHacks ./nix-hacks.patch;
138142
@@ -144,11 +148,16 @@ stdenv.mkDerivation rec {
144148 # in the nixpkgs checkout root to exercise them locally.
145149 passthru.tests =
146150 let
147− runLocal = name: attrs: script: runCommandCC name ({
151+ runLocal = name: attrs: script:
152+ let
153+ attrs' = removeAttrs attrs [ "buildInputs" ];
154+ buildInputs = [ python3 ] ++ (attrs.buildInputs or []);
155+ in
156+ runCommandCC name ({
157+ inherit buildInputs;
148158 preferLocalBuild = true;
149159 meta.platforms = platforms;
150− buildInputs = [ python3 ];
151− } // attrs) script;
160+ } // attrs') script;
152161
153162 # bazel wants to extract itself into $install_dir/install every time it runs,
154163 # so let’s do that only once.
@@ -168,10 +177,10 @@ stdenv.mkDerivation rec {
168177 cp -R ${install_dir} $out
169178 '';
170179
171− bazelTest = { name, bazelScript, workspaceDir, bazelPkg }:
180+ bazelTest = { name, bazelScript, workspaceDir, bazelPkg, buildInputs ? [] }:
172181 let
173182 be = extracted bazelPkg;
174− in runLocal name {} (
183+ in runLocal name { inherit buildInputs; } (
175184 # skip extraction caching on Darwin, because nobody knows how Darwin works
176185 (lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
177186 # set up home with pre-unpacked bazel
@@ -198,12 +207,26 @@ stdenv.mkDerivation rec {
198207 '');
199208
200209 bazelWithNixHacks = bazel.override { enableNixHacks = true; };
210+
211+ bazel-examples = fetchFromGitHub {
212+ owner = "bazelbuild";
213+ repo = "examples";
214+ rev = "5d8c8961a2516ebf875787df35e98cadd08d43dc";
215+ sha256 = "03c1bwlq5bs3hg96v4g4pg2vqwhqq6w538h66rcpw02f83yy7fs8";
216+ };
217+
201218 in {
202− pythonBinPathWithoutNixHacks = callPackage ./python-bin-path-test.nix{ inherit runLocal bazelTest; };
203− bashToolsWithoutNixHacks = callPackage ./bash-tools-test.nix { inherit runLocal bazelTest; };
219+ bashTools = callPackage ./bash-tools-test.nix { inherit runLocal bazelTest; };
220+ cpp = callPackage ./cpp-test.nix { inherit runLocal bazelTest bazel-examples; };
221+ java = callPackage ./java-test.nix { inherit runLocal bazelTest bazel-examples; };
222+ protobuf = callPackage ./protobuf-test.nix { inherit runLocal bazelTest; };
223+ pythonBinPath = callPackage ./python-bin-path-test.nix{ inherit runLocal bazelTest; };
204224
205− pythonBinPathWithNixHacks = callPackage ./python-bin-path-test.nix{ inherit runLocal bazelTest; bazel = bazelWithNixHacks; };
206225 bashToolsWithNixHacks = callPackage ./bash-tools-test.nix { inherit runLocal bazelTest; bazel = bazelWithNixHacks; };
226+ cppWithNixHacks = callPackage ./cpp-test.nix { inherit runLocal bazelTest bazel-examples; bazel = bazelWithNixHacks; };
227+ javaWithNixHacks = callPackage ./java-test.nix { inherit runLocal bazelTest bazel-examples; bazel = bazelWithNixHacks; };
228+ protobufWithNixHacks = callPackage ./protobuf-test.nix { inherit runLocal bazelTest; bazel = bazelWithNixHacks; };
229+ pythonBinPathWithNixHacks = callPackage ./python-bin-path-test.nix{ inherit runLocal bazelTest; bazel = bazelWithNixHacks; };
207230 };
208231
209232 # update the list of workspace dependencies
@@ -220,7 +243,6 @@ stdenv.mkDerivation rec {
220243 __darwinAllowLocalNetworking = true;
221244
222245 # Bazel expects several utils to be available in Bash even without PATH. Hence this hack.
223−
224246 customBash = writeCBin "bash" ''
225247 #include <stdio.h>
226248 #include <stdlib.h>
pkgs/development/tools/build-managers/bazel/java-test.nixnew file+56
@@ -0,0 +1,56 @@
1+{
2+ bazel
3+, bazelTest
4+, bazel-examples
5+, gccStdenv
6+, lib
7+, openjdk8
8+, runLocal
9+, runtimeShell
10+, writeScript
11+, writeText
12+}:
13+
14+let
15+
16+ toolsBazel = writeScript "bazel" ''
17+ #! ${runtimeShell}
18+
19+ export CXX='${gccStdenv.cc}/bin/g++'
20+ export LD='${gccStdenv.cc}/bin/ld'
21+ export CC='${gccStdenv.cc}/bin/gcc'
22+
23+ # XXX: hack for macosX, this flags disable bazel usage of xcode
24+ # See: https://github.com/bazelbuild/bazel/issues/4231
25+ export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1
26+
27+ exec "$BAZEL_REAL" "$@"
28+ '';
29+
30+ workspaceDir = runLocal "our_workspace" {} (''
31+ cp -r ${bazel-examples}/java-tutorial $out
32+ find $out -type d -exec chmod 755 {} \;
33+ ''
34+ + (lib.optionalString gccStdenv.isDarwin ''
35+ mkdir $out/tools
36+ cp ${toolsBazel} $out/tools/bazel
37+ ''));
38+
39+ testBazel = bazelTest {
40+ name = "bazel-test-cpp";
41+ inherit workspaceDir;
42+ bazelPkg = bazel;
43+ buildInputs = [ openjdk8 ];
44+ bazelScript = ''
45+ ${bazel}/bin/bazel \
46+ run \
47+ --host_javabase='@local_jdk//:jdk' \
48+ --java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \
49+ --javabase='@local_jdk//:jdk' \
50+ --verbose_failures \
51+ //:ProjectRunner
52+ '';
53+ };
54+
55+in testBazel
56+
pkgs/development/tools/build-managers/bazel/protobuf-test.nixnew file+152
@@ -0,0 +1,152 @@
1+{
2+ bazel
3+, bazelTest
4+, fetchFromGitHub
5+, fetchurl
6+, gccStdenv
7+, lib
8+, openjdk8
9+, runLocal
10+, runtimeShell
11+, writeScript
12+, writeText
13+}:
14+
15+let
16+ com_google_protobuf = fetchFromGitHub {
17+ owner = "protocolbuffers";
18+ repo = "protobuf";
19+ rev = "v3.7.0";
20+ sha256 = "0nlxif4cajqllsj2vdh7zp14ag48fb8lsa64zmq8625q9m2lcmdh";
21+ };
22+
23+ bazel_skylib = fetchFromGitHub {
24+ owner = "bazelbuild";
25+ repo = "bazel-skylib";
26+ rev = "f83cb8dd6f5658bc574ccd873e25197055265d1c";
27+ sha256 = "091fb0ky0956wgv8gghy9ay3yfx6497mb72qvibf0y9dllmxyn9l";
28+ };
29+
30+ net_zlib = fetchurl rec {
31+ url = "https://zlib.net/zlib-1.2.11.tar.gz";
32+ sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1";
33+
34+ passthru.sha256 = sha256;
35+ };
36+
37+ WORKSPACE = writeText "WORKSPACE" ''
38+ workspace(name = "our_workspace")
39+
40+ load("//:proto-support.bzl", "protobuf_deps")
41+ protobuf_deps()
42+ '';
43+
44+ protoSupport = writeText "proto-support.bzl" ''
45+ """Load dependencies needed to compile the protobuf library as a 3rd-party consumer."""
46+
47+ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
48+
49+ def protobuf_deps():
50+ """Loads common dependencies needed to compile the protobuf library."""
51+
52+ if "zlib" not in native.existing_rules():
53+ # proto_library, cc_proto_library, and java_proto_library rules implicitly
54+ # depend on @com_google_protobuf for protoc and proto runtimes.
55+ # This statement defines the @com_google_protobuf repo.
56+ native.local_repository(
57+ name = "com_google_protobuf",
58+ path = "${com_google_protobuf}",
59+ )
60+ native.local_repository(
61+ name = "bazel_skylib",
62+ path = "${bazel_skylib}",
63+ )
64+
65+ native.bind(
66+ name = "zlib",
67+ actual = "@net_zlib//:zlib",
68+ )
69+ http_archive(
70+ name = "net_zlib",
71+ build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
72+ sha256 = "${net_zlib.sha256}",
73+ strip_prefix = "zlib-1.2.11",
74+ urls = ["file://${net_zlib}"],
75+ )
76+ '';
77+
78+ personProto = writeText "person.proto" ''
79+ syntax = "proto3";
80+
81+ package person;
82+
83+ message Person {
84+ string name = 1;
85+ int32 id = 2;
86+ string email = 3;
87+ }
88+ '';
89+
90+ personBUILD = writeText "BUILD" ''
91+ proto_library(
92+ name = "person_proto",
93+ srcs = ["person.proto"],
94+ visibility = ["//visibility:public"],
95+ )
96+
97+ java_proto_library(
98+ name = "person_java_proto",
99+ deps = [":person_proto"],
100+ )
101+
102+ cc_proto_library(
103+ name = "person_cc_proto",
104+ deps = [":person_proto"],
105+ )
106+ '';
107+
108+ toolsBazel = writeScript "bazel" ''
109+ #! ${runtimeShell}
110+
111+ export CXX='${gccStdenv.cc}/bin/g++'
112+ export LD='${gccStdenv.cc}/bin/ld'
113+ export CC='${gccStdenv.cc}/bin/gcc'
114+
115+ # XXX: hack for macosX, this flags disable bazel usage of xcode
116+ # See: https://github.com/bazelbuild/bazel/issues/4231
117+ export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1
118+
119+ exec "$BAZEL_REAL" "$@"
120+ '';
121+
122+ workspaceDir = runLocal "our_workspace" {} (''
123+ mkdir $out
124+ cp ${WORKSPACE} $out/WORKSPACE
125+ touch $out/BUILD.bazel
126+ cp ${protoSupport} $out/proto-support.bzl
127+ mkdir $out/person
128+ cp ${personProto} $out/person/person.proto
129+ cp ${personBUILD} $out/person/BUILD.bazel
130+ ''
131+ + (lib.optionalString gccStdenv.isDarwin ''
132+ mkdir $out/tools
133+ cp ${toolsBazel} $out/tools/bazel
134+ ''));
135+
136+ testBazel = bazelTest {
137+ name = "bazel-test-protocol-buffers";
138+ inherit workspaceDir;
139+ bazelPkg = bazel;
140+ buildInputs = [ openjdk8 ];
141+ bazelScript = ''
142+ ${bazel}/bin/bazel \
143+ build \
144+ --host_javabase='@local_jdk//:jdk' \
145+ --java_toolchain='@bazel_tools//tools/jdk:toolchain_hostjdk8' \
146+ --javabase='@local_jdk//:jdk' \
147+ --verbose_failures \
148+ //...
149+ '';
150+ };
151+
152+in testBazel
pkgs/development/tools/build-managers/bazel/python-bin-path-test.nix−1
@@ -45,7 +45,6 @@ let
4545 bazelScript = ''
4646 ${bazel}/bin/bazel \
4747 run \
48− --host_javabase='@local_jdk//:jdk' \
4948 //python:bin
5049 '';
5150 };
pkgs/development/tools/build-managers/bazel/trim-last-argument-to-gcc-if-empty.patchnew file+37
@@ -0,0 +1,37 @@
1+From 177b4720d6fbaa7fdd17e5e11b2c79ac8f246786 Mon Sep 17 00:00:00 2001
2+From: "Wael M. Nasreddine" <wael.nasreddine@gmail.com>
3+Date: Thu, 27 Jun 2019 21:08:51 -0700
4+Subject: [PATCH] Trim last argument to gcc if empty, on Darwin
5+
6+On Darwin, the last argument to GCC is coming up as an empty string.
7+This is breaking the build of proto_library targets. However, I was not
8+able to reproduce with the example cpp project[0].
9+
10+This commit removes the last argument if it's an empty string. This is
11+not a problem on Linux.
12+
13+[0]: https://github.com/bazelbuild/examples/tree/master/cpp-tutorial/stage3
14+---
15+ tools/cpp/osx_cc_wrapper.sh.tpl | 6 +++++-
16+ 1 file changed, 5 insertions(+), 1 deletion(-)
17+
18+diff --git a/tools/cpp/osx_cc_wrapper.sh.tpl b/tools/cpp/osx_cc_wrapper.sh.tpl
19+index 4c85cd9b6b..6c611e3d25 100644
20+--- a/tools/cpp/osx_cc_wrapper.sh.tpl
21++++ b/tools/cpp/osx_cc_wrapper.sh.tpl
22+@@ -53,7 +53,11 @@ done
23+ %{env}
24+
25+ # Call the C++ compiler
26+-%{cc} "$@"
27++if [[ ${*: -1} = "" ]]; then
28++ %{cc} "${@:0:$#}"
29++else
30++ %{cc} "$@"
31++fi
32+
33+ function get_library_path() {
34+ for libdir in ${LIB_DIRS}; do
35+--
36+2.19.2
37+
pkgs/development/tools/flatpak-builder/default.nix+2−2
@@ -43,7 +43,7 @@
4343let
4444 installed_testdir = "${placeholder "installedTests"}/libexec/installed-tests/flatpak-builder";
4545 installed_test_metadir = "${placeholder "installedTests"}/share/installed-tests/flatpak-builder";
46− version = "1.0.7";
46+ version = "1.0.8";
4747in stdenv.mkDerivation rec {
4848 name = "flatpak-builder-${version}";
4949
@@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
5151
5252 src = fetchurl {
5353 url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${name}.tar.xz";
54− sha256 = "04z9i2kahj4mffzq8ny0jvc4g3ah8kv8ilqv2rx9r1l8fhbq30jj";
54+ sha256 = "0ns1vv2phhd3vsi2749cajwapapx7xa841kkvssixwgfa575d912";
5555 };
5656
5757 nativeBuildInputs = [
pkgs/development/tools/github/github-release/default.nix+8−8
@@ -1,26 +1,26 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, system, fetchurl }:
22
33let
4− linuxPredicate = stdenv.hostPlatform.system == "x86_64-linux";
5− bsdPredicate = stdenv.hostPlatform.system == "x86_64-freebsd";
6− darwinPredicate = stdenv.hostPlatform.system == "x86_64-darwin";
4+ linuxPredicate = system == "x86_64-linux";
5+ bsdPredicate = system == "x86_64-freebsd";
6+ darwinPredicate = system == "x86_64-darwin";
77 metadata = assert linuxPredicate || bsdPredicate || darwinPredicate;
88 if linuxPredicate then
99 { arch = "linux-amd64";
10− sha256 = "0b3h0d0qsrjx99kcd2cf71xijh44wm5rpm2sr54snh3f7macj2p1";
10+ sha256 = "0p0qj911nmmdj0r7wx3363gid8g4bm3my6mj3d6s4mwgh9lfisiz";
1111 archiveBinaryPath = "linux/amd64"; }
1212 else if bsdPredicate then
1313 { arch = "freebsd-amd64";
14− sha256 = "1yydm4ndkh80phiwk41kcf6pizvwrfhsfk3jwrrgr42wsnkkgj0q";
14+ sha256 = "0g618y9n39j11l1cbhyhwlbl2gv5a2a122c1dps3m2wmv7yzq5hk";
1515 archiveBinaryPath = "freebsd/amd64"; }
1616 else
1717 { arch = "darwin-amd64";
18− sha256 = "1dj74cf1ahihia2dr9ii9ky0cpmywn42z2iq1vkbrrcggjvyrnlf";
18+ sha256 = "0l623fgnsix0y3f960bwx3dgnrqaxs21w5652kvaaal7dhnlgmwj";
1919 archiveBinaryPath = "darwin/amd64"; };
2020in stdenv.mkDerivation rec {
2121 shortname = "github-release";
2222 name = "${shortname}-${version}";
23− version = "0.6.2";
23+ version = "0.7.2";
2424
2525 src = fetchurl {
2626 url = "https://github.com/aktau/github-release/releases/download/v${version}/${metadata.arch}-${shortname}.tar.bz2";
pkgs/development/tools/go-tools/default.nix+2−2
@@ -5,7 +5,7 @@
55
66buildGoModule rec {
77 pname = "go-tools";
8− version = "2019.2";
8+ version = "2019.2.1";
99
1010 goPackagePath = "honnef.co/go/tools";
1111 excludedPackages = ''\(simple\|ssa\|ssa/ssautil\|lint\|staticcheck\|stylecheck\|unused\)/testdata'';
@@ -14,7 +14,7 @@ buildGoModule rec {
1414 owner = "dominikh";
1515 repo = "go-tools";
1616 rev = version;
17− sha256 = "0gxvrxahfgrx630fq4j629jl177qqw1kyip805k4lw607ph8m7h6";
17+ sha256 = "1frpy4pl9yp6j00mjj2yss3k8hip0cc7b5i5mz61n3dlw0kga9z1";
1818 };
1919
2020 modSha256 = "0ysaq94m7pkziliz4z4dl8ad84mbn17m2hqxvs9wbw4iwhkpi7gz";
pkgs/development/tools/haskell/multi-ghc-travis/default.nixdeleted−29
@@ -1,29 +0,0 @@
1−{ mkDerivation, ansi-terminal, base, bytestring, Cabal, containers
2−, deepseq, Diff, directory, filepath, ShellCheck, stdenv, tasty
3−, tasty-golden, transformers, fetchFromGitHub
4−}:
5−
6−mkDerivation {
7− pname = "haskell-ci";
8− version = "0";
9− src = fetchFromGitHub {
10− owner = "haskell-CI";
11− repo = "haskell-ci";
12− rev = "18a7f5edcde360cea0740ff143eff1113ecda7d2";
13− sha256 = "00gxpxb5n1a1v562fd4cg1j92vwmd2zp00c2j60piyl8ppxxa115";
14− };
15− isLibrary = true;
16− isExecutable = true;
17− libraryHaskellDepends = [
18− base Cabal containers deepseq directory filepath ShellCheck
19− transformers
20− ];
21− executableHaskellDepends = [ base ];
22− testHaskellDepends = [
23− ansi-terminal base bytestring Diff directory filepath tasty
24− tasty-golden transformers
25− ];
26− homepage = "https://github.com/haskell-CI/haskell-ci";
27− description = "Script generator for Travis-CI";
28− license = stdenv.lib.licenses.bsd3;
29−}
pkgs/development/tools/pet/default.nix+2−2
@@ -2,13 +2,13 @@
22
33buildGoModule rec {
44 name = "pet-${version}";
5− version = "0.3.4";
5+ version = "0.3.5";
66
77 src = fetchFromGitHub {
88 owner = "knqyf263";
99 repo = "pet";
1010 rev = "v${version}";
11− sha256 = "0m2fzpqxk7hrbxsgqplkg7h2p7gv6s1miymv3gvw0cz039skag0s";
11+ sha256 = "03fzvvdmb06kf2zglaf8jkqxqv9h1kl7n586ww61z3n3mmp1x4rd";
1212 };
1313
1414 modSha256 = "06ham8lsx5c1vk5jkwp1aa9g4q4g7sfq7gxz2gkffa98x2vlawyf";
pkgs/development/tools/protoc-gen-doc/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ buildGoModule, fetchFromGitHub, lib }:
2+
3+buildGoModule rec {
4+ name = "protoc-gen-doc-unstable-${version}";
5+ version = "2019-04-22";
6+
7+ src = fetchFromGitHub {
8+ owner = "pseudomuto";
9+ repo = "protoc-gen-doc";
10+ rev = "f824a8908ce33f213b2dba1bf7be83384c5c51e8";
11+ sha256 = "004axh2gqc4f115mdxxg59d19hph3rr0bq9d08n3nyl315f590kj";
12+ };
13+
14+ modSha256 = "1952ycdkgl00q2s3qmhislhhim15nn6nmlkwbfdvrsfzznqj47rd";
15+
16+ meta = with lib; {
17+ description = "Documentation generator plugin for Google Protocol Buffers";
18+ longDescription = ''
19+ This is a documentation generator plugin for the Google Protocol Buffers
20+ compiler (protoc). The plugin can generate HTML, JSON, DocBook and
21+ Markdown documentation from comments in your .proto files.
22+
23+ It supports proto2 and proto3, and can handle having both in the same
24+ context.
25+ '';
26+ homepage = "https://github.com/pseudomuto/protoc-gen-doc";
27+ license = licenses.mit;
28+ maintainers = with maintainers; [ kalbasit ];
29+ };
30+}
pkgs/development/tools/prototool/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib, buildGoModule, fetchFromGitHub, makeWrapper, protobuf }:
2+
3+buildGoModule rec {
4+ pname = "prototool";
5+ version = "1.8.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "uber";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "0m6g5p3jyf0ja5j9rqmw8mhipdqxk7rcxm0plmh65bxk1n22fzjc";
12+ };
13+
14+ nativeBuildInputs = [ makeWrapper ];
15+
16+ modSha256 = "0l4nqb1c1lqqk70l9qwib1azavxlwghi2fv5siwrr5zw4jysz5ml";
17+
18+ postInstall = ''
19+ wrapProgram "$out/bin/prototool" \
20+ --prefix PROTOTOOL_PROTOC_BIN_PATH : "${protobuf}/bin/protoc" \
21+ --prefix PROTOTOOL_PROTOC_WKT_PATH : "${protobuf}/include"
22+ '';
23+
24+ subPackages = [ "cmd/prototool" ];
25+
26+ meta = with lib; {
27+ homepage = "https://github.com/uber/prototool";
28+ description = "Your Swiss Army Knife for Protocol Buffers";
29+ maintainers = [ maintainers.marsam ];
30+ license = licenses.mit;
31+ platforms = platforms.unix;
32+ };
33+}
pkgs/development/tools/rust/bindgen/default.nix+2−2
@@ -3,13 +3,13 @@
33
44rustPlatform.buildRustPackage rec {
55 pname = "rust-bindgen";
6− version = "0.49.2";
6+ version = "0.49.3";
77
88 src = fetchFromGitHub {
99 owner = "rust-lang";
1010 repo = pname;
1111 rev = "v${version}";
12− sha256 = "0m9c7zswp87yj7y972ghbx5z7lwbhdxb9qyws5cwiazkl582q0qj";
12+ sha256 = "032sgg27pdxlmas67clqldvamd2ncdiw1hmk1hiprcxng7073f4y";
1313 };
1414
1515 cargoSha256 = "1311d0wjjj99m59zd2n6r4aq6lwbbpyj54ha2z9g4yd1hn344r91";
pkgs/development/tools/rust/rustfmt/default.nix+2−2
@@ -2,13 +2,13 @@
22
33rustPlatform.buildRustPackage rec {
44 name = "rustfmt-${version}";
5− version = "1.2.1";
5+ version = "1.2.2";
66
77 src = fetchFromGitHub {
88 owner = "rust-lang";
99 repo = "rustfmt";
1010 rev = "v${version}";
11− sha256 = "153pas7d5fchkmiw6mkbhn75lv3y69k85spzmm5i4lqnq7f0yqap";
11+ sha256 = "1k9p6sp8q87flx9vzg46880ir7likvbydai3g6q76278h86rn0v8";
1212 };
1313
1414 cargoSha256 = "08x6vy5v2vgrk3gsw3qcvv52a7hifsgcsnsg1phlk1ikaff21y4z";
pkgs/development/tools/sassc/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "sassc";
5− version = "3.6.0";
5+ version = "3.6.1";
66
77 src = fetchFromGitHub {
88 owner = "sass";
99 repo = pname;
1010 rev = version;
11− sha256 = "14cbprnz70bv9qcs1aglvj9kkhf22as5xxz7gkv2ni8yjy8rp8q2";
11+ sha256 = "1sxm54mkhs9m4vnl7vn11y17mhzamc403hv3966j1c7p2rbzg5pv";
1212 };
1313
1414 patchPhase = ''
pkgs/development/tools/scalafmt/default.nix+2−2
@@ -2,7 +2,7 @@
22
33let
44 baseName = "scalafmt";
5− version = "2.0.0-RC7";
5+ version = "2.0.0";
66 deps = stdenv.mkDerivation {
77 name = "${baseName}-deps-${version}";
88 buildCommand = ''
@@ -13,7 +13,7 @@ let
1313 '';
1414 outputHashMode = "recursive";
1515 outputHashAlgo = "sha256";
16− outputHash = "0scz3pp63z6xfj69kvsfr8l3ll9rq95j4xlhlyrzg1vfl1gf41ig";
16+ outputHash = "18mf23ssy4lwvsi4pg6m4b003paz5yds5vs7nhl0bfcq57xg6qj1";
1717 };
1818in
1919stdenv.mkDerivation rec {
pkgs/development/tools/vagrant/default.nix+7
@@ -84,6 +84,13 @@ in buildRubyGem rec {
8484 fi
8585 '';
8686
87+ # `patchShebangsAuto` patches this one script which is intended to run
88+ # on foreign systems.
89+ postFixup = ''
90+ sed -i -e '1c#!/bin/sh -' \
91+ $out/lib/ruby/gems/*/gems/vagrant-*/plugins/provisioners/salt/bootstrap-salt.sh
92+ '';
93+
8794 passthru = {
8895 inherit ruby deps;
8996 };
pkgs/development/web/nodejs/v12.nix+2−2
@@ -5,6 +5,6 @@ let
55in
66 buildNodejs {
77 inherit enableNpm;
8− version = "12.4.0";
9− sha256 = "1qwcv8m1m3293vmb4x2xrpqlpaa1r1951gf0mva60b2hsdk27d90";
8+ version = "12.5.0";
9+ sha256 = "08haqs104lw44l92bxfii18sdn7y1k07cz3p0ni9bhw7kh4vf5c7";
1010 }
pkgs/games/factorio/default.nix+2−2
@@ -53,11 +53,11 @@ let
5353 x86_64-linux = let bdist = bdistForArch { inUrl = "linux64"; inTar = "x64"; }; in {
5454 alpha = {
5555 stable = bdist { sha256 = "0b4hbpdcrh5hgip9q5dkmw22p66lcdhnr0kmb0w5dw6yi7fnxxh0"; version = "0.16.51"; withAuth = true; };
56− experimental = bdist { sha256 = "0xgvvmyh49992y2r8yhafi80j3j4pcsp7pf0fg3rbc6zi1ariwsr"; version = "0.17.32"; withAuth = true; };
56+ experimental = bdist { sha256 = "1q66chnxsdlaz1bj3al62iikyxvknj1vkwh5bcc46favy4wpqpzz"; version = "0.17.52"; withAuth = true; };
5757 };
5858 headless = {
5959 stable = bdist { sha256 = "0zrnpg2js0ysvx9y50h3gajldk16mv02dvrwnkazh5kzr1d9zc3c"; version = "0.16.51"; };
60− experimental = bdist { sha256 = "1jfjbb0v7yiqpn7nxkr4fcd1rsz59s8k6qcl82d1j320l3y7nl9w"; version = "0.17.32"; };
60+ experimental = bdist { sha256 = "03nv0qagv5pmqqbisf0hq6cb5rg2ih37lzkvcxihnnw72r78li94"; version = "0.17.52"; };
6161 };
6262 demo = {
6363 stable = bdist { sha256 = "0zf61z8937yd8pyrjrqdjgd0rjl7snwrm3xw86vv7s7p835san6a"; version = "0.16.51"; };
pkgs/games/klavaro/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "klavaro-${version}";
5− version = "3.07";
5+ version = "3.08";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/klavaro/${name}.tar.bz2";
9− sha256 = "1zz7kr3rhprn1ixmh58x8sdmdfl42lki7vgbina3sgnamx31zia5";
9+ sha256 = "0qmvr6d8wshwp0xvk5wbig4vlzxzcxrakhyhd32v8v3s18nhqsrc";
1010 };
1111
1212 nativeBuildInputs = [ intltool makeWrapper pkgconfig ];
pkgs/games/openjk/default.nix+4−3
@@ -20,13 +20,14 @@ let
2020 categories = "Game;";
2121 };
2222in stdenv.mkDerivation rec {
23− name = "OpenJK-2018-09-17";
23+ pname = "OpenJK";
24+ version = "2019-06-24";
2425
2526 src = fetchFromGitHub {
2627 owner = "JACoders";
2728 repo = "OpenJK";
28− rev = "cc4094c8fa989663eb8087b33d97bb2749295b9f";
29− sha256 = "1fzijlf4izpm6n92cwv951c10nb18pg5zhc5xx7pw3i4sy8h9nyk";
29+ rev = "e8b5c135eccb05ddae67e00ff944001f373fddd4";
30+ sha256 = "0qkbn59swhnb0anvy9gq945rkb58j6axlcfgb7sff0m4swqw2394";
3031 };
3132
3233 dontAddPrefix = true;
pkgs/games/redeclipse/default.nixnew file+57
@@ -0,0 +1,57 @@
1+{ stdenv, fetchFromGitHub, fetchurl, fetchpatch
2+, curl, ed, pkgconfig, zlib, libX11
3+, SDL2, SDL2_image, SDL2_mixer
4+}:
5+
6+stdenv.mkDerivation rec {
7+ pname = "redeclipse";
8+ version = "1.6.0";
9+
10+ src = fetchurl {
11+ url = "https://github.com/red-eclipse/base/releases/download/v${version}/redeclipse_${version}_nix.tar.bz2";
12+ sha256 = "0j98zk7nivdsap4y50dlqnql17hdila1ikvps6vicwaqb3l4gaa8";
13+ };
14+
15+ buildInputs = [
16+ libX11 zlib
17+ SDL2 SDL2_image SDL2_mixer
18+ ];
19+
20+ nativeBuildInputs = [
21+ curl ed pkgconfig
22+ ];
23+
24+ makeFlags = [ "-C" "src/" "prefix=$(out)" ];
25+
26+ patches = [
27+ # "remove gamma name hack" - Can't find `____gammaf128_r_finite` otherwise
28+ # Is likely to be included in next release
29+ (fetchpatch {
30+ url = "https://github.com/red-eclipse/base/commit/b16b4963c1ad81bb9ef784bc4913a4c8ab5f1bb4.diff";
31+ sha256 = "1bm07qrq60bbmbf5k9255qq115mcyfphfy2f7xl1yx40mb9ns65p";
32+ })
33+ ];
34+
35+ enableParallelBuilding = true;
36+
37+ installTargets = [ "system-install" ];
38+
39+ postInstall = ''
40+ cp -R -t $out/share/redeclipse/data/ data/*
41+ '';
42+
43+ meta = with stdenv.lib; {
44+ description = "A first person arena shooter, featuring parkour, impulse boosts, and more.";
45+ longDescription = ''
46+ Red Eclipse is a fun-filled new take on the first person arena shooter,
47+ featuring parkour, impulse boosts, and more. The development is geared
48+ toward balanced gameplay, with a general theme of agility in a variety of
49+ environments.
50+ '';
51+ homepage = "https://www.redeclipse.net";
52+ license = with licenses; [ licenses.zlib cc-by-sa-30 ];
53+ maintainers = with maintainers; [ lambda-11235 ];
54+ platforms = platforms.linux;
55+ hydraPlatforms = [];
56+ };
57+}
pkgs/games/tintin/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, zlib, pcre }:
22
33stdenv.mkDerivation rec {
4− name = "tintin-2.01.7";
4+ name = "tintin-2.01.8";
55
66 src = fetchurl {
77 url = "mirror://sourceforge/tintin/${name}.tar.gz";
8− sha256 = "033n84pyxml3n3gd4dq0497n9w331bnrr1gppwipz9ashmq8jz7v";
8+ sha256 = "056g82yi784mf4gbrida9fxqmz347m2l9vad2ksv2fhl7g553y2s";
99 };
1010
1111 buildInputs = [ zlib pcre ];
pkgs/misc/screensavers/xlockmore/default.nix+2−2
@@ -2,11 +2,11 @@
22, libXdmcp, libXt }:
33
44stdenv.mkDerivation rec {
5− name = "xlockmore-5.56";
5+ name = "xlockmore-5.57";
66
77 src = fetchurl {
88 url = "http://sillycycle.com/xlock/${name}.tar.xz";
9− sha256 = "1dg1n79rnswhxqz36mxnl5lp8p37i9fbibnzzyrqknmvf2s8xpd0";
9+ sha256 = "18r8rh8fzdn9miicbpc3qbdd4mm2g1jpsbcvj29sr66pxydzkb7r";
1010 curlOpts = "--user-agent 'Mozilla/5.0'";
1111 };
1212
pkgs/misc/vim-plugins/generated.nix+300−113
@@ -61,11 +61,11 @@ let
6161
6262 ale = buildVimPluginFrom2Nix {
6363 pname = "ale";
64− version = "2019-06-21";
64+ version = "2019-06-30";
6565 src = fetchFromGitHub {
6666 owner = "w0rp";
6767 repo = "ale";
68− rev = "65ba4b85ec3011cccb9ea7135183e7fc8d7a0d69";
68+ rev = "89f7292138087e1410b2430ae6d359d42e7fe31f";
6969 sha256 = "00g2yjrq7gbdc9wmj2bpcpx6frvsyk69bbi05a8b43lpdkj5yzz5";
7070 };
7171 };
@@ -182,12 +182,12 @@ let
182182
183183 camelcasemotion = buildVimPluginFrom2Nix {
184184 pname = "camelcasemotion";
185− version = "2019-06-06";
185+ version = "2019-06-28";
186186 src = fetchFromGitHub {
187187 owner = "bkad";
188188 repo = "camelcasemotion";
189− rev = "2a62526721b6a4324bec3408e4ed9f8eebf96f3b";
190− sha256 = "1pj7q0ic6hs6niflp64izk5v3kdw951ram035v3xv1gjsp1aa5a6";
189+ rev = "406368dea50303884aa321d2cdff714e010f951e";
190+ sha256 = "0a1grafg05cb9mpk69j2y433ifm27ksy29wzlxlm5798dmb473mw";
191191 };
192192 };
193193
@@ -248,12 +248,12 @@ let
248248
249249 coc-nvim = buildVimPluginFrom2Nix {
250250 pname = "coc-nvim";
251− version = "2019-06-24";
251+ version = "2019-07-02";
252252 src = fetchFromGitHub {
253253 owner = "neoclide";
254254 repo = "coc.nvim";
255− rev = "5e9594d9da22e4eb840cb102513bebc77bab7300";
256− sha256 = "036ig6902vwrqnj052s6631lx4k4m0p5y2238287p8qmxgj7x9d6";
255+ rev = "ac3f1933e331b4170ad59223def8fb10b666cfa5";
256+ sha256 = "0i5y2nciqy1lgl5jbhlry3qnasly8sf1wximf84dq937yk79bxjj";
257257 };
258258 };
259259
@@ -270,12 +270,12 @@ let
270270
271271 command-t = buildVimPluginFrom2Nix {
272272 pname = "command-t";
273− version = "2019-05-12";
273+ version = "2019-06-28";
274274 src = fetchFromGitHub {
275275 owner = "wincent";
276276 repo = "command-t";
277− rev = "57e112c12c99185e062a4330896cfaf422d1ea64";
278− sha256 = "19ajaxga54kij9ii68cd38frq4y7lr7896wqa5xgs5qq83wh1b1z";
277+ rev = "4f86fcb812b07a3d691d4b617e093b001a6ad839";
278+ sha256 = "06i02632q6rkq7xljfn70shlfb301l31sv8pd738anshf8qwkfff";
279279 fetchSubmodules = true;
280280 };
281281 };
@@ -401,6 +401,17 @@ let
401401 };
402402 };
403403
404+ dart-vim-plugin = buildVimPluginFrom2Nix {
405+ pname = "dart-vim-plugin";
406+ version = "2019-05-04";
407+ src = fetchFromGitHub {
408+ owner = "dart-lang";
409+ repo = "dart-vim-plugin";
410+ rev = "8ffc3e208c282f19afa237d343fa1533146bd2b4";
411+ sha256 = "1ypcn3212d7gzfgvarrsma0pvaial692f3m2c0blyr1q83al1pm8";
412+ };
413+ };
414+
404415 denite-extra = buildVimPluginFrom2Nix {
405416 pname = "denite-extra";
406417 version = "2019-03-29";
@@ -425,23 +436,23 @@ let
425436
426437 denite-nvim = buildVimPluginFrom2Nix {
427438 pname = "denite-nvim";
428− version = "2019-06-23";
439+ version = "2019-07-01";
429440 src = fetchFromGitHub {
430441 owner = "Shougo";
431442 repo = "denite.nvim";
432− rev = "9a5e321ced689771c052f68a8125c0a44ad3389a";
433− sha256 = "16l85820490h1l44idk3jsz5xyckyvcyi42a88bw0ms70nnh2569";
443+ rev = "90f8367cefbb443ba0d5b363c63be087a5937d43";
444+ sha256 = "164sxi42yyqbj2v4vklmphhjqfq54ci9n21hcl3hwbrfgrh5i67i";
434445 };
435446 };
436447
437448 deol-nvim = buildVimPluginFrom2Nix {
438449 pname = "deol-nvim";
439− version = "2019-06-19";
450+ version = "2019-06-24";
440451 src = fetchFromGitHub {
441452 owner = "Shougo";
442453 repo = "deol.nvim";
443− rev = "ed807a398fd5120a5dfbff7877517b25cd801bea";
444− sha256 = "131wzadip0d0wgn32vy38w02mx199kvcg62ldfwr68nyad48j98l";
454+ rev = "85f0e6dde132c670eda32eb98c6a6f3d7b31a984";
455+ sha256 = "154cdczdwzwx24c8ggasll3yf86y1r4z5hb3rld42m2dpbnhcrns";
445456 };
446457 };
447458
@@ -482,12 +493,12 @@ let
482493
483494 deoplete-jedi = buildVimPluginFrom2Nix {
484495 pname = "deoplete-jedi";
485− version = "2019-06-22";
496+ version = "2019-06-30";
486497 src = fetchFromGitHub {
487− owner = "zchee";
498+ owner = "deoplete-plugins";
488499 repo = "deoplete-jedi";
489− rev = "afd01dc2204d5003f89f6a93e1d3e1910d31fcd9";
490− sha256 = "0p70v03wjdvyy8g13m8b2r288262zz5yw3yap11id38npykb0pvv";
500+ rev = "763c7befa7bbe44aa00a0c832916958a16e71254";
501+ sha256 = "1dvw8l8f0k9hkfv4n791lgm1lipf5n2xhjyrwx1px92j1h94i8f1";
491502 fetchSubmodules = true;
492503 };
493504 };
@@ -503,6 +514,17 @@ let
503514 };
504515 };
505516
517+ deoplete-lsp = buildVimPluginFrom2Nix {
518+ pname = "deoplete-lsp";
519+ version = "2018-12-05";
520+ src = fetchFromGitHub {
521+ owner = "Shougo";
522+ repo = "deoplete-lsp";
523+ rev = "c4837884f61a7699f328fb05b93bed0b6395dd70";
524+ sha256 = "0ahfffpmc62pqnplm0lmzpam420i578rvyi7zda21nqlir9a53ij";
525+ };
526+ };
527+
506528 deoplete-rust = buildVimPluginFrom2Nix {
507529 pname = "deoplete-rust";
508530 version = "2017-07-18";
@@ -527,12 +549,12 @@ let
527549
528550 deoplete-nvim = buildVimPluginFrom2Nix {
529551 pname = "deoplete-nvim";
530− version = "2019-06-22";
552+ version = "2019-06-30";
531553 src = fetchFromGitHub {
532554 owner = "Shougo";
533555 repo = "deoplete.nvim";
534− rev = "aebaec4adbb65339601063f1ee533eef09220145";
535− sha256 = "11kd4m3bwp8xn5i6am9am186rz8vw12zdissb3i86xa3dcgv856g";
556+ rev = "2ac0da55367db0b9d8920bb7bcbc051f9b07b90c";
557+ sha256 = "05j2s6332p7gbpwg2hfimvvmk0qaah9danl5d8brq1w34bs79vjd";
536558 };
537559 };
538560
@@ -558,6 +580,17 @@ let
558580 };
559581 };
560582
583+ DoxygenToolkit-vim = buildVimPluginFrom2Nix {
584+ pname = "DoxygenToolkit-vim";
585+ version = "2010-11-06";
586+ src = fetchFromGitHub {
587+ owner = "vim-scripts";
588+ repo = "DoxygenToolkit.vim";
589+ rev = "afd8663d36d2ec19d26befdb10e89e912d26bbd3";
590+ sha256 = "1za8li02j4nhqjjsyxg4p78638h5af4izim37zc0p1x55zr3i85r";
591+ };
592+ };
593+
561594 echodoc-vim = buildVimPluginFrom2Nix {
562595 pname = "echodoc-vim";
563596 version = "2019-06-12";
@@ -594,12 +627,12 @@ let
594627
595628 emmet-vim = buildVimPluginFrom2Nix {
596629 pname = "emmet-vim";
597− version = "2019-06-19";
630+ version = "2019-06-24";
598631 src = fetchFromGitHub {
599632 owner = "mattn";
600633 repo = "emmet-vim";
601− rev = "5a7c7930c675220121e62d8eecfdbee653e95bac";
602− sha256 = "0ippqmdw2mhi34yvnpfh0v08v59zvn2nq815b8zfq1ci0j2q7smy";
634+ rev = "15ef997d4d683afb4b1ee641d47980972445b61f";
635+ sha256 = "09cm7wzl4gkb6whlfsprap1jd22f1yfp9wykw1aygj0zc5k6a106";
603636 fetchSubmodules = true;
604637 };
605638 };
@@ -670,6 +703,17 @@ let
670703 };
671704 };
672705
706+ file-line = buildVimPluginFrom2Nix {
707+ pname = "file-line";
708+ version = "2016-10-21";
709+ src = fetchFromGitHub {
710+ owner = "bogado";
711+ repo = "file-line";
712+ rev = "559088afaf10124ea663ee0f4f73b1de48fb1632";
713+ sha256 = "1w183g0hj8jvzm6m1jw7m6xz3x1dld8n8342vnycsh6hyzdcg3mg";
714+ };
715+ };
716+
673717 flake8-vim = buildVimPluginFrom2Nix {
674718 pname = "flake8-vim";
675719 version = "2017-02-17";
@@ -913,6 +957,17 @@ let
913957 };
914958 };
915959
960+ ir_black = buildVimPluginFrom2Nix {
961+ pname = "ir_black";
962+ version = "2012-03-05";
963+ src = fetchFromGitHub {
964+ owner = "twerth";
965+ repo = "ir_black";
966+ rev = "4e45f1cbcc9c04cf32c8681c6b3b4534a33610ed";
967+ sha256 = "13g9nqlqsjsxnrq37y33ldh41dw9q9dw07spfi7qwrskiwa0ayk7";
968+ };
969+ };
970+
916971 jdaddy-vim = buildVimPluginFrom2Nix {
917972 pname = "jdaddy-vim";
918973 version = "2014-02-22";
@@ -949,12 +1004,23 @@ let
9491004
9501005 julia-vim = buildVimPluginFrom2Nix {
9511006 pname = "julia-vim";
952− version = "2019-05-21";
1007+ version = "2019-06-26";
9531008 src = fetchFromGitHub {
9541009 owner = "JuliaEditorSupport";
9551010 repo = "julia-vim";
956− rev = "6468c3d4f9ee9c32c9e84c5a8743bff8cb429f45";
957− sha256 = "18qn0xdxf2ax9qnzib5gbpws1h0gmwfmwalhpismkbwnm8cswipk";
1011+ rev = "072e4861412e841d308aabc928112ccaedf07135";
1012+ sha256 = "1250a011mib5na5c769x2djjyz3rwhcdw80rmkvzv1xy7crxf5xn";
1013+ };
1014+ };
1015+
1016+ LanguageClient-neovim = buildVimPluginFrom2Nix {
1017+ pname = "LanguageClient-neovim";
1018+ version = "2018-08-07";
1019+ src = fetchFromGitHub {
1020+ owner = "autozimu";
1021+ repo = "LanguageClient-neovim";
1022+ rev = "dd45e31449511152f2127fe862d955237caa130f";
1023+ sha256 = "1i1c98r9fg1mzyl15b3grk6v7s7frwadh86rr1ggz7aq1gwfy7dq";
9581024 };
9591025 };
9601026
@@ -980,6 +1046,39 @@ let
9801046 };
9811047 };
9821048
1049+ lh-brackets = buildVimPluginFrom2Nix {
1050+ pname = "lh-brackets";
1051+ version = "2019-05-23";
1052+ src = fetchFromGitHub {
1053+ owner = "LucHermitte";
1054+ repo = "lh-brackets";
1055+ rev = "f3240c3782a97720e9a344b5bd5f6808e156722b";
1056+ sha256 = "1qyh58xxp6hh86bykk17934pgg72q7xfsngrhrrr3cxb8jpnmx7z";
1057+ };
1058+ };
1059+
1060+ lh-vim-lib = buildVimPluginFrom2Nix {
1061+ pname = "lh-vim-lib";
1062+ version = "2019-05-24";
1063+ src = fetchFromGitHub {
1064+ owner = "LucHermitte";
1065+ repo = "lh-vim-lib";
1066+ rev = "113fe7d485a484471b0f8c78cea9acc897728661";
1067+ sha256 = "1fp3i8mbsb361f5llfxhdryymdzzb4b53sh6gsv49axg34sx4i53";
1068+ };
1069+ };
1070+
1071+ lightline-ale = buildVimPluginFrom2Nix {
1072+ pname = "lightline-ale";
1073+ version = "2018-06-12";
1074+ src = fetchFromGitHub {
1075+ owner = "maximbaz";
1076+ repo = "lightline-ale";
1077+ rev = "dd59077f9537b344f7ae80f713c1e4856ec1520c";
1078+ sha256 = "1f9v6nsksy36s5i27nfx6vmyfyjk27p2w2g6x25cw56b0r3sgxmx";
1079+ };
1080+ };
1081+
9831082 lightline-vim = buildVimPluginFrom2Nix {
9841083 pname = "lightline-vim";
9851084 version = "2019-06-12";
@@ -1202,23 +1301,23 @@ let
12021301
12031302 neomake = buildVimPluginFrom2Nix {
12041303 pname = "neomake";
1205− version = "2019-06-18";
1304+ version = "2019-06-28";
12061305 src = fetchFromGitHub {
12071306 owner = "neomake";
12081307 repo = "neomake";
1209− rev = "17f199f69fc9c4f93672293fdc2713e5c33987c2";
1210− sha256 = "1mvk3v0z7xffn2rigzj8fab4rdvlj9chfwmrshri0i9hza8kp1za";
1308+ rev = "43007dac3e4c761caee7a5d8c74172da2af08ea6";
1309+ sha256 = "1bxz0czckmc2cw7kh8cd1rcg0sg2pj7vjdlgwd0bmqr6x9xarp0d";
12111310 };
12121311 };
12131312
12141313 neomru-vim = buildVimPluginFrom2Nix {
12151314 pname = "neomru-vim";
1216− version = "2019-05-30";
1315+ version = "2019-06-30";
12171316 src = fetchFromGitHub {
12181317 owner = "Shougo";
12191318 repo = "neomru.vim";
1220− rev = "57f89922ee03529b34334a82fa502be0e2a26d86";
1221− sha256 = "0lx5g9wyjdq99lnmfm1hmi7n62m0gg5kx9m40x2kgx5x5fdnldhy";
1319+ rev = "53f9cd784b78839e865cabc43f6a7efacc4c8cad";
1320+ sha256 = "05xss5546n1pinhh1bpp4gmsxjbmdlp08lpzxrrq4gkyqddxdkqd";
12221321 };
12231322 };
12241323
@@ -1301,12 +1400,12 @@ let
13011400
13021401 nerdtree = buildVimPluginFrom2Nix {
13031402 pname = "nerdtree";
1304− version = "2019-06-20";
1403+ version = "2019-06-27";
13051404 src = fetchFromGitHub {
13061405 owner = "scrooloose";
13071406 repo = "nerdtree";
1308− rev = "33fe2fdf16a95c12e8284364c780ed405dbaad17";
1309− sha256 = "01w3a6wkfjg55n27flsv3v0z0aav09nhwm70n2wfb25hgbqkcqxd";
1407+ rev = "1c803b36f632c151c755456b68101153f407ec5e";
1408+ sha256 = "1393xzf1j05rspyajbb8k91wp4v23xlj6lzjjqb9rjj032z1i1d1";
13101409 };
13111410 };
13121411
@@ -1400,12 +1499,12 @@ let
14001499
14011500 onehalf = buildVimPluginFrom2Nix {
14021501 pname = "onehalf";
1403− version = "2019-06-21";
1502+ version = "2019-06-26";
14041503 src = fetchFromGitHub {
14051504 owner = "sonph";
14061505 repo = "onehalf";
1407− rev = "da0ca0b0036f2e9afe1a25592cd1ac41cce61112";
1408− sha256 = "0mrv6gmqfqc6lwnwhw788n6lpf36lwbwksbzw0l87rwj104ima9d";
1506+ rev = "408104a30ae4f220096e591350a72e60cc15f9b3";
1507+ sha256 = "0jyf8cri6d1s4pragarz02ma8kvxphlblp4i70f12z1yiazykzh2";
14091508 };
14101509 };
14111510
@@ -1631,12 +1730,12 @@ let
16311730
16321731 rust-vim = buildVimPluginFrom2Nix {
16331732 pname = "rust-vim";
1634− version = "2019-06-06";
1733+ version = "2019-06-29";
16351734 src = fetchFromGitHub {
16361735 owner = "rust-lang";
16371736 repo = "rust.vim";
1638− rev = "6d6c410d5997bda6b9de065049636be4ad3682f4";
1639− sha256 = "1aq66v5j8fckq1bszs793z43fgkrss4w1p44k0x98zx7prx5z5lw";
1737+ rev = "de998a2014c997d6f8f749a9be195f1cd51aa9c0";
1738+ sha256 = "0fx9j0l8fjb54c7b1pzwypkmvr3sx39x5wpjbxkwa8a916nlylq2";
16401739 };
16411740 };
16421741
@@ -1673,6 +1772,17 @@ let
16731772 };
16741773 };
16751774
1775+ sky-color-clock-vim = buildVimPluginFrom2Nix {
1776+ pname = "sky-color-clock-vim";
1777+ version = "2018-11-03";
1778+ src = fetchFromGitHub {
1779+ owner = "mopp";
1780+ repo = "sky-color-clock.vim";
1781+ rev = "9d4232cc249083f3c5d2eb4e2848e491b52df4ca";
1782+ sha256 = "1ln50rahb177vilzr4zc7v9znm8xfid1v8gddl83gr9srdbn2bbz";
1783+ };
1784+ };
1785+
16761786 sourcemap-vim = buildVimPluginFrom2Nix {
16771787 pname = "sourcemap-vim";
16781788 version = "2012-09-19";
@@ -1686,12 +1796,12 @@ let
16861796
16871797 SpaceCamp = buildVimPluginFrom2Nix {
16881798 pname = "SpaceCamp";
1689− version = "2019-06-13";
1799+ version = "2019-06-26";
16901800 src = fetchFromGitHub {
16911801 owner = "jaredgorski";
16921802 repo = "SpaceCamp";
1693− rev = "e2503139a55f4c2631cca64feb596b44d5b88f73";
1694− sha256 = "0zaa2dcgynwbhybyq3i3i9pxdz4hk2q3g0s48vm27sywr2kdzw63";
1803+ rev = "f0c31ff9e0b5359c43cfd33820f2b4790d94b1d8";
1804+ sha256 = "08kbcmqjr383sh8h7p1fwav72lvncx78c0zq0b72prbvfw8pfq5c";
16951805 };
16961806 };
16971807
@@ -1849,6 +1959,17 @@ let
18491959 };
18501960 };
18511961
1962+ tcomment_vim = buildVimPluginFrom2Nix {
1963+ pname = "tcomment_vim";
1964+ version = "2019-04-28";
1965+ src = fetchFromGitHub {
1966+ owner = "tomtom";
1967+ repo = "tcomment_vim";
1968+ rev = "622cc0551bef87a3dfb2846cb339412eeb8ef133";
1969+ sha256 = "0zd23520hn5lflcz2jpi22x13kvmy6ry7qqzbi438xyw4j4gwpfs";
1970+ };
1971+ };
1972+
18521973 tender-vim = buildVimPluginFrom2Nix {
18531974 pname = "tender-vim";
18541975 version = "2019-06-15";
@@ -2366,6 +2487,17 @@ let
23662487 };
23672488 };
23682489
2490+ vim-bufkill = buildVimPluginFrom2Nix {
2491+ pname = "vim-bufkill";
2492+ version = "2018-03-20";
2493+ src = fetchFromGitHub {
2494+ owner = "qpkorr";
2495+ repo = "vim-bufkill";
2496+ rev = "795dd38f3cff69d0d8fe9e71847907e200860959";
2497+ sha256 = "1nji86vjjbfjw4xy52yazq53hrlsr7v30xkx2awgiakz7ih0bdxa";
2498+ };
2499+ };
2500+
23692501 vim-choosewin = buildVimPluginFrom2Nix {
23702502 pname = "vim-choosewin";
23712503 version = "2018-06-11";
@@ -2489,12 +2621,12 @@ let
24892621
24902622 vim-cursorword = buildVimPluginFrom2Nix {
24912623 pname = "vim-cursorword";
2492− version = "2017-10-19";
2624+ version = "2019-06-28";
24932625 src = fetchFromGitHub {
24942626 owner = "itchyny";
24952627 repo = "vim-cursorword";
2496− rev = "4878d6185b99131c5f610cc6ad0e223439ac4601";
2497− sha256 = "170nf0w7i5k3cr72dkvraq2p0lzsvb3cmdvslyz7cmxnz611n6bf";
2628+ rev = "c35c5e686769db02bb9ccf30cc21fc13786f7f14";
2629+ sha256 = "1115j8ch1p6q5x3y85pmdgib7ya0m0j8j52gblh0mlw823zf3lrf";
24982630 };
24992631 };
25002632
@@ -2511,12 +2643,12 @@ let
25112643
25122644 vim-devicons = buildVimPluginFrom2Nix {
25132645 pname = "vim-devicons";
2514− version = "2019-06-23";
2646+ version = "2019-06-30";
25152647 src = fetchFromGitHub {
25162648 owner = "ryanoasis";
25172649 repo = "vim-devicons";
2518− rev = "793fda61101f02fed05d30d606671f9b933452fb";
2519− sha256 = "0x04rh5jy82g7q7im4lvlh1akz4jl3l5swc3xv82saxymzycpgyw";
2650+ rev = "4ba84019a5d4c10e01eff62089c7385a39af3be5";
2651+ sha256 = "0i0wdkhzpmhk6x08xgybc4l0fmlqyqn0ximhyzcxxqafmkv448ap";
25202652 };
25212653 };
25222654
@@ -2544,12 +2676,12 @@ let
25442676
25452677 vim-dispatch = buildVimPluginFrom2Nix {
25462678 pname = "vim-dispatch";
2547− version = "2019-06-21";
2679+ version = "2019-06-30";
25482680 src = fetchFromGitHub {
25492681 owner = "tpope";
25502682 repo = "vim-dispatch";
2551− rev = "219df23e822206a25e7c40bf4329774aa19f7732";
2552− sha256 = "1f7dvdl8wz6g4ikz5gx6rdhxyvcf4z9y0axzlkljs2ixmr48sxbr";
2683+ rev = "a625661cd1d35b454c9b2a9452dbfec46c4d3e17";
2684+ sha256 = "1v7qjslkyrrpbb780j1450piv5jb02qbidfh0863g615hz2mbnni";
25532685 };
25542686 };
25552687
@@ -2621,12 +2753,12 @@ let
26212753
26222754 vim-elixir = buildVimPluginFrom2Nix {
26232755 pname = "vim-elixir";
2624− version = "2019-05-14";
2756+ version = "2019-06-27";
26252757 src = fetchFromGitHub {
26262758 owner = "elixir-lang";
26272759 repo = "vim-elixir";
2628− rev = "38e8bbfd0019033ae53d623e3fd1d9cf6ec2d335";
2629− sha256 = "1mbgks1460vm8sl2hkag6hrsvbf9gfvdlswqr5hh8hy3laylh6qf";
2760+ rev = "a219dc1f702e581878f51746c4c31b8b4805aa4e";
2761+ sha256 = "1bw8i3nvqwrb8d0dbsz53jy3pvcx7kwz48xy7b9sslrhkf4llwpn";
26302762 };
26312763 };
26322764
@@ -2665,12 +2797,12 @@ let
26652797
26662798 vim-fireplace = buildVimPluginFrom2Nix {
26672799 pname = "vim-fireplace";
2668− version = "2019-06-23";
2800+ version = "2019-06-30";
26692801 src = fetchFromGitHub {
26702802 owner = "tpope";
26712803 repo = "vim-fireplace";
2672− rev = "e78995b7fc93357c86f66d78b65803e473b8e356";
2673− sha256 = "05wbnpqpd65vyvaq5maxaq06dcc5k6z5hc7hbk82slm52avk92lm";
2804+ rev = "7c8008bfb7d1b1d380252bd115368d4344aef804";
2805+ sha256 = "10z8xcrf7dx327kiyv6fxkw3fb72c7j5n7qaa8mcapmz9nb2ffz2";
26742806 };
26752807 };
26762808
@@ -2707,6 +2839,17 @@ let
27072839 };
27082840 };
27092841
2842+ vim-flutter = buildVimPluginFrom2Nix {
2843+ pname = "vim-flutter";
2844+ version = "2019-06-23";
2845+ src = fetchFromGitHub {
2846+ owner = "thosakwe";
2847+ repo = "vim-flutter";
2848+ rev = "8d7a9158cca84c4ea2a5ebc066607652fab7a9e8";
2849+ sha256 = "0kjr7nlqkkzlvh6p9j996bbcgd0frakla591y4ln12qwa7ys0gd1";
2850+ };
2851+ };
2852+
27102853 vim-ft-diff_fold = buildVimPluginFrom2Nix {
27112854 pname = "vim-ft-diff_fold";
27122855 version = "2013-02-10";
@@ -2720,12 +2863,12 @@ let
27202863
27212864 vim-fugitive = buildVimPluginFrom2Nix {
27222865 pname = "vim-fugitive";
2723− version = "2019-06-08";
2866+ version = "2019-07-01";
27242867 src = fetchFromGitHub {
27252868 owner = "tpope";
27262869 repo = "vim-fugitive";
2727− rev = "6d42c7df44aa20252e5dac747c3ac9fa7450b21b";
2728− sha256 = "002s7jsn8m4h98hpbcblhmxywsyxgajz23wm3w96awqqz4chrp0i";
2870+ rev = "17618402fa793d347d60540b9caf84210128ad49";
2871+ sha256 = "14algrw25l8fhvmk4lclpw3h1nklqmdkpwjsgci4775ihi9cdlyi";
27292872 };
27302873 };
27312874
@@ -2764,12 +2907,12 @@ let
27642907
27652908 vim-gitgutter = buildVimPluginFrom2Nix {
27662909 pname = "vim-gitgutter";
2767− version = "2019-06-19";
2910+ version = "2019-07-01";
27682911 src = fetchFromGitHub {
27692912 owner = "airblade";
27702913 repo = "vim-gitgutter";
2771− rev = "8aac968f1a617cc1c346707242af181e6b1f467e";
2772− sha256 = "1vvixwlsnsxhrsz0dqg2i0s6a0xdpp60x0592gakjwihzplg4yp5";
2914+ rev = "91471746fe687ee867877508dfd809460dab5698";
2915+ sha256 = "0pbjvflhynzanb0hp5yyfiwpsnvv6ndnnrbmxdxk7iqjrc8765km";
27732916 };
27742917 };
27752918
@@ -2786,12 +2929,12 @@ let
27862929
27872930 vim-go = buildVimPluginFrom2Nix {
27882931 pname = "vim-go";
2789− version = "2019-06-13";
2932+ version = "2019-06-30";
27902933 src = fetchFromGitHub {
27912934 owner = "fatih";
27922935 repo = "vim-go";
2793− rev = "b6a0bde7d4c64a063ea1b6365e3dd24e2d4f4df1";
2794− sha256 = "1lnwp4qqbzl6cwy75hhkafnppv2pgbaw2lf5fpbprwyd5aa5qh1q";
2936+ rev = "c67d72c476ff08bd631588429ef47d0aee75af27";
2937+ sha256 = "0x717yj7xmc2i8ahaxpzsnyx5ig012x70jysc73yrnwiasrhjim4";
27952938 };
27962939 };
27972940
@@ -3017,12 +3160,12 @@ let
30173160
30183161 vim-javascript = buildVimPluginFrom2Nix {
30193162 pname = "vim-javascript";
3020− version = "2019-04-16";
3163+ version = "2019-06-24";
30213164 src = fetchFromGitHub {
30223165 owner = "pangloss";
30233166 repo = "vim-javascript";
3024− rev = "ee445807a71ee6933cd6cbcd74940bc288815793";
3025− sha256 = "0x4cscpfll8m7f9hvx4fjxff5vscz4kzvs14ai1sdg75b6dngxl0";
3167+ rev = "8a599c5e84bb064e2345867332ecbcc252e3b04a";
3168+ sha256 = "1hyn592812hav4n7g488ysmrqw0c2bjkwvfwkzz9xpwj1v25f2yl";
30263169 };
30273170 };
30283171
@@ -3128,12 +3271,12 @@ let
31283271
31293272 vim-ledger = buildVimPluginFrom2Nix {
31303273 pname = "vim-ledger";
3131− version = "2017-12-12";
3274+ version = "2019-07-01";
31323275 src = fetchFromGitHub {
31333276 owner = "ledger";
31343277 repo = "vim-ledger";
3135− rev = "6eb3bb21aa979cc295d0480b2179938c12b33d0d";
3136− sha256 = "0rbwyaanvl2bqk8xm4kq8fkv8y92lpf9xx5n8gw54iij7xxhnj01";
3278+ rev = "0068e6fd36fbb13b6a9852fc91514df21b5bfb8b";
3279+ sha256 = "0rff0fd93jlzfq8afjil4qqqg1sga3r7lwqhwgia7xl6mbg7swj8";
31373280 };
31383281 };
31393282
@@ -3183,12 +3326,12 @@ let
31833326
31843327 vim-lsc = buildVimPluginFrom2Nix {
31853328 pname = "vim-lsc";
3186− version = "2019-06-23";
3329+ version = "2019-06-25";
31873330 src = fetchFromGitHub {
31883331 owner = "natebosch";
31893332 repo = "vim-lsc";
3190− rev = "57f6e1aaed6a89054335b71aac89be9a607faad3";
3191− sha256 = "04mfxpszngmqw052h3yb9iq0xj95fg38jr8x7jqxdpgr3i5c5z9r";
3333+ rev = "c491351fcfdb58d36da739912701d7132a33110e";
3334+ sha256 = "1wvz493dk011kk113ml82vysr76zfarqrlk0v03hh9la33h23mh6";
31923335 };
31933336 };
31943337
@@ -3238,12 +3381,12 @@ let
32383381
32393382 vim-multiple-cursors = buildVimPluginFrom2Nix {
32403383 pname = "vim-multiple-cursors";
3241− version = "2019-03-25";
3384+ version = "2019-06-26";
32423385 src = fetchFromGitHub {
32433386 owner = "terryma";
32443387 repo = "vim-multiple-cursors";
3245− rev = "8cb8e83ffb040f25cefa597f21608ca6a64aed70";
3246− sha256 = "1mdi0kbc1k4q8mw8f4anl819mgsll1sj38dd2w1a1lscg179j062";
3388+ rev = "730a11cee6deedc6f4ccc02e2c1d990f8629da25";
3389+ sha256 = "1m21bjdkah5b7pw5nl5r6lvj1dl4l7yhz05hwzhy43a31nbba2y3";
32473390 };
32483391 };
32493392
@@ -3381,12 +3524,12 @@ let
33813524
33823525 vim-pandoc-syntax = buildVimPluginFrom2Nix {
33833526 pname = "vim-pandoc-syntax";
3384− version = "2019-05-16";
3527+ version = "2019-06-25";
33853528 src = fetchFromGitHub {
33863529 owner = "vim-pandoc";
33873530 repo = "vim-pandoc-syntax";
3388− rev = "14c778e5bf069a1f13a4645aa8a34e1b46c980a8";
3389− sha256 = "1a66f0shycqkl1329lgbvrbbzwdv8pgi9d8zaybw9jddn64rx9r7";
3531+ rev = "6710d46c8b772f77248f30d650c83f90c68f37ab";
3532+ sha256 = "1dir9h6s63lr10ffaxlpjar0xfmmjr3nhhgijsaa0vgnghc00r7x";
33903533 };
33913534 };
33923535
@@ -3458,12 +3601,12 @@ let
34583601
34593602 vim-polyglot = buildVimPluginFrom2Nix {
34603603 pname = "vim-polyglot";
3461− version = "2019-06-16";
3604+ version = "2019-07-01";
34623605 src = fetchFromGitHub {
34633606 owner = "sheerun";
34643607 repo = "vim-polyglot";
3465− rev = "d52700284984ada048ce325404dfa25237271ba1";
3466− sha256 = "15ddnf9l9iqqwz8b0k6kpciv2qaqwr4s1k7klbc9qj8r254ys699";
3608+ rev = "3ddca5da461ebfaa82104f82e3cbf19d1c326ade";
3609+ sha256 = "0f3l0sknj4zbgmk7yx028f2qz72gdh1lnqra96c2n3xszpdvim22";
34673610 };
34683611 };
34693612
@@ -3557,12 +3700,12 @@ let
35573700
35583701 vim-rhubarb = buildVimPluginFrom2Nix {
35593702 pname = "vim-rhubarb";
3560− version = "2019-04-24";
3703+ version = "2019-06-27";
35613704 src = fetchFromGitHub {
35623705 owner = "tpope";
35633706 repo = "vim-rhubarb";
3564− rev = "70713ca031f882bd13ac7ffb163fb7e7a0a52b0c";
3565− sha256 = "10x1n5jrrmw01rqh0qnyyx7f9l5qmzhfby8gkd5vpjx84kpabzqs";
3707+ rev = "c509c7eedeea641f5b0bdae708581ff610fbff5b";
3708+ sha256 = "19zhhnlrnkgsxacykck9q19rhk4gj31qjj6i4sl6bzi086kmf0z9";
35663709 };
35673710 };
35683711
@@ -3601,12 +3744,12 @@ let
36013744
36023745 vim-scala = buildVimPluginFrom2Nix {
36033746 pname = "vim-scala";
3604− version = "2019-01-21";
3747+ version = "2019-06-24";
36053748 src = fetchFromGitHub {
36063749 owner = "derekwyatt";
36073750 repo = "vim-scala";
3608− rev = "971ac9ab3fe945105ef88587cfe5273fa2c8e988";
3609− sha256 = "0n28k3c2jyb4af0ql2sm3ngkcyvd4684c95j5yfvs7jjsvjibqcb";
3751+ rev = "bbdfea4b98fdb8866a8a6060ec1294643cfeb413";
3752+ sha256 = "14q8j6vwqad2nwia29d0844v2zdcx04xn9dyicv13sdpivzcm4rb";
36103753 };
36113754 };
36123755
@@ -3753,6 +3896,17 @@ let
37533896 };
37543897 };
37553898
3899+ vim-sourcetrail = buildVimPluginFrom2Nix {
3900+ pname = "vim-sourcetrail";
3901+ version = "2018-06-26";
3902+ src = fetchFromGitHub {
3903+ owner = "CoatiSoftware";
3904+ repo = "vim-sourcetrail";
3905+ rev = "0fd679321ce51f65a37d04e4ea9031be6eaed85d";
3906+ sha256 = "1xgvvmah3zn22rjaa093vghwrchmpm5wj30lwwl6h398dyywz8bg";
3907+ };
3908+ };
3909+
37563910 vim-speeddating = buildVimPluginFrom2Nix {
37573911 pname = "vim-speeddating";
37583912 version = "2019-02-27";
@@ -3865,12 +4019,34 @@ let
38654019
38664020 vim-test = buildVimPluginFrom2Nix {
38674021 pname = "vim-test";
3868− version = "2019-06-01";
4022+ version = "2019-06-25";
38694023 src = fetchFromGitHub {
38704024 owner = "janko-m";
38714025 repo = "vim-test";
3872− rev = "965704531f09988c7cde6e572741b408015ef4ff";
3873− sha256 = "1y4ypg39fh8ys2mqmm2d7xqvq5zjs5x4xjyrn5nazmn5snbvgi86";
4026+ rev = "3507d31dccde27ea27e2858e00784d5be18565f4";
4027+ sha256 = "0ap9bbk0qa3cz1rxykgrd5hv582av2n36x6s52awg90d4hx37inp";
4028+ };
4029+ };
4030+
4031+ vim-textobj-comment = buildVimPluginFrom2Nix {
4032+ pname = "vim-textobj-comment";
4033+ version = "2014-04-11";
4034+ src = fetchFromGitHub {
4035+ owner = "glts";
4036+ repo = "vim-textobj-comment";
4037+ rev = "58ae4571b76a5bf74850698f23d235eef991dd4b";
4038+ sha256 = "00wc14chwjfx95gl3yzbxm1ajx88zpzqz0ckl7xvd7gvkrf0mx04";
4039+ };
4040+ };
4041+
4042+ vim-textobj-function = buildVimPluginFrom2Nix {
4043+ pname = "vim-textobj-function";
4044+ version = "2014-05-03";
4045+ src = fetchFromGitHub {
4046+ owner = "kana";
4047+ repo = "vim-textobj-function";
4048+ rev = "adb50f38499b1f558cbd58845e3e91117e4538cf";
4049+ sha256 = "0cwl102si9zhhhpg6c0fjnyq35v6bl5f34p2s7b47isxdn0qvris";
38744050 };
38754051 };
38764052
@@ -3885,6 +4061,17 @@ let
38854061 };
38864062 };
38874063
4064+ vim-textobj-user = buildVimPluginFrom2Nix {
4065+ pname = "vim-textobj-user";
4066+ version = "2018-11-19";
4067+ src = fetchFromGitHub {
4068+ owner = "kana";
4069+ repo = "vim-textobj-user";
4070+ rev = "074ce2575543f790290b189860597a3dcac1f79d";
4071+ sha256 = "15wnqkxjjksgn8a7d3lkbf8d97r4w159bajrcf1adpxw8hhli1vc";
4072+ };
4073+ };
4074+
38884075 vim-themis = buildVimPluginFrom2Nix {
38894076 pname = "vim-themis";
38904077 version = "2019-03-26";
@@ -3942,12 +4129,12 @@ let
39424129
39434130 vim-unimpaired = buildVimPluginFrom2Nix {
39444131 pname = "vim-unimpaired";
3945− version = "2019-03-21";
4132+ version = "2019-06-29";
39464133 src = fetchFromGitHub {
39474134 owner = "tpope";
39484135 repo = "vim-unimpaired";
3949− rev = "e77923053fbce11323194ed04113b8d966be959c";
3950− sha256 = "1cka410c94wa6mz0pr4m8n9j7s9jhqnw513479pkmzx435ffb6ak";
4136+ rev = "a49c4f2bf05f18a6e4f6572a19763ba7abba52b1";
4137+ sha256 = "0ivybshm1dvlqsbh153a3fq3dhwj144x049l78ss7zrqnbb70jsw";
39514138 };
39524139 };
39534140
@@ -3968,8 +4155,8 @@ let
39684155 src = fetchFromGitHub {
39694156 owner = "mg979";
39704157 repo = "vim-visual-multi";
3971− rev = "8b1db5d83f1bc04f9e08fd5c57d84323e9007435";
3972− sha256 = "0g6b9grd7j1p9rhbb56lvwvv90j9l0cqfsslxyrn9fwxwgkbiis0";
4158+ rev = "c91e356a33569bc39bb01392362b8747355b356e";
4159+ sha256 = "07xm2289932j7lrxaf1gx3rxbzx4f059mkx78chj915pndx72q33";
39734160 };
39744161 };
39754162
@@ -3997,12 +4184,12 @@ let
39974184
39984185 vim-wakatime = buildVimPluginFrom2Nix {
39994186 pname = "vim-wakatime";
4000− version = "2019-05-08";
4187+ version = "2019-06-24";
40014188 src = fetchFromGitHub {
40024189 owner = "wakatime";
40034190 repo = "vim-wakatime";
4004− rev = "40dbc1643088c0b677857cf7eae9354540b5e955";
4005− sha256 = "17df8h7jgkl1q6p2g3328mnd21gvfcjks7zpbr8r5qzbyrm1pl5v";
4191+ rev = "7a544c979ed52042c67a4189687ac53c853f109c";
4192+ sha256 = "04n2hgyyiq4q9abcj867q30m4vhfz50gxwdvjj3844ppn104smsa";
40064193 };
40074194 };
40084195
@@ -4118,12 +4305,12 @@ let
41184305
41194306 vimtex = buildVimPluginFrom2Nix {
41204307 pname = "vimtex";
4121− version = "2019-06-22";
4308+ version = "2019-07-01";
41224309 src = fetchFromGitHub {
41234310 owner = "lervag";
41244311 repo = "vimtex";
4125− rev = "4240669fbb31f9bab15abe5e41a8d5a11f3d4ccb";
4126− sha256 = "1yldk7pms48d6f82q547r2vy6xb8fa0c2s6f8mp0riwiypiaqj6l";
4312+ rev = "650b06020043a1b66aac3e478e620b40a2346d97";
4313+ sha256 = "1qimr20ima638f0s40xpap5hkr6h0fwp7cjfbbgv11njr0dmfzlc";
41274314 };
41284315 };
41294316
@@ -4262,12 +4449,12 @@ let
42624449
42634450 youcompleteme = buildVimPluginFrom2Nix {
42644451 pname = "youcompleteme";
4265− version = "2019-06-02";
4452+ version = "2019-06-29";
42664453 src = fetchFromGitHub {
42674454 owner = "valloric";
42684455 repo = "youcompleteme";
4269− rev = "59eea79da8acaf4cd01631b15d6c762f9b9bdb14";
4270− sha256 = "1v8ich33j2rxifilpzzgj4pw6wnj3ra4rd8mc3m0yy7jrnhzcr13";
4456+ rev = "d556a43c1af6a4e4075e875934e250f589df0dee";
4457+ sha256 = "05vl8gri43k8psjmhaybhm27ycm8hdgrdaqcy89sznpww5lm1nx8";
42714458 fetchSubmodules = true;
42724459 };
42734460 };
pkgs/misc/vim-plugins/vim-plugin-names+22−5
@@ -13,6 +13,7 @@ andviro/flake8-vim
1313ap/vim-css-color
1414arcticicestudio/nord-vim
1515artur-shaik/vim-javacomplete2
16+autozimu/LanguageClient-neovim
1617bazelbuild/vim-bazel
1718bbchung/clighter8
1819benmills/vimux
@@ -20,6 +21,7 @@ bhurlow/vim-parinfer
2021bitc/vim-hdevtools
2122bkad/camelcasemotion
2223bling/vim-bufferline
24+bogado/file-line
2325bronson/vim-trailing-whitespace
2426brooth/far.vim
2527carlitux/deoplete-ternjs
@@ -38,13 +40,16 @@ chrisgeo/sparkup
3840chriskempson/base16-vim
3941christoomey/vim-sort-motion
4042christoomey/vim-tmux-navigator
43+CoatiSoftware/vim-sourcetrail
4144cocopon/iceberg.vim
4245ctjhoa/spacevim
4346ctrlpvim/ctrlp.vim
44−dag/vim2hs
4547dag/vim-fish
48+dag/vim2hs
4649dannyob/quickfixstatus
50+dart-lang/dart-vim-plugin
4751davidhalter/jedi-vim
52+deoplete-plugins/deoplete-jedi
4853derekelkins/agda-vim
4954derekwyatt/vim-scala
5055dhruvasagar/vim-table-mode
@@ -77,6 +82,7 @@ flazz/vim-colorschemes
7782floobits/floobits-neovim
7883frigoeu/psc-ide-vim
7984garbas/vim-snipmate
85+glts/vim-textobj-comment
8086gmarik/vundle
8187godlygeek/csapprox
8288godlygeek/tabular
@@ -140,6 +146,8 @@ kana/vim-niceblock
140146kana/vim-operator-replace
141147kana/vim-operator-user
142148kana/vim-tabpagecd
149+kana/vim-textobj-function
150+kana/vim-textobj-user
143151kassio/neoterm
144152kchmck/vim-coffee-script
145153KeitaNakamura/neodark.vim
@@ -156,6 +164,8 @@ lepture/vim-jinja
156164lervag/vimtex
157165lfilho/cosco.vim
158166LnL7/vim-nix
167+LucHermitte/lh-vim-lib
168+LucHermitte/lh-brackets
159169ludovicchabant/vim-gutentags
160170ludovicchabant/vim-lawrencium
161171lukaszkorecki/workflowish
@@ -188,6 +198,7 @@ martinda/Jenkinsfile-vim-syntax
188198mattn/emmet-vim
189199mattn/gist-vim
190200mattn/webapi-vim
201+maximbaz/lightline-ale
191202mbbill/undotree
192203megaannum/forms
193204megaannum/self
@@ -202,6 +213,7 @@ michaeljsmith/vim-indent-object
202213mileszs/ack.vim
203214mindriot101/vim-yapf
204215mkasa/lushtags
216+mopp/sky-color-clock.vim
205217morhetz/gruvbox
206218motus/pig.vim
207219mpickering/hlint-refactor-vim
@@ -219,9 +231,9 @@ ncm2/ncm2-ultisnips
219231neoclide/coc.nvim
220232neoclide/vim-easygit
221233neomake/neomake
234+neovim/nvimdev.nvim
222235neovimhaskell/haskell-vim
223236neovimhaskell/nvim-hs.vim
224−neovim/nvimdev.nvim
225237neutaaaaan/iosvkem
226238nixprime/cpsm
227239NLKNguyen/papercolor-theme
@@ -246,6 +258,7 @@ posva/vim-vue
246258powerman/vim-plugin-AnsiEsc
247259PProvost/vim-ps1
248260python-mode/python-mode
261+qpkorr/vim-bufkill
249262Quramy/tsuquyomi
250263racer-rust/vim-racer
251264rafaqz/ranger.vim
@@ -275,6 +288,7 @@ sheerun/vim-polyglot
275288Shougo/context_filetype.vim
276289Shougo/denite.nvim
277290Shougo/deol.nvim
291+Shougo/deoplete-lsp
278292Shougo/deoplete.nvim
279293Shougo/echodoc.vim
280294Shougo/neco-syntax
@@ -309,9 +323,11 @@ thinca/vim-quickrun
309323thinca/vim-scouter
310324thinca/vim-themis
311325thinca/vim-visualstar
326+thosakwe/vim-flutter
312327tomasr/molokai
313328tomlion/vim-solidity
314329tommcdo/vim-lion
330+tomtom/tcomment_vim
315331tomtom/tlib_vim
316332tpope/vim-abolish
317333tpope/vim-commentary
@@ -337,6 +353,7 @@ tpope/vim-unimpaired
337353tpope/vim-vinegar
338354travitch/hasksyn
339355troydm/zoomwintab.vim
356+twerth/ir_black
340357twinside/vim-haskellconceal
341358Twinside/vim-hoogle
342359tyru/caw.vim
@@ -346,18 +363,18 @@ valloric/youcompleteme
346363vhda/verilog_systemverilog.vim
347364vim-airline/vim-airline
348365vim-airline/vim-airline-themes
349−vimoutliner/vimoutliner
350366vim-pandoc/vim-pandoc
351367vim-pandoc/vim-pandoc-after
352368vim-pandoc/vim-pandoc-syntax
353369vim-ruby/vim-ruby
370+vim-scripts/a.vim
354371vim-scripts/align
355372vim-scripts/argtextobj.vim
356373vim-scripts/autoload_cscope.vim
357−vim-scripts/a.vim
358374vim-scripts/bats.vim
359375vim-scripts/changeColorScheme.vim
360376vim-scripts/Colour-Sampler-Pack
377+vim-scripts/DoxygenToolkit.vim
361378vim-scripts/emodeline
362379vim-scripts/Improved-AnsiEsc
363380vim-scripts/jdaddy.vim
@@ -372,6 +389,7 @@ vim-scripts/taglist.vim
372389vim-scripts/wombat256.vim
373390vim-scripts/YankRing.vim
374391vim-utils/vim-husk
392+vimoutliner/vimoutliner
375393vimwiki/vimwiki
376394vmchale/dhall-vim
377395w0rp/ale
@@ -388,5 +406,4 @@ Yggdroot/indentLine
388406zah/nim.vim
389407zchee/deoplete-clang
390408zchee/deoplete-go
391−zchee/deoplete-jedi
392409zig-lang/zig.vim
pkgs/os-specific/linux/iproute/mptcp.nixnew file+22
@@ -0,0 +1,22 @@
1+{ stdenv, iproute, fetchFromGitHub }:
2+
3+iproute.overrideAttrs (oa: rec {
4+ pname = "iproute_mptcp";
5+ version = "0.95";
6+
7+ src = fetchFromGitHub {
8+ owner = "multipath-tcp";
9+ repo = "iproute-mptcp";
10+ rev = "mptcp_v${version}";
11+ sha256 = "07fihvwlaj0ng8s8sxqhd0a9h1narcnp4ibk88km9cpsd32xv4q3";
12+ };
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://github.com/multipath-tcp/iproute-mptcp;
16+ description = "IP-Route extensions for MultiPath TCP";
17+ license = licenses.gpl2;
18+ platforms = platforms.linux;
19+ maintainers = with maintainers; [ teto ];
20+ priority = 2;
21+ };
22+})
pkgs/os-specific/linux/kernel/linux-4.14.nix+2−2
@@ -3,7 +3,7 @@
33with stdenv.lib;
44
55buildLinux (args // rec {
6− version = "4.14.130";
6+ version = "4.14.131";
77
88 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
99 modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@@ -13,6 +13,6 @@ buildLinux (args // rec {
1313
1414 src = fetchurl {
1515 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
16− sha256 = "0najfj0m8s61hjyag4ll6bvv1y4d03dbgm137fmvfq4szx891ji9";
16+ sha256 = "1xcg7ij3r6271qmcymaxprqa8qvdddkh5f8m6gza3agl61641xhr";
1717 };
1818} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-4.4.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
22
33buildLinux (args // rec {
4− version = "4.4.183";
4+ version = "4.4.184";
55 extraMeta.branch = "4.4";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "10ic3ldn3p95y0qrl91j5kjqjp18k30xvpgw7mmc1g7lgi2r8j2h";
9+ sha256 = "1jn3mwnfcvhnn0bqiyabkqii3rd6w5b982w3i085qj42q0pj6hv5";
1010 };
1111} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-4.9.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
22
33buildLinux (args // rec {
4− version = "4.9.183";
4+ version = "4.9.184";
55 extraMeta.branch = "4.9";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "1wv753a9z99nvvw881j6fxd6imk88xm3aq626gly5x6v3jcv0mzx";
9+ sha256 = "1bwzmmpc7k9n7p2s383pipdjc3hvqfbbacaxk7gdw9856pai8c83";
1010 };
1111} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-testing.nix+8−4
@@ -1,13 +1,17 @@
1−{ stdenv, buildPackages, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:
1+{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
2+
3+with stdenv.lib;
24
35buildLinux (args // rec {
4− version = "5.2-rc6";
5− modDirVersion = "5.2.0-rc6";
6+ version = "5.2-rc7";
67 extraMeta.branch = "5.2";
78
9+ # modDirVersion needs to be x.y.z, will always add .0
10+ modDirVersion = if (modDirVersionArg == null) then builtins.replaceStrings ["-"] [".0-"] version else modDirVersionArg;
11+
812 src = fetchurl {
913 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
10− sha256 = "15lwy9596v5sw8c6mhpl9ilfcmm39snvvyajg08ycsg61i2s58v0";
14+ sha256 = "1128jb1y4gia5icv614ycp3c5mkvrb2l2wn20765b3si256g68n4";
1115 };
1216
1317 # Should the testing kernels ever be built on Hydra?
pkgs/os-specific/linux/linuxptp/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, fetchurl, linuxHeaders } :
2+
3+
4+stdenv.mkDerivation rec {
5+ pname = "linuxptp";
6+ version = "2.0";
7+
8+ src = fetchurl {
9+ url = "mirror://sourceforge/linuxptp/${pname}-${version}.tgz";
10+ sha256 = "0zcw8nllla06451r7bfsa31q4z8jj56j67i07l1azm473r0dj90a";
11+ };
12+
13+ postPatch = ''
14+ substituteInPlace incdefs.sh --replace \
15+ '/usr/include/linux/' "${linuxHeaders}/include/linux/"
16+ '';
17+
18+ makeFlags = [ "prefix=" ];
19+
20+ preInstall = ''
21+ export DESTDIR=$out
22+ '';
23+
24+ enableParallelBuilding = true;
25+
26+ meta = with stdenv.lib; {
27+ description = "Implementation of the Precision Time Protocol (PTP) according to IEEE standard 1588 for Linux";
28+ homepage = "http://linuxptp.sourceforge.net/";
29+ maintainers = [ maintainers.markuskowa ];
30+ license = licenses.gpl2;
31+ platforms = platforms.linux;
32+ };
33+}
pkgs/os-specific/linux/net-tools/mptcp.nixnew file+21
@@ -0,0 +1,21 @@
1+{ stdenv, nettools, fetchFromGitHub }:
2+
3+nettools.overrideAttrs(oa: rec {
4+ name = "net-tools-mptcp";
5+ version = "0.95";
6+
7+ src = fetchFromGitHub {
8+ owner = "multipath-tcp";
9+ repo = "net-tools";
10+ rev = "mptcp_v${version}";
11+ sha256 = "0i7gr1y699nc7j9qllsx8kicqkpkhw51x4chcmyl5xs06b2mdjri";
12+ };
13+
14+ meta = with stdenv.lib; {
15+ homepage = https://github.com/multipath-tcp/net-tools;
16+ description = "A set of tools for controlling the network subsystem in Linux";
17+ license = licenses.gpl2Plus;
18+ platforms = platforms.linux;
19+ maintainers = with maintainers; [ teto ];
20+ };
21+})
pkgs/os-specific/linux/nmon/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "nmon-${version}";
5− version = "16j";
5+ version = "16k";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/nmon/lmon${version}.c";
9− sha256 = "05a6yc1w421r30qg32a8j0wajjv2ff1mwwsrariv3fz3ng4phf5s";
9+ sha256 = "17nbxrnl7kqiaaxn2hwyi65gphbl3wybbyp9vri2q5ifdis3ssib";
1010 };
1111
1212 buildInputs = [ ncurses ];
pkgs/os-specific/linux/nvidia-x11/default.nix+7−12
@@ -16,21 +16,16 @@ let
1616in
1717rec {
1818 # Policy: use the highest stable version as the default (on our master).
19− stable = if stdenv.hostPlatform.system == "x86_64-linux" then stable_418 else legacy_390;
19+ stable = if stdenv.hostPlatform.system == "x86_64-linux" then stable_430 else legacy_390;
2020
2121 # No active beta right now
22− beta = generic {
23− version = "430.14";
24− sha256_64bit = "05qgakc0sqv9zr6j4i49iqrd271nris8pmnv3l431r71ygx6zm00";
25− settingsSha256 = "1hh07258a6z0g8dl6mxrizdxqcgswv58r4rbamfhhwh9i42fpdgg";
26− persistencedSha256 = "1wmwmg9ma9rfx03s2qa249f0p7yf0lxdpiadab0raajk1lzlrrc8";
27− };
22+ beta = stable;
2823
29− stable_418 = generic {
30− version = "418.74";
31− sha256_64bit = "03qj42ppzkc9nphdr9zc12968bb8fc9cpcx5f66y29wnrgg3d1yw";
32− settingsSha256 = "15mbqdx5wyk7iq13kl2vd99lykpil618izwpi1kfldlabxdxsi9d";
33− persistencedSha256 = "0442qbby0r1b6l72wyw0b3iwvln6k20s6dn0zqlpxafnia9bvc8c";
24+ stable_430 = generic {
25+ version = "430.26";
26+ sha256_64bit = "1rnfxl4dxa3jjidfdvfjmg1a8nc787ss15cakrp2wwrn8jlr9av6";
27+ settingsSha256 = "0rjsj697s9jfls7iz1hs7aqp36ihf3l82yz1x1w9wdvlw94a3nym";
28+ persistencedSha256 = "1n554i4g37hs49bb631x692ygfncn7a5hzb6mh9kx7hmv69yzazh";
3429 };
3530
3631 # Last one supporting x86
pkgs/os-specific/linux/systemd/default.nix+1−1
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 src = fetchFromGitHub {
2525 owner = "NixOS";
2626 repo = "systemd";
27− rev = "nixos-v${version}";
27+ rev = "5c20aab77900f478fd380ab189787d80e4a35963";
2828 sha256 = "0ldyhfxdy4qlgygvpc92wp0qp6p1c9y3rnm77zwbkga48x60d9i8";
2929 };
3030
pkgs/os-specific/linux/sysvinit/default.nix+2−2
@@ -1,13 +1,13 @@
11{ stdenv, fetchurl, withoutInitTools ? false }:
22
3−let version = "2.94"; in
3+let version = "2.95"; in
44
55stdenv.mkDerivation {
66 name = (if withoutInitTools then "sysvtools" else "sysvinit") + "-" + version;
77
88 src = fetchurl {
99 url = "mirror://savannah/sysvinit/sysvinit-${version}.tar.xz";
10− sha256 = "05wshfgrijp3pi9rpfsa0yx4w3bf5v6hlwjqw79nlhz53xjca2by";
10+ sha256 = "1j46dydib9yd2a46w43is9b61lplwrsry46fw7cbmfrn7ywrq0n9";
1111 };
1212
1313 prePatch = ''
pkgs/os-specific/linux/tomb/default.nix+2−2
@@ -4,13 +4,13 @@
44
55stdenv.mkDerivation rec {
66 name = "tomb-${version}";
7− version = "2.5";
7+ version = "2.6";
88
99 src = fetchFromGitHub {
1010 owner = "dyne";
1111 repo = "Tomb";
1212 rev = "v${version}";
13− sha256 = "1wk1aanzfln88min29p5av2j8gd8vj5afbs2gvarv7lvx1vi7kh1";
13+ sha256 = "0pr0lw1byxwkgv857zfmd8yqa03a7mckhzklrf9rkv1l6nisz0z0";
1414 };
1515
1616 buildInputs = [ sudo zsh pinentry ];
pkgs/servers/atlassian/confluence.nix+2−2
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "atlassian-confluence-${version}";
8− version = "6.15.4";
8+ version = "6.15.6";
99
1010 src = fetchurl {
1111 url = "https://product-downloads.atlassian.com/software/confluence/downloads/${name}.tar.gz";
12− sha256 = "0br51h8i99v6xc15280ra447c7fkiwf8nqgyzni0llhy1g1qcnmv";
12+ sha256 = "0bb404d5i8jdry1jw8qdrcpgp9lvdkyxry58331pwpw16mlh0r2m";
1313 };
1414
1515 buildPhase = ''
pkgs/servers/atlassian/jira.nix+2−2
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "atlassian-jira-${version}";
8− version = "8.2.1";
8+ version = "8.2.2";
99
1010 src = fetchurl {
1111 url = "https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-${version}.tar.gz";
12− sha256 = "1556hliywjiz6977249mlgxaq5xzpzq3xm9bcg9vk57s1hsv175i";
12+ sha256 = "1azis5jxrdfviyvvbpzlrpqaayvzs9kggmj4rv9gbsn7ji96i781";
1313 };
1414
1515 phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];
pkgs/servers/beanstalkd/default.nix+2−2
@@ -1,13 +1,13 @@
11{ stdenv, fetchurl }:
22stdenv.mkDerivation rec {
3− version = "1.10";
3+ version = "1.11";
44 name = "beanstalkd-${version}";
55
66 installPhase=''make install "PREFIX=$out"'';
77
88 src = fetchurl {
99 url = "https://github.com/kr/beanstalkd/archive/v${version}.tar.gz";
10− sha256 = "0n9dlmiddcfl7i0f1lwfhqiwyvf26493fxfcmn8jm30nbqciwfwj";
10+ sha256 = "0i65d0pln1p6wxghzwziz2k8vafvdgjq6yc962ayzs80kpj18d2y";
1111 };
1212
1313 hardeningDisable = [ "fortify" ];
pkgs/servers/dns/powerdns/default.nix+2−2
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "powerdns-${version}";
8− version = "4.1.7";
8+ version = "4.1.9";
99
1010 src = fetchurl {
1111 url = "https://downloads.powerdns.com/releases/pdns-${version}.tar.bz2";
12− sha256 = "11c4r0mbq6ybbihm0jbl9hspb01pj1gi6x3m374liw9jij7dw8b4";
12+ sha256 = "1dmx37xzg7qckq166jr7swcnw3m9wjh5169844ad59qhspfzflnk";
1313 };
1414
1515 nativeBuildInputs = [ pkgconfig ];
pkgs/servers/headphones/default.nix+1−1
@@ -27,7 +27,7 @@ python2.pkgs.buildPythonApplication rec {
2727 meta = with stdenv.lib; {
2828 description = "Automatic music downloader for SABnzbd";
2929 license = licenses.gpl3;
30− homepage = https:/github.com/rembo10/headphones;
30+ homepage = "https://github.com/rembo10/headphones";
3131 maintainers = with stdenv.lib.maintainers; [ rembo10 ];
3232 };
3333}
pkgs/servers/http/apache-modules/mod_wsgi/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "mod_wsgi-${version}";
5− version = "4.6.6";
5+ version = "4.6.7";
66
77 src = fetchurl {
88 url = "https://github.com/GrahamDumpleton/mod_wsgi/archive/${version}.tar.gz";
9− sha256 = "1ic5lafqlwpld5jz2irj3yws883xhxldjyyh514w1lad1v085sbq";
9+ sha256 = "1j8pqn0xhd502ardlmkqx8y85s1npmk9nifqps60wjh29nny03f2";
1010 };
1111
1212 buildInputs = [ apacheHttpd python2 ];
pkgs/servers/http/tengine/default.nix+2−2
@@ -10,12 +10,12 @@
1010with stdenv.lib;
1111
1212stdenv.mkDerivation rec {
13− version = "2.3.0";
13+ version = "2.3.1";
1414 name = "tengine-${version}";
1515
1616 src = fetchurl {
1717 url = "https://github.com/alibaba/tengine/archive/${version}.tar.gz";
18− sha256 = "09165sdzad8bjxhnwphbags6yvxnz2rkf14p0w3vgvzssj017kqp";
18+ sha256 = "075blm2d62a0bdixc3vngrxpgr7ngl1s4y8hm20pbvc07f0kzn9x";
1919 };
2020
2121 buildInputs =
pkgs/servers/monitoring/riemann/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "riemann-${version}";
5− version = "0.3.2";
5+ version = "0.3.3";
66
77 src = fetchurl {
88 url = "https://github.com/riemann/riemann/releases/download/${version}/${name}.tar.bz2";
9− sha256 = "0vq7yr048sqy8dgs9l3kn1q6s3hhlhs5551hj445cng8z6n4bc4v";
9+ sha256 = "11xcmmp5k78vr5ch42zwx9ym84y6kf81z9zwawqybvx7wmlbpdiq";
1010 };
1111
1212 nativeBuildInputs = [ makeWrapper ];
pkgs/servers/radarr/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "radarr-${version}";
5− version = "0.2.0.1344";
5+ version = "0.2.0.1358";
66
77 src = fetchurl {
88 url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.develop.${version}.linux.tar.gz";
9− sha256 = "0zh1p92i61s6mx26s3fvzg1ihsx433b398wsl5p8zafwqq3zfrla";
9+ sha256 = "0lyd9gcrfdp7nc4myg22ardsig30lgkvma03zzdjrwvsngqclmv7";
1010 };
1111
1212 nativeBuildInputs = [ makeWrapper ];
pkgs/servers/roon-server/default.nixnew file+65
@@ -0,0 +1,65 @@
1+{ alsaLib, alsaUtils, cifs-utils, fetchurl, ffmpeg, libav, mono, stdenv }:
2+
3+with stdenv.lib;
4+stdenv.mkDerivation rec {
5+ name = "roon-server";
6+ version = "100600401";
7+
8+ src = fetchurl {
9+ url = "http://download.roonlabs.com/updates/stable/RoonServer_linuxx64_${version}.tar.bz2";
10+ sha256 = "121mmdh35q4bpgsqhcps6a6q1f4ld9v4hq9gp181bf2n779pk8sh";
11+ };
12+
13+ installPhase = ''
14+ runHook preInstall
15+
16+ # Check script
17+ sed -i '3i PATH=$PATH:${makeBinPath [ cifs-utils ffmpeg libav ]}' check.sh
18+ sed -i '/check_ulimit$/d' check.sh
19+
20+ # Start script
21+ sed -i '3i PATH=$PATH:${makeBinPath [ alsaUtils cifs-utils ffmpeg libav ]}' start.sh
22+
23+ # Debug logging
24+ sed -i '/--debug--gc=sgen --server/exec "$HARDLINK" --debug --gc=sgen --server "$SCRIPT.exe" "$@" -storagetrace -watchertrace' Appliance/RoonAppliance
25+
26+ # Binaries
27+ sed -i '/# boost ulimit/,+2 d' Appliance/RAATServer
28+ sed -i '/# boost ulimit/,+2 d' Appliance/RoonAppliance
29+ sed -i '/# boost ulimit/,+2 d' Server/RoonServer
30+ sed -i '/ln -sf/ d' Appliance/RAATServer
31+ sed -i '/ln -sf/ d' Appliance/RoonAppliance
32+ sed -i '/ln -sf/ d' Server/RoonServer
33+ mkdir -p $out/opt
34+ mv * $out/opt
35+ ln -sf $out/opt/RoonMono/bin/mono-sgen $out/opt/RoonMono/bin/RoonServer
36+ ln -sf $out/opt/RoonMono/bin/mono-sgen $out/opt/RoonMono/bin/RoonAppliance
37+ ln -sf $out/opt/RoonMono/bin/mono-sgen $out/opt/RoonMono/bin/RAATServer
38+
39+ runHook postInstall
40+ '';
41+
42+ preFixup = ''
43+ patchelf \
44+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
45+ --set-rpath "${alsaLib}/lib" \
46+ $out/opt/RoonMono/bin/mono-sgen
47+
48+ # Checkers
49+ patchelf \
50+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
51+ --set-rpath "${alsaLib}/lib" \
52+ $out/opt/Appliance/check_alsa
53+ patchelf \
54+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
55+ $out/opt/Appliance/check_bincompat
56+ '';
57+
58+ meta = {
59+ description = "The music player for music lovers.";
60+ homepage = https://roonlabs.com;
61+ license = licenses.unfree;
62+ maintainers = with maintainers; [ steell ];
63+ platforms = platforms.linux;
64+ };
65+}
pkgs/servers/search/groonga/default.nix+2−2
@@ -7,11 +7,11 @@
77stdenv.mkDerivation rec {
88
99 name = "groonga-${version}";
10− version = "9.0.3";
10+ version = "9.0.4";
1111
1212 src = fetchurl {
1313 url = "https://packages.groonga.org/source/groonga/${name}.tar.gz";
14− sha256 = "1sj7vq0b6panh3q1br9r30g5nphxjw7brwncrkyxjyawgw7cc94j";
14+ sha256 = "00cyzvk8303y0xcmb0hiy45wj2j6baqqzrfda9f6fv3zlfna1n2g";
1515 };
1616
1717 buildInputs = with stdenv.lib;
pkgs/servers/sickbeard/default.nix+1−1
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
2929 meta = with stdenv.lib; {
3030 description = "PVR & episode guide that downloads and manages all your TV shows";
3131 license = licenses.gpl3;
32− homepage = https:/github.com/midgetspy/Sick-Beard;
32+ homepage = "https://github.com/midgetspy/Sick-Beard";
3333 maintainers = with stdenv.lib.maintainers; [ ];
3434 };
3535}
pkgs/servers/sickbeard/sickgear.nix+1−1
@@ -29,7 +29,7 @@ in stdenv.mkDerivation rec {
2929 meta = with stdenv.lib; {
3030 description = "The most reliable stable TV fork of the great Sick-Beard to fully automate TV enjoyment with innovation";
3131 license = licenses.gpl3;
32− homepage = https:/github.com/SickGear/SickGear;
32+ homepage = "https://github.com/SickGear/SickGear";
3333 maintainers = with stdenv.lib.maintainers; [ ];
3434 };
3535}
pkgs/servers/sql/mysql/5.5.17-cygwin.patchdeleted−44
@@ -1,44 +0,0 @@
1−--- mysql-5.5.17/cmake/install_macros.cmake 2011-10-12 07:10:24.000000000 -0500
2−+++ mysql-5.5.17/cmake/install_macros.cmake 2011-11-07 23:19:35.772837800 -0600
3−@@ -230,7 +230,13 @@ FUNCTION(MYSQL_INSTALL_TARGETS)
4− IF(ARG_COMPONENT)
5− SET(COMP COMPONENT ${ARG_COMPONENT})
6− ENDIF()
7−- INSTALL(TARGETS ${TARGETS} DESTINATION ${ARG_DESTINATION} ${COMP})
8−+ IF(${ARG_DESTINATION} STREQUAL "${INSTALL_LIBDIR}")
9−+ INSTALL(TARGETS ${TARGETS} LIBRARY DESTINATION ${ARG_DESTINATION}
10−+ RUNTIME DESTINATION bin
11−+ ARCHIVE DESTINATION ${ARG_DESTINATION} ${COMP})
12−+ ELSE()
13−+ INSTALL(TARGETS ${TARGETS} DESTINATION ${ARG_DESTINATION} ${COMP})
14−+ ENDIF()
15− SET(INSTALL_LOCATION ${ARG_DESTINATION} )
16− INSTALL_DEBUG_SYMBOLS("${TARGETS}")
17− SET(INSTALL_LOCATION)
18−--- mysql-5.5.17/libmysql/CMakeLists.txt 2011-10-12 07:10:24.000000000 -0500
19−+++ mysql-5.5.17/libmysql/CMakeLists.txt 2011-11-08 03:19:31.379219300 -0600
20−@@ -214,6 +214,7 @@ IF(NOT DISABLE_SHARED)
21− SET_TARGET_PROPERTIES(mysqlclient PROPERTIES CLEAN_DIRECT_OUTPUT 1)
22− SET_TARGET_PROPERTIES(libmysql PROPERTIES CLEAN_DIRECT_OUTPUT 1)
23−
24−+ IF(NOT CYGWIN)
25− # Install links to libmysqlclient.so (client_r)
26− GET_VERSIONED_LIBNAME(
27− "${CMAKE_SHARED_LIBRARY_PREFIX}mysqlclient_r"
28−@@ -231,5 +232,6 @@ IF(NOT DISABLE_SHARED)
29− linkname)
30− INSTALL_SYMLINK(${linkname} libmysql ${INSTALL_LIBDIR} SharedLibraries)
31− ENDFOREACH()
32−+ ENDIF(NOT CYGWIN)
33− ENDIF()
34− ENDIF()
35−--- mysql-5.5.17/strings/dtoa.c 2011-10-12 07:10:25.000000000 -0500
36−+++ mysql-5.5.17/strings/dtoa.c 2011-11-07 20:38:05.064690100 -0600
37−@@ -36,6 +36,7 @@
38−
39− ***************************************************************/
40−
41−+#define __STRICT_ANSI__
42− #include <my_base.h> /* for EOVERFLOW on Windows */
43− #include <my_global.h>
44− #include <m_string.h> /* for memcpy and NOT_FIXED_DEC */
pkgs/servers/sql/mysql/5.5.17-export-symbols.patchdeleted−22
@@ -1,22 +0,0 @@
1−--- mysql-5.5.17/libmysql/CMakeLists.txt 2011-10-12 07:10:24.000000000 -0500
2−+++ mysql-5.5.17/libmysql/CMakeLists.txt 2011-11-08 03:19:31.379219300 -0600
3−@@ -25,6 +25,11 @@ INCLUDE_DIRECTORIES(
4− ADD_DEFINITIONS(${SSL_DEFINES})
5−
6− SET(CLIENT_API_FUNCTIONS
7−+dynstr_free
8−+dynstr_append_mem
9−+dynstr_append_os_quoted
10−+dynstr_realloc
11−+init_dynamic_string
12− get_tty_password
13− handle_options
14− load_defaults
15−@@ -131,6 +136,7 @@ mysql_server_end
16− mysql_set_character_set
17− mysql_get_character_set_info
18− mysql_stmt_next_result
19−+strfill
20−
21− CACHE INTERNAL "Functions exported by client API"
22−
pkgs/servers/sql/mysql/5.5.x.nixdeleted−93
@@ -1,93 +0,0 @@
1−{ stdenv, fetchpatch, fetchurl, cmake, bison, ncurses, openssl
2−, readline, zlib, perl, cctools, CoreServices }:
3−
4−# Note: zlib is not required; MySQL can use an internal zlib.
5−
6−let
7−self = stdenv.mkDerivation rec {
8− name = "mysql-${version}";
9− version = "5.5.62";
10−
11− src = fetchurl {
12− url = "mirror://mysql/MySQL-5.5/${name}.tar.gz";
13− sha256 = "1mwrzwk9ap09s430fpdkyhvx5j2syd3xj2hyfzvanjphq4xqbrxi";
14− };
15−
16− patches =
17− # Minor type error that is a build failure as of clang 6.
18− stdenv.lib.optional stdenv.cc.isClang (fetchpatch {
19− url = "https://svn.freebsd.org/ports/head/databases/mysql55-server/files/patch-sql_sql_partition.cc?rev=469888";
20− extraPrefix = "";
21− sha256 = "09sya27z3ir3xy5mrv3x68hm274594y381n0i6r5s627x71jyszf";
22− }) ++
23− stdenv.lib.optionals stdenv.isCygwin [
24− ./5.5.17-cygwin.patch
25− ./5.5.17-export-symbols.patch
26− ];
27−
28− preConfigure = stdenv.lib.optional stdenv.isDarwin ''
29− ln -s /bin/ps $TMPDIR/ps
30− export PATH=$PATH:$TMPDIR
31− '';
32−
33− buildInputs = [ cmake bison ncurses openssl readline zlib ]
34− ++ stdenv.lib.optionals stdenv.isDarwin [ perl cctools CoreServices ];
35−
36− enableParallelBuilding = true;
37−
38− cmakeFlags = [
39− "-DWITH_SSL=yes"
40− "-DWITH_READLINE=yes"
41− "-DWITH_EMBEDDED_SERVER=yes"
42− "-DWITH_ZLIB=yes"
43− "-DHAVE_IPV6=yes"
44− "-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
45− "-DMYSQL_DATADIR=/var/lib/mysql"
46− "-DINSTALL_SYSCONFDIR=etc/mysql"
47− "-DINSTALL_INFODIR=share/mysql/docs"
48− "-DINSTALL_MANDIR=share/man"
49− "-DINSTALL_PLUGINDIR=lib/mysql/plugin"
50− "-DINSTALL_SCRIPTDIR=bin"
51− "-DINSTALL_INCLUDEDIR=include/mysql"
52− "-DINSTALL_DOCREADMEDIR=share/mysql"
53− "-DINSTALL_SUPPORTFILESDIR=share/mysql"
54− "-DINSTALL_MYSQLSHAREDIR=share/mysql"
55− "-DINSTALL_DOCDIR=share/mysql/docs"
56− "-DINSTALL_SHAREDIR=share/mysql"
57− "-DINSTALL_MYSQLTESTDIR="
58− "-DINSTALL_SQLBENCHDIR="
59− ];
60−
61− NIX_CFLAGS_COMPILE =
62− stdenv.lib.optionals stdenv.cc.isGNU [ "-fpermissive" ] # since gcc-7
63− ++ stdenv.lib.optionals stdenv.cc.isClang [ "-Wno-c++11-narrowing" ]; # since clang 6
64−
65− NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
66−
67− prePatch = ''
68− sed -i -e "s|/usr/bin/libtool|libtool|" cmake/libutils.cmake
69− '';
70− postInstall = ''
71− sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
72− rm -r $out/data "$out"/lib/*.a
73− '';
74−
75− passthru = {
76− client = self;
77− connector-c = self;
78− server = self;
79− mysqlVersion = "5.5";
80− };
81−
82− meta = with stdenv.lib; {
83− homepage = https://www.mysql.com/;
84− description = "The world's most popular open source database";
85− platforms = platforms.unix;
86− # See https://downloads.mysql.com/docs/licenses/mysqld-5.5-gpl-en.pdf
87− license = with licenses; [
88− artistic1 bsd0 bsd2 bsd3 bsdOriginal
89− gpl2 lgpl2 lgpl21 mit publicDomain licenses.zlib
90− ];
91− broken = stdenv.isAarch64;
92− };
93−}; in self
pkgs/servers/sql/postgresql/ext/cstore_fdw.nix+2−2
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 mkdir -p $out/{lib,share/extension}
1919
2020 cp *.so $out/lib
21− cp *.sql $out/share/extension
22− cp *.control $out/share/extension
21+ cp *.sql $out/share/postgresql/extension
22+ cp *.control $out/share/postgresql/extension
2323 '';
2424
2525 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix+2−2
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
1919 installPhase = ''
2020 install -D -t $out/bin src/bin/pg_autoctl/pg_autoctl
2121 install -D -t $out/lib src/monitor/pgautofailover.so
22− install -D -t $out/share/extension src/monitor/*.sql
23− install -D -t $out/share/extension src/monitor/pgautofailover.control
22+ install -D -t $out/share/postgresql/extension src/monitor/*.sql
23+ install -D -t $out/share/postgresql/extension src/monitor/pgautofailover.control
2424 '';
2525
2626 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_bigm.nix+2−2
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 mkdir -p $out/{lib,share/extension}
1919
2020 cp *.so $out/lib
21− cp *.sql $out/share/extension
22− cp *.control $out/share/extension
21+ cp *.sql $out/share/postgresql/extension
22+ cp *.control $out/share/postgresql/extension
2323 '';
2424
2525 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_cron.nix+2−2
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
1818 mkdir -p $out/{lib,share/extension}
1919
2020 cp *.so $out/lib
21− cp *.sql $out/share/extension
22− cp *.control $out/share/extension
21+ cp *.sql $out/share/postgresql/extension
22+ cp *.control $out/share/postgresql/extension
2323 '';
2424
2525 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_hll.nix+2−2
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 mkdir -p $out/{lib,share/extension}
1818
1919 cp *.so $out/lib
20− cp *.sql $out/share/extension
21− cp *.control $out/share/extension
20+ cp *.sql $out/share/postgresql/extension
21+ cp *.control $out/share/postgresql/extension
2222 '';
2323
2424 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_partman.nix+3−3
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
1818 mkdir -p $out/{lib,share/extension}
1919
2020 cp src/*.so $out/lib
21− cp updates/* $out/share/extension
22− cp -r sql/* $out/share/extension
23− cp *.control $out/share/extension
21+ cp updates/* $out/share/postgresql/extension
22+ cp -r sql/* $out/share/postgresql/extension
23+ cp *.control $out/share/postgresql/extension
2424 '';
2525
2626 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_repack.nix+1−1
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
1616 installPhase = ''
1717 install -D bin/pg_repack -t $out/bin/
1818 install -D lib/pg_repack.so -t $out/lib/
19− install -D lib/{pg_repack--${version}.sql,pg_repack.control} -t $out/share/extension
19+ install -D lib/{pg_repack--${version}.sql,pg_repack.control} -t $out/share/postgresql/extension
2020 '';
2121
2222 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pg_similarity.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515 installPhase = ''
1616 mkdir -p $out/bin # for buildEnv to setup proper symlinks
1717 install -D pg_similarity.so -t $out/lib/
18− install -D ./{pg_similarity--unpackaged--1.0.sql,pg_similarity--1.0.sql,pg_similarity.control} -t $out/share/extension
18+ install -D ./{pg_similarity--unpackaged--1.0.sql,pg_similarity--1.0.sql,pg_similarity.control} -t $out/share/postgresql/extension
1919 '';
2020
2121 meta = {
pkgs/servers/sql/postgresql/ext/pg_topn.nix+2−2
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 mkdir -p $out/{lib,share/extension}
1818
1919 cp *.so $out/lib
20− cp *.sql $out/share/extension
21− cp *.control $out/share/extension
20+ cp *.sql $out/share/postgresql/extension
21+ cp *.control $out/share/postgresql/extension
2222 '';
2323
2424 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pgjwt.nix+2−2
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
1414 buildPhase = ":";
1515 installPhase = ''
1616 mkdir -p $out/bin # current postgresql extension mechanism in nixos requires bin directory
17− mkdir -p $out/share/extension
18− cp pg*sql *.control $out/share/extension
17+ mkdir -p $out/share/postgresql/extension
18+ cp pg*sql *.control $out/share/postgresql/extension
1919 '';
2020
2121 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pgroonga.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 installPhase = ''
1818 mkdir -p $out/bin
1919 install -D pgroonga.so -t $out/lib/
20− install -D ./{pgroonga-*.sql,pgroonga.control} -t $out/share/extension
20+ install -D ./{pgroonga-*.sql,pgroonga.control} -t $out/share/postgresql/extension
2121 '';
2222
2323 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pgrouting.nix+2−2
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 installPhase = ''
1818 mkdir -p $out/bin # for buildEnv, see https://github.com/NixOS/nixpkgs/issues/22653
1919 install -D lib/*.so -t $out/lib
20− install -D sql/pgrouting--${version}.sql -t $out/share/extension
21− install -D sql/common/pgrouting.control -t $out/share/extension
20+ install -D sql/pgrouting--${version}.sql -t $out/share/postgresql/extension
21+ install -D sql/common/pgrouting.control -t $out/share/postgresql/extension
2222 '';
2323
2424 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pgtap.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ postgresql perl perlPackages.TAPParserSourceHandlerpgTAP which ];
1515
1616 installPhase = ''
17− install -D {sql/pgtap--${version}.sql,pgtap.control} -t $out/share/extension
17+ install -D {sql/pgtap--${version}.sql,pgtap.control} -t $out/share/postgresql/extension
1818 '';
1919
2020 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/pipelinedb.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 installPhase = ''
2727 mkdir -p $out/bin
2828 install -D -t $out/lib/ pipelinedb.so
29− install -D -t $out/share/extension {pipelinedb-*.sql,pipelinedb.control}
29+ install -D -t $out/share/postgresql/extension {pipelinedb-*.sql,pipelinedb.control}
3030 '';
3131
3232 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/plv8.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 installPhase = ''
2626 mkdir -p $out/bin
2727 install -D plv8*.so -t $out/lib
28− install -D {plls,plcoffee,plv8}{--${version}.sql,.control} -t $out/share/extension
28+ install -D {plls,plcoffee,plv8}{--${version}.sql,.control} -t $out/share/postgresql/extension
2929 '';
3030
3131 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/postgis.nix+2−2
@@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
3131
3232 preConfigure = ''
3333 sed -i 's@/usr/bin/file@${file}/bin/file@' configure
34− configureFlags="--datadir=$out/share --datarootdir=$out/share --bindir=$out/bin --with-gdalconfig=${gdal}/bin/gdal-config --with-jsondir=${json_c.dev}"
34+ configureFlags="--datadir=$out/share/postgresql --datarootdir=$out/share/postgresql --bindir=$out/bin --with-gdalconfig=${gdal}/bin/gdal-config --with-jsondir=${json_c.dev}"
3535
36− makeFlags="PERL=${perl}/bin/perl datadir=$out/share pkglibdir=$out/lib bindir=$out/bin"
36+ makeFlags="PERL=${perl}/bin/perl datadir=$out/share/postgresql pkglibdir=$out/lib bindir=$out/bin"
3737 '';
3838 postConfigure = ''
3939 sed -i "s|@mkdir -p \$(DESTDIR)\$(PGSQL_BINDIR)||g ;
pkgs/servers/sql/postgresql/ext/tds_fdw.nix+2−2
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
1515
1616 installPhase = ''
1717 install -D tds_fdw.so -t $out/lib
18− install -D sql/tds_fdw--${version}.sql -t $out/share/extension
19− install -D tds_fdw.control -t $out/share/extension
18+ install -D sql/tds_fdw--${version}.sql -t $out/share/postgresql/extension
19+ install -D tds_fdw.control -t $out/share/postgresql/extension
2020 '';
2121
2222 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/temporal_tables.nix+2−2
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 mkdir -p $out/{bin,lib,share/extension}
1818
1919 cp *.so $out/lib
20− cp *.sql $out/share/extension
21− cp *.control $out/share/extension
20+ cp *.sql $out/share/postgresql/extension
21+ cp *.control $out/share/postgresql/extension
2222 '';
2323
2424 meta = with stdenv.lib; {
pkgs/servers/sql/postgresql/ext/timescaledb.nix+3−3
@@ -8,7 +8,7 @@
88
99stdenv.mkDerivation rec {
1010 name = "timescaledb-${version}";
11− version = "1.3.1";
11+ version = "1.3.2";
1212
1313 nativeBuildInputs = [ cmake ];
1414 buildInputs = [ postgresql openssl ];
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 owner = "timescale";
1818 repo = "timescaledb";
1919 rev = "refs/tags/${version}";
20− sha256 = "1q3c4qsy4vb00a4p15km4w5d5xcppigf7rp4mqr3wln7i4d4lvnx";
20+ sha256 = "117az52h8isi15p47r5d6k5y80ng9vj3x8ljq39iavgr364q716c";
2121 };
2222
2323 cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" ];
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 patchPhase = ''
2828 for x in CMakeLists.txt sql/CMakeLists.txt; do
2929 substituteInPlace "$x" \
30− --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/extension\""
30+ --replace 'DESTINATION "''${PG_SHAREDIR}/extension"' "DESTINATION \"$out/share/postgresql/extension\""
3131 done
3232
3333 for x in src/CMakeLists.txt src/loader/CMakeLists.txt tsl/src/CMakeLists.txt; do
pkgs/servers/sql/postgresql/ext/tsearch_extras.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 installPhase = ''
1818 mkdir -p $out/bin
1919 install -D tsearch_extras.so -t $out/lib/
20− install -D ./{tsearch_extras--1.0.sql,tsearch_extras.control} -t $out/share/extension
20+ install -D ./{tsearch_extras--1.0.sql,tsearch_extras.control} -t $out/share/postgresql/extension
2121 '';
2222
2323 meta = with stdenv.lib; {
pkgs/servers/tautulli/default.nix+2−2
@@ -1,7 +1,7 @@
11{stdenv, fetchFromGitHub, python }:
22
33stdenv.mkDerivation rec {
4− version = "2.1.29";
4+ version = "2.1.32";
55 pname = "Tautulli";
66 name = "${pname}-${version}";
77
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 owner = "Tautulli";
1414 repo = pname;
1515 rev = "v${version}";
16− sha256 = "1n5kpfcm59qg27xhlan3w2x71dp1h3gycdlp0iyxaqzaaw5splry";
16+ sha256 = "05z6l3qs2m72c1hcl3qd1lm17hsmyqk48f8dcsvrxa5hibmf84j4";
1717 };
1818
1919 buildPhase = ":";
pkgs/shells/zsh/oh-my-zsh/default.nix+3−3
@@ -4,13 +4,13 @@
44{ stdenv, fetchgit }:
55
66stdenv.mkDerivation rec {
7− version = "2019-06-15";
7+ version = "2019-07-01";
88 name = "oh-my-zsh-${version}";
9− rev = "c105c04b6b1ddb917c12eadacb26c252f44ddfad";
9+ rev = "b259cdf7e71ad6c3cc1a66a48c6c79cf63f38590";
1010
1111 src = fetchgit { inherit rev;
1212 url = "https://github.com/robbyrussell/oh-my-zsh";
13− sha256 = "0b3mdiygqvxgikaa95ixhnr6rib3wllls54hv7h50g4f86jhj62b";
13+ sha256 = "1vk9misnvjs1lxlwzy4ld30vh67nhghzra1y5ckgxa019l9cvann";
1414 };
1515
1616 pathsToLink = [ "/share/oh-my-zsh" ];
pkgs/shells/zsh/zsh-autosuggestions/default.nix+2−2
@@ -4,13 +4,13 @@
44
55stdenv.mkDerivation rec {
66 name = "zsh-autosuggestions-${version}";
7− version = "0.5.2";
7+ version = "0.6.3";
88
99 src = fetchFromGitHub {
1010 owner = "zsh-users";
1111 repo = "zsh-autosuggestions";
1212 rev = "v${version}";
13− sha256 = "1xhrdv6cgmq9qslb476rcs8ifw8i2vf43yvmmscjcmpz0jac4sbx";
13+ sha256 = "1h8h2mz9wpjpymgl2p7pc146c1jgb3dggpvzwm9ln3in336wl95c";
1414 };
1515
1616 buildInputs = [ zsh ];
pkgs/tools/admin/dehydrated/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, coreutils, curl, diffutils, gawk, gnugrep, gnused, openssl, makeWrapper, fetchFromGitHub }:
22let
33 pkgName = "dehydrated";
4− version = "0.6.2";
4+ version = "0.6.5";
55in
66stdenv.mkDerivation rec {
77 name = pkgName + "-" + version;
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 owner = "lukas2511";
1111 repo = "dehydrated";
1212 rev = "v${version}";
13− sha256 = "19d4kam0dl6l9wfd0v54w4d085jdgi1ljksnqpjj67d6sm23f2l4";
13+ sha256 = "14k7ykry16zp09i0bqb5pqaclvnjcb6p3x8knm9v5q0bdvlplkjv";
1414 };
1515
1616 buildInputs = [ makeWrapper ];
pkgs/tools/filesystems/avfs/default.nix+2−2
@@ -2,10 +2,10 @@
22
33stdenv.mkDerivation rec {
44 name = "avfs-${version}";
5− version = "1.0.6";
5+ version = "1.1.0";
66 src = fetchurl {
77 url = "mirror://sourceforge/avf/${version}/${name}.tar.bz2";
8− sha256 = "1hz39f7p5vw647xqk161v3nh88qnd599av6nfidpmkh1d9vkl6jc";
8+ sha256 = "19rk2c0xd3mi66kr88ykrcn81fv09c09md0gf6mnm9z1bd7p7wx7";
99 };
1010
1111 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/filesystems/f3/default.nix+2−2
@@ -5,7 +5,7 @@
55stdenv.mkDerivation rec {
66 name = "${pname}-${version}";
77 pname = "f3";
8− version = "7.1";
8+ version = "7.2";
99
1010 enableParallelBuilding = true;
1111
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 owner = "AltraMayor";
1414 repo = pname;
1515 rev = "v${version}";
16− sha256 = "0zglsmz683jg7f9wc6vmgljyg9w87pbnjw5x4w6x02w8233zvjqf";
16+ sha256 = "1iwdg0r4wkgc8rynmw1qcqz62l0ldgc8lrazq33msxnk5a818jgy";
1717 };
1818
1919 buildInputs = [ parted udev ];
pkgs/tools/misc/catimg/default.nix+2−2
@@ -4,13 +4,13 @@ with stdenv.lib;
44
55stdenv.mkDerivation rec {
66 pname = "catimg";
7− version = "2.5.0";
7+ version = "2.6.0";
88
99 src = fetchFromGitHub {
1010 owner = "posva";
1111 repo = pname;
1212 rev = version;
13− sha256 = "0n74iczzgxrcq3zpa7ndycb9rinm829yvf81c747q4ngv5q6pzcm";
13+ sha256 = "0g9ywbgy162wiam9hc3yqpq5q4gyxa8fj4jskr3fdz8z8jjaabzz";
1414 };
1515
1616 nativeBuildInputs = [ cmake ];
pkgs/tools/misc/mc/default.nix+2−2
@@ -3,11 +3,11 @@
33
44stdenv.mkDerivation rec {
55 name = "mc-${version}";
6− version = "4.8.22";
6+ version = "4.8.23";
77
88 src = fetchurl {
99 url = "http://www.midnight-commander.org/downloads/${name}.tar.xz";
10− sha256 = "060kh3dmk8fmmsibn1l815qjazzfxzbhgqggrhncz604pbbnhy7f";
10+ sha256 = "077z7phzq3m1sxyz7li77lyzv4rjmmh3wp2vy86pnc4387kpqzyx";
1111 };
1212
1313 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/misc/plantuml/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, makeWrapper, jre, graphviz }:
22
33stdenv.mkDerivation rec {
4− version = "1.2019.6";
4+ version = "1.2019.7";
55 name = "plantuml-${version}";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar";
9− sha256 = "0sxpk7n96a3vwf0dlf62zs0rgm01gf36k62rbr8cyjf62qgf61lb";
9+ sha256 = "1md8dyjlvwfg4hbvigcvzipj1gf8hb39rqqh825aa2swchs8nvhm";
1010 };
1111
1212 nativeBuildInputs = [ makeWrapper ];
pkgs/tools/misc/psrecord/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ lib, buildPythonApplication, fetchPypi, psutil, matplotlib, pytest }:
2+buildPythonApplication rec {
3+ pname = "psrecord";
4+ version = "1.1";
5+
6+ src = fetchPypi {
7+ inherit pname version;
8+ sha256 = "151rynca97v5wq1drl2yfrqmqil1km72cizn3159c2ip14626mp6";
9+ };
10+
11+ propagatedBuildInputs = [
12+ psutil matplotlib
13+ ];
14+
15+ checkInputs = [
16+ pytest
17+ ];
18+
19+ checkPhase = ''
20+ runHook preCheck
21+ pytest psrecord
22+ runHook postCheck
23+ '';
24+
25+ meta = {
26+ description = "Record the CPU and memory activity of a process";
27+ homepage = "https://github.com/astrofrog/psrecord";
28+ license = lib.licenses.bsd2;
29+ maintainers = with lib.maintainers; [ johnazoidberg ];
30+ };
31+}
pkgs/tools/misc/stow/default.nix+14−5
@@ -1,17 +1,26 @@
1−{ stdenv, fetchurl, perl, perlPackages }:
1+{ stdenv, fetchurl, perl, perlPackages, makeWrapper }:
22
33let
4− version = "2.2.2";
4+ pname = "stow";
5+ version = "2.3.0";
56in
67stdenv.mkDerivation {
7− name = "stow-${version}";
8+ name = "${pname}-${version}";
89
910 src = fetchurl {
1011 url = "mirror://gnu/stow/stow-${version}.tar.bz2";
11− sha256 = "1zd6g9cm3whvy5f87j81j4npl7q6kxl25f7z7p9ahiqfjqs200m0";
12+ sha256 = "1fnn83wwx3yaxpqkq8xyya3aiibz19fwrfj30nsiikm7igmwgiv5";
1213 };
1314
14− buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
15+ nativeBuildInputs = [ makeWrapper ];
16+ buildInputs = with perlPackages; [ perl IOStringy TestOutput HashMerge Clone CloneChoose ];
17+
18+ postFixup = ''
19+ wrapProgram "$out"/bin/stow \
20+ --set PERL5LIB "$out/lib/perl5/site_perl:${with perlPackages; makePerlPath [
21+ HashMerge Clone CloneChoose
22+ ]}"
23+ '';
1524
1625 doCheck = true;
1726
pkgs/tools/misc/youtube-dl/default.nix+2−2
@@ -18,11 +18,11 @@ buildPythonPackage rec {
1818 # The websites youtube-dl deals with are a very moving target. That means that
1919 # downloads break constantly. Because of that, updates should always be backported
2020 # to the latest stable release.
21− version = "2019.06.21";
21+ version = "2019.06.27";
2222
2323 src = fetchurl {
2424 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
25− sha256 = "03a729198zzhixbn7xixi9bprmk3qqh5dsyh3dqhji6lmlijx1w5";
25+ sha256 = "1kxqiyhhgv0n85jc02kai5i6wdjs1696k88q1phq7ik2y6ky3c7y";
2626 };
2727
2828 nativeBuildInputs = [ makeWrapper ];
pkgs/tools/misc/yubikey-manager-qt/default.nix+2−2
@@ -27,11 +27,11 @@ let
2727
2828in stdenv.mkDerivation rec {
2929 pname = "yubikey-manager-qt";
30− version = "1.1.1";
30+ version = "1.1.2";
3131
3232 src = fetchurl {
3333 url = "https://developers.yubico.com/${pname}/Releases/${pname}-${version}.tar.gz";
34− sha256 = "0hcfl0mh4gqy9c8ghmi58asqr8v009n6li0mgcy3r8fyjr7qryvy";
34+ sha256 = "01ax8zjrahs2sjbgsys2ahh57sdcap0ij3y1r1bbvsgzr7xxm2q8";
3535 };
3636
3737 nativeBuildInputs = [ makeWrapper python3.pkgs.wrapPython qmake ];
pkgs/tools/networking/dhcpcd/default.nix+2−2
@@ -3,11 +3,11 @@
33stdenv.mkDerivation rec {
44 # when updating this to >=7, check, see previous reverts:
55 # nix-build -A nixos.tests.networking.scripted.macvlan.x86_64-linux nixos/release-combined.nix
6− name = "dhcpcd-7.2.2";
6+ name = "dhcpcd-7.2.3";
77
88 src = fetchurl {
99 url = "mirror://roy/dhcpcd/${name}.tar.xz";
10− sha256 = "17m0ig9n4p6m98j8wp4dwnl2cfg2rg3v6vqpsahls9x9rccgzdrx";
10+ sha256 = "0vjnd27y6jm5q2v7fkyxmsn77dcpvpzyzb5bq9lfkas8flbkiavl";
1111 };
1212
1313 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/networking/lldpd/default.nix+2−2
@@ -4,11 +4,11 @@
44
55stdenv.mkDerivation rec {
66 name = "lldpd-${version}";
7− version = "1.0.3";
7+ version = "1.0.4";
88
99 src = fetchurl {
1010 url = "https://media.luffy.cx/files/lldpd/${name}.tar.gz";
11− sha256 = "0q63wiaan85a6d204jgk87w6dw5c9x0rb2z7pwb580b8a4wyvz1r";
11+ sha256 = "0kvj49y6slnldi9dha81nzxvpwd7d8kq1qlibn6h1wdb5w1vq6ak";
1212 };
1313
1414 configureFlags = [
pkgs/tools/networking/shadowsocks-libev/default.nix+4
@@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
2222
2323 cmakeFlags = [ "-DWITH_STATIC=OFF" "-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON" ];
2424
25+ postInstall = ''
26+ cp lib/* $out/lib
27+ '';
28+
2529 meta = with stdenv.lib; {
2630 description = "A lightweight secured SOCKS5 proxy";
2731 longDescription = ''
pkgs/tools/package-management/cargo-outdated/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, darwin }:
1+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, libiconv, curl, darwin }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "cargo-outdated";
@@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec {
1717 buildInputs = [ openssl ]
1818 ++ stdenv.lib.optionals stdenv.isDarwin [
1919 darwin.apple_sdk.frameworks.Security
20+ libiconv
21+ curl
2022 ];
2123
2224 meta = with stdenv.lib; {
pkgs/tools/package-management/conda/default.nix+1−1
@@ -48,7 +48,7 @@ let
4848 '';
4949in
5050 buildFHSUserEnv {
51− name = "conda-shell-${version}";
51+ name = "conda-shell";
5252 targetPkgs = pkgs: (builtins.concatLists [ [ conda ] condaDeps extraPkgs]);
5353 profile = ''
5454 # Add conda to PATH
pkgs/tools/package-management/nix/default.nix+3−3
@@ -181,12 +181,12 @@ in rec {
181181
182182 nixUnstable = lib.lowPrio (callPackage common rec {
183183 name = "nix-2.3${suffix}";
184− suffix = "pre6631_e58a7144";
184+ suffix = "pre6779_324a5dc9";
185185 src = fetchFromGitHub {
186186 owner = "NixOS";
187187 repo = "nix";
188− rev = "e58a71442ad4a538b48fc7a9938c3690628c4741";
189− sha256 = "1hbjhnvjbh8bi8cjjgyrj4z1gw03ws12m2wi5azzj3rmhnh4c802";
188+ rev = "324a5dc92f8e50e6b637c5e67dea48c80be10837";
189+ sha256 = "1g8gbam585q4kx8ilbx23ip64jw0r829i374qy0l8kvr8mhvj55r";
190190 };
191191 fromGit = true;
192192
pkgs/tools/security/gnupg/22.nix+10−3
@@ -1,5 +1,5 @@
1−{ fetchurl, stdenv, pkgconfig, libgcrypt, libassuan, libksba, libgpgerror
2−, libiconv, npth, gettext, texinfo, pcsclite, sqlite
1+{ fetchurl, fetchpatch, stdenv, pkgconfig, libgcrypt, libassuan, libksba
2+, libgpgerror, libiconv, npth, gettext, texinfo, pcsclite, sqlite
33, buildPackages
44
55# Each of the dependencies below are optional.
@@ -32,8 +32,15 @@ stdenv.mkDerivation rec {
3232
3333 patches = [
3434 ./fix-libusb-include-path.patch
35+ (fetchpatch {
36+ url = https://files.gnupg.net/file/data/qmxjhc6kuja3orybj7st/PHID-FILE-vvzlnw36427pdnug2amc/file;
37+ sha256 = "13snxkmlgmvn0rgxh5k2sgxkp5mbxqiznzm45sw649nvs3ccghq8";
38+ })
3539 ];
36− postPatch = stdenv.lib.optionalString stdenv.isLinux ''
40+ postPatch = ''
41+ sed -i 's,hkps://hkps.pool.sks-keyservers.net,hkps://keys.openpgp.org,g' \
42+ configure doc/dirmngr.texi doc/gnupg.info-1
43+ '' + stdenv.lib.optionalString stdenv.isLinux ''
3744 sed -i 's,"libpcsclite\.so[^"]*","${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c
3845 ''; #" fix Emacs syntax highlighting :-(
3946
pkgs/tools/security/lynis/default.nix+2−2
@@ -2,14 +2,14 @@
22
33stdenv.mkDerivation rec {
44 pname = "lynis";
5− version = "2.7.4";
5+ version = "2.7.5";
66 name = "${pname}-${version}";
77
88 src = fetchFromGitHub {
99 owner = "CISOfy";
1010 repo = "${pname}";
1111 rev = "${version}";
12− sha256 = "1jjk5hcxmp4f4ppsljiq95l2ln6b03azydap3b35lsvxkjybv88k";
12+ sha256 = "1lkkbvxm0rgrrlx0szaxmf8ghc3d26wal96sgqk84m37mvs1f7p0";
1313 };
1414
1515 nativeBuildInputs = [ makeWrapper ];
pkgs/tools/security/tpm2-tools/default.nix+2−2
@@ -3,11 +3,11 @@
33
44stdenv.mkDerivation rec {
55 pname = "tpm2-tools";
6− version = "3.1.4";
6+ version = "3.2.0";
77
88 src = fetchurl {
99 url = "https://github.com/tpm2-software/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
10− sha256 = "0cv09wnf7sw17z1n898w0zmk58y8b1why58m63hqx5d7x4054l9g";
10+ sha256 = "057gg84zly6gjp6ypj6bv6zzmnr77cqsygl8x0147cylwa1ywydd";
1111 };
1212
1313 nativeBuildInputs = [ pandoc pkgconfig ];
pkgs/tools/system/bfs/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "bfs-${version}";
5− version = "1.4.1";
5+ version = "1.5";
66
77 src = fetchFromGitHub {
88 repo = "bfs";
99 owner = "tavianator";
1010 rev = version;
11− sha256 = "1y5w8gws4j1i334ap4rsl64scr0hlyrdkdl7ffaghs8fqa6mjmsb";
11+ sha256 = "0lyrxbmfr4ckz4hx5dgz8xbq479l5rlyrqf205v6c82cap4zyv4x";
1212 };
1313
1414 buildInputs = stdenv.lib.optionals stdenv.isLinux [ libcap acl ];
pkgs/tools/system/netdata/default.nix+3−3
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, autoreconfHook, pkgconfig, zlib, libuuid, libossp_uuid, CoreFoundation, IOKit, lm_sensors }:
22
33stdenv.mkDerivation rec{
4− version = "1.11.1";
4+ version = "1.15.0";
55 name = "netdata-${version}";
66
77 src = fetchurl {
88 url = "https://github.com/netdata/netdata/releases/download/v${version}/netdata-v${version}.tar.gz";
9− sha256 = "0djph4586cc14vavj6za6k255lscf3b415dx8k45q3nsc2hb4l01";
9+ sha256 = "04frfy08k6m70y3s8j3gvnfnqqd9d5mwj3j6krk9dsh34332abvx";
1010 };
1111
1212 nativeBuildInputs = [ autoreconfHook pkgconfig ];
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec{
2020 postInstall = stdenv.lib.optionalString (!stdenv.isDarwin) ''
2121 # rename this plugin so netdata will look for setuid wrapper
2222 mv $out/libexec/netdata/plugins.d/apps.plugin \
23− $out/libexec/netdata/plugins.d/apps.plugin.org
23+ $out/libexec/netdata/plugins.d/apps.plugin.org
2424 '';
2525
2626 preConfigure = ''
pkgs/tools/system/netdata/no-files-in-etc-and-var.patch+44−37
@@ -1,14 +1,15 @@
1−diff -ruN orig/Makefile.am new/Makefile.am
2−--- orig/Makefile.am 2018-11-02 08:56:21.000000000 -0500
3−+++ new/Makefile.am 2018-11-16 10:30:22.000000000 -0500
4−@@ -99,10 +99,10 @@
1+diff --git a/Makefile.am b/Makefile.am
2+index f2087bb..7a70cfb 100644
3+--- a/Makefile.am
4++++ b/Makefile.am
5+@@ -116,10 +116,10 @@ AM_CFLAGS = \
56 $(NULL)
67
78 sbin_PROGRAMS =
8−-dist_cache_DATA = installer/.keep
9−-dist_varlib_DATA = installer/.keep
10−-dist_registry_DATA = installer/.keep
11−-dist_log_DATA = installer/.keep
9+-dist_cache_DATA = packaging/installer/.keep
10+-dist_varlib_DATA = packaging/installer/.keep
11+-dist_registry_DATA = packaging/installer/.keep
12+-dist_log_DATA = packaging/installer/.keep
1213+dist_cache_DATA =
1314+dist_varlib_DATA =
1415+dist_registry_DATA =
@@ -16,64 +17,70 @@ diff -ruN orig/Makefile.am new/Makefile.am
1617 plugins_PROGRAMS =
1718
1819 LIBNETDATA_FILES = \
19−diff -ruN orig/collectors/charts.d.plugin/Makefile.am new/collectors/charts.d.plugin/Makefile.am
20−--- orig/collectors/charts.d.plugin/Makefile.am 2018-11-02 08:56:21.000000000 -0500
21−+++ new/collectors/charts.d.plugin/Makefile.am 2018-11-16 11:16:47.000000000 -0500
22−@@ -32,7 +32,6 @@
20+diff --git a/collectors/charts.d.plugin/Makefile.am b/collectors/charts.d.plugin/Makefile.am
21+index 2989b4b..64de7d6 100644
22+--- a/collectors/charts.d.plugin/Makefile.am
23++++ b/collectors/charts.d.plugin/Makefile.am
24+@@ -32,7 +32,6 @@ dist_charts_DATA = \
2325
2426 userchartsconfigdir=$(configdir)/charts.d
2527 dist_userchartsconfig_DATA = \
26−- $(top_srcdir)/installer/.keep \
28+- .keep \
2729 $(NULL)
2830
2931 chartsconfigdir=$(libconfigdir)/charts.d
30−diff -ruN orig/collectors/node.d.plugin/Makefile.am new/collectors/node.d.plugin/Makefile.am
31−--- orig/collectors/node.d.plugin/Makefile.am 2018-11-02 08:56:21.000000000 -0500
32−+++ new/collectors/node.d.plugin/Makefile.am 2018-11-16 11:16:42.000000000 -0500
33−@@ -23,7 +23,6 @@
32+diff --git a/collectors/node.d.plugin/Makefile.am b/collectors/node.d.plugin/Makefile.am
33+index 3b5a0a5..b7abe01 100644
34+--- a/collectors/node.d.plugin/Makefile.am
35++++ b/collectors/node.d.plugin/Makefile.am
36+@@ -23,7 +23,6 @@ dist_noinst_DATA = \
3437
3538 usernodeconfigdir=$(configdir)/node.d
3639 dist_usernodeconfig_DATA = \
37−- $(top_srcdir)/installer/.keep \
40+- .keep \
3841 $(NULL)
3942
4043 nodeconfigdir=$(libconfigdir)/node.d
41−diff -ruN orig/collectors/python.d.plugin/Makefile.am new/collectors/python.d.plugin/Makefile.am
42−--- orig/collectors/python.d.plugin/Makefile.am 2018-11-02 08:56:21.000000000 -0500
43−+++ new/collectors/python.d.plugin/Makefile.am 2018-11-16 10:56:06.000000000 -0500
44−@@ -29,7 +29,6 @@
44+diff --git a/collectors/python.d.plugin/Makefile.am b/collectors/python.d.plugin/Makefile.am
45+index 652a35d..cf4b2cc 100644
46+--- a/collectors/python.d.plugin/Makefile.am
47++++ b/collectors/python.d.plugin/Makefile.am
48+@@ -29,7 +29,6 @@ dist_python_DATA = \
4549
4650 userpythonconfigdir=$(configdir)/python.d
4751 dist_userpythonconfig_DATA = \
48−- $(top_srcdir)/installer/.keep \
52+- .keep \
4953 $(NULL)
5054
5155 pythonconfigdir=$(libconfigdir)/python.d
52−diff -ruN orig/collectors/statsd.plugin/Makefile.am new/collectors/statsd.plugin/Makefile.am
53−--- orig/collectors/statsd.plugin/Makefile.am 2018-11-02 08:56:21.000000000 -0500
54−+++ new/collectors/statsd.plugin/Makefile.am 2018-11-16 10:53:04.000000000 -0500
55−@@ -15,6 +15,5 @@
56+diff --git a/collectors/statsd.plugin/Makefile.am b/collectors/statsd.plugin/Makefile.am
57+index e63bf98..0f59782 100644
58+--- a/collectors/statsd.plugin/Makefile.am
59++++ b/collectors/statsd.plugin/Makefile.am
60+@@ -14,6 +14,5 @@ dist_statsdconfig_DATA = \
5661
5762 userstatsdconfigdir=$(configdir)/statsd.d
5863 dist_userstatsdconfig_DATA = \
59−- $(top_srcdir)/installer/.keep \
64+- .keep \
6065 $(NULL)
6166
62−diff -ruN orig/health/Makefile.am new/health/Makefile.am
63−--- orig/health/Makefile.am 2018-11-02 08:56:21.000000000 -0500
64−+++ new/health/Makefile.am 2018-11-16 10:56:30.000000000 -0500
65−@@ -16,7 +16,6 @@
67+diff --git a/health/Makefile.am b/health/Makefile.am
68+index 62a4c6d..4d651df 100644
69+--- a/health/Makefile.am
70++++ b/health/Makefile.am
71+@@ -16,7 +16,6 @@ dist_noinst_DATA = \
6672
6773 userhealthconfigdir=$(configdir)/health.d
6874 dist_userhealthconfig_DATA = \
69−- $(top_srcdir)/installer/.keep \
75+- .keep \
7076 $(NULL)
7177
7278 healthconfigdir=$(libconfigdir)/health.d
73−diff -ruN orig/system/Makefile.am new/system/Makefile.am
74−--- orig/system/Makefile.am 2018-11-02 08:56:21.000000000 -0500
75−+++ new/system/Makefile.am 2018-11-16 10:29:21.000000000 -0500
76−@@ -17,10 +17,6 @@
79+diff --git a/system/Makefile.am b/system/Makefile.am
80+index b085dca..ccfa588 100644
81+--- a/system/Makefile.am
82++++ b/system/Makefile.am
83+@@ -17,10 +17,6 @@ CLEANFILES = \
7784 include $(top_srcdir)/build/subst.inc
7885 SUFFIXES = .in
7986
pkgs/tools/system/syslog-ng/default.nix+2−2
@@ -11,11 +11,11 @@ in
1111
1212stdenv.mkDerivation rec {
1313 name = "${pname}-${version}";
14− version = "3.21.1";
14+ version = "3.22.1";
1515
1616 src = fetchurl {
1717 url = "https://github.com/balabit/${pname}/releases/download/${name}/${name}.tar.gz";
18− sha256 = "09fdjschp3shy8xp0hh5fh6qv25433zd0biv0igkmkvrmnjks5ld";
18+ sha256 = "1j3l9pn3lf9w87vvwbnxk098gprbqzmfpfw1rch46mgsfqvl8mh6";
1919 };
2020
2121 nativeBuildInputs = [ pkgconfig which ];
pkgs/tools/text/languagetool/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "LanguageTool-${version}";
5− version = "4.4";
5+ version = "4.6";
66
77 src = fetchzip {
88 url = "https://www.languagetool.org/download/${name}.zip";
9− sha256 = "0cdrh59jcwrj5zp2lhbi9wp29pzabp35i8f7lbrs6z1wib6mgmp1";
9+ sha256 = "1z3i6kz1dz7dw2ykyk1yamrv8h5h330sfyl037hhyy9hw6p30rhg";
1010 };
1111 nativeBuildInputs = [ makeWrapper ];
1212 buildInputs = [ jre ];
pkgs/tools/typesetting/asciidoctor/Gemfile+1
@@ -5,3 +5,4 @@ gem 'asciidoctor-pdf'
55gem 'asciidoctor-mathematical'
66gem 'coderay'
77gem 'pygments.rb'
8+gem 'rouge'
pkgs/tools/typesetting/asciidoctor/Gemfile.lock+3−1
@@ -54,9 +54,10 @@ GEM
5454 prawn-templates (0.1.1)
5555 pdf-reader (~> 2.0)
5656 prawn (~> 2.2)
57− public_suffix (3.1.0)
57+ public_suffix (3.1.1)
5858 pygments.rb (1.2.1)
5959 multi_json (>= 1.0.0)
60+ rouge (3.5.1)
6061 ruby-enum (0.7.2)
6162 i18n
6263 ruby-rc4 (0.1.5)
@@ -76,6 +77,7 @@ DEPENDENCIES
7677 asciidoctor-pdf
7778 coderay
7879 pygments.rb
80+ rouge
7981
8082BUNDLED WITH
8183 1.17.2
pkgs/tools/typesetting/asciidoctor/default.nix+8−2
@@ -1,10 +1,10 @@
1−{ stdenv, lib, bundlerApp, ruby
1+{ stdenv, lib, bundlerApp, ruby, bundix, mkShell
22 # Dependencies of the 'mathematical' package
33, cmake, bison, flex, glib, pkgconfig, cairo
44, pango, gdk_pixbuf, libxml2, python3, patchelf
55}:
66
7−bundlerApp {
7+bundlerApp rec {
88 inherit ruby;
99 pname = "asciidoctor";
1010 gemdir = ./.;
@@ -43,6 +43,12 @@ bundlerApp {
4343 };
4444 };
4545
46+ passthru.updateShell = mkShell {
47+ buildInputs = (gemConfig.mathematical {}).buildInputs ++ [
48+ bundix
49+ ];
50+ };
51+
4652 meta = with lib; {
4753 description = "A faster Asciidoc processor written in Ruby";
4854 homepage = https://asciidoctor.org/;
pkgs/tools/typesetting/asciidoctor/gemset.nix+12−2
@@ -237,10 +237,10 @@
237237 platforms = [];
238238 source = {
239239 remotes = ["https://rubygems.org"];
240− sha256 = "1c7c5xxkx91hwj4572hbnyvxmydb90q69wlpr2l0dxrmwx2p365l";
240+ sha256 = "0g9ds2ffzljl6jjmkjffwxc1z6lh5nkqqmhhkxjk71q5ggv0rkpm";
241241 type = "gem";
242242 };
243− version = "3.1.0";
243+ version = "3.1.1";
244244 };
245245 "pygments.rb" = {
246246 dependencies = ["multi_json"];
@@ -253,6 +253,16 @@
253253 };
254254 version = "1.2.1";
255255 };
256+ rouge = {
257+ groups = ["default"];
258+ platforms = [];
259+ source = {
260+ remotes = ["https://rubygems.org"];
261+ sha256 = "0yfhazlhjc4abgzhkgq8zqmdphvkh52211widkl4zhsbhqh8wg2q";
262+ type = "gem";
263+ };
264+ version = "3.5.1";
265+ };
256266 ruby-enum = {
257267 dependencies = ["i18n"];
258268 groups = ["default"];
pkgs/tools/typesetting/asciidoctor/update.shnew file+6
@@ -0,0 +1,6 @@
1+#!/usr/bin/env bash
2+rm gemset.nix Gemfile.lock
3+nix-shell ../../../.. -A asciidoctor.updateShell --run '
4+ bundix -m --bundle-pack-path $TMPDIR/asciidoctor-ruby-bundle
5+'
6+rm -r .bundle
pkgs/top-level/aliases.nix+1
@@ -280,6 +280,7 @@ mapAliases ({
280280 qt_gstreamer1 = qt-gstreamer1; # added 2017-02
281281 quake3game = ioquake3; # added 2016-01-14
282282 qwt6 = libsForQt5.qwt; # added 2015-12-19
283+ qtpfsgui = throw "Is now luminanceHDR"; # added 2019-06-26
283284 rdiff_backup = rdiff-backup; # added 2014-11-23
284285 rdmd = dtools; # added 2017-08-19
285286 rhc = throw "deprecated in 2019-04-09: abandoned by upstream.";
pkgs/top-level/all-packages.nix+47−20
@@ -163,6 +163,8 @@ in
163163
164164 proto-contrib = callPackage ../development/tools/proto-contrib {};
165165
166+ protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {};
167+
166168 demoit = callPackage ../servers/demoit { };
167169
168170 diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
@@ -244,6 +246,8 @@ in
244246
245247 packer = callPackage ../development/tools/packer { };
246248
249+ packr = callPackage ../development/libraries/packr { };
250+
247251 pet = callPackage ../development/tools/pet { };
248252
249253 mod = callPackage ../development/tools/mod { };
@@ -1669,6 +1673,8 @@ in
16691673
16701674 link-grammar = callPackage ../tools/text/link-grammar { };
16711675
1676+ linuxptp = callPackage ../os-specific/linux/linuxptp { };
1677+
16721678 loadwatch = callPackage ../tools/system/loadwatch { };
16731679
16741680 loccount = callPackage ../development/tools/misc/loccount { };
@@ -1784,6 +1790,8 @@ in
17841790 inherit (darwin.apple_sdk.frameworks) Security;
17851791 };
17861792
1793+ psrecord = python3Packages.callPackage ../tools/misc/psrecord {};
1794+
17871795 scour = with python3Packages; toPythonApplication scour;
17881796
17891797 s2png = callPackage ../tools/graphics/s2png { };
@@ -2661,6 +2669,8 @@ in
26612669
26622670 tridactyl-native = callPackage ../tools/networking/tridactyl-native { };
26632671
2672+ trompeloeil = callPackage ../development/libraries/trompeloeil { };
2673+
26642674 uudeview = callPackage ../tools/misc/uudeview { };
26652675
26662676 uutils-coreutils = callPackage ../tools/misc/uutils-coreutils {
@@ -3947,7 +3957,10 @@ in
39473957
39483958 kalibrate-hackrf = callPackage ../applications/radio/kalibrate-hackrf { };
39493959
3950− kakoune = callPackage ../applications/editors/kakoune { };
3960+ wrapKakoune = callPackage ../applications/editors/kakoune/wrapper.nix { };
3961+ kakounePlugins = callPackage ../applications/editors/kakoune/plugins.nix { };
3962+ kakoune-unwrapped = callPackage ../applications/editors/kakoune { };
3963+ kakoune = wrapKakoune kakoune-unwrapped { };
39513964
39523965 kbdd = callPackage ../applications/window-managers/kbdd { };
39533966
@@ -4237,12 +4250,10 @@ in
42374250 };
42384251 nodejs-12_x = callPackage ../development/web/nodejs/v12.nix {
42394252 openssl = openssl_1_1;
4240− icu = icu63;
42414253 };
42424254 nodejs-slim-12_x = callPackage ../development/web/nodejs/v12.nix {
42434255 enableNpm = false;
42444256 openssl = openssl_1_1;
4245− icu = icu63;
42464257 };
42474258
42484259 # Update this when adding the newest nodejs major version!
@@ -4834,9 +4845,7 @@ in
48344845
48354846 noip = callPackage ../tools/networking/noip { };
48364847
4837− nomad = callPackage ../applications/networking/cluster/nomad {
4838− buildGoPackage = buildGo110Package;
4839− };
4848+ nomad = callPackage ../applications/networking/cluster/nomad { };
48404849
48414850 notable = callPackage ../applications/misc/notable { };
48424851
@@ -6214,6 +6223,8 @@ in
62146223
62156224 timetrap = callPackage ../applications/office/timetrap { };
62166225
6226+ timetable = callPackage ../applications/office/timetable { };
6227+
62176228 tzupdate = callPackage ../applications/misc/tzupdate { };
62186229
62196230 tinc = callPackage ../tools/networking/tinc { };
@@ -7672,6 +7683,14 @@ in
76727683
76737684 bootjdk = callPackage ../development/compilers/openjdk/bootstrap.nix { version = "10"; };
76747685
7686+ openjfx11 =
7687+ if stdenv.isDarwin then
7688+ null
7689+ else
7690+ callPackage ../development/compilers/openjdk/openjfx/11.nix {
7691+ openjdk = openjdk11;
7692+ };
7693+
76757694 openjdk8 =
76767695 if stdenv.isDarwin then
76777696 callPackage ../development/compilers/openjdk/darwin/8.nix { }
@@ -7686,6 +7705,7 @@ in
76867705 callPackage ../development/compilers/openjdk/darwin/11.nix { }
76877706 else
76887707 callPackage ../development/compilers/openjdk/11.nix {
7708+ openjfx = openjfx11;
76897709 inherit (gnome2) GConf gnome_vfs;
76907710 };
76917711
@@ -7997,6 +8017,8 @@ in
79978017
79988018 pony-stable = callPackage ../development/compilers/ponyc/pony-stable.nix { };
79998019
8020+ qbe = callPackage ../development/compilers/qbe { };
8021+
80008022 rgbds = callPackage ../development/compilers/rgbds { };
80018023
80028024 rtags = callPackage ../development/tools/rtags {
@@ -14550,11 +14572,6 @@ in
1455014572
1455114573 influxdb = callPackage ../servers/nosql/influxdb { };
1455214574
14553− mysql55 = callPackage ../servers/sql/mysql/5.5.x.nix {
14554− inherit (darwin) cctools;
14555− inherit (darwin.apple_sdk.frameworks) CoreServices;
14556− };
14557−
1455814575 mysql57 = callPackage ../servers/sql/mysql/5.7.x.nix {
1455914576 inherit (darwin) cctools developer_cmds;
1456014577 inherit (darwin.apple_sdk.frameworks) CoreServices;
@@ -14741,6 +14758,8 @@ in
1474114758 };
1474214759 };
1474314760
14761+ roon-server = callPackage ../servers/roon-server { };
14762+
1474414763 s6 = skawarePackages.s6;
1474514764
1474614765 s6-rc = skawarePackages.s6-rc;
@@ -15200,6 +15219,8 @@ in
1520015219
1520115220 iproute = callPackage ../os-specific/linux/iproute { };
1520215221
15222+ iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { };
15223+
1520315224 iputils = callPackage ../os-specific/linux/iputils { };
1520415225
1520515226 iptables = callPackage ../os-specific/linux/iptables { };
@@ -15723,6 +15744,8 @@ in
1572315744 nettools = if stdenv.isLinux then callPackage ../os-specific/linux/net-tools { }
1572415745 else unixtools.nettools;
1572515746
15747+ nettools_mptcp = callPackage ../os-specific/linux/net-tools/mptcp.nix { };
15748+
1572615749 nftables = callPackage ../os-specific/linux/nftables { };
1572715750
1572815751 noah = callPackage ../os-specific/darwin/noah {
@@ -15866,7 +15889,7 @@ in
1586615889
1586715890 semodule-utils = callPackage ../os-specific/linux/semodule-utils { };
1586815891
15869− powerdns = callPackage ../servers/dns/powerdns { };
15892+ powerdns = callPackage ../servers/dns/powerdns { libressl = libressl_2_8; };
1587015893
1587115894 dnsdist = callPackage ../servers/dns/dnsdist { };
1587215895
@@ -15883,6 +15906,8 @@ in
1588315906
1588415907 procdump = callPackage ../os-specific/linux/procdump { };
1588515908
15909+ prototool = callPackage ../development/tools/prototool { };
15910+
1588615911 qemu_kvm = lowPrio (qemu.override { hostCpuOnly = true; });
1588715912
1588815913 # See `xenPackages` source for explanations.
@@ -16136,6 +16161,8 @@ in
1613616161
1613716162 aileron = callPackage ../data/fonts/aileron { };
1613816163
16164+ amiri = callPackage ../data/fonts/amiri { };
16165+
1613916166 andagii = callPackage ../data/fonts/andagii { };
1614016167
1614116168 andika = callPackage ../data/fonts/andika { };
@@ -19521,6 +19548,8 @@ in
1952119548
1952219549 vivaldi-ffmpeg-codecs = callPackage ../applications/networking/browsers/vivaldi/ffmpeg-codecs.nix {};
1952319550
19551+ vivaldi-widevine = callPackage ../applications/networking/browsers/vivaldi/widevine.nix { };
19552+
1952419553 openmpt123 = callPackage ../applications/audio/openmpt123 { };
1952519554
1952619555 opusfile = callPackage ../applications/audio/opusfile { };
@@ -19825,8 +19854,6 @@ in
1982519854
1982619855 qtpass = libsForQt5.callPackage ../applications/misc/qtpass { };
1982719856
19828− qtpfsgui = callPackage ../applications/graphics/qtpfsgui { };
19829−
1983019857 qtractor = libsForQt5.callPackage ../applications/audio/qtractor { };
1983119858
1983219859 qtscrobbler = callPackage ../applications/audio/qtscrobbler { };
@@ -21810,6 +21837,8 @@ in
2181021837
2181121838 racer = callPackage ../games/racer { };
2181221839
21840+ redeclipse = callPackage ../games/redeclipse { };
21841+
2181321842 residualvm = callPackage ../games/residualvm { };
2181421843
2181521844 rftg = callPackage ../games/rftg { };
@@ -22422,6 +22451,8 @@ in
2242222451
2242322452 niftyseg = callPackage ../applications/science/biology/niftyseg { };
2242422453
22454+ octopus-caller = callPackage ../applications/science/biology/octopus { };
22455+
2242522456 paml = callPackage ../applications/science/biology/paml { };
2242622457
2242722458 picard-tools = callPackage ../applications/science/biology/picard-tools { };
@@ -22947,12 +22978,6 @@ in
2294722978 ecl-fasl = true;
2294822979 sbcl = null;
2294922980 };
22950− # old version temporarily kept for sage
22951− maxima-ecl-5_41 = callPackage ../applications/science/math/maxima/5.41.nix {
22952− ecl = ecl_16_1_2;
22953− ecl-fasl = true;
22954− sbcl = null;
22955− };
2295622981
2295722982 mxnet = callPackage ../applications/science/math/mxnet {
2295822983 inherit (linuxPackages) nvidia_x11;
@@ -24311,4 +24336,6 @@ in
2431124336
2431224337 dapper = callPackage ../development/tools/dapper { };
2431324338
24339+ kube3d = callPackage ../applications/networking/cluster/kube3d {};
24340+
2431424341}
pkgs/top-level/coq-packages.nix+3−3
@@ -54,17 +54,17 @@ let
5454 mathcomp-ssreflect_1_9 mathcomp-fingroup_1_9 mathcomp-algebra_1_9
5555 mathcomp-solvable_1_9 mathcomp-field_1_9 mathcomp-character_1_9;
5656 inherit (callPackage ../development/coq-modules/mathcomp/extra.nix { })
57− mathcompExtraGen multinomials
57+ mathcompExtraGen multinomials coqeal
5858
5959 mathcomp-finmap mathcomp-bigenough mathcomp-analysis
60− mathcomp-multinomials mathcomp-real-closed
60+ mathcomp-multinomials mathcomp-real-closed mathcomp-coqeal
6161
6262 mathcomp_1_7-finmap mathcomp_1_7-bigenough mathcomp_1_7-analysis
6363 mathcomp_1_7-multinomials mathcomp_1_7-real-closed
6464 mathcomp_1_7-finmap_1_0
6565
6666 mathcomp_1_8-finmap mathcomp_1_8-bigenough mathcomp_1_8-analysis
67− mathcomp_1_8-multinomials mathcomp_1_8-real-closed
67+ mathcomp_1_8-multinomials mathcomp_1_8-real-closed mathcomp_1_8-coqeal
6868
6969 mathcomp_1_9-finmap mathcomp_1_9-bigenough mathcomp_1_9-analysis
7070 mathcomp_1_9-multinomials mathcomp_1_9-real-closed;
pkgs/top-level/dotnet-packages.nix+5−5
@@ -305,14 +305,14 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
305305
306306 Boogie = buildDotnetPackage rec {
307307 baseName = "Boogie";
308− version = "2018-05-28";
308+ version = "2019-06-20";
309309 name = "${baseName}-unstable-${version}";
310310
311311 src = fetchFromGitHub {
312312 owner = "boogie-org";
313313 repo = "boogie";
314− rev = "fc97aac639505f46cda7904dae95c9557716d037";
315− sha256 = "1hjksc5sapw1shxjwg0swja5afman8i15wnv5b6rzkqd4mg8y6nz";
314+ rev = "2e8fae4dc1724d8f9e7b1f877116e56b0773337e";
315+ sha256 = "01wjps3yfx8q0qy0zrmmfd1ixjxi2dhkn1wfazb5qm2slav39dp2";
316316 };
317317
318318 # emulate `nuget restore Source/Boogie.sln`
@@ -359,11 +359,11 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
359359
360360 Dafny = buildDotnetPackage rec {
361361 baseName = "Dafny";
362− version = "2.1.0";
362+ version = "2.3.0";
363363
364364 src = fetchurl {
365365 url = "https://github.com/Microsoft/dafny/archive/v${version}.tar.gz";
366− sha256 = "1iyhy0zpi6wvqif7826anzgdipgsy5bk775ds9qqwfw27j7x6fy5";
366+ sha256 = "0s6ihx32kda7400lvdrq60l46c11nki8b6kalir2g4ic508f6ypa";
367367 };
368368
369369 postPatch = ''
pkgs/top-level/emacs-packages.nix+1−1
@@ -312,7 +312,7 @@ let
312312 postInstall = ''
313313 mkdir -p $out
314314 mv $out/share/emacs/site-lisp/elpa/*/server/bin $out
315− rm -rf $out/share/emacs/site-lisp/*/server
315+ rm -rf $out/share/emacs/site-lisp/elpa/*/server
316316 '';
317317 preCheck = ''
318318 cd source/server
pkgs/top-level/perl-packages.nix+2−2
@@ -14674,12 +14674,12 @@ let
1467414674 };
1467514675
1467614676 SysVirt = buildPerlModule rec {
14677− version = "4.10.0";
14677+ version = "5.4.0";
1467814678 name = "Sys-Virt-${version}";
1467914679 src = assert version == pkgs.libvirt.version; pkgs.fetchgit {
1468014680 url = git://libvirt.org/libvirt-perl.git;
1468114681 rev = "v${version}";
14682− sha256 = "1dfwq4d46kx18lz27rb3jkxb0g1hirpq70vr4572sc38rybpq59v";
14682+ sha256 = "0csg10mydcif2l0qf16nlphq6ih5378nk6dk1vznf5bspws2ch7a";
1468314683 };
1468414684 nativeBuildInputs = [ pkgs.pkgconfig ];
1468514685 buildInputs = [ pkgs.libvirt CPANChanges TestPod TestPodCoverage XMLXPath ];
pkgs/top-level/python-packages.nix+2
@@ -2099,6 +2099,8 @@ in {
20992099
21002100 google-music-utils = callPackage ../development/python-modules/google-music-utils { };
21012101
2102+ google-pasta = callPackage ../development/python-modules/google-pasta { };
2103+
21022104 gpapi = callPackage ../development/python-modules/gpapi { };
21032105 gplaycli = callPackage ../development/python-modules/gplaycli { };
21042106