git.iko.soy/typeable/nixpkgs
on master help sign in
Merge master into staging-next
commit2f936f85d8e1b06de4998fa5ed4b112fd96559b1 authorFrederik Rietdijk <fridh@fridh.nl> dateMon 29 Apr 2019, 13:46 (8 years ago) parentee5f4636dabc28
201 files changed+6652−1855
README.md+4−4 doc/languages-frameworks/haskell.section.md+3−3 maintainers/maintainer-list.nix+10 maintainers/scripts/luarocks-packages.csv+2 maintainers/scripts/update-luarocks-packages+1−1 nixos/doc/manual/configuration/x-windows.xml+26 nixos/doc/manual/release-notes/rl-1909.xml+8 nixos/modules/module-list.nix+1 nixos/modules/programs/browserpass.nix−10 nixos/modules/programs/sway.nix+3−3 nixos/modules/rename.nix+3 nixos/modules/services/logging/journalwatch.nix+30−12 nixos/modules/services/misc/gitea.nix+10−5 nixos/modules/services/misc/jellyfin.nix+60 nixos/modules/services/misc/nzbget.nix+35−61 nixos/modules/services/monitoring/grafana.nix+1−1 nixos/modules/services/networking/ejabberd.nix+11−17 nixos/modules/services/networking/zeronet.nix+12−1 nixos/modules/services/security/sks.nix+13−11 nixos/modules/services/system/earlyoom.nix+14−1 nixos/modules/services/web-apps/documize.nix+121−50 nixos/modules/services/x11/window-managers/i3.nix+4−1 nixos/modules/system/activation/switch-to-configuration.pl−18 nixos/modules/system/boot/luksroot.nix+3 nixos/tests/all-tests.nix+2 nixos/tests/ejabberd.nix+262 nixos/tests/jellyfin.nix+16 nixos/tests/nzbget.nix+26 nixos/tests/prosody.nix+14−54 nixos/tests/xmpp-sendmessage.nix+46 pkgs/applications/accessibility/mousetweaks/default.nix+49 pkgs/applications/audio/calf/default.nix+3−10 pkgs/applications/audio/dragonfly-reverb/default.nix+11−5 pkgs/applications/audio/soundkonverter/default.nix+97 pkgs/applications/editors/jetbrains/default.nix+20−20 pkgs/applications/misc/1password/default.nix+3−3 pkgs/applications/misc/dbeaver/default.nix+2−2 pkgs/applications/misc/evopedia/default.nix−30 pkgs/applications/misc/font-manager/correct-post-install.patch−13 pkgs/applications/misc/font-manager/default.nix+2−6 pkgs/applications/misc/kanboard/default.nix+7−5 pkgs/applications/misc/kdeconnect/default.nix+3−4 pkgs/applications/misc/onboard/default.nix+7 pkgs/applications/misc/onboard/fix-paths.patch+11 pkgs/applications/misc/zola/default.nix+3−3 pkgs/applications/networking/flent/default.nix+2 pkgs/applications/networking/instant-messengers/matrique/default.nix−55 pkgs/applications/networking/instant-messengers/quaternion/default.nix+33−27 pkgs/applications/networking/ipfs/default.nix+4−9 pkgs/applications/networking/ipfs/deps.nix+2190 pkgs/applications/office/kexi/default.nix+2−9 pkgs/applications/office/skrooge/default.nix+2−2 pkgs/applications/office/zim/default.nix+2−2 pkgs/applications/radio/cubicsdr/default.nix+29 pkgs/applications/science/biology/aragorn/default.nix+28 pkgs/applications/science/math/R/default.nix+11−5 pkgs/applications/science/math/geogebra/default.nix+2−2 pkgs/applications/science/math/sage/sage-src.nix+7 pkgs/applications/virtualization/docker/default.nix+8−8 pkgs/applications/virtualization/qemu/default.nix+3−2 pkgs/applications/window-managers/awesome/default.nix+4−4 pkgs/applications/window-managers/sway/default.nix+1 pkgs/applications/window-managers/sway/load-configuration-from-etc.patch+42 pkgs/build-support/appimage/default.nix+2 pkgs/data/fonts/iosevka/bin.nix+2−2 pkgs/data/fonts/nahid-fonts/default.nix+26 pkgs/desktops/enlightenment/efl.nix+6−5 pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix+2−1 pkgs/desktops/gnome-3/core/gnome-settings-daemon/fix-paths.patch+11 pkgs/desktops/gnome-3/core/mutter/3.28.nix+28−1 pkgs/desktops/gnustep/libobjc2/default.nix+4−7 pkgs/desktops/mate/marco/default.nix+2−2 pkgs/desktops/mate/mate-session-manager/default.nix+2−2 pkgs/desktops/mate/mate-system-monitor/default.nix+2−2 pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix+3−2 pkgs/desktops/pantheon/services/elementary-settings-daemon/fix-paths.patch+11 pkgs/desktops/plasma-5/default.nix+1 pkgs/desktops/plasma-5/discover.nix+20 pkgs/development/compilers/adoptopenjdk-bin/sources.json+2−2 pkgs/development/compilers/openjdk/8.nix+3 pkgs/development/compilers/oraclejdk/jdk8cpu-linux.nix+7−7 pkgs/development/compilers/oraclejdk/jdk8psu-linux.nix+7−7 pkgs/development/compilers/sbcl/bootstrap.nix+2−2 pkgs/development/compilers/sbcl/default.nix+2−2 pkgs/development/compilers/swi-prolog/default.nix+30−9 pkgs/development/idris-modules/glfw.nix+6 pkgs/development/idris-modules/idris-wrapper.nix+5−3 pkgs/development/interpreters/lua-5/5.1.nix−76 pkgs/development/interpreters/lua-5/5.2.nix−95 pkgs/development/interpreters/lua-5/build-lua-package.nix+3 pkgs/development/interpreters/lua-5/default.nix+65 pkgs/development/interpreters/lua-5/5.3.nix → pkgs/development/interpreters/lua-5/interpreter.nix+46−26 pkgs/development/interpreters/python/cpython/docs/2.7-html.nix+3−3 pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix+3−3 pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix+3−3 pkgs/development/interpreters/python/cpython/docs/2.7-text.nix+3−3 pkgs/development/interpreters/python/cpython/docs/3.7-html.nix+18 pkgs/development/interpreters/python/cpython/docs/3.7-pdf-a4.nix+18 pkgs/development/interpreters/python/cpython/docs/3.7-pdf-letter.nix+18 pkgs/development/interpreters/python/cpython/docs/3.7-text.nix+18 pkgs/development/interpreters/python/cpython/docs/default.nix+12 pkgs/development/interpreters/python/cpython/docs/generate.sh+1−1 pkgs/development/libraries/accountsservice/default.nix+2−2 pkgs/development/libraries/accountsservice/no-create-dirs.patch+6−6 pkgs/development/libraries/appstream/qt.nix+2−9 pkgs/development/libraries/armadillo/default.nix+2−2 pkgs/development/libraries/arrow-cpp/default.nix+27−25 pkgs/development/libraries/audio/libmysofa/default.nix+2−2 pkgs/development/libraries/kproperty/default.nix+2−2 pkgs/development/libraries/kreport/default.nix+2−2 pkgs/development/libraries/libqmatrixclient/default.nix+24−18 pkgs/development/libraries/nlopt/default.nix+8−7 pkgs/development/libraries/qca-qt5/default.nix+4−3 pkgs/development/libraries/qca-qt5/move-project.patch+9−11 pkgs/development/libraries/qtkeychain/default.nix+8−4 pkgs/development/libraries/snappy/default.nix+5 pkgs/development/libraries/uriparser/default.nix+1−1 pkgs/development/lua-modules/generated-packages.nix+208−174 pkgs/development/ocaml-modules/eliom/default.nix+4−4 pkgs/development/ocaml-modules/ojquery/default.nix−28 pkgs/development/ocaml-modules/tyxml/default.nix+7−21 pkgs/development/python-modules/box2d/default.nix+1−2 pkgs/development/python-modules/breathe/default.nix+2−2 pkgs/development/python-modules/ezdxf/default.nix+7−5 pkgs/development/python-modules/pg8000/default.nix+5−3 pkgs/development/python-modules/pyhamcrest/default.nix+2−2 pkgs/development/python-modules/python-efl/default.nix+2−2 pkgs/development/python-modules/pytorch/default.nix+2−2 pkgs/development/tools/analysis/flow/default.nix+2−2 pkgs/development/tools/coursier/default.nix+3−3 pkgs/development/tools/dep/default.nix+2−2 pkgs/development/tools/electron/5.x.nix+77 pkgs/development/tools/flatpak-builder/default.nix+2−2 pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix+10−2 pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix+2−2 pkgs/development/tools/omnisharp-roslyn/default.nix+41 pkgs/development/tools/rust/cargo-expand/default.nix+3−3 pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch+18−28 pkgs/development/tools/rust/rustup/default.nix+14−7 pkgs/games/crispy-doom/default.nix+2−2 pkgs/games/gzdoom/default.nix+2−2 pkgs/misc/vim-plugins/generated.nix+83−72 pkgs/misc/vim-plugins/vim-plugin-names+4−3 pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix+7−3 pkgs/os-specific/linux/kernel/i2c-oops.patch−12 pkgs/os-specific/linux/kernel/linux-4.14.nix+2−2 pkgs/os-specific/linux/kernel/linux-4.19.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-5.0.nix+2−2 pkgs/os-specific/linux/kernel/patches.nix−4 pkgs/os-specific/linux/service-wrapper/default.nix+2−1 pkgs/os-specific/linux/service-wrapper/service-wrapper.sh+3−26 pkgs/servers/computing/slurm/default.nix+2−2 pkgs/servers/dico/default.nix+5−10 pkgs/servers/dns/bind/default.nix+11−1 pkgs/servers/documize-community/default.nix+3−3 pkgs/servers/freeradius/default.nix+2−2 pkgs/servers/jellyfin/default.nix+3−3 pkgs/servers/nextcloud/default.nix+2−2 pkgs/servers/nosql/eventstore/create-deps.sh+34 pkgs/servers/nosql/eventstore/default.nix+58−25 pkgs/servers/nosql/eventstore/deps.nix+532 pkgs/tools/X11/xlayoutdisplay/default.nix+6−4 pkgs/tools/admin/acme.sh/default.nix+9−2 pkgs/tools/backup/dedup/default.nix+29 pkgs/tools/filesystems/mergerfs/default.nix+4 pkgs/tools/graphics/argyllcms/default.nix+2−2 pkgs/tools/misc/pazi/cargo-lock.patch+13 pkgs/tools/misc/pazi/default.nix+24 pkgs/tools/misc/staruml/default.nix+3−5 pkgs/tools/misc/yad/default.nix+25−17 pkgs/tools/misc/z-lua/default.nix+28 pkgs/tools/networking/dd-agent/README.md+13−4 pkgs/tools/networking/dd-agent/deps.nix → pkgs/tools/networking/dd-agent/datadog-agent-deps.nix+8−26 pkgs/tools/networking/dd-agent/6.nix → pkgs/tools/networking/dd-agent/datadog-agent.nix+3−3 pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix+7−7 pkgs/tools/networking/dd-agent/datadog-process-agent.nix+2−2 pkgs/tools/networking/httplz/cargo-lock.patch+1211 pkgs/tools/networking/httplz/default.nix+26 pkgs/tools/networking/openvpn/default.nix+28−8 pkgs/tools/networking/socat/default.nix+2 pkgs/tools/networking/socat/speed-type-fix.patch+13 pkgs/tools/networking/wol/default.nix+12−10 pkgs/tools/security/browserpass/2.nix−43 pkgs/tools/security/browserpass/2deps.nix−39 pkgs/tools/security/browserpass/default.nix+7−20 pkgs/tools/security/browserpass/deps.nix−93 pkgs/tools/security/kwalletcli/default.nix+25−25 pkgs/tools/security/mfoc/default.nix+19−8 pkgs/tools/security/mfoc/mf_mini.patch−96 pkgs/tools/system/augeas/default.nix+2−2 pkgs/tools/system/journalwatch/default.nix+8−12 pkgs/tools/system/netdata/default.nix+6−1 pkgs/tools/text/qgrep/default.nix+27 pkgs/tools/text/sd/default.nix+24 pkgs/top-level/all-packages.nix+49−44 pkgs/top-level/lua-packages.nix+1−59 pkgs/top-level/ocaml-packages.nix−4 pkgs/top-level/python-packages.nix+1−1 pkgs/top-level/release.nix+6
README.md+4−4
@@ -12,12 +12,12 @@ build daemon as so-called channels. To get channel information via git, add
1212```
1313
1414For stability and maximum binary package support, it is recommended to maintain
15−custom changes on top of one of the channels, e.g. `nixos-18.09` for the latest
15+custom changes on top of one of the channels, e.g. `nixos-19.03` for the latest
1616release and `nixos-unstable` for the latest successful build of master:
1717
1818```
1919% git remote update channels
20−% git rebase channels/nixos-18.09
20+% git rebase channels/nixos-19.03
2121```
2222
2323For pull requests, please rebase onto nixpkgs `master`.
@@ -31,9 +31,9 @@ For pull requests, please rebase onto nixpkgs `master`.
3131* [Manual (NixOS)](https://nixos.org/nixos/manual/)
3232* [Community maintained wiki](https://nixos.wiki/)
3333* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
34−* [Continuous package builds for 18.09 release](https://hydra.nixos.org/jobset/nixos/release-18.09)
34+* [Continuous package builds for 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
3535* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
36−* [Tests for 18.09 release](https://hydra.nixos.org/job/nixos/release-18.09/tested#tabs-constituents)
36+* [Tests for 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)
3737
3838Communication:
3939
doc/languages-frameworks/haskell.section.md+3−3
@@ -55,7 +55,7 @@ package `haskell-pandoc`, for example, installs both a library and an
5555application. You can install and use Haskell executables just like any other
5656program in Nixpkgs, but using Haskell libraries for development is a bit
5757trickier and we'll address that subject in great detail in section [How to
58−create a development environment].
58+create a development environment](#how-to-create-a-development-environment).
5959
6060Attribute paths are deterministic inside of Nixpkgs, but the path necessary to
6161reach Nixpkgs varies from system to system. We dodged that problem by giving
@@ -127,7 +127,7 @@ Also, the attributes `haskell.compiler.ghcXYC` and
127127
128128A simple development environment consists of a Haskell compiler and one or both
129129of the tools `cabal-install` and `stack`. We saw in section
130−[How to install Haskell packages] how you can install those programs into your
130+[How to install Haskell packages](#how-to-install-haskell-packages) how you can install those programs into your
131131user profile:
132132```shell
133133nix-env -f "<nixpkgs>" -iA haskellPackages.ghc haskellPackages.cabal-install
@@ -162,7 +162,7 @@ nix-shell -p haskell.compiler.ghc784
162162to bring GHC 7.8.4 into `$PATH`. Alternatively, you can use Stack instead of
163163`nix-shell` directly to select compiler versions and other build tools
164164per-project. It uses `nix-shell` under the hood when Nix support is turned on.
165−See [How to build a Haskell project using Stack].
165+See [How to build a Haskell project using Stack](#how-to-build-a-haskell-project-using-stack).
166166
167167If you're using `cabal-install`, re-running `cabal configure` inside the spawned
168168shell switches your build to use that compiler instead. If you're working on
maintainers/maintainer-list.nix+10
@@ -197,6 +197,11 @@
197197 github = "aij";
198198 name = "Ivan Jager";
199199 };
200+ ajs124 = {
201+ email = "nix@ajs124.de";
202+ github = "ajs124";
203+ name = "Andreas Schrägle";
204+ };
200205 ajgrf = {
201206 email = "a@ajgrf.com";
202207 github = "ajgrf";
@@ -578,6 +583,11 @@
578583 github = "bbarker";
579584 name = "Brandon Elam Barker";
580585 };
586+ bbigras = {
587+ email = "bigras.bruno@gmail.com";
588+ github = "bbigras";
589+ name = "Bruno Bigras";
590+ };
581591 bcarrell = {
582592 email = "brandoncarrell@gmail.com";
583593 github = "bcarrell";
maintainers/scripts/luarocks-packages.csv+2
@@ -22,6 +22,8 @@ luaffi,,http://luarocks.org/dev,
2222luuid,
2323penlight,
2424say,
25+std__debug,std._debug,
26+std_normalize,std.normalize,
2527luv,
2628luasystem,
2729mediator_lua,,http://luarocks.org/manifests/teto
maintainers/scripts/update-luarocks-packages+1−1
@@ -81,7 +81,7 @@ function convert_pkg () {
8181 server=" --server=$3"
8282 fi
8383
84− version="${3:-}"
84+ version="${4:-}"
8585
8686 echo "looking at $lua_pkg_name (version $version) from server [$server]" >&2
8787 cmd="luarocks nix $server $lua_pkg_name $version"
nixos/doc/manual/configuration/x-windows.xml+26
@@ -67,6 +67,32 @@
6767<xref linkend="opt-hardware.opengl.driSupport32Bit"/> = true;
6868</programlisting>
6969 </para>
70+ <simplesect xml:id="sec-x11-auto-login">
71+ <title>Auto-login</title>
72+ <para>
73+ The x11 login screen can be skipped entirely, automatically logging you into
74+ your window manager and desktop environment when you boot your computer.
75+ </para>
76+ <para>
77+ This is especially helpful if you have disk encryption enabled. Since you
78+ already have to provide a password to decrypt your disk, entering a second
79+ password to login can be redundant.
80+ </para>
81+ <para>
82+ To enable auto-login, you need to define your default window manager and
83+ desktop environment. If you wanted no desktop environment and i3 as your your
84+ window manager, you'd define:
85+<programlisting>
86+<xref linkend="opt-services.xserver.desktopManager.default"/> = "none";
87+<xref linkend="opt-services.xserver.windowManager.default"/> = "i3";
88+</programlisting>
89+ And, finally, to enable auto-login for a user <literal>johndoe</literal>:
90+<programlisting>
91+<xref linkend="opt-services.xserver.displayManager.auto.enable"/> = true;
92+<xref linkend="opt-services.xserver.displayManager.auto.user"/> = "johndoe";
93+</programlisting>
94+ </para>
95+ </simplesect>
7096 <simplesect xml:id="sec-x11-graphics-cards-nvidia">
7197 <title>Proprietary NVIDIA drivers</title>
7298 <para>
nixos/doc/manual/release-notes/rl-1909.xml+8
@@ -83,6 +83,14 @@
8383 The same applies to ModemManager where modem-manager.service is now called ModemManager.service again.
8484 </para>
8585 </listitem>
86+ <listitem>
87+ <para>
88+ The <option>services.nzbget.configFile</option> and <option>services.nzbget.openFirewall</option>
89+ options were removed as they are managed internally by the nzbget. The
90+ <option>services.nzbget.dataDir</option> option hadn't actually been used by
91+ the module for some time and so was removed as cleanup.
92+ </para>
93+ </listitem>
8694 </itemizedlist>
8795 </section>
8896
nixos/modules/module-list.nix+1
@@ -414,6 +414,7 @@
414414 ./services/misc/ihaskell.nix
415415 ./services/misc/irkerd.nix
416416 ./services/misc/jackett.nix
417+ ./services/misc/jellyfin.nix
417418 ./services/misc/logkeys.nix
418419 ./services/misc/leaps.nix
419420 ./services/misc/lidarr.nix
nixos/modules/programs/browserpass.nix−10
@@ -26,16 +26,6 @@ with lib;
2626 # brave
2727 "opt/brave/native-messaging-hosts/${appId}".source = source "hosts/chromium";
2828 "opt/brave/policies/managed/${appId}".source = source "policies/chromium";
29− }
30− # As with the v2 backwards compatibility in the pkgs.browserpass
31− # declaration, this part can be removed once the browser extension
32− # auto-updates to v3 (planned 2019-04-13, see
33− # https://github.com/browserpass/browserpass-native/issues/31)
34− // {
35− "chromium/native-messaging-hosts/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-host.json";
36− "chromium/policies/managed/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-policy.json";
37− "opt/chrome/native-messaging-hosts/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-host.json";
38− "opt/chrome/policies/managed/com.dannyvankooten.browserpass.json".source = "${pkgs.browserpass}/etc/chrome-policy.json";
3929 };
4030 nixpkgs.config.firefox.enableBrowserpass = true;
4131 };
nixos/modules/programs/sway.nix+3−3
@@ -78,9 +78,9 @@ in {
7878 environment = {
7979 systemPackages = [ swayJoined ] ++ cfg.extraPackages;
8080 etc = {
81− "sway/config".source = "${swayPackage}/etc/sway/config";
82− #"sway/security.d".source = "${swayPackage}/etc/sway/security.d/";
83− #"sway/config.d".source = "${swayPackage}/etc/sway/config.d/";
81+ "sway/config".source = mkOptionDefault "${swayPackage}/etc/sway/config";
82+ #"sway/security.d".source = mkOptionDefault "${swayPackage}/etc/sway/security.d/";
83+ #"sway/config.d".source = mkOptionDefault "${swayPackage}/etc/sway/config.d/";
8484 };
8585 };
8686 security.pam.services.swaylock = {};
nixos/modules/rename.nix+3
@@ -45,6 +45,9 @@ with lib;
4545 (mkRemovedOptionModule [ "services" "neo4j" "port" ] "Use services.neo4j.http.listenAddress instead.")
4646 (mkRemovedOptionModule [ "services" "neo4j" "boltPort" ] "Use services.neo4j.bolt.listenAddress instead.")
4747 (mkRemovedOptionModule [ "services" "neo4j" "httpsPort" ] "Use services.neo4j.https.listenAddress instead.")
48+ (mkRemovedOptionModule [ "services" "misc" "nzbget" "configFile" ] "The configuration of nzbget is now managed by users through the web interface.")
49+ (mkRemovedOptionModule [ "services" "misc" "nzbget" "dataDir" ] "The data directory for nzbget is now /var/lib/nzbget.")
50+ (mkRemovedOptionModule [ "services" "misc" "nzbget" "openFirewall" ] "The port used by nzbget is managed through the web interface so you should adjust your firewall rules accordingly.")
4851 (mkRemovedOptionModule [ "services" "prometheus" "alertmanager" "user" ] "The alertmanager service is now using systemd's DynamicUser mechanism which obviates a user setting.")
4952 (mkRemovedOptionModule [ "services" "prometheus" "alertmanager" "group" ] "The alertmanager service is now using systemd's DynamicUser mechanism which obviates a group setting.")
5053 (mkRenamedOptionModule [ "services" "tor" "relay" "portSpec" ] [ "services" "tor" "relay" "port" ])
nixos/modules/services/logging/journalwatch.nix+30−12
@@ -4,6 +4,8 @@ with lib;
44let
55 cfg = config.services.journalwatch;
66 user = "journalwatch";
7+ # for journal access
8+ group = "systemd-journal";
79 dataDir = "/var/lib/${user}";
810
911 journalwatchConfig = pkgs.writeText "config" (''
@@ -31,6 +33,17 @@ let
3133
3234 '') filterBlocks);
3335
36+ # can't use joinSymlinks directly, because when we point $XDG_CONFIG_HOME
37+ # to the /nix/store path, we still need the subdirectory "journalwatch" inside that
38+ # to match journalwatch's expectations
39+ journalwatchConfigDir = pkgs.runCommand "journalwatch-config"
40+ { preferLocalBuild = true; allowSubstitutes = false; }
41+ ''
42+ mkdir -p $out/journalwatch
43+ ln -sf ${journalwatchConfig} $out/journalwatch/config
44+ ln -sf ${journalwatchPatterns} $out/journalwatch/patterns
45+ '';
46+
3447
3548in {
3649 options = {
@@ -199,33 +212,38 @@ in {
199212
200213 users.users.${user} = {
201214 isSystemUser = true;
202− createHome = true;
203215 home = dataDir;
204− # for journal access
205− group = "systemd-journal";
216+ group = group;
206217 };
207218
219+ systemd.tmpfiles.rules = [
220+ # present since NixOS 19.09: remove old stateful symlink join directory,
221+ # which has been replaced with the journalwatchConfigDir store path
222+ "R ${dataDir}/config"
223+ ];
224+
208225 systemd.services.journalwatch = {
226+
209227 environment = {
228+ # journalwatch stores the last processed timpestamp here
229+ # the share subdirectory is historic now that config home lives in /nix/store,
230+ # but moving this in a backwards-compatible way is much more work than what's justified
231+ # for cleaning that up.
210232 XDG_DATA_HOME = "${dataDir}/share";
211− XDG_CONFIG_HOME = "${dataDir}/config";
233+ XDG_CONFIG_HOME = journalwatchConfigDir;
212234 };
213235 serviceConfig = {
214236 User = user;
237+ Group = group;
215238 Type = "oneshot";
216− PermissionsStartOnly = true;
239+ # requires a relative directory name to create beneath /var/lib
240+ StateDirectory = user;
241+ StateDirectoryMode = 0750;
217242 ExecStart = "${pkgs.python3Packages.journalwatch}/bin/journalwatch mail";
218243 # lowest CPU and IO priority, but both still in best-effort class to prevent starvation
219244 Nice=19;
220245 IOSchedulingPriority=7;
221246 };
222− preStart = ''
223− chown -R ${user}:systemd-journal ${dataDir}
224− chmod -R u+rwX,go-w ${dataDir}
225− mkdir -p ${dataDir}/config/journalwatch
226− ln -sf ${journalwatchConfig} ${dataDir}/config/journalwatch/config
227− ln -sf ${journalwatchPatterns} ${dataDir}/config/journalwatch/patterns
228− '';
229247 };
230248
231249 systemd.timers.journalwatch = {
nixos/modules/services/misc/gitea.nix+10−5
@@ -8,6 +8,7 @@ let
88 pg = config.services.postgresql;
99 useMysql = cfg.database.type == "mysql";
1010 usePostgresql = cfg.database.type == "postgres";
11+ useSqlite = cfg.database.type == "sqlite3";
1112 configFile = pkgs.writeText "app.ini" ''
1213 APP_NAME = ${cfg.appName}
1314 RUN_USER = ${cfg.user}
@@ -15,11 +16,15 @@ let
1516
1617 [database]
1718 DB_TYPE = ${cfg.database.type}
18− HOST = ${if cfg.database.socket != null then cfg.database.socket else cfg.database.host + ":" + toString cfg.database.port}
19− NAME = ${cfg.database.name}
20− USER = ${cfg.database.user}
21− PASSWD = #dbpass#
22− PATH = ${cfg.database.path}
19+ ${optionalString (usePostgresql || useMysql) ''
20+ HOST = ${if cfg.database.socket != null then cfg.database.socket else cfg.database.host + ":" + toString cfg.database.port}
21+ NAME = ${cfg.database.name}
22+ USER = ${cfg.database.user}
23+ PASSWD = #dbpass#
24+ ''}
25+ ${optionalString useSqlite ''
26+ PATH = ${cfg.database.path}
27+ ''}
2328 ${optionalString usePostgresql ''
2429 SSL_MODE = disable
2530 ''}
nixos/modules/services/misc/jellyfin.nixnew file+60
@@ -0,0 +1,60 @@
1+{ config, pkgs, lib, ... }:
2+
3+with lib;
4+
5+let
6+ cfg = config.services.jellyfin;
7+in
8+{
9+ options = {
10+ services.jellyfin = {
11+ enable = mkEnableOption "Jellyfin Media Server";
12+
13+ user = mkOption {
14+ type = types.str;
15+ default = "jellyfin";
16+ description = "User account under which Jellyfin runs.";
17+ };
18+
19+ group = mkOption {
20+ type = types.str;
21+ default = "jellyfin";
22+ description = "Group under which jellyfin runs.";
23+ };
24+ };
25+ };
26+
27+ config = mkIf cfg.enable {
28+ systemd.services.jellyfin = {
29+ description = "Jellyfin Media Server";
30+ after = [ "network.target" ];
31+ wantedBy = [ "multi-user.target" ];
32+
33+ serviceConfig = rec {
34+ User = cfg.user;
35+ Group = cfg.group;
36+ StateDirectory = "jellyfin";
37+ CacheDirectory = "jellyfin";
38+ ExecStart = "${pkgs.jellyfin}/bin/jellyfin --datadir '/var/lib/${StateDirectory}' --cachedir '/var/cache/${CacheDirectory}'";
39+ Restart = "on-failure";
40+ };
41+ };
42+
43+ users.users = mkIf (cfg.user == "jellyfin") {
44+ jellyfin.group = cfg.group;
45+ };
46+
47+ users.groups = mkIf (cfg.group == "jellyfin") {
48+ jellyfin = {};
49+ };
50+
51+ assertions = [
52+ {
53+ assertion = !config.services.emby.enable;
54+ message = "Emby and Jellyfin are incompatible, you cannot enable both";
55+ }
56+ ];
57+ };
58+
59+ meta.maintainers = with lib.maintainers; [ minijackson ];
60+}
nixos/modules/services/misc/nzbget.nix+35−61
@@ -4,32 +4,34 @@ with lib;
44
55let
66 cfg = config.services.nzbget;
7− dataDir = builtins.dirOf cfg.configFile;
8−in {
9− options = {
10− services.nzbget = {
11− enable = mkEnableOption "NZBGet";
7+ pkg = pkgs.nzbget;
8+ stateDir = "/var/lib/nzbget";
9+ configFile = "${stateDir}/nzbget.conf";
10+ configOpts = concatStringsSep " " (mapAttrsToList (name: value: "-o ${name}=${value}") nixosOpts);
1211
13− package = mkOption {
14− type = types.package;
15− default = pkgs.nzbget;
16− defaultText = "pkgs.nzbget";
17− description = "The NZBGet package to use";
18− };
12+ nixosOpts = {
13+ # allows nzbget to run as a "simple" service
14+ OutputMode = "loggable";
15+ # use journald for logging
16+ WriteLog = "none";
17+ ErrorTarget = "screen";
18+ WarningTarget = "screen";
19+ InfoTarget = "screen";
20+ DetailTarget = "screen";
21+ # required paths
22+ ConfigTemplate = "${pkg}/share/nzbget/nzbget.conf";
23+ WebDir = "${pkg}/share/nzbget/webui";
24+ # nixos handles package updates
25+ UpdateCheck = "none";
26+ };
1927
20− dataDir = mkOption {
21− type = types.str;
22− default = "/var/lib/nzbget";
23− description = "The directory where NZBGet stores its configuration files.";
24− };
28+in
29+{
30+ # interface
2531
26− openFirewall = mkOption {
27− type = types.bool;
28− default = false;
29− description = ''
30− Open ports in the firewall for the NZBGet web interface
31− '';
32− };
32+ options = {
33+ services.nzbget = {
34+ enable = mkEnableOption "NZBGet";
3335
3436 user = mkOption {
3537 type = types.str;
@@ -42,15 +44,11 @@ in {
4244 default = "nzbget";
4345 description = "Group under which NZBGet runs";
4446 };
45−
46− configFile = mkOption {
47− type = types.str;
48− default = "/var/lib/nzbget/nzbget.conf";
49− description = "Path for NZBGet's config file. (If this doesn't exist, the default config template is copied here.)";
50− };
5147 };
5248 };
5349
50+ # implementation
51+
5452 config = mkIf cfg.enable {
5553 systemd.services.nzbget = {
5654 description = "NZBGet Daemon";
@@ -61,50 +59,26 @@ in {
6159 p7zip
6260 ];
6361 preStart = ''
64− cfgtemplate=${cfg.package}/share/nzbget/nzbget.conf
65− if [ ! -f ${cfg.configFile} ]; then
66− echo "${cfg.configFile} not found. Copying default config $cfgtemplate to ${cfg.configFile}"
67− install -m 0700 $cfgtemplate ${cfg.configFile}
68− echo "Setting temporary \$MAINDIR variable in default config required in order to allow nzbget to complete initial start"
69− echo "Remember to change this to a proper value once NZBGet startup has been completed"
70− sed -i -e 's/MainDir=.*/MainDir=\/tmp/g' ${cfg.configFile}
62+ if [ ! -f ${configFile} ]; then
63+ ${pkgs.coreutils}/bin/install -m 0700 ${pkg}/share/nzbget/nzbget.conf ${configFile}
7164 fi
7265 '';
7366
74− script = ''
75− args="--daemon --configfile ${cfg.configFile}"
76− # The script in preStart (above) copies nzbget's config template to datadir on first run, containing paths that point to the nzbget derivation installed at the time.
77− # These paths break when nzbget is upgraded & the original derivation is garbage collected. If such broken paths are found in the config file, override them to point to
78− # the currently installed nzbget derivation.
79− cfgfallback () {
80− local hit=`grep -Po "(?<=^$1=).*+" "${cfg.configFile}" | sed 's/[ \t]*$//'` # Strip trailing whitespace
81− ( test $hit && test -e $hit ) || {
82− echo "In ${cfg.configFile}, valid $1 not found; falling back to $1=$2"
83− args+=" -o $1=$2"
84− }
85− }
86− cfgfallback ConfigTemplate ${cfg.package}/share/nzbget/nzbget.conf
87− cfgfallback WebDir ${cfg.package}/share/nzbget/webui
88− ${cfg.package}/bin/nzbget $args
89− '';
90−
9167 serviceConfig = {
92− StateDirectory = dataDir;
93− StateDirectoryMode = "0700";
94− Type = "forking";
68+ StateDirectory = "nzbget";
69+ StateDirectoryMode = "0750";
9570 User = cfg.user;
9671 Group = cfg.group;
97− PermissionsStartOnly = "true";
72+ UMask = "0002";
9873 Restart = "on-failure";
74+ ExecStart = "${pkg}/bin/nzbget --server --configfile ${stateDir}/nzbget.conf ${configOpts}";
75+ ExecStop = "${pkg}/bin/nzbget --quit";
9976 };
10077 };
10178
102− networking.firewall = mkIf cfg.openFirewall {
103− allowedTCPPorts = [ 8989 ];
104− };
105−
10679 users.users = mkIf (cfg.user == "nzbget") {
10780 nzbget = {
81+ home = stateDir;
10882 group = cfg.group;
10983 uid = config.ids.uids.nzbget;
11084 };
nixos/modules/services/monitoring/grafana.nix+1−1
@@ -177,7 +177,7 @@ let
177177 folder = mkOption {
178178 type = types.str;
179179 default = "";
180− description = "Add dashboards to the speciied folder";
180+ description = "Add dashboards to the specified folder";
181181 };
182182 type = mkOption {
183183 type = types.str;
nixos/modules/services/networking/ejabberd.nix+11−17
@@ -11,7 +11,7 @@ let
1111 ${cfg.ctlConfig}
1212 '';
1313
14− ectl = ''${cfg.package}/bin/ejabberdctl ${if cfg.configFile == null then "" else "--config ${cfg.configFile}"} --ctl-config "${ctlcfg}" --spool "${cfg.spoolDir}" --logs "${cfg.logsDir}"'';
14+ ectl = ''${cfg.package}/bin/ejabberdctl ${optionalString (cfg.configFile != null) "--config ${cfg.configFile}"} --ctl-config "${ctlcfg}" --spool "${cfg.spoolDir}" --logs "${cfg.logsDir}"'';
1515
1616 dumps = lib.escapeShellArgs cfg.loadDumps;
1717
@@ -111,28 +111,17 @@ in {
111111 description = "ejabberd server";
112112 wantedBy = [ "multi-user.target" ];
113113 after = [ "network.target" ];
114− path = [ pkgs.findutils pkgs.coreutils pkgs.runit ] ++ lib.optional cfg.imagemagick pkgs.imagemagick;
114+ path = [ pkgs.findutils pkgs.coreutils ] ++ lib.optional cfg.imagemagick pkgs.imagemagick;
115115
116116 serviceConfig = {
117− ExecStart = ''${ectl} foreground'';
118− # FIXME: runit is used for `chpst` -- can we get rid of this?
119− ExecStop = ''${pkgs.runit}/bin/chpst -u "${cfg.user}:${cfg.group}" ${ectl} stop'';
120− ExecReload = ''${pkgs.runit}/bin/chpst -u "${cfg.user}:${cfg.group}" ${ectl} reload_config'';
121117 User = cfg.user;
122118 Group = cfg.group;
123− PermissionsStartOnly = true;
119+ ExecStart = "${ectl} foreground";
120+ ExecStop = "${ectl} stop";
121+ ExecReload = "${ectl} reload_config";
124122 };
125123
126124 preStart = ''
127− mkdir -p -m750 "${cfg.logsDir}"
128− chown "${cfg.user}:${cfg.group}" "${cfg.logsDir}"
129−
130− mkdir -p -m750 "/var/lock/ejabberdctl"
131− chown "${cfg.user}:${cfg.group}" "/var/lock/ejabberdctl"
132−
133− mkdir -p -m750 "${cfg.spoolDir}"
134− chown -R "${cfg.user}:${cfg.group}" "${cfg.spoolDir}"
135−
136125 if [ -z "$(ls -A '${cfg.spoolDir}')" ]; then
137126 touch "${cfg.spoolDir}/.firstRun"
138127 fi
@@ -149,13 +138,18 @@ in {
149138 for src in ${dumps}; do
150139 find "$src" -type f | while read dump; do
151140 echo "Loading configuration dump at $dump"
152− chpst -u "${cfg.user}:${cfg.group}" ${ectl} load "$dump"
141+ ${ectl} load "$dump"
153142 done
154143 done
155144 fi
156145 '';
157146 };
158147
148+ systemd.tmpfiles.rules = [
149+ "d '${cfg.logsDir}' 0750 ${cfg.user} ${cfg.group} -"
150+ "d '${cfg.spoolDir}' 0700 ${cfg.user} ${cfg.group} -"
151+ ];
152+
159153 security.pam.services.ejabberd = {};
160154
161155 };
nixos/modules/services/networking/zeronet.nix+12−1
@@ -5,13 +5,15 @@ let
55
66 zConfFile = pkgs.writeTextFile {
77 name = "zeronet.conf";
8−
8+
99 text = ''
1010 [global]
1111 data_dir = ${cfg.dataDir}
1212 log_dir = ${cfg.logDir}
1313 '' + lib.optionalString (cfg.port != null) ''
1414 ui_port = ${toString cfg.port}
15+ '' + lib.optionalString (cfg.fileserverPort != null) ''
16+ fileserver_port = ${toString cfg.fileserverPort}
1517 '' + lib.optionalString (cfg.torAlways) ''
1618 tor = always
1719 '' + cfg.extraConfig;
@@ -41,6 +43,15 @@ in with lib; {
4143 description = "Optional zeronet web UI port.";
4244 };
4345
46+ fileserverPort = mkOption {
47+ # Not optional: when absent zeronet tries to write one to the
48+ # read-only config file and crashes
49+ type = types.int;
50+ default = 12261;
51+ example = 12261;
52+ description = "Zeronet fileserver port.";
53+ };
54+
4455 tor = mkOption {
4556 type = types.bool;
4657 default = false;
nixos/modules/services/security/sks.nix+13−11
@@ -116,20 +116,22 @@ in {
116116 ${lib.optionalString (cfg.webroot != null)
117117 "ln -sfT \"${cfg.webroot}\" web"}
118118 mkdir -p dump
119− # Check that both database configs are symlinks before overwriting them
120− if [ -e KDB/DB_CONFIG ] && [ ! -L KBD/DB_CONFIG ]; then
121− echo "KDB/DB_CONFIG exists but is not a symlink." >&2
122− exit 1
123− fi
124− if [ -e PTree/DB_CONFIG ] && [ ! -L PTree/DB_CONFIG ]; then
125− echo "PTree/DB_CONFIG exists but is not a symlink." >&2
126− exit 1
127− fi
128− ln -sf ${dbConfig} KDB/DB_CONFIG
129− ln -sf ${dbConfig} PTree/DB_CONFIG
130119 ${sksPkg}/bin/sks build dump/*.gpg -n 10 -cache 100 || true #*/
131120 ${sksPkg}/bin/sks cleandb || true
132121 ${sksPkg}/bin/sks pbuild -cache 20 -ptree_cache 70 || true
122+ # Check that both database configs are symlinks before overwriting them
123+ # TODO: The initial build will be without DB_CONFIG, but this will
124+ # hopefully not cause any significant problems. It might be better to
125+ # create both directories manually but we have to check that this does
126+ # not affect the initial build of the DB.
127+ for CONFIG_FILE in KDB/DB_CONFIG PTree/DB_CONFIG; do
128+ if [ -e $CONFIG_FILE ] && [ ! -L $CONFIG_FILE ]; then
129+ echo "$CONFIG_FILE exists but is not a symlink." >&2
130+ echo "Please remove $PWD/$CONFIG_FILE manually to continue." >&2
131+ exit 1
132+ fi
133+ ln -sf ${dbConfig} $CONFIG_FILE
134+ done
133135 '';
134136 serviceConfig = {
135137 WorkingDirectory = "~";
nixos/modules/services/system/earlyoom.nix+14−1
@@ -63,6 +63,17 @@ in
6363 Enable debugging messages.
6464 '';
6565 };
66+
67+ notificationsCommand = mkOption {
68+ type = types.nullOr types.str;
69+ default = null;
70+ example = "sudo -u example_user DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send";
71+ description = ''
72+ Command used to send notifications.
73+
74+ See <link xlink:href="https://github.com/rfjakob/earlyoom#notifications">README</link> for details.
75+ '';
76+ };
6677 };
6778 };
6879
@@ -88,7 +99,9 @@ in
8899 -s ${toString ecfg.freeSwapThreshold} \
89100 ${optionalString ecfg.useKernelOOMKiller "-k"} \
90101 ${optionalString ecfg.ignoreOOMScoreAdjust "-i"} \
91− ${optionalString ecfg.enableDebugInfo "-d"}
102+ ${optionalString ecfg.enableDebugInfo "-d"} \
103+ ${optionalString (ecfg.notificationsCommand != null)
104+ "-N ${escapeShellArg ecfg.notificationsCommand}"}
92105 '';
93106 };
94107 };
nixos/modules/services/web-apps/documize.nix+121−50
@@ -3,65 +3,136 @@
33with lib;
44
55let
6−
76 cfg = config.services.documize;
87
9−in
8+ mkParams = optional: concatMapStrings (name: let
9+ predicate = optional -> cfg.${name} != null;
10+ template = " -${name} '${toString cfg.${name}}'";
11+ in optionalString predicate template);
1012
11− {
12− options.services.documize = {
13− enable = mkEnableOption "Documize Wiki";
13+in {
14+ options.services.documize = {
15+ enable = mkEnableOption "Documize Wiki";
1416
15− offline = mkEnableOption "Documize offline mode";
17+ package = mkOption {
18+ type = types.package;
19+ default = pkgs.documize-community;
20+ description = ''
21+ Which package to use for documize.
22+ '';
23+ };
1624
17− package = mkOption {
18− default = pkgs.documize-community;
19− type = types.package;
20− description = ''
21− Which package to use for documize.
22− '';
23− };
25+ salt = mkOption {
26+ type = types.nullOr types.str;
27+ default = null;
28+ example = "3edIYV6c8B28b19fh";
29+ description = ''
30+ The salt string used to encode JWT tokens, if not set a random value will be generated.
31+ '';
32+ };
2433
25− db = mkOption {
26− type = types.str;
27− example = "host=localhost port=5432 sslmode=disable user=admin password=secret dbname=documize";
28− description = ''
29− The DB connection string to use for the database.
30− '';
31− };
34+ cert = mkOption {
35+ type = types.nullOr types.str;
36+ default = null;
37+ description = ''
38+ The <filename>cert.pem</filename> file used for https.
39+ '';
40+ };
3241
33− dbtype = mkOption {
34− type = types.enum [ "postgresql" "percona" "mariadb" "mysql" ];
35− description = ''
36− Which database to use for storage.
37− '';
38− };
42+ key = mkOption {
43+ type = types.nullOr types.str;
44+ default = null;
45+ description = ''
46+ The <filename>key.pem</filename> file used for https.
47+ '';
48+ };
3949
40− port = mkOption {
41− type = types.port;
42− example = 3000;
43− description = ''
44− Which TCP port to serve.
45− '';
46− };
50+ port = mkOption {
51+ type = types.port;
52+ default = 5001;
53+ description = ''
54+ The http/https port number.
55+ '';
56+ };
57+
58+ forcesslport = mkOption {
59+ type = types.nullOr types.port;
60+ default = null;
61+ description = ''
62+ Redirect given http port number to TLS.
63+ '';
64+ };
65+
66+ offline = mkOption {
67+ type = types.bool;
68+ default = false;
69+ description = ''
70+ Set <literal>true</literal> for offline mode.
71+ '';
72+ apply = v: if true == v then 1 else 0;
73+ };
74+
75+ dbtype = mkOption {
76+ type = types.enum [ "mysql" "percona" "mariadb" "postgresql" "sqlserver" ];
77+ default = "postgresql";
78+ description = ''
79+ Specify the database provider:
80+ <simplelist type='inline'>
81+ <member><literal>mysql</literal></member>
82+ <member><literal>percona</literal></member>
83+ <member><literal>mariadb</literal></member>
84+ <member><literal>postgresql</literal></member>
85+ <member><literal>sqlserver</literal></member>
86+ </simplelist>
87+ '';
4788 };
4889
49− config = mkIf cfg.enable {
50− systemd.services.documize-server = {
51− wantedBy = [ "multi-user.target" ];
52−
53− script = ''
54− ${cfg.package}/bin/documize \
55− -db "${cfg.db}" \
56− -dbtype ${cfg.dbtype} \
57− -port ${toString cfg.port} \
58− -offline ${if cfg.offline then "1" else "0"}
59− '';
60−
61− serviceConfig = {
62− Restart = "always";
63− DynamicUser = "yes";
64− };
90+ db = mkOption {
91+ type = types.str;
92+ description = ''
93+ Database specific connection string for example:
94+ <itemizedlist>
95+ <listitem><para>MySQL/Percona/MariaDB:
96+ <literal>user:password@tcp(host:3306)/documize</literal>
97+ </para></listitem>
98+ <listitem><para>MySQLv8+:
99+ <literal>user:password@tcp(host:3306)/documize?allowNativePasswords=true</literal>
100+ </para></listitem>
101+ <listitem><para>PostgreSQL:
102+ <literal>host=localhost port=5432 dbname=documize user=admin password=secret sslmode=disable</literal>
103+ </para></listitem>
104+ <listitem><para>MSSQL:
105+ <literal>sqlserver://username:password@localhost:1433?database=Documize</literal> or
106+ <literal>sqlserver://sa@localhost/SQLExpress?database=Documize</literal>
107+ </para></listitem>
108+ </itemizedlist>
109+ '';
110+ };
111+
112+ location = mkOption {
113+ type = types.nullOr types.str;
114+ default = null;
115+ description = ''
116+ reserved
117+ '';
118+ };
119+ };
120+
121+ config = mkIf cfg.enable {
122+ systemd.services.documize-server = {
123+ description = "Documize Wiki";
124+ documentation = [ https://documize.com/ ];
125+ wantedBy = [ "multi-user.target" ];
126+
127+ serviceConfig = {
128+ ExecStart = concatStringsSep " " [
129+ "${cfg.package}/bin/documize"
130+ (mkParams false [ "db" "dbtype" "port" ])
131+ (mkParams true [ "offline" "location" "forcesslport" "key" "cert" "salt" ])
132+ ];
133+ Restart = "always";
134+ DynamicUser = "yes";
65135 };
66136 };
67− }
137+ };
138+}
nixos/modules/services/x11/window-managers/i3.nix+4−1
@@ -60,12 +60,15 @@ in
6060 ${cfg.extraSessionCommands}
6161
6262 ${cfg.package}/bin/i3 ${optionalString (cfg.configFile != null)
63− "-c \"${cfg.configFile}\""
63+ "-c /etc/i3/config"
6464 } &
6565 waitPID=$!
6666 '';
6767 }];
6868 environment.systemPackages = [ cfg.package ] ++ cfg.extraPackages;
69+ environment.etc."i3/config" = mkIf (cfg.configFile != null) {
70+ source = cfg.configFile;
71+ };
6972 };
7073
7174 imports = [
nixos/modules/system/activation/switch-to-configuration.pl−18
@@ -166,24 +166,6 @@ while (my ($unit, $state) = each %{$activePrev}) {
166166
167167 if (-e $prevUnitFile && ($state->{state} eq "active" || $state->{state} eq "activating")) {
168168 if (! -e $newUnitFile || abs_path($newUnitFile) eq "/dev/null") {
169− # Ignore (i.e. never stop) these units:
170− if ($unit eq "system.slice") {
171− # TODO: This can be removed a few months after 18.09 is out
172− # (i.e. after everyone switched away from 18.03).
173− # Problem: Restarting (stopping) system.slice would not only
174− # stop X11 but also most system units/services. We obviously
175− # don't want this happening to users when they switch from 18.03
176− # to 18.09 or nixos-unstable.
177− # Reason: The following change in systemd:
178− # https://github.com/systemd/systemd/commit/d8e5a9338278d6602a0c552f01f298771a384798
179− # The commit adds system.slice to the perpetual units, which
180− # means removing the unit file and adding it to the source code.
181− # This is done so that system.slice can't be stopped anymore but
182− # in our case it ironically would cause this script to stop
183− # system.slice because the unit was removed (and an older
184− # systemd version is still running).
185− next;
186− }
187169 my $unitInfo = parseUnit($prevUnitFile);
188170 $unitsToStop{$unit} = 1 if boolIsTrue($unitInfo->{'X-StopOnRemoval'} // "yes");
189171 }
nixos/modules/system/boot/luksroot.nix+3
@@ -87,6 +87,9 @@ let
8787 mkdir -p /crypt-ramfs
8888 mount -t ramfs none /crypt-ramfs
8989
90+ # Cryptsetup locking directory
91+ mkdir -p /run/cryptsetup
92+
9093 # For Yubikey salt storage
9194 mkdir -p /crypt-storage
9295
nixos/tests/all-tests.nix+2
@@ -72,6 +72,7 @@ in
7272 #ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {};
7373 ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {};
7474 ecryptfs = handleTest ./ecryptfs.nix {};
75+ ejabberd = handleTest ./ejabberd.nix {};
7576 elk = handleTestOn ["x86_64-linux"] ./elk.nix {};
7677 env = handleTest ./env.nix {};
7778 etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
@@ -172,6 +173,7 @@ in
172173 nix-ssh-serve = handleTest ./nix-ssh-serve.nix {};
173174 novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {};
174175 nsd = handleTest ./nsd.nix {};
176+ nzbget = handleTest ./nzbget.nix {};
175177 openldap = handleTest ./openldap.nix {};
176178 opensmtpd = handleTest ./opensmtpd.nix {};
177179 openssh = handleTest ./openssh.nix {};
nixos/tests/ejabberd.nixnew file+262
@@ -0,0 +1,262 @@
1+import ./make-test.nix ({ pkgs, ... }: {
2+ name = "ejabberd";
3+ meta = with pkgs.stdenv.lib.maintainers; {
4+ maintainers = [ ajs124 ];
5+ };
6+ nodes = {
7+ client = { nodes, pkgs, ... }: {
8+ environment.systemPackages = [
9+ (pkgs.callPackage ./xmpp-sendmessage.nix { connectTo = nodes.server.config.networking.primaryIPAddress; })
10+ ];
11+ };
12+ server = { config, pkgs, ... }: {
13+ networking.extraHosts = ''
14+ ${config.networking.primaryIPAddress} example.com
15+ '';
16+
17+ services.ejabberd = {
18+ enable = true;
19+ configFile = "/etc/ejabberd.yml";
20+ };
21+
22+ environment.etc."ejabberd.yml" = {
23+ user = "ejabberd";
24+ mode = "0600";
25+ text = ''
26+ loglevel: 3
27+
28+ hosts:
29+ - "example.com"
30+
31+ listen:
32+ -
33+ port: 5222
34+ module: ejabberd_c2s
35+ zlib: false
36+ max_stanza_size: 65536
37+ shaper: c2s_shaper
38+ access: c2s
39+ -
40+ port: 5269
41+ ip: "::"
42+ module: ejabberd_s2s_in
43+ -
44+ port: 5347
45+ ip: "127.0.0.1"
46+ module: ejabberd_service
47+ access: local
48+ shaper_rule: fast
49+ ip: "127.0.0.1"
50+
51+ ## Disabling digest-md5 SASL authentication. digest-md5 requires plain-text
52+ ## password storage (see auth_password_format option).
53+ disable_sasl_mechanisms: "digest-md5"
54+
55+ ## Outgoing S2S options
56+ ## Preferred address families (which to try first) and connect timeout
57+ ## in seconds.
58+ outgoing_s2s_families:
59+ - ipv4
60+ - ipv6
61+
62+ ## auth_method: Method used to authenticate the users.
63+ ## The default method is the internal.
64+ ## If you want to use a different method,
65+ ## comment this line and enable the correct ones.
66+ auth_method: internal
67+
68+ ## Store the plain passwords or hashed for SCRAM:
69+ ## auth_password_format: plain
70+ auth_password_format: scram
71+
72+ ###' TRAFFIC SHAPERS
73+ shaper:
74+ # in B/s
75+ normal: 1000000
76+ fast: 50000000
77+
78+ ## This option specifies the maximum number of elements in the queue
79+ ## of the FSM. Refer to the documentation for details.
80+ max_fsm_queue: 1000
81+
82+ ###' ACCESS CONTROL LISTS
83+ acl:
84+ ## The 'admin' ACL grants administrative privileges to XMPP accounts.
85+ ## You can put here as many accounts as you want.
86+ admin:
87+ user:
88+ - "root": "example.com"
89+
90+ ## Local users: don't modify this.
91+ local:
92+ user_regexp: ""
93+
94+ ## Loopback network
95+ loopback:
96+ ip:
97+ - "127.0.0.0/8"
98+ - "::1/128"
99+ - "::FFFF:127.0.0.1/128"
100+
101+ ###' SHAPER RULES
102+ shaper_rules:
103+ ## Maximum number of simultaneous sessions allowed for a single user:
104+ max_user_sessions: 10
105+ ## Maximum number of offline messages that users can have:
106+ max_user_offline_messages:
107+ - 5000: admin
108+ - 1024
109+ ## For C2S connections, all users except admins use the "normal" shaper
110+ c2s_shaper:
111+ - none: admin
112+ - normal
113+ ## All S2S connections use the "fast" shaper
114+ s2s_shaper: fast
115+
116+ ###' ACCESS RULES
117+ access_rules:
118+ ## This rule allows access only for local users:
119+ local:
120+ - allow: local
121+ ## Only non-blocked users can use c2s connections:
122+ c2s:
123+ - deny: blocked
124+ - allow
125+ ## Only admins can send announcement messages:
126+ announce:
127+ - allow: admin
128+ ## Only admins can use the configuration interface:
129+ configure:
130+ - allow: admin
131+ ## Only accounts of the local ejabberd server can create rooms:
132+ muc_create:
133+ - allow: local
134+ ## Only accounts on the local ejabberd server can create Pubsub nodes:
135+ pubsub_createnode:
136+ - allow: local
137+ ## In-band registration allows registration of any possible username.
138+ ## To disable in-band registration, replace 'allow' with 'deny'.
139+ register:
140+ - allow
141+ ## Only allow to register from localhost
142+ trusted_network:
143+ - allow: loopback
144+
145+ ## ===============
146+ ## API PERMISSIONS
147+ ## ===============
148+ ##
149+ ## This section allows you to define who and using what method
150+ ## can execute commands offered by ejabberd.
151+ ##
152+ ## By default "console commands" section allow executing all commands
153+ ## issued using ejabberdctl command, and "admin access" section allows
154+ ## users in admin acl that connect from 127.0.0.1 to execute all
155+ ## commands except start and stop with any available access method
156+ ## (ejabberdctl, http-api, xmlrpc depending what is enabled on server).
157+ ##
158+ ## If you remove "console commands" there will be one added by
159+ ## default allowing executing all commands, but if you just change
160+ ## permissions in it, version from config file will be used instead
161+ ## of default one.
162+ ##
163+ api_permissions:
164+ "console commands":
165+ from:
166+ - ejabberd_ctl
167+ who: all
168+ what: "*"
169+
170+ language: "en"
171+
172+ ###' MODULES
173+ ## Modules enabled in all ejabberd virtual hosts.
174+ modules:
175+ mod_adhoc: {}
176+ mod_announce: # recommends mod_adhoc
177+ access: announce
178+ mod_blocking: {} # requires mod_privacy
179+ mod_caps: {}
180+ mod_carboncopy: {}
181+ mod_client_state: {}
182+ mod_configure: {} # requires mod_adhoc
183+ ## mod_delegation: {} # for xep0356
184+ mod_echo: {}
185+ #mod_irc:
186+ # host: "irc.@HOST@"
187+ # default_encoding: "utf-8"
188+ ## mod_bosh: {}
189+ ## mod_http_fileserver:
190+ ## docroot: "/var/www"
191+ ## accesslog: "/var/log/ejabberd/access.log"
192+ #mod_http_upload:
193+ # thumbnail: false # otherwise needs the identify command from ImageMagick installed
194+ # put_url: "https://@HOST@:5444"
195+ ## # docroot: "@HOME@/upload"
196+ #mod_http_upload_quota:
197+ # max_days: 14
198+ mod_last: {}
199+ ## XEP-0313: Message Archive Management
200+ ## You might want to setup a SQL backend for MAM because the mnesia database is
201+ ## limited to 2GB which might be exceeded on large servers
202+ mod_mam: {}
203+ mod_muc:
204+ host: "muc.@HOST@"
205+ access:
206+ - allow
207+ access_admin:
208+ - allow: admin
209+ access_create: muc_create
210+ access_persistent: muc_create
211+ mod_muc_admin: {}
212+ mod_muc_log: {}
213+ mod_offline:
214+ access_max_user_messages: max_user_offline_messages
215+ mod_ping: {}
216+ ## mod_pres_counter:
217+ ## count: 5
218+ ## interval: 60
219+ mod_privacy: {}
220+ mod_private: {}
221+ mod_roster:
222+ versioning: true
223+ mod_shared_roster: {}
224+ mod_stats: {}
225+ mod_time: {}
226+ mod_vcard:
227+ search: false
228+ mod_vcard_xupdate: {}
229+ ## Convert all avatars posted by Android clients from WebP to JPEG
230+ mod_avatar: {}
231+ # convert:
232+ # webp: jpeg
233+ mod_version: {}
234+ mod_stream_mgmt: {}
235+ ## The module for S2S dialback (XEP-0220). Please note that you cannot
236+ ## rely solely on dialback if you want to federate with other servers,
237+ ## because a lot of servers have dialback disabled and instead rely on
238+ ## PKIX authentication. Make sure you have proper certificates installed
239+ ## and check your accessibility at https://check.messaging.one/
240+ mod_s2s_dialback: {}
241+ mod_pubsub:
242+ plugins:
243+ - "pep"
244+ mod_push: {}
245+ '';
246+ };
247+
248+ networking.firewall.enable = false;
249+ };
250+ };
251+
252+ testScript = { nodes, ... }: ''
253+ $server->waitForUnit('ejabberd.service');
254+ $server->succeed('su ejabberd -s $(which ejabberdctl) status|grep started') =~ /ejabberd is running/;
255+ $server->succeed('su ejabberd -s $(which ejabberdctl) register azurediamond example.com hunter2');
256+ $server->succeed('su ejabberd -s $(which ejabberdctl) register cthon98 example.com nothunter2');
257+ $server->fail('su ejabberd -s $(which ejabberdctl) register asdf wrong.domain');
258+ $client->succeed('send-message');
259+ $server->succeed('su ejabberd -s $(which ejabberdctl) unregister cthon98 example.com');
260+ $server->succeed('su ejabberd -s $(which ejabberdctl) unregister azurediamond example.com');
261+ '';
262+})
nixos/tests/jellyfin.nixnew file+16
@@ -0,0 +1,16 @@
1+import ./make-test.nix ({ lib, ...}:
2+
3+{
4+ name = "jellyfin";
5+ meta.maintainers = with lib.maintainers; [ minijackson ];
6+
7+ machine =
8+ { ... }:
9+ { services.jellyfin.enable = true; };
10+
11+ testScript = ''
12+ $machine->waitForUnit('jellyfin.service');
13+ $machine->waitForOpenPort('8096');
14+ $machine->succeed("curl --fail http://localhost:8096/");
15+ '';
16+})
nixos/tests/nzbget.nixnew file+26
@@ -0,0 +1,26 @@
1+import ./make-test.nix ({ pkgs, ...} : {
2+ name = "nzbget";
3+ meta = with pkgs.stdenv.lib.maintainers; {
4+ maintainers = [ aanderse flokli ];
5+ };
6+
7+ nodes = {
8+ server = { ... }: {
9+ services.nzbget.enable = true;
10+
11+ # hack, don't add (unfree) unrar to nzbget's path,
12+ # so we can run this test in CI
13+ systemd.services.nzbget.path = pkgs.stdenv.lib.mkForce [ pkgs.p7zip ];
14+ };
15+ };
16+
17+ testScript = ''
18+ startAll;
19+
20+ $server->waitForUnit("nzbget.service");
21+ $server->waitForUnit("network.target");
22+ $server->waitForOpenPort(6789);
23+ $server->succeed("curl -s -u nzbget:tegbzn6789 http://127.0.0.1:6789 | grep -q 'This file is part of nzbget'");
24+ $server->succeed("${pkgs.nzbget}/bin/nzbget -n -o ControlIP=127.0.0.1 -o ControlPort=6789 -o ControlPassword=tegbzn6789 -V");
25+ '';
26+})
nixos/tests/prosody.nix+14−54
@@ -9,70 +9,30 @@ import ./make-test.nix {
99 extraConfig = ''
1010 storage = "sql"
1111 '';
12+ virtualHosts.test = {
13+ domain = "example.com";
14+ enabled = true;
15+ };
1216 };
13− environment.systemPackages = let
14− sendMessage = pkgs.writeScriptBin "send-message" ''
15− #!/usr/bin/env python3
16− # Based on the sleekxmpp send_client example, look there for more details:
17− # https://github.com/fritzy/SleekXMPP/blob/develop/examples/send_client.py
18− import sleekxmpp
19−
20− class SendMsgBot(sleekxmpp.ClientXMPP):
21− """
22− A basic SleekXMPP bot that will log in, send a message,
23− and then log out.
24− """
25− def __init__(self, jid, password, recipient, message):
26− sleekxmpp.ClientXMPP.__init__(self, jid, password)
27−
28− self.recipient = recipient
29− self.msg = message
30−
31− self.add_event_handler("session_start", self.start, threaded=True)
32−
33− def start(self, event):
34− self.send_presence()
35− self.get_roster()
36−
37− self.send_message(mto=self.recipient,
38− mbody=self.msg,
39− mtype='chat')
40−
41− self.disconnect(wait=True)
42−
43−
44− if __name__ == '__main__':
45− xmpp = SendMsgBot("test1@localhost", "test1", "test2@localhost", "Hello World!")
46− xmpp.register_plugin('xep_0030') # Service Discovery
47− xmpp.register_plugin('xep_0199') # XMPP Ping
48−
49− # TODO: verify certificate
50− # If you want to verify the SSL certificates offered by a server:
51− # xmpp.ca_certs = "path/to/ca/cert"
52−
53− if xmpp.connect(('localhost', 5222)):
54− xmpp.process(block=True)
55− else:
56− print("Unable to connect.")
57− sys.exit(1)
58− '';
59− in [ (pkgs.python3.withPackages (ps: [ ps.sleekxmpp ])) sendMessage ];
17+ environment.systemPackages = [
18+ (pkgs.callPackage ./xmpp-sendmessage.nix {})
19+ ];
6020 };
6121
6222 testScript = ''
6323 $machine->waitForUnit('prosody.service');
6424 $machine->succeed('prosodyctl status') =~ /Prosody is running/;
6525
66− # set password to 'test' (it's asked twice)
67− $machine->succeed('yes test1 | prosodyctl adduser test1@localhost');
26+ # set password to 'nothunter2' (it's asked twice)
27+ $machine->succeed('yes nothunter2 | prosodyctl adduser cthon98@example.com');
6828 # set password to 'y'
69− $machine->succeed('yes | prosodyctl adduser test2@localhost');
70− # correct password to 'test2'
71− $machine->succeed('yes test2 | prosodyctl passwd test2@localhost');
29+ $machine->succeed('yes | prosodyctl adduser azurediamond@example.com');
30+ # correct password to 'hunter2'
31+ $machine->succeed('yes hunter2 | prosodyctl passwd azurediamond@example.com');
7232
7333 $machine->succeed("send-message");
7434
75− $machine->succeed('prosodyctl deluser test1@localhost');
76− $machine->succeed('prosodyctl deluser test2@localhost');
35+ $machine->succeed('prosodyctl deluser cthon98@example.com');
36+ $machine->succeed('prosodyctl deluser azurediamond@example.com');
7737 '';
7838}
nixos/tests/xmpp-sendmessage.nixnew file+46
@@ -0,0 +1,46 @@
1+{ writeScriptBin, python3, connectTo ? "localhost" }:
2+writeScriptBin "send-message" ''
3+ #!${(python3.withPackages (ps: [ ps.sleekxmpp ])).interpreter}
4+ # Based on the sleekxmpp send_client example, look there for more details:
5+ # https://github.com/fritzy/SleekXMPP/blob/develop/examples/send_client.py
6+ import sleekxmpp
7+
8+ class SendMsgBot(sleekxmpp.ClientXMPP):
9+ """
10+ A basic SleekXMPP bot that will log in, send a message,
11+ and then log out.
12+ """
13+ def __init__(self, jid, password, recipient, message):
14+ sleekxmpp.ClientXMPP.__init__(self, jid, password)
15+
16+ self.recipient = recipient
17+ self.msg = message
18+
19+ self.add_event_handler("session_start", self.start, threaded=True)
20+
21+ def start(self, event):
22+ self.send_presence()
23+ self.get_roster()
24+
25+ self.send_message(mto=self.recipient,
26+ mbody=self.msg,
27+ mtype='chat')
28+
29+ self.disconnect(wait=True)
30+
31+
32+ if __name__ == '__main__':
33+ xmpp = SendMsgBot("cthon98@example.com", "nothunter2", "azurediamond@example.com", "hey, if you type in your pw, it will show as stars")
34+ xmpp.register_plugin('xep_0030') # Service Discovery
35+ xmpp.register_plugin('xep_0199') # XMPP Ping
36+
37+ # TODO: verify certificate
38+ # If you want to verify the SSL certificates offered by a server:
39+ # xmpp.ca_certs = "path/to/ca/cert"
40+
41+ if xmpp.connect(('${connectTo}', 5222)):
42+ xmpp.process(block=True)
43+ else:
44+ print("Unable to connect.")
45+ sys.exit(1)
46+''
pkgs/applications/accessibility/mousetweaks/default.nixnew file+49
@@ -0,0 +1,49 @@
1+{ stdenv, fetchurl, pkgconfig
2+, glib, gtk3, gnome3, gsettings-desktop-schemas, wrapGAppsHook
3+, libX11, libXtst, libXfixes, libXcursor
4+}:
5+
6+stdenv.mkDerivation rec {
7+ pname = "mousetweaks";
8+ version = "3.32.0";
9+
10+ src = fetchurl {
11+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
12+ sha256 = "005fhmvb45sa9mq17dpa23n1xnspiissx5rnpiy7hiqmy3g5rg8f";
13+ };
14+
15+ nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
16+
17+ buildInputs = [
18+ glib gtk3 gsettings-desktop-schemas
19+ libX11 libXtst libXfixes libXcursor
20+ ];
21+
22+ passthru = {
23+ updateScript = gnome3.updateScript {
24+ packageName = pname;
25+ };
26+ };
27+
28+ meta = with stdenv.lib; {
29+ description = "Provides mouse accessibility enhancements for the GNOME desktop";
30+ longDescription = ''
31+ Mousetweaks provides mouse accessibility enhancements for the GNOME
32+ desktop. These enhancements are:
33+
34+ - It offers a way to perform the various clicks without using any
35+ physical mouse buttons. (Hover Click)
36+
37+ - It allows users to perform a secondary click by keeping the primary
38+ mouse button pressed for a predetermined amount of time. (Simulated
39+ Secondary Click)
40+
41+ The features can be activated and configured through the Universal Access
42+ panel of the GNOME Control Center.
43+ '';
44+ homepage = https://wiki.gnome.org/Projects/Mousetweaks;
45+ license = licenses.gpl2;
46+ platforms = platforms.linux;
47+ maintainers = [ maintainers.johnazoidberg ];
48+ };
49+}
pkgs/applications/audio/calf/default.nix+3−10
@@ -3,21 +3,14 @@
33
44stdenv.mkDerivation rec {
55 name = "calf-${version}";
6− version = "0.90.0";
6+ version = "0.90.2";
77
88 src = fetchurl {
99 url = "https://calf-studio-gear.org/files/${name}.tar.gz";
10− sha256 = "0dijv2j7vlp76l10s4v8gbav26ibaqk8s24ci74vrc398xy00cib";
10+ sha256 = "0bn4j1klw2yfxz8clbmasaydifq25rdfsv0n6iisxrzcj1lx7sgh";
1111 };
1212
13− patches = [
14− # Fix memory leak in limiter
15− # https://github.com/flathub/com.github.wwmm.pulseeffects/issues/12
16− (fetchpatch {
17− url = https://github.com/calf-studio-gear/calf/commit/7afdefc0d0489a6227fd10f15843d81dc82afd62.patch;
18− sha256 = "056662iw6hp4ykwk4jyrzg5yarcn17ni97yc060y5kcnzy29ddg6";
19− })
20− ];
13+ enableParallelBuilding = true;
2114
2215 buildInputs = [
2316 cairo expat fftwSinglePrec fluidsynth glib gtk2 libjack2 ladspaH
pkgs/applications/audio/dragonfly-reverb/default.nix+11−5
@@ -1,13 +1,14 @@
11{ stdenv, fetchFromGitHub, libjack2, libGL, pkgconfig, xorg }:
22
33stdenv.mkDerivation rec {
4− name = "dragonfly-reverb-${src.rev}";
4+ pname = "dragonfly-reverb";
5+ version = "1.1.4";
56
67 src = fetchFromGitHub {
78 owner = "michaelwillis";
89 repo = "dragonfly-reverb";
9− rev = "1.0.0";
10− sha256 = "05m4hd8lg0a7iiia6cbiw5qmc4p8vbkxp2qh7ywaabawiwa9r24x";
10+ rev = version;
11+ sha256 = "060g4ddh1z222n39wqj8jxj0zgmpjrgraw76qgyg6xkn15cn9q9y";
1112 fetchSubmodules = true;
1213 };
1314
@@ -21,15 +22,20 @@ stdenv.mkDerivation rec {
2122 ];
2223
2324 installPhase = ''
25+ mkdir -p $out/bin
2426 mkdir -p $out/lib/lv2/
25− cp -a bin/DragonflyReverb.lv2/ $out/lib/lv2/
27+ mkdir -p $out/lib/vst/
28+ cd bin
29+ cp -a DragonflyReverb $out/bin/
30+ cp -a DragonflyReverb-vst.so $out/lib/vst/
31+ cp -a DragonflyReverb.lv2/ $out/lib/lv2/
2632 '';
2733
2834 meta = with stdenv.lib; {
2935 homepage = https://github.com/michaelwillis/dragonfly-reverb;
3036 description = "A hall-style reverb based on freeverb3 algorithms";
3137 maintainers = [ maintainers.magnetophon ];
32− license = licenses.gpl2;
38+ license = licenses.gpl3;
3339 platforms = ["x86_64-linux"];
3440 };
3541}
pkgs/applications/audio/soundkonverter/default.nixnew file+97
@@ -0,0 +1,97 @@
1+# currently needs to be installed into an environment and needs a `kbuildsycoca5` run afterwards for plugin discovery
2+{
3+ mkDerivation, fetchFromGitHub, lib, makeWrapper,
4+ cmake, extra-cmake-modules, pkgconfig,
5+ libkcddb, kconfig, kconfigwidgets, ki18n, kdelibs4support, kio, solid, kwidgetsaddons, kxmlgui,
6+ qtbase, phonon,
7+ taglib,
8+ # optional backends
9+ withCD ? true, cdparanoia,
10+ withFlac ? true, flac,
11+ withMidi ? true, fluidsynth, timidity,
12+ withSpeex ? false, speex,
13+ withVorbis ? true, vorbis-tools, vorbisgain,
14+ withMp3 ? true, lame, mp3gain,
15+ withAac ? true, faad2, aacgain,
16+ withUnfreeAac ? false, faac,
17+ withFfmpeg ? true, ffmpeg-full,
18+ withMplayer ? false, mplayer,
19+ withSox ? true, sox,
20+ withOpus ? true, opusTools,
21+ withTwolame ? false, twolame,
22+ withApe ? false, mac,
23+ withWavpack ? false, wavpack
24+}:
25+
26+assert withAac -> withFfmpeg || withUnfreeAac;
27+assert withUnfreeAac -> withAac;
28+
29+let runtimeDeps = []
30+ ++ lib.optional withCD cdparanoia
31+ ++ lib.optional withFlac flac
32+ ++ lib.optional withSpeex speex
33+ ++ lib.optional withFfmpeg ffmpeg-full
34+ ++ lib.optional withMplayer mplayer
35+ ++ lib.optional withSox sox
36+ ++ lib.optional withOpus opusTools
37+ ++ lib.optional withTwolame twolame
38+ ++ lib.optional withApe mac
39+ ++ lib.optional withWavpack wavpack
40+ ++ lib.optional withUnfreeAac faac
41+ ++ lib.optionals withMidi [ fluidsynth timidity ]
42+ ++ lib.optionals withVorbis [ vorbis-tools vorbisgain ]
43+ ++ lib.optionals withMp3 [ lame mp3gain ]
44+ ++ lib.optionals withAac [ faad2 aacgain ];
45+
46+in
47+mkDerivation rec {
48+ name = "soundkonverter";
49+ version = "3.0.1";
50+ src = fetchFromGitHub {
51+ owner = "dfaust";
52+ repo = "soundkonverter";
53+ rev = "v" + version;
54+ sha256 = "1g2khdsjmsi4zzynkq8chd11cbdhjzmi37r9jhpal0b730nq9x7l";
55+ };
56+ enableParallelBuilding = true;
57+ nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig kdelibs4support makeWrapper ];
58+ propagatedBuildInputs = [ libkcddb kconfig kconfigwidgets ki18n kdelibs4support kio solid kwidgetsaddons kxmlgui qtbase phonon];
59+ buildInputs = [ taglib ] ++ runtimeDeps;
60+ # encoder plugins go to ${out}/lib so they're found by kbuildsycoca5
61+ cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=$out" ];
62+ sourceRoot = "source/src";
63+ # add runt-time deps to PATH
64+ postInstall = ''
65+ wrapProgram $out/bin/soundkonverter --prefix PATH : ${lib.makeBinPath runtimeDeps }
66+ '';
67+ meta = {
68+ license = lib.licenses.gpl2;
69+ maintainers = [ lib.maintainers.schmittlauch ];
70+ description = "Audio file converter, CD ripper and Replay Gain tool";
71+ longDescription = ''
72+ soundKonverter is a frontend to various audio converters.
73+
74+ The key features are:
75+ - Audio file conversion
76+ - Replay Gain calculation
77+ - CD ripping
78+
79+ soundKonverter supports reading and writing tags and covers for many formats, so they are preserved when converting files.
80+
81+ It is extendable by plugins and supports many backends including:
82+
83+ - Audio file conversion
84+ Backends: faac, faad, ffmpeg, flac, lame, mplayer, neroaac, timidity, fluidsynth, vorbistools, opustools, sox, twolame,
85+ flake, mac, shorten, wavpack and speex
86+ Formats: ogg vorbis, mp3, flac, wma, aac, ac3, opus, alac, mp2, als, amr nb, amr wb, ape, speex, m4a, mp1, musepack shorten,
87+ tta, wavpack, ra, midi, mod, 3gp, rm, avi, mkv, ogv, mpeg, mov, mp4, flv, wmv and rv
88+
89+ - Replay Gain calculation
90+ Backends: aacgain, metaflac, mp3gain, vorbisgain, wvgain, mpcgain
91+ Formats: aac, mp3, flac, ogg vorbis, wavpack, musepack
92+
93+ - CD ripping
94+ Backends: cdparanoia
95+ '';
96+ };
97+}
pkgs/applications/editors/jetbrains/default.nix+20−20
@@ -250,12 +250,12 @@ in
250250
251251 clion = buildClion rec {
252252 name = "clion-${version}";
253− version = "2019.1"; /* updated by script */
253+ version = "2019.1.2"; /* updated by script */
254254 description = "C/C++ IDE. New. Intelligent. Cross-platform";
255255 license = stdenv.lib.licenses.unfree;
256256 src = fetchurl {
257257 url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
258− sha256 = "1rlqnnv6b7lg18si31zd97ixnslwp8j6imkkjq0j5n9sydsr8xzj"; /* updated by script */
258+ sha256 = "0x4fmbarckw60issrwk3cd65x5xjkxwrw4xq1qgfzmxfqhzbzvz8"; /* updated by script */
259259 };
260260 wmClass = "jetbrains-clion";
261261 update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
@@ -263,12 +263,12 @@ in
263263
264264 datagrip = buildDataGrip rec {
265265 name = "datagrip-${version}";
266− version = "2018.3.4"; /* updated by script */
266+ version = "2019.1.1"; /* updated by script */
267267 description = "Your Swiss Army Knife for Databases and SQL";
268268 license = stdenv.lib.licenses.unfree;
269269 src = fetchurl {
270270 url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
271− sha256 = "10sw41kkf2k60xjpwgc73i182y7px3dmqz2awnrl4gffdb9jgzmy"; /* updated by script */
271+ sha256 = "0w6hasb8vcbxdqmb0pngwr2jg0w14prqb4v7blraa5jf1xyyiayd"; /* updated by script */
272272 };
273273 wmClass = "jetbrains-datagrip";
274274 update-channel = "DataGrip RELEASE";
@@ -276,12 +276,12 @@ in
276276
277277 goland = buildGoland rec {
278278 name = "goland-${version}";
279− version = "2019.1"; /* updated by script */
279+ version = "2019.1.1"; /* updated by script */
280280 description = "Up and Coming Go IDE";
281281 license = stdenv.lib.licenses.unfree;
282282 src = fetchurl {
283283 url = "https://download.jetbrains.com/go/${name}.tar.gz";
284− sha256 = "0aq3x5aixh86h1zvvwrbr2f1nnqdpfvlsadd2ckmf5s5kghvg5r9"; /* updated by script */
284+ sha256 = "0b8msq0raczm657rhbyqi702zv4zs66yd6dcm7s0l54hnas5ia9r"; /* updated by script */
285285 };
286286 wmClass = "jetbrains-goland";
287287 update-channel = "GoLand RELEASE";
@@ -289,12 +289,12 @@ in
289289
290290 idea-community = buildIdea rec {
291291 name = "idea-community-${version}";
292− version = "2019.1"; /* updated by script */
292+ version = "2019.1.1"; /* updated by script */
293293 description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
294294 license = stdenv.lib.licenses.asl20;
295295 src = fetchurl {
296296 url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
297− sha256 = "0zyw88dd2v4igp080l99cyq6h0bmyri8a50fjp69ripiz9qaawx1"; /* updated by script */
297+ sha256 = "0xbdn1q0a2ksb7z26n2l889m6z0lh3b45clya7rdfl4jv2gkiaaq"; /* updated by script */
298298 };
299299 wmClass = "jetbrains-idea-ce";
300300 update-channel = "IntelliJ IDEA RELEASE";
@@ -302,12 +302,12 @@ in
302302
303303 idea-ultimate = buildIdea rec {
304304 name = "idea-ultimate-${version}";
305− version = "2019.1"; /* updated by script */
305+ version = "2019.1.1"; /* updated by script */
306306 description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
307307 license = stdenv.lib.licenses.unfree;
308308 src = fetchurl {
309309 url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz";
310− sha256 = "0fsdf090cwwrsq3azknc9rpwwsl71cvsx4flivnqwfakb6rh4f1j"; /* updated by script */
310+ sha256 = "1pglvklbj4w6pmc7ffbjwwfqh7fad54yfx87m9plqk80rmpjzxfi"; /* updated by script */
311311 };
312312 wmClass = "jetbrains-idea";
313313 update-channel = "IntelliJ IDEA RELEASE";
@@ -315,12 +315,12 @@ in
315315
316316 phpstorm = buildPhpStorm rec {
317317 name = "phpstorm-${version}";
318− version = "2019.1"; /* updated by script */
318+ version = "2019.1.1"; /* updated by script */
319319 description = "Professional IDE for Web and PHP developers";
320320 license = stdenv.lib.licenses.unfree;
321321 src = fetchurl {
322322 url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
323− sha256 = "1bv2a16wsc9j82w14qfrfjgszwkihk0jwp8bp8z9618q04c8vmgf"; /* updated by script */
323+ sha256 = "100whawwj1kiq870dsmkx33qv5ygjpr9977jkbavhqjnc1zhwl1r"; /* updated by script */
324324 };
325325 wmClass = "jetbrains-phpstorm";
326326 update-channel = "PhpStorm RELEASE";
@@ -328,12 +328,12 @@ in
328328
329329 pycharm-community = buildPycharm rec {
330330 name = "pycharm-community-${version}";
331− version = "2019.1"; /* updated by script */
331+ version = "2019.1.1"; /* updated by script */
332332 description = "PyCharm Community Edition";
333333 license = stdenv.lib.licenses.asl20;
334334 src = fetchurl {
335335 url = "https://download.jetbrains.com/python/${name}.tar.gz";
336− sha256 = "173qm2g6pjga2jlw8sa59bxw543b56r56ikqwv2wp0jq5z61v26f"; /* updated by script */
336+ sha256 = "1zz579kmskvgsjv2lriglxkdlx33mmfv2liw1b9iilspga59izld"; /* updated by script */
337337 };
338338 wmClass = "jetbrains-pycharm-ce";
339339 update-channel = "PyCharm RELEASE";
@@ -341,12 +341,12 @@ in
341341
342342 pycharm-professional = buildPycharm rec {
343343 name = "pycharm-professional-${version}";
344− version = "2019.1"; /* updated by script */
344+ version = "2019.1.1"; /* updated by script */
345345 description = "PyCharm Professional Edition";
346346 license = stdenv.lib.licenses.unfree;
347347 src = fetchurl {
348348 url = "https://download.jetbrains.com/python/${name}.tar.gz";
349− sha256 = "0gjphdzdxgvflkzaakf3c1wnig86lxhxyx6xk6rg40yj6f2hzi47"; /* updated by script */
349+ sha256 = "0hcij77j4zb1y1vls5nvxq3lmqrbppm3ml0p9nagbjipy2rmp838"; /* updated by script */
350350 };
351351 wmClass = "jetbrains-pycharm";
352352 update-channel = "PyCharm RELEASE";
@@ -367,12 +367,12 @@ in
367367
368368 ruby-mine = buildRubyMine rec {
369369 name = "ruby-mine-${version}";
370− version = "2018.3.5"; /* updated by script */
370+ version = "2019.1.1"; /* updated by script */
371371 description = "The Most Intelligent Ruby and Rails IDE";
372372 license = stdenv.lib.licenses.unfree;
373373 src = fetchurl {
374374 url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
375− sha256 = "1gykag8fsfqxv0d6fipn18hhpdvn4qxva2kkb0v330vp73wm2i2w"; /* updated by script */
375+ sha256 = "0asg0x8xcjyydy0p1fdlhpcwfckdf9719460pv5zwc7yfd8z61yd"; /* updated by script */
376376 };
377377 wmClass = "jetbrains-rubymine";
378378 update-channel = "RubyMine RELEASE";
@@ -380,12 +380,12 @@ in
380380
381381 webstorm = buildWebStorm rec {
382382 name = "webstorm-${version}";
383− version = "2019.1"; /* updated by script */
383+ version = "2019.1.1"; /* updated by script */
384384 description = "Professional IDE for Web and JavaScript development";
385385 license = stdenv.lib.licenses.unfree;
386386 src = fetchurl {
387387 url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
388− sha256 = "0r6a9g8ydnxf805gn2wajnwkcyfn0xksbsrs8wq6j4ghipkhscxj"; /* updated by script */
388+ sha256 = "05lrsjk45l4xqjyinsqlnfr36qnv1nrgg2sskgi0bfjbdrfv9xrv"; /* updated by script */
389389 };
390390 wmClass = "jetbrains-webstorm";
391391 update-channel = "WebStorm RELEASE";
pkgs/applications/misc/1password/default.nix+3−3
@@ -7,19 +7,19 @@ stdenv.mkDerivation rec {
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 = "14qx69fq1a3h93h167nhwp6gxka8r34295p82kim9grijrx5zz5f";
10+ sha256 = "1jwkvj6xxfgn08j6wzwcra3p1dp04vblzr2g5s1y3bj4r7gs4gax";
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 = "1jh1sk07k3whbr0rvc4kf221wskcdbk0zpxaj49qbwq1d89cjnpg";
16+ sha256 = "1svic2b2msbwzfx3qxfglxp0jjzy3p3v78273wab942zh822ld8b";
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 = "1s6gw2qwsbhj4z9nrwrxs776y45ingpfp9533qz0gc1pk7ia99js";
22+ sha256 = "03bnwn06066hvp0n30260mhvkjr60dl93nj9l7p6a0ndcv7w77r8";
2323 stripRoot = false;
2424 }
2525 else throw "Architecture not supported";
pkgs/applications/misc/dbeaver/default.nix+2−2
@@ -7,7 +7,7 @@
77
88stdenv.mkDerivation rec {
99 name = "dbeaver-ce-${version}";
10− version = "6.0.2";
10+ version = "6.0.3";
1111
1212 desktopItem = makeDesktopItem {
1313 name = "dbeaver";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030
3131 src = fetchurl {
3232 url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
33− sha256 = "12zqz9zi4jryvlk1rjxfl4jdj4a6n00018yyk95glfdrxda2xyib";
33+ sha256 = "0pcf8p9nmbj6kf32zrjjrfyxb07x37h56zm3s5gdf1jk2hvrarvl";
3434 };
3535
3636 installPhase = ''
pkgs/applications/misc/evopedia/default.nixdeleted−30
@@ -1,30 +0,0 @@
1−{ stdenv, fetchFromGitHub, bzip2, qt4, qmake4Hook, libX11 }:
2−
3−stdenv.mkDerivation rec {
4− name = "evopedia-${version}";
5− version = "0.4.4";
6−
7− src = fetchFromGitHub {
8− owner = "evopedia";
9− repo = "evopedia_qt";
10− rev = "v${version}";
11− sha256 = "0snp5qiywj306kfaywvkl7j34fivgxcb8dids1lzmbqq5xcpqqvc";
12− };
13−
14− buildInputs = [ bzip2 qt4 libX11 ];
15− nativeBuildInputs = [ qmake4Hook ];
16−
17− postInstall = ''
18− # Patch the `evopedia.desktop' file.
19− substituteInPlace $out/share/applications/evopedia.desktop \
20− --replace '/usr/bin/evopedia' $out/bin/evopedia
21− '';
22−
23− meta = with stdenv.lib; {
24− description = "Offline Wikipedia Viewer";
25− homepage = http://www.evopedia.info;
26− license = licenses.gpl3Plus;
27− maintainers = [ maintainers.qknight ];
28− platforms = platforms.linux;
29− };
30−}
pkgs/applications/misc/font-manager/correct-post-install.patchdeleted−13
@@ -1,13 +0,0 @@
1−diff --git a/meson_post_install.py b/meson_post_install.py
2−index 8d00e70..c28d19e 100644
3−--- a/meson_post_install.py
4−+++ b/meson_post_install.py
5−@@ -7,7 +7,7 @@ prefix = environ['MESON_INSTALL_PREFIX']
6− data_dir = path.join(prefix, 'share')
7− schema_dir = path.join(data_dir, 'glib-2.0', 'schemas')
8−
9−-if not environ['DESTDIR']:
10−+if not environ.get('DESTDIR'):
11− print('Compiling gsettings schemas...')
12− call(['glib-compile-schemas', schema_dir])
13− print('Updating desktop database...')
pkgs/applications/misc/font-manager/default.nix+2−6
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
1010 src = fetchFromGitHub {
1111 owner = "FontManager";
1212 repo = "master";
13− rev = "cc057f3e93f5b1033b04decee03cdb44177e48b3";
14− sha256 = "1xg80bi2465p5r8zfmb34iga9yqs3is1k4f13hw0ligvhb58gas0";
13+ rev = version;
14+ sha256 = "16hma8rrkam6ngn5vbdaryn31vdixvii6920g9z928gylz9xkd3g";
1515 };
1616
1717 nativeBuildInputs = [
@@ -38,10 +38,6 @@ stdenv.mkDerivation rec {
3838 gnome3.adwaita-icon-theme
3939 ];
4040
41− patches = [
42− ./correct-post-install.patch
43− ];
44−
4541 mesonFlags = [
4642 "-Ddisable_pycompile=true"
4743 ];
pkgs/applications/misc/kanboard/default.nix+7−5
@@ -1,12 +1,14 @@
1−{ stdenv, fetchzip }:
1+{ stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
44 name = "kanboard-${version}";
5− version = "1.0.48";
5+ version = "1.2.9";
66
7− src = fetchzip {
8− url = "https://github.com/kanboard/kanboard/releases/download/v${version}/${name}.zip";
9− sha256 = "0ipyijlfcnfqlz9n20wcnaf9pw404a675x404pm9h2n4ld8x6m5v";
7+ src = fetchFromGitHub {
8+ owner = "kanboard";
9+ repo = "kanboard";
10+ rev = "v${version}";
11+ sha256 = "1hdr95cpxgdzrzhffs63gdl0g7122ma2zg8bkqwp42p5xphx0xan";
1012 };
1113
1214 dontBuild = true;
pkgs/applications/misc/kdeconnect/default.nix+3−4
@@ -20,12 +20,11 @@
2020
2121stdenv.mkDerivation rec {
2222 pname = "kdeconnect";
23− version = "1.3.3";
24− name = "${pname}-${version}";
23+ version = "1.3.4";
2524
2625 src = fetchurl {
27− url = "mirror://kde/stable/${pname}/${version}/src/${pname}-kde-${version}.tar.xz";
28− sha256 = "1vac0mw1myrswr61adv7lgif0c4wzw5wnsj0sqxj6msp4l4pfgsg";
26+ url = "mirror://kde/stable/${pname}/${version}/${pname}-kde-${version}.tar.xz";
27+ sha256 = "12ijvp86wm6k81dggypxh3c0dmwg5mczxy43ra8rgv63aavmf42h";
2928 };
3029
3130 buildInputs = [
pkgs/applications/misc/onboard/default.nix+7
@@ -1,5 +1,6 @@
11{ fetchurl
22, stdenv
3+, substituteAll
34, aspellWithDicts
45, at-spi2-core ? null
56, atspiSupport ? true
@@ -16,6 +17,7 @@
1617, intltool
1718, isocodes
1819, libcanberra-gtk3
20+, mousetweaks
1921, udev
2022, libxkbcommon
2123, pkgconfig
@@ -38,6 +40,10 @@ in python3.pkgs.buildPythonApplication rec {
3840 };
3941
4042 patches = [
43+ (substituteAll {
44+ src = ./fix-paths.patch;
45+ inherit mousetweaks;
46+ })
4147 # Allow loading hunspell dictionaries installed in NixOS system path
4248 ./hunspell-use-xdg-datadirs.patch
4349 ];
@@ -79,6 +85,7 @@ in python3.pkgs.buildPythonApplication rec {
7985 hunspell
8086 isocodes
8187 libcanberra-gtk3
88+ mousetweaks
8289 udev
8390 libxkbcommon
8491 wrapGAppsHook
pkgs/applications/misc/onboard/fix-paths.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/Onboard/ClickSimulator.py
2++++ b/Onboard/ClickSimulator.py
3+@@ -479,7 +479,7 @@ class CSMousetweaks(ConfigObject, ClickSimulator):
4+ self._daemon_running_notify_callbacks = []
5+
6+ def _launch_daemon(self, delay):
7+- self.launcher.launch_delayed(["mousetweaks"], delay)
8++ self.launcher.launch_delayed(["@mousetweaks@/bin/mousetweaks"], delay)
9+
10+ def _set_connection(self, active):
11+ ''' Update interface object, state and notify listeners '''
pkgs/applications/misc/zola/default.nix+3−3
@@ -2,16 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "zola";
5− version = "0.6.0";
5+ version = "0.7.0";
66
77 src = fetchFromGitHub {
88 owner = "getzola";
99 repo = pname;
1010 rev = "v${version}";
11− sha256 = "11y5gb6lx040ax4b16fr3whkj4vmv8hlkvb50h58gs77payglf6l";
11+ sha256 = "02lr1n3gf0agj8x451ndyvv16lq7rccazp4nz9zy0pzwxwrlwhra";
1212 };
1313
14− cargoSha256 = "19hqkj27dbsy4pi0i8mjjlhi4351yifvc6zln6scc2nd60p251h6";
14+ cargoSha256 = "003dhh41fh337k3djibpj6hyd16xprbgws3lbp7x37p4lx7qlnfy";
1515
1616 nativeBuildInputs = [ cmake pkgconfig ];
1717 buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices cf-private ];
pkgs/applications/networking/flent/default.nix+2
@@ -14,6 +14,8 @@ buildPythonApplication rec {
1414
1515 buildInputs = [ sphinx ];
1616
17+ checkInputs = [ procps ];
18+
1719 propagatedBuildInputs = [
1820 matplotlib
1921 procps
pkgs/applications/networking/instant-messengers/matrique/default.nixdeleted−55
@@ -1,55 +0,0 @@
1−{ stdenv, fetchFromGitLab, fetchFromGitHub, qmake
2−, qtquickcontrols2, qtmultimedia, qtgraphicaleffects
3−, libqmatrixclient
4−}:
5−
6−let
7−
8− libqmatrixclient_git = libqmatrixclient.overrideDerivation (oldAttrs: {
9− name = "libqmatrixclient-git-for-matrique";
10− src = fetchFromGitHub {
11− owner = "QMatrixClient";
12− repo = "libqmatrixclient";
13− rev = "d9ff200f";
14− sha256 = "0qxkffg1499wnn8rbndq6z51sz6hiij2pkp40cvs530sl0zg0c69";
15− };
16− });
17−
18− SortFilterProxyModel = fetchFromGitLab {
19− owner = "b0";
20− repo = "SortFilterProxyModel";
21− rev = "3c2c125c";
22− sha256 = "1494dvq7kiq0ymf5f9hr47pw80zv3m3dncnaw1pnzs7mhkf2s5fr";
23− };
24−
25−in stdenv.mkDerivation rec {
26− name = "matrique-${version}";
27− version = "250";
28−
29− src = fetchFromGitLab {
30− owner = "b0";
31− repo = "matrique";
32− rev = version;
33− sha256 = "0l7ag2q3l8ixczwc43igvkkl81g5s5j032gzizmgpzb1bjpdgry7";
34− };
35−
36− postPatch = ''
37− rm -r include/*
38− ln -sf ${libqmatrixclient_git.src} include/libqmatrixclient
39− ln -sf ${SortFilterProxyModel} include/SortFilterProxyModel
40− '';
41−
42− nativeBuildInputs = [ qmake ];
43− buildInputs = [
44− qtquickcontrols2 qtmultimedia qtgraphicaleffects
45− libqmatrixclient_git
46− ];
47−
48− meta = with stdenv.lib; {
49− inherit (src.meta) homepage;
50− description = "A glossy client for Matrix";
51− maintainers = with maintainers; [ fpletz ];
52− license = licenses.gpl3;
53− platforms = platforms.linux;
54− };
55−}
pkgs/applications/networking/instant-messengers/quaternion/default.nix+33−27
@@ -1,36 +1,42 @@
11{ stdenv, lib, fetchFromGitHub, qtbase, qtquickcontrols, cmake
2−, qttools, libqmatrixclient }:
2+, qttools, qtmultimedia
3+, libqmatrixclient_0_4, libqmatrixclient_0_5 }:
34
4−stdenv.mkDerivation rec {
5− name = "quaternion-${version}";
6− version = "0.0.9.3";
5+let
6+ generic = version: sha256: prefix: library: stdenv.mkDerivation rec {
7+ name = "quaternion-${version}";
78
8− src = fetchFromGitHub {
9− owner = "QMatrixClient";
10− repo = "Quaternion";
11− rev = "v${version}";
12− sha256 = "1hr9zqf301rg583n9jv256vzj7y57d8qgayk7c723bfknf1s6hh3";
13− };
9+ src = fetchFromGitHub {
10+ owner = "QMatrixClient";
11+ repo = "Quaternion";
12+ rev = "${prefix}${version}";
13+ inherit sha256;
14+ };
1415
15− buildInputs = [ qtbase qtquickcontrols qttools libqmatrixclient ];
16+ buildInputs = [ qtbase qtmultimedia qtquickcontrols qttools library ];
1617
17− nativeBuildInputs = [ cmake ];
18+ nativeBuildInputs = [ cmake ];
1819
19− postInstall = if stdenv.isDarwin then ''
20− mkdir -p $out/Applications
21− mv $out/bin/quaternion.app $out/Applications
22− rmdir $out/bin || :
23− '' else ''
24− substituteInPlace $out/share/applications/quaternion.desktop \
25− --replace 'Exec=quaternion' "Exec=$out/bin/quaternion"
26− '';
20+ postInstall = if stdenv.isDarwin then ''
21+ mkdir -p $out/Applications
22+ mv $out/bin/quaternion.app $out/Applications
23+ rmdir $out/bin || :
24+ '' else ''
25+ substituteInPlace $out/share/applications/quaternion.desktop \
26+ --replace 'Exec=quaternion' "Exec=$out/bin/quaternion"
27+ '';
2728
28− meta = with lib; {
29− description = "Cross-platform desktop IM client for the Matrix protocol";
30− homepage = https://matrix.org/docs/projects/client/quaternion.html;
31− license = licenses.gpl3;
32− maintainers = with maintainers; [ peterhoeg ];
33− inherit (qtbase.meta) platforms;
34− inherit version;
29+ meta = with lib; {
30+ description = "Cross-platform desktop IM client for the Matrix protocol";
31+ homepage = https://matrix.org/docs/projects/client/quaternion.html;
32+ license = licenses.gpl3;
33+ maintainers = with maintainers; [ peterhoeg ];
34+ inherit (qtbase.meta) platforms;
35+ inherit version;
36+ };
3537 };
38+
39+in rec {
40+ quaternion = generic "0.0.9.3" "1hr9zqf301rg583n9jv256vzj7y57d8qgayk7c723bfknf1s6hh3" "v" libqmatrixclient_0_4;
41+ quaternion-git = generic "0.0.9.4-rc3" "1fc3ya9fr3zw1cx7565s2rswzry98avslrryvdi0qa9yn0m3sw7p" "" libqmatrixclient_0_5;
3642}
pkgs/applications/networking/ipfs/default.nix+4−9
@@ -1,24 +1,19 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
22
33buildGoPackage rec {
44 name = "ipfs-${version}";
5− version = "0.4.19";
5+ version = "0.4.20";
66 rev = "v${version}";
77
88 goPackagePath = "github.com/ipfs/go-ipfs";
99
10− extraSrcPaths = [
11− (fetchgx {
12− inherit name src;
13− sha256 = "0bj2kzxjssp7szp1wr9pp08bsi55jgf0k7gi4h70phlib2q673j2";
14− })
15− ];
10+ goDeps = ./deps.nix;
1611
1712 src = fetchFromGitHub {
1813 owner = "ipfs";
1914 repo = "go-ipfs";
2015 inherit rev;
21− sha256 = "061mgkawimhw3gq506h8m6kw50a2v26qysa5kc5jdqgaqx5yvqh4";
16+ sha256 = "1xnjn4pcgknywfndrp2zwln3v1msaffhhfiym5mdz543rsxav0yp";
2217 };
2318
2419 meta = with stdenv.lib; {
pkgs/applications/networking/ipfs/deps.nixnew file+2190
@@ -0,0 +1,2190 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2+[
3+ {
4+ goPackagePath = "github.com/dgraph-io/badger";
5+ fetch = {
6+ type = "git";
7+ url = "https://github.com/dgraph-io/badger";
8+ rev = "1fcc96ec";
9+ sha256 = "09sdr64ay8wbw4m8a7dppha357wx2395vpni554353v7b22gyk59";
10+ };
11+ }
12+ {
13+ goPackagePath = "bazil.org/fuse";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/bazil/fuse";
17+ rev = "65cc252bf669";
18+ sha256 = "0qjm9yrhc5h632wwhklqzhalid4lxcm9iwsqs3jahp303rm27vpk";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/AndreasBriese/bbloom";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/AndreasBriese/bbloom";
26+ rev = "343706a395b7";
27+ sha256 = "0pz4wph915gm2b0admq4bc5d2ir218s954z27gmc86l0rik13a5d";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/Kubuxu/go-os-helper";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/Kubuxu/go-os-helper";
35+ rev = "v0.0.1";
36+ sha256 = "08v88ylhvv65hdqr2pp94qf2ncppzib5sx66fv432vhgkz00ddyr";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/Kubuxu/gocovmerge";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/Kubuxu/gocovmerge";
44+ rev = "7ecaa51963cd";
45+ sha256 = "0xbx83h44hsiidmr69sn4k0zn7bmbwcna76fn0akjb5il1r4bjyr";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/Stebalien/go-bitfield";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/Stebalien/go-bitfield";
53+ rev = "076a62f9ce6e";
54+ sha256 = "17iqkx2dyh6ykgapgvbyrm8c15qw24pspjhi3ww2sx4y0qhkycf4";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/aead/siphash";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/aead/siphash";
62+ rev = "v1.0.1";
63+ sha256 = "01kd1z82sc4nh3nj9c25aryyp396s7jrqc2kz9d7qq1vy2hdbznc";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/beorn7/perks";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/beorn7/perks";
71+ rev = "3a771d992973";
72+ sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
73+ };
74+ }
75+ {
76+ goPackagePath = "github.com/blang/semver";
77+ fetch = {
78+ type = "git";
79+ url = "https://github.com/blang/semver";
80+ rev = "v3.5.1";
81+ sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
82+ };
83+ }
84+ {
85+ goPackagePath = "github.com/bren2010/proquint";
86+ fetch = {
87+ type = "git";
88+ url = "https://github.com/bren2010/proquint";
89+ rev = "38337c27106d";
90+ sha256 = "1ws3hb27n4c4mfp2pfj9nc59ch6dv93333a83n7qazf74lhf8ixl";
91+ };
92+ }
93+ {
94+ goPackagePath = "github.com/btcsuite/btcd";
95+ fetch = {
96+ type = "git";
97+ url = "https://github.com/btcsuite/btcd";
98+ rev = "306aecffea32";
99+ sha256 = "130np0bfic9q7ga8a9y5gd3amy6mgfb7igd3lgicikjclfhiqwf4";
100+ };
101+ }
102+ {
103+ goPackagePath = "github.com/btcsuite/btclog";
104+ fetch = {
105+ type = "git";
106+ url = "https://github.com/btcsuite/btclog";
107+ rev = "84c8d2346e9f";
108+ sha256 = "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk";
109+ };
110+ }
111+ {
112+ goPackagePath = "github.com/btcsuite/btcutil";
113+ fetch = {
114+ type = "git";
115+ url = "https://github.com/btcsuite/btcutil";
116+ rev = "4c204d697803";
117+ sha256 = "16s27k8xnvhlpv0ibs60sqgnyn3zhnvprv1647svmzs3rwcsqgvp";
118+ };
119+ }
120+ {
121+ goPackagePath = "github.com/btcsuite/go-socks";
122+ fetch = {
123+ type = "git";
124+ url = "https://github.com/btcsuite/go-socks";
125+ rev = "4720035b7bfd";
126+ sha256 = "18cv2icj059lq4s99p6yh91hlas5f2gi3f1p4c10sjgwrs933d7b";
127+ };
128+ }
129+ {
130+ goPackagePath = "github.com/btcsuite/goleveldb";
131+ fetch = {
132+ type = "git";
133+ url = "https://github.com/btcsuite/goleveldb";
134+ rev = "7834afc9e8cd";
135+ sha256 = "0gy156sn2cy2maii3p058f7q60gjdbmba34i9qvk8msxlg7hlfjv";
136+ };
137+ }
138+ {
139+ goPackagePath = "github.com/btcsuite/snappy-go";
140+ fetch = {
141+ type = "git";
142+ url = "https://github.com/btcsuite/snappy-go";
143+ rev = "0bdef8d06723";
144+ sha256 = "00i5fsb1wf2dwal1jfwbpk9a7cbzjyg7rnz2xib3qfz9h82kd4jw";
145+ };
146+ }
147+ {
148+ goPackagePath = "github.com/btcsuite/websocket";
149+ fetch = {
150+ type = "git";
151+ url = "https://github.com/btcsuite/websocket";
152+ rev = "31079b680792";
153+ sha256 = "0xpkf257ml6fpfdgv7hxxc41n0d5yxxm3njm50qpzp7j71l9cjwa";
154+ };
155+ }
156+ {
157+ goPackagePath = "github.com/btcsuite/winsvc";
158+ fetch = {
159+ type = "git";
160+ url = "https://github.com/btcsuite/winsvc";
161+ rev = "v1.0.0";
162+ sha256 = "0nsw8y86a5hzr2a3j6ch9myrpccj5bnsgaxpgajhzfk5d31xlw1z";
163+ };
164+ }
165+ {
166+ goPackagePath = "github.com/cenkalti/backoff";
167+ fetch = {
168+ type = "git";
169+ url = "https://github.com/cenkalti/backoff";
170+ rev = "v2.1.1";
171+ sha256 = "1mf4lsl3rbb8kk42x0mrhzzy4ikqy0jf6nxpzhkr02rdgwh6rjk8";
172+ };
173+ }
174+ {
175+ goPackagePath = "github.com/cheekybits/genny";
176+ fetch = {
177+ type = "git";
178+ url = "https://github.com/cheekybits/genny";
179+ rev = "v1.0.0";
180+ sha256 = "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87";
181+ };
182+ }
183+ {
184+ goPackagePath = "github.com/coreos/go-semver";
185+ fetch = {
186+ type = "git";
187+ url = "https://github.com/coreos/go-semver";
188+ rev = "v0.2.0";
189+ sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0";
190+ };
191+ }
192+ {
193+ goPackagePath = "github.com/cskr/pubsub";
194+ fetch = {
195+ type = "git";
196+ url = "https://github.com/cskr/pubsub";
197+ rev = "v1.0.2";
198+ sha256 = "0wr8cg5axrlz9xg33r9dqvkp5ix9q8h8c7qw78mj22qprwh3zj9f";
199+ };
200+ }
201+ {
202+ goPackagePath = "github.com/davecgh/go-spew";
203+ fetch = {
204+ type = "git";
205+ url = "https://github.com/davecgh/go-spew";
206+ rev = "v1.1.1";
207+ sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
208+ };
209+ }
210+ {
211+ goPackagePath = "github.com/davidlazar/go-crypto";
212+ fetch = {
213+ type = "git";
214+ url = "https://github.com/davidlazar/go-crypto";
215+ rev = "dcfb0a7ac018";
216+ sha256 = "1lir8slwykn0h5bg5lj22qsdg4kw09kcqlks974g1428d42rqlcp";
217+ };
218+ }
219+ {
220+ goPackagePath = "github.com/dgryski/go-farm";
221+ fetch = {
222+ type = "git";
223+ url = "https://github.com/dgryski/go-farm";
224+ rev = "3adb47b1fb0f";
225+ sha256 = "04bkvr6xvfh83cn83gqzyxx45wbk3j1bdpgrck0b424x48z2x4jh";
226+ };
227+ }
228+ {
229+ goPackagePath = "github.com/dustin/go-humanize";
230+ fetch = {
231+ type = "git";
232+ url = "https://github.com/dustin/go-humanize";
233+ rev = "v1.0.0";
234+ sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
235+ };
236+ }
237+ {
238+ goPackagePath = "github.com/elgris/jsondiff";
239+ fetch = {
240+ type = "git";
241+ url = "https://github.com/elgris/jsondiff";
242+ rev = "765b5c24c302";
243+ sha256 = "0jm1q0s531hmkqdx8jqphfpmzysn44aphkpwlzqwp3hkz89g4d4q";
244+ };
245+ }
246+ {
247+ goPackagePath = "github.com/facebookgo/atomicfile";
248+ fetch = {
249+ type = "git";
250+ url = "https://github.com/facebookgo/atomicfile";
251+ rev = "2de1f203e7d5";
252+ sha256 = "1vsx6r6y601jxvjqc8msbpr5v1037dfxxdd8h1q3s8wm6xhvj2v6";
253+ };
254+ }
255+ {
256+ goPackagePath = "github.com/fatih/color";
257+ fetch = {
258+ type = "git";
259+ url = "https://github.com/fatih/color";
260+ rev = "v1.7.0";
261+ sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
262+ };
263+ }
264+ {
265+ goPackagePath = "github.com/fsnotify/fsnotify";
266+ fetch = {
267+ type = "git";
268+ url = "https://github.com/fsnotify/fsnotify";
269+ rev = "v1.4.7";
270+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
271+ };
272+ }
273+ {
274+ goPackagePath = "github.com/go-check/check";
275+ fetch = {
276+ type = "git";
277+ url = "https://github.com/go-check/check";
278+ rev = "788fd7840127";
279+ sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
280+ };
281+ }
282+ {
283+ goPackagePath = "github.com/gogo/protobuf";
284+ fetch = {
285+ type = "git";
286+ url = "https://github.com/gogo/protobuf";
287+ rev = "v1.2.1";
288+ sha256 = "06yqa6h0kw3gr5pc3qmas7f7435a96zf7iw7p0l00r2hqf6fqq6m";
289+ };
290+ }
291+ {
292+ goPackagePath = "github.com/golang/mock";
293+ fetch = {
294+ type = "git";
295+ url = "https://github.com/golang/mock";
296+ rev = "v1.2.0";
297+ sha256 = "12ddj2g8ab87id6n2n67vnbhq6p8dvgsq1pzpqfriym4dk8w54fg";
298+ };
299+ }
300+ {
301+ goPackagePath = "github.com/golang/protobuf";
302+ fetch = {
303+ type = "git";
304+ url = "https://github.com/golang/protobuf";
305+ rev = "v1.3.0";
306+ sha256 = "0dm1ip7742qz2k1cr6ywy0av6mpcxd2kc4ayfqi8cxz3ai7zhbdr";
307+ };
308+ }
309+ {
310+ goPackagePath = "github.com/golang/snappy";
311+ fetch = {
312+ type = "git";
313+ url = "https://github.com/golang/snappy";
314+ rev = "2e65f85255db";
315+ sha256 = "05w6mpc4qcy0pv8a2bzng8nf4s5rf5phfang4jwy9rgf808q0nxf";
316+ };
317+ }
318+ {
319+ goPackagePath = "github.com/google/go-cmp";
320+ fetch = {
321+ type = "git";
322+ url = "https://github.com/google/go-cmp";
323+ rev = "v0.2.0";
324+ sha256 = "1fbv0x27k9sn8svafc0hjwsnckk864lv4yi7bvzrxvmd3d5hskds";
325+ };
326+ }
327+ {
328+ goPackagePath = "github.com/google/uuid";
329+ fetch = {
330+ type = "git";
331+ url = "https://github.com/google/uuid";
332+ rev = "v1.1.1";
333+ sha256 = "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb";
334+ };
335+ }
336+ {
337+ goPackagePath = "github.com/gopherjs/gopherjs";
338+ fetch = {
339+ type = "git";
340+ url = "https://github.com/gopherjs/gopherjs";
341+ rev = "0766667cb4d1";
342+ sha256 = "13pfc9sxiwjky2lm1xb3i3lcisn8p6mgjk2d927l7r92ysph8dmw";
343+ };
344+ }
345+ {
346+ goPackagePath = "github.com/gorilla/websocket";
347+ fetch = {
348+ type = "git";
349+ url = "https://github.com/gorilla/websocket";
350+ rev = "v1.4.0";
351+ sha256 = "00i4vb31nsfkzzk7swvx3i75r2d960js3dri1875vypk3v2s0pzk";
352+ };
353+ }
354+ {
355+ goPackagePath = "github.com/gxed/go-shellwords";
356+ fetch = {
357+ type = "git";
358+ url = "https://github.com/gxed/go-shellwords";
359+ rev = "v1.0.3";
360+ sha256 = "1pg7pl25wvpl2dbpyrv9p1r7prnqimxlf6136vn0dfm54j2x4mnr";
361+ };
362+ }
363+ {
364+ goPackagePath = "github.com/gxed/hashland";
365+ fetch = {
366+ type = "git";
367+ url = "https://github.com/gxed/hashland";
368+ rev = "v0.0.1";
369+ sha256 = "1b921dh9i6zw7y8jfzwvrmdbhnwid12a5z1zjawslfq2vvsajwmm";
370+ };
371+ }
372+ {
373+ goPackagePath = "github.com/gxed/pubsub";
374+ fetch = {
375+ type = "git";
376+ url = "https://github.com/gxed/pubsub";
377+ rev = "26ebdf44f824";
378+ sha256 = "0q0r6bvimjxwi3yd0w2wjkx1x8m0d9pwi25b7n4s4g10h36rabjp";
379+ };
380+ }
381+ {
382+ goPackagePath = "github.com/hashicorp/errwrap";
383+ fetch = {
384+ type = "git";
385+ url = "https://github.com/hashicorp/errwrap";
386+ rev = "v1.0.0";
387+ sha256 = "0slfb6w3b61xz04r32bi0a1bygc82rjzhqkxj2si2074wynqnr1c";
388+ };
389+ }
390+ {
391+ goPackagePath = "github.com/hashicorp/go-multierror";
392+ fetch = {
393+ type = "git";
394+ url = "https://github.com/hashicorp/go-multierror";
395+ rev = "v1.0.0";
396+ sha256 = "00nyn8llqzbfm8aflr9kwsvpzi4kv8v45c141v88xskxp5xf6z49";
397+ };
398+ }
399+ {
400+ goPackagePath = "github.com/hashicorp/golang-lru";
401+ fetch = {
402+ type = "git";
403+ url = "https://github.com/hashicorp/golang-lru";
404+ rev = "v0.5.1";
405+ sha256 = "13f870cvk161bzjj6x41l45r5x9i1z9r2ymwmvm7768kg08zznpy";
406+ };
407+ }
408+ {
409+ goPackagePath = "github.com/hpcloud/tail";
410+ fetch = {
411+ type = "git";
412+ url = "https://github.com/hpcloud/tail";
413+ rev = "v1.0.0";
414+ sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
415+ };
416+ }
417+ {
418+ goPackagePath = "github.com/hsanjuan/go-libp2p-gostream";
419+ fetch = {
420+ type = "git";
421+ url = "https://github.com/hsanjuan/go-libp2p-gostream";
422+ rev = "v0.0.31";
423+ sha256 = "0q4k1ahns9j061iajp8525330mwgbdv5mnyzldpg64r5c2igp9qf";
424+ };
425+ }
426+ {
427+ goPackagePath = "github.com/hsanjuan/go-libp2p-http";
428+ fetch = {
429+ type = "git";
430+ url = "https://github.com/hsanjuan/go-libp2p-http";
431+ rev = "v0.0.2";
432+ sha256 = "0pq80qvhm2f53gx438ws5nnj1r2ara48radzxc5br57scp2bjlgk";
433+ };
434+ }
435+ {
436+ goPackagePath = "github.com/huin/goupnp";
437+ fetch = {
438+ type = "git";
439+ url = "https://github.com/huin/goupnp";
440+ rev = "v1.0.0";
441+ sha256 = "12f7rigf1f4xh1an1qis61xkj5s1r8ygk48zahf3n4gaqxmgm7i6";
442+ };
443+ }
444+ {
445+ goPackagePath = "github.com/huin/goutil";
446+ fetch = {
447+ type = "git";
448+ url = "https://github.com/huin/goutil";
449+ rev = "1ca381bf3150";
450+ sha256 = "0alhyacsfqic2wxyqn4gvk9wzjl4pkmy8rhvqjk84xsghgx5xf12";
451+ };
452+ }
453+ {
454+ goPackagePath = "github.com/ipfs/bbloom";
455+ fetch = {
456+ type = "git";
457+ url = "https://github.com/ipfs/bbloom";
458+ rev = "v0.0.1";
459+ sha256 = "0ji1dgxvg338wx2agh0ld9x6wwr6zc8zwjxs5mwdb99p56dc34nz";
460+ };
461+ }
462+ {
463+ goPackagePath = "github.com/ipfs/dir-index-html";
464+ fetch = {
465+ type = "git";
466+ url = "https://github.com/ipfs/dir-index-html";
467+ rev = "v1.0.3";
468+ sha256 = "1asd58w53i97jxk2r1asy8h5lgq0086lnjq3gi7fs20xvgv20bfy";
469+ };
470+ }
471+ {
472+ goPackagePath = "github.com/ipfs/go-bitswap";
473+ fetch = {
474+ type = "git";
475+ url = "https://github.com/ipfs/go-bitswap";
476+ rev = "v0.0.4";
477+ sha256 = "0998qyxzp5frmkf5kjqxrhdwl4c0i7a2kh24rldix934afbmfz3r";
478+ };
479+ }
480+ {
481+ goPackagePath = "github.com/ipfs/go-block-format";
482+ fetch = {
483+ type = "git";
484+ url = "https://github.com/ipfs/go-block-format";
485+ rev = "v0.0.2";
486+ sha256 = "1j73r946z0gs98a2r1z7q3vkpk8v7wqwc68x8c3ngiff9sijq1kf";
487+ };
488+ }
489+ {
490+ goPackagePath = "github.com/ipfs/go-blockservice";
491+ fetch = {
492+ type = "git";
493+ url = "https://github.com/ipfs/go-blockservice";
494+ rev = "v0.0.3";
495+ sha256 = "1c2fnrqlvg16xf7jla1x38qi56yw61w1ms70kghhafmw008bgkvn";
496+ };
497+ }
498+ {
499+ goPackagePath = "github.com/ipfs/go-cid";
500+ fetch = {
501+ type = "git";
502+ url = "https://github.com/ipfs/go-cid";
503+ rev = "v0.0.1";
504+ sha256 = "11hdrac0wf82m69fkpwby1mg2k7swmw884rv3250i0kymwi93lak";
505+ };
506+ }
507+ {
508+ goPackagePath = "github.com/ipfs/go-cidutil";
509+ fetch = {
510+ type = "git";
511+ url = "https://github.com/ipfs/go-cidutil";
512+ rev = "v0.0.1";
513+ sha256 = "00bdn7cg7rg8amh8zaqakf6phd14sn2z9kw73cscfhpyg9di1p9h";
514+ };
515+ }
516+ {
517+ goPackagePath = "github.com/ipfs/go-datastore";
518+ fetch = {
519+ type = "git";
520+ url = "https://github.com/ipfs/go-datastore";
521+ rev = "v0.0.3";
522+ sha256 = "147nnmgb2b4iiky4hsn5wn4hk0kp39xs1yj3blm2gxxxkmjqsdk4";
523+ };
524+ }
525+ {
526+ goPackagePath = "github.com/ipfs/go-detect-race";
527+ fetch = {
528+ type = "git";
529+ url = "https://github.com/ipfs/go-detect-race";
530+ rev = "v0.0.1";
531+ sha256 = "0rqb0q66d7z852j5mhlr025dz698c44w014g4mx587amr1rvwqna";
532+ };
533+ }
534+ {
535+ goPackagePath = "github.com/ipfs/go-ds-badger";
536+ fetch = {
537+ type = "git";
538+ url = "https://github.com/ipfs/go-ds-badger";
539+ rev = "v0.0.3";
540+ sha256 = "0bl7zh8gmas54577v501n17z1254f1yaggkgslz9qjz4rihq4wq1";
541+ };
542+ }
543+ {
544+ goPackagePath = "github.com/ipfs/go-ds-flatfs";
545+ fetch = {
546+ type = "git";
547+ url = "https://github.com/ipfs/go-ds-flatfs";
548+ rev = "v0.0.2";
549+ sha256 = "1z6z717pkv2yqb0wdhw73vir253305wkqcg5pln8km8kl2fjwwyi";
550+ };
551+ }
552+ {
553+ goPackagePath = "github.com/ipfs/go-ds-leveldb";
554+ fetch = {
555+ type = "git";
556+ url = "https://github.com/ipfs/go-ds-leveldb";
557+ rev = "v0.0.2";
558+ sha256 = "0x70z31g0l04lm6nsv1p0wnhdwqvck2pzy59ygfxk707n0x5vqpc";
559+ };
560+ }
561+ {
562+ goPackagePath = "github.com/ipfs/go-ds-measure";
563+ fetch = {
564+ type = "git";
565+ url = "https://github.com/ipfs/go-ds-measure";
566+ rev = "v0.0.1";
567+ sha256 = "1ndb10x5g95g8kapfr116qa3cav2xcwwm4dppp99bi15kq1yk742";
568+ };
569+ }
570+ {
571+ goPackagePath = "github.com/ipfs/go-fs-lock";
572+ fetch = {
573+ type = "git";
574+ url = "https://github.com/ipfs/go-fs-lock";
575+ rev = "v0.0.1";
576+ sha256 = "02mr83xkflf0sjrii11pd9k4a4545jggqgq6pdpsmkx2r3b01j2q";
577+ };
578+ }
579+ {
580+ goPackagePath = "github.com/ipfs/go-ipfs-addr";
581+ fetch = {
582+ type = "git";
583+ url = "https://github.com/ipfs/go-ipfs-addr";
584+ rev = "v0.0.1";
585+ sha256 = "02f7vhf6kra7h58ny71zfb0k5q9mz6yplypnk36i6gv4fn5v9c5i";
586+ };
587+ }
588+ {
589+ goPackagePath = "github.com/ipfs/go-ipfs-blockstore";
590+ fetch = {
591+ type = "git";
592+ url = "https://github.com/ipfs/go-ipfs-blockstore";
593+ rev = "v0.0.1";
594+ sha256 = "0vw6i4n9xss21yri5wkj9pvzapm9yqgxh5l6vq2858n50xz72r31";
595+ };
596+ }
597+ {
598+ goPackagePath = "github.com/ipfs/go-ipfs-blocksutil";
599+ fetch = {
600+ type = "git";
601+ url = "https://github.com/ipfs/go-ipfs-blocksutil";
602+ rev = "v0.0.1";
603+ sha256 = "06bip9adk70i0g0hkf4aczvhkhd3s31x19668ls26dl62rq9h7di";
604+ };
605+ }
606+ {
607+ goPackagePath = "github.com/ipfs/go-ipfs-chunker";
608+ fetch = {
609+ type = "git";
610+ url = "https://github.com/ipfs/go-ipfs-chunker";
611+ rev = "v0.0.1";
612+ sha256 = "19p8a4xfi62fj5nw7ad81yppn0slq3pddk0gb0c3zydaxcjkhzw6";
613+ };
614+ }
615+ {
616+ goPackagePath = "github.com/ipfs/go-ipfs-cmdkit";
617+ fetch = {
618+ type = "git";
619+ url = "https://github.com/ipfs/go-ipfs-cmdkit";
620+ rev = "v0.0.1";
621+ sha256 = "1aqdpszvibkm1h7p852ajzb9gjgsz5jlk4j2s9j8q1wbmz3vslms";
622+ };
623+ }
624+ {
625+ goPackagePath = "github.com/ipfs/go-ipfs-cmds";
626+ fetch = {
627+ type = "git";
628+ url = "https://github.com/ipfs/go-ipfs-cmds";
629+ rev = "v0.0.5";
630+ sha256 = "1b302hvah5scykcjn5al9a6jf7sygqi6snd664a6sxf2xgpwk0s8";
631+ };
632+ }
633+ {
634+ goPackagePath = "github.com/ipfs/go-ipfs-config";
635+ fetch = {
636+ type = "git";
637+ url = "https://github.com/ipfs/go-ipfs-config";
638+ rev = "v0.0.1";
639+ sha256 = "055igsi5bv312p2590dvpr9d290c4c0cwbzvwv52l7j60v79vlkc";
640+ };
641+ }
642+ {
643+ goPackagePath = "github.com/ipfs/go-ipfs-delay";
644+ fetch = {
645+ type = "git";
646+ url = "https://github.com/ipfs/go-ipfs-delay";
647+ rev = "v0.0.1";
648+ sha256 = "0a5acj622sk1hibnh893mya4h86nsy1dan0wlh9q444c04iqpviw";
649+ };
650+ }
651+ {
652+ goPackagePath = "github.com/ipfs/go-ipfs-ds-help";
653+ fetch = {
654+ type = "git";
655+ url = "https://github.com/ipfs/go-ipfs-ds-help";
656+ rev = "v0.0.1";
657+ sha256 = "173kmvyk2f5f1p30avb8nzvkcmq9xkdfpydavqw3bxg0yq0714ic";
658+ };
659+ }
660+ {
661+ goPackagePath = "github.com/ipfs/go-ipfs-exchange-interface";
662+ fetch = {
663+ type = "git";
664+ url = "https://github.com/ipfs/go-ipfs-exchange-interface";
665+ rev = "v0.0.1";
666+ sha256 = "12h4pj5g9d1j5gmd8gf774fqwkx0x5cm3pg7c81hi0f43x5lrmwn";
667+ };
668+ }
669+ {
670+ goPackagePath = "github.com/ipfs/go-ipfs-exchange-offline";
671+ fetch = {
672+ type = "git";
673+ url = "https://github.com/ipfs/go-ipfs-exchange-offline";
674+ rev = "v0.0.1";
675+ sha256 = "0nlb5llmj9kjas2p5jqg2x3krk5jm40xd36k0g5l87c992dy7f0i";
676+ };
677+ }
678+ {
679+ goPackagePath = "github.com/ipfs/go-ipfs-files";
680+ fetch = {
681+ type = "git";
682+ url = "https://github.com/ipfs/go-ipfs-files";
683+ rev = "v0.0.2";
684+ sha256 = "12554whcmg60rgnzyd7673hgxnrs1j176lw8839wf260pjq6rs39";
685+ };
686+ }
687+ {
688+ goPackagePath = "github.com/ipfs/go-ipfs-flags";
689+ fetch = {
690+ type = "git";
691+ url = "https://github.com/ipfs/go-ipfs-flags";
692+ rev = "v0.0.1";
693+ sha256 = "0pf9nq0n6nlfxbfhn9v46a2s7kkkwmvl04si8ihz08nahanb13r6";
694+ };
695+ }
696+ {
697+ goPackagePath = "github.com/ipfs/go-ipfs-posinfo";
698+ fetch = {
699+ type = "git";
700+ url = "https://github.com/ipfs/go-ipfs-posinfo";
701+ rev = "v0.0.1";
702+ sha256 = "0hh88i9sk5h53z2xx2nwxrpcx0r0jhlb5sq54x5qyhp5mjfqbyi2";
703+ };
704+ }
705+ {
706+ goPackagePath = "github.com/ipfs/go-ipfs-pq";
707+ fetch = {
708+ type = "git";
709+ url = "https://github.com/ipfs/go-ipfs-pq";
710+ rev = "v0.0.1";
711+ sha256 = "05q7b7g49ni59c6593v51kkkd6ppc2ipkfsx05qbfg8md9r7a93x";
712+ };
713+ }
714+ {
715+ goPackagePath = "github.com/ipfs/go-ipfs-routing";
716+ fetch = {
717+ type = "git";
718+ url = "https://github.com/ipfs/go-ipfs-routing";
719+ rev = "v0.0.1";
720+ sha256 = "15vvvc0z5sbyhmwl3nfrpziiy3gsivb02xcalsz6mxvam68xy4x5";
721+ };
722+ }
723+ {
724+ goPackagePath = "github.com/ipfs/go-ipfs-util";
725+ fetch = {
726+ type = "git";
727+ url = "https://github.com/ipfs/go-ipfs-util";
728+ rev = "v0.0.1";
729+ sha256 = "1j87wqxh8ap5qqvnhnhz3zg6fn50axnnd69wqg287hh36xcpy6ss";
730+ };
731+ }
732+ {
733+ goPackagePath = "github.com/ipfs/go-ipld-cbor";
734+ fetch = {
735+ type = "git";
736+ url = "https://github.com/ipfs/go-ipld-cbor";
737+ rev = "v0.0.1";
738+ sha256 = "0zppzca1ar8pqrzi68ysx4ih1mnhlyrg046xwj7sggr4aki1fh5j";
739+ };
740+ }
741+ {
742+ goPackagePath = "github.com/ipfs/go-ipld-format";
743+ fetch = {
744+ type = "git";
745+ url = "https://github.com/ipfs/go-ipld-format";
746+ rev = "v0.0.1";
747+ sha256 = "0lb4wp30jlamk604bagzf28zf2hm2b4lxnayqvq7rh0jxhbdb61d";
748+ };
749+ }
750+ {
751+ goPackagePath = "github.com/ipfs/go-ipld-git";
752+ fetch = {
753+ type = "git";
754+ url = "https://github.com/ipfs/go-ipld-git";
755+ rev = "v0.0.1";
756+ sha256 = "0d5kl3kvam1hv589cg9cg1dkjyanzp727zrnzyjnrysv3fk8yv66";
757+ };
758+ }
759+ {
760+ goPackagePath = "github.com/ipfs/go-ipns";
761+ fetch = {
762+ type = "git";
763+ url = "https://github.com/ipfs/go-ipns";
764+ rev = "v0.0.1";
765+ sha256 = "1r9531v35336sf36s8pzi3jiyqd22ld9p7xpaznzmp57ygwfxlwj";
766+ };
767+ }
768+ {
769+ goPackagePath = "github.com/ipfs/go-log";
770+ fetch = {
771+ type = "git";
772+ url = "https://github.com/ipfs/go-log";
773+ rev = "v0.0.1";
774+ sha256 = "0r3pk46g9vjjb9ljaxda18w488xa9vyj30g23y9vprknkd9dqfgw";
775+ };
776+ }
777+ {
778+ goPackagePath = "github.com/ipfs/go-merkledag";
779+ fetch = {
780+ type = "git";
781+ url = "https://github.com/ipfs/go-merkledag";
782+ rev = "v0.0.3";
783+ sha256 = "0j7dgca9vyhj6ra074cddblcjkxh1c1k51krch09lqxxjwasgg60";
784+ };
785+ }
786+ {
787+ goPackagePath = "github.com/ipfs/go-metrics-interface";
788+ fetch = {
789+ type = "git";
790+ url = "https://github.com/ipfs/go-metrics-interface";
791+ rev = "v0.0.1";
792+ sha256 = "09xc71175sfnqlizkbw066jagnbag9ihvs240z6g6dm2yx3w5xgy";
793+ };
794+ }
795+ {
796+ goPackagePath = "github.com/ipfs/go-metrics-prometheus";
797+ fetch = {
798+ type = "git";
799+ url = "https://github.com/ipfs/go-metrics-prometheus";
800+ rev = "v0.0.2";
801+ sha256 = "1z1zwjj0a3gyzs4r25b9kl7z3kmsqp3jskvy7x02a3v1dlr3nkfp";
802+ };
803+ }
804+ {
805+ goPackagePath = "github.com/ipfs/go-mfs";
806+ fetch = {
807+ type = "git";
808+ url = "https://github.com/ipfs/go-mfs";
809+ rev = "v0.0.4";
810+ sha256 = "13jjxbfjl6wd89nxqibvp8q3hd2vzh0vpfhp3vrbapghkzp08rbb";
811+ };
812+ }
813+ {
814+ goPackagePath = "github.com/ipfs/go-path";
815+ fetch = {
816+ type = "git";
817+ url = "https://github.com/ipfs/go-path";
818+ rev = "v0.0.3";
819+ sha256 = "019zpy92k2rilkhn928jf91d8y3x8cxcw04mc2pxv5ja29nkyc91";
820+ };
821+ }
822+ {
823+ goPackagePath = "github.com/ipfs/go-todocounter";
824+ fetch = {
825+ type = "git";
826+ url = "https://github.com/ipfs/go-todocounter";
827+ rev = "v0.0.1";
828+ sha256 = "1nsf56hh6n2y3m14b1ismcpsyi65ffxa5i6ks6il9qppm21mm5nx";
829+ };
830+ }
831+ {
832+ goPackagePath = "github.com/ipfs/go-unixfs";
833+ fetch = {
834+ type = "git";
835+ url = "https://github.com/ipfs/go-unixfs";
836+ rev = "v0.0.4";
837+ sha256 = "0fbqqi9h2xalnyc58ppaiyac3qd6hb4ycn46wwnr7idp0z7wxl5j";
838+ };
839+ }
840+ {
841+ goPackagePath = "github.com/ipfs/go-verifcid";
842+ fetch = {
843+ type = "git";
844+ url = "https://github.com/ipfs/go-verifcid";
845+ rev = "v0.0.1";
846+ sha256 = "06ii8934s52d9n1lvzx29didh667pm2i7qdag443vqn0ilmkjvh9";
847+ };
848+ }
849+ {
850+ goPackagePath = "github.com/ipfs/hang-fds";
851+ fetch = {
852+ type = "git";
853+ url = "https://github.com/ipfs/hang-fds";
854+ rev = "v0.0.1";
855+ sha256 = "0axgmx1vcqsvys4vhqfrixfss2vk3qly1cqlm0aqrlhscggflkn4";
856+ };
857+ }
858+ {
859+ goPackagePath = "github.com/ipfs/interface-go-ipfs-core";
860+ fetch = {
861+ type = "git";
862+ url = "https://github.com/ipfs/interface-go-ipfs-core";
863+ rev = "v0.0.6";
864+ sha256 = "13sr18vzsfsik1nnkdcmi7afagbcnzh95mxzlbss366x802g8d8q";
865+ };
866+ }
867+ {
868+ goPackagePath = "github.com/ipfs/iptb";
869+ fetch = {
870+ type = "git";
871+ url = "https://github.com/ipfs/iptb";
872+ rev = "v1.4.0";
873+ sha256 = "0nfiqf1k114ydp6c37yq4qn6j3bmw94wvc096vfljq8493jr8jvv";
874+ };
875+ }
876+ {
877+ goPackagePath = "github.com/ipfs/iptb-plugins";
878+ fetch = {
879+ type = "git";
880+ url = "https://github.com/ipfs/iptb-plugins";
881+ rev = "v0.0.2";
882+ sha256 = "10kyvjhmlvza3xlmfvwhndscjm6807pmk9nld7d2660mvh18w626";
883+ };
884+ }
885+ {
886+ goPackagePath = "github.com/jackpal/gateway";
887+ fetch = {
888+ type = "git";
889+ url = "https://github.com/jackpal/gateway";
890+ rev = "v1.0.5";
891+ sha256 = "1ird5xmizj632l3dq24s2xgb8w1dn6v8xznlqz252gvngyr2gjl1";
892+ };
893+ }
894+ {
895+ goPackagePath = "github.com/jackpal/go-nat-pmp";
896+ fetch = {
897+ type = "git";
898+ url = "https://github.com/jackpal/go-nat-pmp";
899+ rev = "v1.0.1";
900+ sha256 = "0sr23mcxbv9f65is4p1amb5yn026p7cfamlwpb2f8q218idwy3zk";
901+ };
902+ }
903+ {
904+ goPackagePath = "github.com/jbenet/go-cienv";
905+ fetch = {
906+ type = "git";
907+ url = "https://github.com/jbenet/go-cienv";
908+ rev = "1bb1476777ec";
909+ sha256 = "0mk04dk572gdd0y63vark0362y42w7kbwdlmmw9bg78qmmiikjb3";
910+ };
911+ }
912+ {
913+ goPackagePath = "github.com/jbenet/go-context";
914+ fetch = {
915+ type = "git";
916+ url = "https://github.com/jbenet/go-context";
917+ rev = "d14ea06fba99";
918+ sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
919+ };
920+ }
921+ {
922+ goPackagePath = "github.com/jbenet/go-is-domain";
923+ fetch = {
924+ type = "git";
925+ url = "https://github.com/jbenet/go-is-domain";
926+ rev = "v1.0.2";
927+ sha256 = "1cf4qmlg54975z5j7njyqsq0vr8gsxzg85c5iys08nr3cizr7551";
928+ };
929+ }
930+ {
931+ goPackagePath = "github.com/jbenet/go-random";
932+ fetch = {
933+ type = "git";
934+ url = "https://github.com/jbenet/go-random";
935+ rev = "123a90aedc0c";
936+ sha256 = "0kgx19m8p76rmin8s8y6j1padciv1dx37qzy7jkh9bw49ai3haw3";
937+ };
938+ }
939+ {
940+ goPackagePath = "github.com/jbenet/go-random-files";
941+ fetch = {
942+ type = "git";
943+ url = "https://github.com/jbenet/go-random-files";
944+ rev = "31b3f20ebded";
945+ sha256 = "0d52wwzgxxh2a1bwmixfa6nfhhqdq6l9g4s6kmsdnc6kqf38c818";
946+ };
947+ }
948+ {
949+ goPackagePath = "github.com/jbenet/go-temp-err-catcher";
950+ fetch = {
951+ type = "git";
952+ url = "https://github.com/jbenet/go-temp-err-catcher";
953+ rev = "aac704a3f4f2";
954+ sha256 = "1fyqkcggnrzwxa8iii15g60w2jikdm26sr7l36km7y0nc2kvf7jc";
955+ };
956+ }
957+ {
958+ goPackagePath = "github.com/jbenet/goprocess";
959+ fetch = {
960+ type = "git";
961+ url = "https://github.com/jbenet/goprocess";
962+ rev = "b497e2f366b8";
963+ sha256 = "1lnvkzki7vnqn5c4m6bigk0k85haicmg27w903kwg30rdvblm82s";
964+ };
965+ }
966+ {
967+ goPackagePath = "github.com/jessevdk/go-flags";
968+ fetch = {
969+ type = "git";
970+ url = "https://github.com/jessevdk/go-flags";
971+ rev = "1679536dcc89";
972+ sha256 = "15jgsymwg0wjslxrw391sw7qzwwjcnjxiiksq84z7ng9sqy96c1c";
973+ };
974+ }
975+ {
976+ goPackagePath = "github.com/jonboulle/clockwork";
977+ fetch = {
978+ type = "git";
979+ url = "https://github.com/jonboulle/clockwork";
980+ rev = "v0.1.0";
981+ sha256 = "1pqxhsdavbp1n5grgyx2j6ylvql2fzn2cvpsgkc8li69dil7sibl";
982+ };
983+ }
984+ {
985+ goPackagePath = "github.com/jrick/logrotate";
986+ fetch = {
987+ type = "git";
988+ url = "https://github.com/jrick/logrotate";
989+ rev = "v1.0.0";
990+ sha256 = "0srl6figwjqpi3nbp7br8sxpmvh4v8lzbny1b4lar4ny0156p5nl";
991+ };
992+ }
993+ {
994+ goPackagePath = "github.com/jtolds/gls";
995+ fetch = {
996+ type = "git";
997+ url = "https://github.com/jtolds/gls";
998+ rev = "v4.2.1";
999+ sha256 = "1vm37pvn0k4r6d3m620swwgama63laz8hhj3pyisdhxwam4m2g1h";
1000+ };
1001+ }
1002+ {
1003+ goPackagePath = "github.com/kisielk/errcheck";
1004+ fetch = {
1005+ type = "git";
1006+ url = "https://github.com/kisielk/errcheck";
1007+ rev = "v1.1.0";
1008+ sha256 = "19vd4rxmqbk5lpiav3pf7df3yjlz0l0dwx9mn0gjq5f998iyhy6y";
1009+ };
1010+ }
1011+ {
1012+ goPackagePath = "github.com/kisielk/gotool";
1013+ fetch = {
1014+ type = "git";
1015+ url = "https://github.com/kisielk/gotool";
1016+ rev = "v1.0.0";
1017+ sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
1018+ };
1019+ }
1020+ {
1021+ goPackagePath = "github.com/kkdai/bstream";
1022+ fetch = {
1023+ type = "git";
1024+ url = "https://github.com/kkdai/bstream";
1025+ rev = "f391b8402d23";
1026+ sha256 = "1hd9caz0yf3r8kciw2pqwrsr8z4w0rhbqv1z7iq08d0542s05j3z";
1027+ };
1028+ }
1029+ {
1030+ goPackagePath = "github.com/koron/go-ssdp";
1031+ fetch = {
1032+ type = "git";
1033+ url = "https://github.com/koron/go-ssdp";
1034+ rev = "4a0ed625a78b";
1035+ sha256 = "11d1xf07xs4j7qbxpndxbrfk2zk48k9fa3cxnhfb5lh24bd4sa0f";
1036+ };
1037+ }
1038+ {
1039+ goPackagePath = "github.com/kr/pretty";
1040+ fetch = {
1041+ type = "git";
1042+ url = "https://github.com/kr/pretty";
1043+ rev = "v0.1.0";
1044+ sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
1045+ };
1046+ }
1047+ {
1048+ goPackagePath = "github.com/kr/pty";
1049+ fetch = {
1050+ type = "git";
1051+ url = "https://github.com/kr/pty";
1052+ rev = "v1.1.1";
1053+ sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
1054+ };
1055+ }
1056+ {
1057+ goPackagePath = "github.com/kr/text";
1058+ fetch = {
1059+ type = "git";
1060+ url = "https://github.com/kr/text";
1061+ rev = "v0.1.0";
1062+ sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
1063+ };
1064+ }
1065+ {
1066+ goPackagePath = "github.com/libp2p/go-addr-util";
1067+ fetch = {
1068+ type = "git";
1069+ url = "https://github.com/libp2p/go-addr-util";
1070+ rev = "v0.0.1";
1071+ sha256 = "1kjdk5214l8gna7f4hvb0iwmmlzsfccjankkxjmil80ibhcvjw60";
1072+ };
1073+ }
1074+ {
1075+ goPackagePath = "github.com/libp2p/go-buffer-pool";
1076+ fetch = {
1077+ type = "git";
1078+ url = "https://github.com/libp2p/go-buffer-pool";
1079+ rev = "v0.0.1";
1080+ sha256 = "1239hkhckgx1fzd43k56q3c0283p1mjl8w7i2j4xymvs6f6q6ygi";
1081+ };
1082+ }
1083+ {
1084+ goPackagePath = "github.com/libp2p/go-conn-security";
1085+ fetch = {
1086+ type = "git";
1087+ url = "https://github.com/libp2p/go-conn-security";
1088+ rev = "v0.0.1";
1089+ sha256 = "0z1zw0aq5jcks0vcdm5zxjyz9z6c6jklm0s74gc2m7jfs2jj2r5r";
1090+ };
1091+ }
1092+ {
1093+ goPackagePath = "github.com/libp2p/go-conn-security-multistream";
1094+ fetch = {
1095+ type = "git";
1096+ url = "https://github.com/libp2p/go-conn-security-multistream";
1097+ rev = "v0.0.1";
1098+ sha256 = "19slvlmapzs952gfn4aym4dg0l49x0vpn5v696vf80v2k00ipa32";
1099+ };
1100+ }
1101+ {
1102+ goPackagePath = "github.com/libp2p/go-flow-metrics";
1103+ fetch = {
1104+ type = "git";
1105+ url = "https://github.com/libp2p/go-flow-metrics";
1106+ rev = "v0.0.1";
1107+ sha256 = "04zrwl579qkhiw3b655cw7lnlp2yvq1xl3f1rkxnhx8llwsy3x49";
1108+ };
1109+ }
1110+ {
1111+ goPackagePath = "github.com/libp2p/go-libp2p";
1112+ fetch = {
1113+ type = "git";
1114+ url = "https://github.com/libp2p/go-libp2p";
1115+ rev = "v0.0.12";
1116+ sha256 = "04hm36fi45jpq5zjl1a7jlyq82adwwrgvvgnkllppq2zg85mlvvi";
1117+ };
1118+ }
1119+ {
1120+ goPackagePath = "github.com/libp2p/go-libp2p-autonat";
1121+ fetch = {
1122+ type = "git";
1123+ url = "https://github.com/libp2p/go-libp2p-autonat";
1124+ rev = "v0.0.4";
1125+ sha256 = "03523s4kdwswgfnwly5ynld2lny142j8xl6mr88vni4xn7pijn1l";
1126+ };
1127+ }
1128+ {
1129+ goPackagePath = "github.com/libp2p/go-libp2p-autonat-svc";
1130+ fetch = {
1131+ type = "git";
1132+ url = "https://github.com/libp2p/go-libp2p-autonat-svc";
1133+ rev = "v0.0.5";
1134+ sha256 = "0plph1nnh0ig9d54hizpiyhfrlrwhb1ylx6pry5jcppgpxngi79c";
1135+ };
1136+ }
1137+ {
1138+ goPackagePath = "github.com/libp2p/go-libp2p-blankhost";
1139+ fetch = {
1140+ type = "git";
1141+ url = "https://github.com/libp2p/go-libp2p-blankhost";
1142+ rev = "v0.0.1";
1143+ sha256 = "1q29b880l95811ara95187y9pmqq542bxh50cg0ykwzfj94xgla4";
1144+ };
1145+ }
1146+ {
1147+ goPackagePath = "github.com/libp2p/go-libp2p-circuit";
1148+ fetch = {
1149+ type = "git";
1150+ url = "https://github.com/libp2p/go-libp2p-circuit";
1151+ rev = "v0.0.4";
1152+ sha256 = "1bnwjf3p5r8ng360l2fjx0szdiwm2yfiifjkwflin00hx0gzyq7d";
1153+ };
1154+ }
1155+ {
1156+ goPackagePath = "github.com/libp2p/go-libp2p-connmgr";
1157+ fetch = {
1158+ type = "git";
1159+ url = "https://github.com/libp2p/go-libp2p-connmgr";
1160+ rev = "v0.0.1";
1161+ sha256 = "07kvnhavr4k1birgqp9c4y0yl1ii3pl1cc8pn4dzci87krachz2z";
1162+ };
1163+ }
1164+ {
1165+ goPackagePath = "github.com/libp2p/go-libp2p-crypto";
1166+ fetch = {
1167+ type = "git";
1168+ url = "https://github.com/libp2p/go-libp2p-crypto";
1169+ rev = "v0.0.1";
1170+ sha256 = "0wgq0ayg1656gvmi4d1nwgq7dbnyyb30xp3z571q495mmq483fbk";
1171+ };
1172+ }
1173+ {
1174+ goPackagePath = "github.com/libp2p/go-libp2p-daemon";
1175+ fetch = {
1176+ type = "git";
1177+ url = "https://github.com/libp2p/go-libp2p-daemon";
1178+ rev = "v0.0.6";
1179+ sha256 = "0pq6557ykbi3a8pasvm9zlhdysrq6h1fj48z4imv2gq30nmy3l6l";
1180+ };
1181+ }
1182+ {
1183+ goPackagePath = "github.com/libp2p/go-libp2p-discovery";
1184+ fetch = {
1185+ type = "git";
1186+ url = "https://github.com/libp2p/go-libp2p-discovery";
1187+ rev = "v0.0.1";
1188+ sha256 = "06h621llfx7bmkcnrkkxb3j85221albf18ig8mbh9c8wrpmsi438";
1189+ };
1190+ }
1191+ {
1192+ goPackagePath = "github.com/libp2p/go-libp2p-host";
1193+ fetch = {
1194+ type = "git";
1195+ url = "https://github.com/libp2p/go-libp2p-host";
1196+ rev = "v0.0.1";
1197+ sha256 = "102qyl7qkmq8p1gpxbfi5z2lrd8mysji28fx25ma4h312ci96rqz";
1198+ };
1199+ }
1200+ {
1201+ goPackagePath = "github.com/libp2p/go-libp2p-interface-connmgr";
1202+ fetch = {
1203+ type = "git";
1204+ url = "https://github.com/libp2p/go-libp2p-interface-connmgr";
1205+ rev = "v0.0.1";
1206+ sha256 = "107khappq5w48p17s22cp7djd5ii1bbg968wsa9bq9znzxdkzm43";
1207+ };
1208+ }
1209+ {
1210+ goPackagePath = "github.com/libp2p/go-libp2p-interface-pnet";
1211+ fetch = {
1212+ type = "git";
1213+ url = "https://github.com/libp2p/go-libp2p-interface-pnet";
1214+ rev = "v0.0.1";
1215+ sha256 = "1kqxm4rpcss2ajfnc3gzww4ng5pjj5qc0szr5x2vz15vvx2kp9bi";
1216+ };
1217+ }
1218+ {
1219+ goPackagePath = "github.com/libp2p/go-libp2p-kad-dht";
1220+ fetch = {
1221+ type = "git";
1222+ url = "https://github.com/libp2p/go-libp2p-kad-dht";
1223+ rev = "v0.0.7";
1224+ sha256 = "1nbq4240vnd3sfmiy8ry6pwnnf2k7hnwn1ln32mgqq32dywx664r";
1225+ };
1226+ }
1227+ {
1228+ goPackagePath = "github.com/libp2p/go-libp2p-kbucket";
1229+ fetch = {
1230+ type = "git";
1231+ url = "https://github.com/libp2p/go-libp2p-kbucket";
1232+ rev = "v0.1.1";
1233+ sha256 = "0pgy89mp9r23axs8gapnkzks89q7539l2g46r6ffyd4a675qampg";
1234+ };
1235+ }
1236+ {
1237+ goPackagePath = "github.com/libp2p/go-libp2p-loggables";
1238+ fetch = {
1239+ type = "git";
1240+ url = "https://github.com/libp2p/go-libp2p-loggables";
1241+ rev = "v0.0.1";
1242+ sha256 = "15whxhipm06fnd8ky7gxf59bvbw2wxl44g0v2dbnbr2j9a2n5ivv";
1243+ };
1244+ }
1245+ {
1246+ goPackagePath = "github.com/libp2p/go-libp2p-metrics";
1247+ fetch = {
1248+ type = "git";
1249+ url = "https://github.com/libp2p/go-libp2p-metrics";
1250+ rev = "v0.0.1";
1251+ sha256 = "14wvnmcwr40iwbpvfwdcbb6cff7rcrhqf42z32aqjhisp32irn1x";
1252+ };
1253+ }
1254+ {
1255+ goPackagePath = "github.com/libp2p/go-libp2p-nat";
1256+ fetch = {
1257+ type = "git";
1258+ url = "https://github.com/libp2p/go-libp2p-nat";
1259+ rev = "v0.0.4";
1260+ sha256 = "179d5jj4sznjns9p17gmrd86pf7ba7k4qq5kiv17ra4b666kd88f";
1261+ };
1262+ }
1263+ {
1264+ goPackagePath = "github.com/libp2p/go-libp2p-net";
1265+ fetch = {
1266+ type = "git";
1267+ url = "https://github.com/libp2p/go-libp2p-net";
1268+ rev = "v0.0.2";
1269+ sha256 = "0cfi57hvkz6yhi2nw63p2p7fnaw91zrcphxmchk2a4xn5rnwgjak";
1270+ };
1271+ }
1272+ {
1273+ goPackagePath = "github.com/libp2p/go-libp2p-netutil";
1274+ fetch = {
1275+ type = "git";
1276+ url = "https://github.com/libp2p/go-libp2p-netutil";
1277+ rev = "v0.0.1";
1278+ sha256 = "1zzkfddfmja6dsk8nxybi5cccd2v38sahp8xx676a38g3ydvqvs6";
1279+ };
1280+ }
1281+ {
1282+ goPackagePath = "github.com/libp2p/go-libp2p-peer";
1283+ fetch = {
1284+ type = "git";
1285+ url = "https://github.com/libp2p/go-libp2p-peer";
1286+ rev = "v0.0.1";
1287+ sha256 = "0hixdbj47njyzj885fzm9dlylw21g406yqxfidag2qrn06b2qicl";
1288+ };
1289+ }
1290+ {
1291+ goPackagePath = "github.com/libp2p/go-libp2p-peerstore";
1292+ fetch = {
1293+ type = "git";
1294+ url = "https://github.com/libp2p/go-libp2p-peerstore";
1295+ rev = "v0.0.2";
1296+ sha256 = "1asfl9sp3mi5pg9gpy45wvsc8hpdf48i7ml37sh5sjmn30aj4f6i";
1297+ };
1298+ }
1299+ {
1300+ goPackagePath = "github.com/libp2p/go-libp2p-pnet";
1301+ fetch = {
1302+ type = "git";
1303+ url = "https://github.com/libp2p/go-libp2p-pnet";
1304+ rev = "v0.0.1";
1305+ sha256 = "1gh2hw0dbywwp7vr4n9xws8nxraa00rigzxa86g8nf50n9cdq2cr";
1306+ };
1307+ }
1308+ {
1309+ goPackagePath = "github.com/libp2p/go-libp2p-protocol";
1310+ fetch = {
1311+ type = "git";
1312+ url = "https://github.com/libp2p/go-libp2p-protocol";
1313+ rev = "v0.0.1";
1314+ sha256 = "18fhmhfsdzw7dd618y4344qka08zq4b5jzpdgxbglar9dkkralg7";
1315+ };
1316+ }
1317+ {
1318+ goPackagePath = "github.com/libp2p/go-libp2p-pubsub";
1319+ fetch = {
1320+ type = "git";
1321+ url = "https://github.com/libp2p/go-libp2p-pubsub";
1322+ rev = "v0.0.1";
1323+ sha256 = "1n67ajql9527mzrc06jk4rb3xb63vmlnzx6i4aywcfn66pjg9kmh";
1324+ };
1325+ }
1326+ {
1327+ goPackagePath = "github.com/libp2p/go-libp2p-pubsub-router";
1328+ fetch = {
1329+ type = "git";
1330+ url = "https://github.com/libp2p/go-libp2p-pubsub-router";
1331+ rev = "v0.0.3";
1332+ sha256 = "1cjscq213ky11vzdalcfnkqkj2s53npymzjvv6ahn34c6bidan4s";
1333+ };
1334+ }
1335+ {
1336+ goPackagePath = "github.com/libp2p/go-libp2p-quic-transport";
1337+ fetch = {
1338+ type = "git";
1339+ url = "https://github.com/libp2p/go-libp2p-quic-transport";
1340+ rev = "v0.0.3";
1341+ sha256 = "0kiisb35fvblg4xaz188by4rn90chynzm94f83prqq7h9y9b3s5s";
1342+ };
1343+ }
1344+ {
1345+ goPackagePath = "github.com/libp2p/go-libp2p-record";
1346+ fetch = {
1347+ type = "git";
1348+ url = "https://github.com/libp2p/go-libp2p-record";
1349+ rev = "v0.0.1";
1350+ sha256 = "131zjkplylwam3gnw8f9lfvjgzi8xbjhb2qf57fys4c89pz868mg";
1351+ };
1352+ }
1353+ {
1354+ goPackagePath = "github.com/libp2p/go-libp2p-routing";
1355+ fetch = {
1356+ type = "git";
1357+ url = "https://github.com/libp2p/go-libp2p-routing";
1358+ rev = "v0.0.1";
1359+ sha256 = "09mm12abdzy6k1dw3ix8v2c8w3warc52jazvwwwvwhlq924jzdp0";
1360+ };
1361+ }
1362+ {
1363+ goPackagePath = "github.com/libp2p/go-libp2p-routing-helpers";
1364+ fetch = {
1365+ type = "git";
1366+ url = "https://github.com/libp2p/go-libp2p-routing-helpers";
1367+ rev = "v0.0.2";
1368+ sha256 = "0lxpf1vzhapj2q18wv5g7kkqhnwz1b08lyxjp57qa33z5j4jclgw";
1369+ };
1370+ }
1371+ {
1372+ goPackagePath = "github.com/libp2p/go-libp2p-secio";
1373+ fetch = {
1374+ type = "git";
1375+ url = "https://github.com/libp2p/go-libp2p-secio";
1376+ rev = "v0.0.1";
1377+ sha256 = "1v51whaww3bv14kl7gpapq6ld6m6v7w9cipkflh8czpgrs096yyq";
1378+ };
1379+ }
1380+ {
1381+ goPackagePath = "github.com/libp2p/go-libp2p-swarm";
1382+ fetch = {
1383+ type = "git";
1384+ url = "https://github.com/libp2p/go-libp2p-swarm";
1385+ rev = "v0.0.2";
1386+ sha256 = "0v75wb96rddjxd8faqri076xba5ffqg4bpddw16k4bw8kk2b46w0";
1387+ };
1388+ }
1389+ {
1390+ goPackagePath = "github.com/libp2p/go-libp2p-transport";
1391+ fetch = {
1392+ type = "git";
1393+ url = "https://github.com/libp2p/go-libp2p-transport";
1394+ rev = "v0.0.4";
1395+ sha256 = "0pgyxzb489xzcm9q11br6sgsz166cw65xhfcksy3yy5n0c1c6mvb";
1396+ };
1397+ }
1398+ {
1399+ goPackagePath = "github.com/libp2p/go-libp2p-transport-upgrader";
1400+ fetch = {
1401+ type = "git";
1402+ url = "https://github.com/libp2p/go-libp2p-transport-upgrader";
1403+ rev = "v0.0.1";
1404+ sha256 = "0czy16zvbz2k9jn8w7iddf7xph3bn054abxybjxm4dhp7g83mf65";
1405+ };
1406+ }
1407+ {
1408+ goPackagePath = "github.com/libp2p/go-maddr-filter";
1409+ fetch = {
1410+ type = "git";
1411+ url = "https://github.com/libp2p/go-maddr-filter";
1412+ rev = "v0.0.1";
1413+ sha256 = "039qj86k4dam6kch52kcdk5dsg36gfrfwambqjg1nv2xaq8j1hx8";
1414+ };
1415+ }
1416+ {
1417+ goPackagePath = "github.com/libp2p/go-mplex";
1418+ fetch = {
1419+ type = "git";
1420+ url = "https://github.com/libp2p/go-mplex";
1421+ rev = "v0.0.1";
1422+ sha256 = "1f0h2hmh4c0xvv1fsjciyc8v7sn0ymanr9my2smr6z1nar7nziqn";
1423+ };
1424+ }
1425+ {
1426+ goPackagePath = "github.com/libp2p/go-msgio";
1427+ fetch = {
1428+ type = "git";
1429+ url = "https://github.com/libp2p/go-msgio";
1430+ rev = "v0.0.1";
1431+ sha256 = "1my8w8k7c3mz2aazsg45q7nlr4ywmix6jspri2sv7fqrs1kjxrjm";
1432+ };
1433+ }
1434+ {
1435+ goPackagePath = "github.com/libp2p/go-nat";
1436+ fetch = {
1437+ type = "git";
1438+ url = "https://github.com/libp2p/go-nat";
1439+ rev = "v0.0.3";
1440+ sha256 = "19ihybcpmz2wpi6mk3rhgjbv4cgiiang92d9ym3xw7y3iv8mlzc0";
1441+ };
1442+ }
1443+ {
1444+ goPackagePath = "github.com/libp2p/go-reuseport";
1445+ fetch = {
1446+ type = "git";
1447+ url = "https://github.com/libp2p/go-reuseport";
1448+ rev = "v0.0.1";
1449+ sha256 = "1qbxhycckjv7mazg06llbx9708f1z4453yaxxp4641gwcrbns7zk";
1450+ };
1451+ }
1452+ {
1453+ goPackagePath = "github.com/libp2p/go-reuseport-transport";
1454+ fetch = {
1455+ type = "git";
1456+ url = "https://github.com/libp2p/go-reuseport-transport";
1457+ rev = "v0.0.2";
1458+ sha256 = "14lqhdkx5nmrvislim7qlvnx78dnfngxvcrll9d851r04p703qrn";
1459+ };
1460+ }
1461+ {
1462+ goPackagePath = "github.com/libp2p/go-stream-muxer";
1463+ fetch = {
1464+ type = "git";
1465+ url = "https://github.com/libp2p/go-stream-muxer";
1466+ rev = "v0.0.1";
1467+ sha256 = "1swqw77jn00a7cl3lb7x5wyybhv4mkqk36z407ihid44gds7djqh";
1468+ };
1469+ }
1470+ {
1471+ goPackagePath = "github.com/libp2p/go-tcp-transport";
1472+ fetch = {
1473+ type = "git";
1474+ url = "https://github.com/libp2p/go-tcp-transport";
1475+ rev = "v0.0.2";
1476+ sha256 = "0qrl4mgs16wnc0dnwg3x2k3mlv9grzl8maclbkq22vqk34c5in4y";
1477+ };
1478+ }
1479+ {
1480+ goPackagePath = "github.com/libp2p/go-testutil";
1481+ fetch = {
1482+ type = "git";
1483+ url = "https://github.com/libp2p/go-testutil";
1484+ rev = "v0.0.1";
1485+ sha256 = "1jmqk6cyp52fgmayx0dwas27rswrvn9lpsiv6bnabhz1gvb91ahp";
1486+ };
1487+ }
1488+ {
1489+ goPackagePath = "github.com/libp2p/go-ws-transport";
1490+ fetch = {
1491+ type = "git";
1492+ url = "https://github.com/libp2p/go-ws-transport";
1493+ rev = "v0.0.2";
1494+ sha256 = "1j321z8m82a43v70jmglh2v0hv1wmgsizr5zrlgwqsx3wsih9phx";
1495+ };
1496+ }
1497+ {
1498+ goPackagePath = "github.com/lucas-clemente/quic-go";
1499+ fetch = {
1500+ type = "git";
1501+ url = "https://github.com/lucas-clemente/quic-go";
1502+ rev = "v0.11.1";
1503+ sha256 = "1vhswcbiyaq94rwc6vd8vl13x3lfwilpfw7kqx7bflxj7zvvd18y";
1504+ };
1505+ }
1506+ {
1507+ goPackagePath = "github.com/marten-seemann/qtls";
1508+ fetch = {
1509+ type = "git";
1510+ url = "https://github.com/marten-seemann/qtls";
1511+ rev = "v0.2.3";
1512+ sha256 = "0b9p7bwkm9hfg1mb565q4nw5k7xyks0z2xagz5fp95azy2psbnfg";
1513+ };
1514+ }
1515+ {
1516+ goPackagePath = "github.com/mattn/go-colorable";
1517+ fetch = {
1518+ type = "git";
1519+ url = "https://github.com/mattn/go-colorable";
1520+ rev = "v0.1.1";
1521+ sha256 = "0l640974j804c1yyjfgyxqlsivz0yrzmbql4mhcw2azryigkp08p";
1522+ };
1523+ }
1524+ {
1525+ goPackagePath = "github.com/mattn/go-isatty";
1526+ fetch = {
1527+ type = "git";
1528+ url = "https://github.com/mattn/go-isatty";
1529+ rev = "v0.0.5";
1530+ sha256 = "114d5xm8rfxplzd7nxz97gfngb4bhqy102szl084d1afcxsvm4aa";
1531+ };
1532+ }
1533+ {
1534+ goPackagePath = "github.com/mattn/go-runewidth";
1535+ fetch = {
1536+ type = "git";
1537+ url = "https://github.com/mattn/go-runewidth";
1538+ rev = "v0.0.4";
1539+ sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
1540+ };
1541+ }
1542+ {
1543+ goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
1544+ fetch = {
1545+ type = "git";
1546+ url = "https://github.com/matttproud/golang_protobuf_extensions";
1547+ rev = "v1.0.1";
1548+ sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
1549+ };
1550+ }
1551+ {
1552+ goPackagePath = "github.com/mgutz/ansi";
1553+ fetch = {
1554+ type = "git";
1555+ url = "https://github.com/mgutz/ansi";
1556+ rev = "9520e82c474b";
1557+ sha256 = "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j";
1558+ };
1559+ }
1560+ {
1561+ goPackagePath = "github.com/miekg/dns";
1562+ fetch = {
1563+ type = "git";
1564+ url = "https://github.com/miekg/dns";
1565+ rev = "v1.1.4";
1566+ sha256 = "17apnm7q5v7bhmpvrk3rbi0gjqk8z3cwkm90q1dfzrfvbvp71z5d";
1567+ };
1568+ }
1569+ {
1570+ goPackagePath = "github.com/minio/blake2b-simd";
1571+ fetch = {
1572+ type = "git";
1573+ url = "https://github.com/minio/blake2b-simd";
1574+ rev = "3f5f724cb5b1";
1575+ sha256 = "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd";
1576+ };
1577+ }
1578+ {
1579+ goPackagePath = "github.com/minio/sha256-simd";
1580+ fetch = {
1581+ type = "git";
1582+ url = "https://github.com/minio/sha256-simd";
1583+ rev = "2d45a736cd16";
1584+ sha256 = "1hfhpy8fczd0mnwvxkp2nk3dydv1nzqx59ig8ajqjraq6kli66p5";
1585+ };
1586+ }
1587+ {
1588+ goPackagePath = "github.com/mitchellh/go-homedir";
1589+ fetch = {
1590+ type = "git";
1591+ url = "https://github.com/mitchellh/go-homedir";
1592+ rev = "v1.1.0";
1593+ sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1";
1594+ };
1595+ }
1596+ {
1597+ goPackagePath = "github.com/mr-tron/base58";
1598+ fetch = {
1599+ type = "git";
1600+ url = "https://github.com/mr-tron/base58";
1601+ rev = "v1.1.0";
1602+ sha256 = "00w28mhinf8dvzrh71dijryfhrggi7j9wqiiyddpk41ixx3rmfy4";
1603+ };
1604+ }
1605+ {
1606+ goPackagePath = "github.com/multiformats/go-base32";
1607+ fetch = {
1608+ type = "git";
1609+ url = "https://github.com/multiformats/go-base32";
1610+ rev = "v0.0.3";
1611+ sha256 = "1f4pjnqw4687p8l7vr1qaq6g6i9pcr80fc4pk2kpgrcwzpd1lprg";
1612+ };
1613+ }
1614+ {
1615+ goPackagePath = "github.com/multiformats/go-multiaddr";
1616+ fetch = {
1617+ type = "git";
1618+ url = "https://github.com/multiformats/go-multiaddr";
1619+ rev = "v0.0.1";
1620+ sha256 = "1r1w4036bpi97xb70833bpdpdhqm5gl6m8fllfdxqbg10ab1a938";
1621+ };
1622+ }
1623+ {
1624+ goPackagePath = "github.com/multiformats/go-multiaddr-dns";
1625+ fetch = {
1626+ type = "git";
1627+ url = "https://github.com/multiformats/go-multiaddr-dns";
1628+ rev = "v0.0.2";
1629+ sha256 = "1fnv7lbd7q1kssaxp2fgrvj9dhn5aiqspd4090iqwys5hjr1xvmf";
1630+ };
1631+ }
1632+ {
1633+ goPackagePath = "github.com/multiformats/go-multiaddr-net";
1634+ fetch = {
1635+ type = "git";
1636+ url = "https://github.com/multiformats/go-multiaddr-net";
1637+ rev = "v0.0.1";
1638+ sha256 = "1075xs6gbiblfbwgf84yvg1nrywmvvrrxzqa8wp9j75zyakab81p";
1639+ };
1640+ }
1641+ {
1642+ goPackagePath = "github.com/multiformats/go-multibase";
1643+ fetch = {
1644+ type = "git";
1645+ url = "https://github.com/multiformats/go-multibase";
1646+ rev = "v0.0.1";
1647+ sha256 = "083adnq79pyxhngv91saygh076196qin1nw1vppz7nk04zw4aymg";
1648+ };
1649+ }
1650+ {
1651+ goPackagePath = "github.com/multiformats/go-multicodec";
1652+ fetch = {
1653+ type = "git";
1654+ url = "https://github.com/multiformats/go-multicodec";
1655+ rev = "v0.1.6";
1656+ sha256 = "08wnxhb4rd7rln2mzxnhv3csy19l9qgf5dx3437x4zsgkaqabb96";
1657+ };
1658+ }
1659+ {
1660+ goPackagePath = "github.com/multiformats/go-multihash";
1661+ fetch = {
1662+ type = "git";
1663+ url = "https://github.com/multiformats/go-multihash";
1664+ rev = "v0.0.1";
1665+ sha256 = "1aw4ra22g3l98bk7c3h1n968vi5a3gk528g4byj3xig76r0r731n";
1666+ };
1667+ }
1668+ {
1669+ goPackagePath = "github.com/multiformats/go-multistream";
1670+ fetch = {
1671+ type = "git";
1672+ url = "https://github.com/multiformats/go-multistream";
1673+ rev = "v0.0.1";
1674+ sha256 = "1k79w7zd92cs9sjvsr31vi6n3j30xqz83mb3a3pqva11wl1gbnlz";
1675+ };
1676+ }
1677+ {
1678+ goPackagePath = "github.com/onsi/ginkgo";
1679+ fetch = {
1680+ type = "git";
1681+ url = "https://github.com/onsi/ginkgo";
1682+ rev = "v1.7.0";
1683+ sha256 = "14wgpdrvpc35rdz3859bz53sc1g4vpr1fysy15wy3ff9gmqs14yg";
1684+ };
1685+ }
1686+ {
1687+ goPackagePath = "github.com/onsi/gomega";
1688+ fetch = {
1689+ type = "git";
1690+ url = "https://github.com/onsi/gomega";
1691+ rev = "v1.4.3";
1692+ sha256 = "1c8rqg5i2hz3snmq7s41yar1zjnzilb0fyiyhkg83v97afcfx79v";
1693+ };
1694+ }
1695+ {
1696+ goPackagePath = "github.com/opentracing/opentracing-go";
1697+ fetch = {
1698+ type = "git";
1699+ url = "https://github.com/opentracing/opentracing-go";
1700+ rev = "v1.0.2";
1701+ sha256 = "0i0ghg94dg8lk05mw5n23983wq04yjvkjmdkc9z5y1f3508938h9";
1702+ };
1703+ }
1704+ {
1705+ goPackagePath = "github.com/pkg/errors";
1706+ fetch = {
1707+ type = "git";
1708+ url = "https://github.com/pkg/errors";
1709+ rev = "v0.8.1";
1710+ sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
1711+ };
1712+ }
1713+ {
1714+ goPackagePath = "github.com/pmezard/go-difflib";
1715+ fetch = {
1716+ type = "git";
1717+ url = "https://github.com/pmezard/go-difflib";
1718+ rev = "v1.0.0";
1719+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
1720+ };
1721+ }
1722+ {
1723+ goPackagePath = "github.com/polydawn/refmt";
1724+ fetch = {
1725+ type = "git";
1726+ url = "https://github.com/polydawn/refmt";
1727+ rev = "df39d6c2d992";
1728+ sha256 = "07hj5wimwgwj8xzzbvk0y7d6fmqf44d7fjicp1digh4kvjsbg3dz";
1729+ };
1730+ }
1731+ {
1732+ goPackagePath = "github.com/prometheus/client_golang";
1733+ fetch = {
1734+ type = "git";
1735+ url = "https://github.com/prometheus/client_golang";
1736+ rev = "v0.9.2";
1737+ sha256 = "02b4yg6rfag0m3j0i39sillcm5xczwv8h133vn12yr8qw04cnigs";
1738+ };
1739+ }
1740+ {
1741+ goPackagePath = "github.com/prometheus/client_model";
1742+ fetch = {
1743+ type = "git";
1744+ url = "https://github.com/prometheus/client_model";
1745+ rev = "5c3871d89910";
1746+ sha256 = "04psf81l9fjcwascsys428v03fx4fi894h7fhrj2vvcz723q57k0";
1747+ };
1748+ }
1749+ {
1750+ goPackagePath = "github.com/prometheus/common";
1751+ fetch = {
1752+ type = "git";
1753+ url = "https://github.com/prometheus/common";
1754+ rev = "4724e9255275";
1755+ sha256 = "0pcx8hlnrxx5nnmpk786cn99rsgqk1jrd3c9f6fsx8qd8y5iwjy6";
1756+ };
1757+ }
1758+ {
1759+ goPackagePath = "github.com/prometheus/procfs";
1760+ fetch = {
1761+ type = "git";
1762+ url = "https://github.com/prometheus/procfs";
1763+ rev = "1dc9a6cbc91a";
1764+ sha256 = "1zlv1x30xp7z5c3vn5vp870v4bjim0zcidzc3mr2l3xhazc0svab";
1765+ };
1766+ }
1767+ {
1768+ goPackagePath = "github.com/rs/cors";
1769+ fetch = {
1770+ type = "git";
1771+ url = "https://github.com/rs/cors";
1772+ rev = "v1.6.0";
1773+ sha256 = "12j838rj6xl9y1xqs1mnh9zkc3dkpn94iqkp6jkdkxw631aa94dr";
1774+ };
1775+ }
1776+ {
1777+ goPackagePath = "github.com/sirupsen/logrus";
1778+ fetch = {
1779+ type = "git";
1780+ url = "https://github.com/sirupsen/logrus";
1781+ rev = "v1.0.5";
1782+ sha256 = "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz";
1783+ };
1784+ }
1785+ {
1786+ goPackagePath = "github.com/smartystreets/assertions";
1787+ fetch = {
1788+ type = "git";
1789+ url = "https://github.com/smartystreets/assertions";
1790+ rev = "b2de0cb4f26d";
1791+ sha256 = "1i7ldgavgl35c7gk25p7bvdr282ckng090zr4ch9mk1705akx09y";
1792+ };
1793+ }
1794+ {
1795+ goPackagePath = "github.com/smartystreets/goconvey";
1796+ fetch = {
1797+ type = "git";
1798+ url = "https://github.com/smartystreets/goconvey";
1799+ rev = "a17d461953aa";
1800+ sha256 = "1942lhpv7c16dq27wjj2cjxsgra5lpsnxn52a9zvj8d0nip8nhq6";
1801+ };
1802+ }
1803+ {
1804+ goPackagePath = "github.com/spaolacci/murmur3";
1805+ fetch = {
1806+ type = "git";
1807+ url = "https://github.com/spaolacci/murmur3";
1808+ rev = "f09979ecbc72";
1809+ sha256 = "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25";
1810+ };
1811+ }
1812+ {
1813+ goPackagePath = "github.com/spf13/pflag";
1814+ fetch = {
1815+ type = "git";
1816+ url = "https://github.com/spf13/pflag";
1817+ rev = "v1.0.1";
1818+ sha256 = "0nr4mdpfhhk94hq4ymn5b2sxc47b29p1akxd8b0hx4dvdybmipb5";
1819+ };
1820+ }
1821+ {
1822+ goPackagePath = "github.com/stretchr/objx";
1823+ fetch = {
1824+ type = "git";
1825+ url = "https://github.com/stretchr/objx";
1826+ rev = "v0.1.0";
1827+ sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
1828+ };
1829+ }
1830+ {
1831+ goPackagePath = "github.com/stretchr/testify";
1832+ fetch = {
1833+ type = "git";
1834+ url = "https://github.com/stretchr/testify";
1835+ rev = "v1.3.0";
1836+ sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
1837+ };
1838+ }
1839+ {
1840+ goPackagePath = "github.com/syndtr/goleveldb";
1841+ fetch = {
1842+ type = "git";
1843+ url = "https://github.com/syndtr/goleveldb";
1844+ rev = "v1.0.0";
1845+ sha256 = "042k0gbzs5waqpxmd7nv5h93mlva861s66c3s9gfg1fym5dx4vmd";
1846+ };
1847+ }
1848+ {
1849+ goPackagePath = "github.com/texttheater/golang-levenshtein";
1850+ fetch = {
1851+ type = "git";
1852+ url = "https://github.com/texttheater/golang-levenshtein";
1853+ rev = "d188e65d659e";
1854+ sha256 = "0dmaxmwz2vx2v51hybjpcwz260apaq3v8gm84ran38fcs8xl529c";
1855+ };
1856+ }
1857+ {
1858+ goPackagePath = "github.com/urfave/cli";
1859+ fetch = {
1860+ type = "git";
1861+ url = "https://github.com/urfave/cli";
1862+ rev = "v1.20.0";
1863+ sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
1864+ };
1865+ }
1866+ {
1867+ goPackagePath = "github.com/warpfork/go-wish";
1868+ fetch = {
1869+ type = "git";
1870+ url = "https://github.com/warpfork/go-wish";
1871+ rev = "5ad1f5abf436";
1872+ sha256 = "1jns04jdb07f695ipf0pfal2k7ss47jxgdi2ahqmskzglb26zm62";
1873+ };
1874+ }
1875+ {
1876+ goPackagePath = "github.com/whyrusleeping/base32";
1877+ fetch = {
1878+ type = "git";
1879+ url = "https://github.com/whyrusleeping/base32";
1880+ rev = "c30ac30633cc";
1881+ sha256 = "060jj8j9rnm3m47vv7jfz9ddybch3ryvn1p9vhc63bqn73knalhf";
1882+ };
1883+ }
1884+ {
1885+ goPackagePath = "github.com/whyrusleeping/cbor";
1886+ fetch = {
1887+ type = "git";
1888+ url = "https://github.com/whyrusleeping/cbor";
1889+ rev = "63513f603b11";
1890+ sha256 = "0v3kgzk8grz17my2vhv12qi9dgpx3z86hy9ff1c4qw83mg8hm67s";
1891+ };
1892+ }
1893+ {
1894+ goPackagePath = "github.com/whyrusleeping/chunker";
1895+ fetch = {
1896+ type = "git";
1897+ url = "https://github.com/whyrusleeping/chunker";
1898+ rev = "fe64bd25879f";
1899+ sha256 = "13q4flp9iwwyi0izqar786h42713rf3m22qlvg0masbmdi69qjr2";
1900+ };
1901+ }
1902+ {
1903+ goPackagePath = "github.com/whyrusleeping/go-ctrlnet";
1904+ fetch = {
1905+ type = "git";
1906+ url = "https://github.com/whyrusleeping/go-ctrlnet";
1907+ rev = "f564fbbdaa95";
1908+ sha256 = "1ni4fb9bbaiicy8yd9w8i442v94k59czlmpvjqg0y5am67x73gxk";
1909+ };
1910+ }
1911+ {
1912+ goPackagePath = "github.com/whyrusleeping/go-keyspace";
1913+ fetch = {
1914+ type = "git";
1915+ url = "https://github.com/whyrusleeping/go-keyspace";
1916+ rev = "5b898ac5add1";
1917+ sha256 = "0fkk7i7qxwbz1g621mm6a6inb69lr57cyc9ayyfiwhnjwfz78rbb";
1918+ };
1919+ }
1920+ {
1921+ goPackagePath = "github.com/whyrusleeping/go-logging";
1922+ fetch = {
1923+ type = "git";
1924+ url = "https://github.com/whyrusleeping/go-logging";
1925+ rev = "0457bb6b88fc";
1926+ sha256 = "1bl180mhg03hdqhyr5sfjcg16ns2ppal625g9ag5m10l2pvlwnqn";
1927+ };
1928+ }
1929+ {
1930+ goPackagePath = "github.com/whyrusleeping/go-notifier";
1931+ fetch = {
1932+ type = "git";
1933+ url = "https://github.com/whyrusleeping/go-notifier";
1934+ rev = "097c5d47330f";
1935+ sha256 = "081h4a33603n0mlh53by1mg21rr42xjvxk7r10x8l4v671bq0kha";
1936+ };
1937+ }
1938+ {
1939+ goPackagePath = "github.com/whyrusleeping/go-smux-multiplex";
1940+ fetch = {
1941+ type = "git";
1942+ url = "https://github.com/whyrusleeping/go-smux-multiplex";
1943+ rev = "v3.0.16";
1944+ sha256 = "0y696zqrbdyvz9gkxd9armhxa82z2fg0wpm8yqp7swyxdsg15f8k";
1945+ };
1946+ }
1947+ {
1948+ goPackagePath = "github.com/whyrusleeping/go-smux-multistream";
1949+ fetch = {
1950+ type = "git";
1951+ url = "https://github.com/whyrusleeping/go-smux-multistream";
1952+ rev = "v2.0.2";
1953+ sha256 = "0sbxmn56fx1py6nijk9prkm4rqswynsw68frvlm11w5m57szi5pj";
1954+ };
1955+ }
1956+ {
1957+ goPackagePath = "github.com/whyrusleeping/go-smux-yamux";
1958+ fetch = {
1959+ type = "git";
1960+ url = "https://github.com/whyrusleeping/go-smux-yamux";
1961+ rev = "v2.0.9";
1962+ sha256 = "046nx0d9974shd6y3ic2dznij0yzaijp6z6g46kpa4iwf2w41jwk";
1963+ };
1964+ }
1965+ {
1966+ goPackagePath = "github.com/whyrusleeping/go-sysinfo";
1967+ fetch = {
1968+ type = "git";
1969+ url = "https://github.com/whyrusleeping/go-sysinfo";
1970+ rev = "4a357d4b90b1";
1971+ sha256 = "0s6yjp9incc579wbbga33vq0hcanv8j2xh9l90ya0r4fihz39jiq";
1972+ };
1973+ }
1974+ {
1975+ goPackagePath = "github.com/whyrusleeping/mafmt";
1976+ fetch = {
1977+ type = "git";
1978+ url = "https://github.com/whyrusleeping/mafmt";
1979+ rev = "v1.2.8";
1980+ sha256 = "0sr602pbxid3ncfd8v0dgjd1a79qg3k4bzniq811jjdq9zm9jccv";
1981+ };
1982+ }
1983+ {
1984+ goPackagePath = "github.com/whyrusleeping/mdns";
1985+ fetch = {
1986+ type = "git";
1987+ url = "https://github.com/whyrusleeping/mdns";
1988+ rev = "ef14215e6b30";
1989+ sha256 = "17hid8s9asqyqgbw20wp4ip5sy03b5sayzld2i09w9l42217502q";
1990+ };
1991+ }
1992+ {
1993+ goPackagePath = "github.com/whyrusleeping/multiaddr-filter";
1994+ fetch = {
1995+ type = "git";
1996+ url = "https://github.com/whyrusleeping/multiaddr-filter";
1997+ rev = "e903e4adabd7";
1998+ sha256 = "0ksd8vnp207dvphmhrazwldj8if900fnyc1pqa9pfvj04qp92640";
1999+ };
2000+ }
2001+ {
2002+ goPackagePath = "github.com/whyrusleeping/tar-utils";
2003+ fetch = {
2004+ type = "git";
2005+ url = "https://github.com/whyrusleeping/tar-utils";
2006+ rev = "8c6c8ba81d5c";
2007+ sha256 = "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s";
2008+ };
2009+ }
2010+ {
2011+ goPackagePath = "github.com/whyrusleeping/timecache";
2012+ fetch = {
2013+ type = "git";
2014+ url = "https://github.com/whyrusleeping/timecache";
2015+ rev = "cfcb2f1abfee";
2016+ sha256 = "0nnra7ivq7cj34rj2ib8hgfdpik3smr1hy7x18svhfin8z1xsj2s";
2017+ };
2018+ }
2019+ {
2020+ goPackagePath = "github.com/whyrusleeping/yamux";
2021+ fetch = {
2022+ type = "git";
2023+ url = "https://github.com/whyrusleeping/yamux";
2024+ rev = "v1.1.5";
2025+ sha256 = "08a4v0akdxg16g6mi32ixsldjbg3pp3j4x0xicaxc4fd6cfmi1wv";
2026+ };
2027+ }
2028+ {
2029+ goPackagePath = "go4.org";
2030+ fetch = {
2031+ type = "git";
2032+ url = "https://github.com/go4org/go4";
2033+ rev = "ce4c26f7be8e";
2034+ sha256 = "0lzvmspdqqf251lrgawnss2wn3bnd3pj89xjxlvpgg6q0853580j";
2035+ };
2036+ }
2037+ {
2038+ goPackagePath = "golang.org/x/crypto";
2039+ fetch = {
2040+ type = "git";
2041+ url = "https://go.googlesource.com/crypto";
2042+ rev = "8dd112bcdc25";
2043+ sha256 = "0gbcz7gxmgg88s28vb90dsp1vdq0har7zvg2adsqbp8bm05x9q6b";
2044+ };
2045+ }
2046+ {
2047+ goPackagePath = "golang.org/x/net";
2048+ fetch = {
2049+ type = "git";
2050+ url = "https://go.googlesource.com/net";
2051+ rev = "c95aed5357e7";
2052+ sha256 = "0b1vjnzd67sp9lggs0yn9qfgp6f5djqgx40lyncd7j720q04kk2h";
2053+ };
2054+ }
2055+ {
2056+ goPackagePath = "golang.org/x/sync";
2057+ fetch = {
2058+ type = "git";
2059+ url = "https://go.googlesource.com/sync";
2060+ rev = "42b317875d0f";
2061+ sha256 = "0mrjhk7al7yyh76x9flvxy4jm5jyqh2fxbxagpaazxn1xdgkaif3";
2062+ };
2063+ }
2064+ {
2065+ goPackagePath = "golang.org/x/sys";
2066+ fetch = {
2067+ type = "git";
2068+ url = "https://go.googlesource.com/sys";
2069+ rev = "b6889370fb10";
2070+ sha256 = "01c1ag1qr95iksp38rypfbrlk6sdqjhk7jgj3qf342ndhvqb08sa";
2071+ };
2072+ }
2073+ {
2074+ goPackagePath = "golang.org/x/text";
2075+ fetch = {
2076+ type = "git";
2077+ url = "https://go.googlesource.com/text";
2078+ rev = "v0.3.0";
2079+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
2080+ };
2081+ }
2082+ {
2083+ goPackagePath = "golang.org/x/tools";
2084+ fetch = {
2085+ type = "git";
2086+ url = "https://go.googlesource.com/tools";
2087+ rev = "90fa682c2a6e";
2088+ sha256 = "03ic2xsy51jw9749wl7gszdbz99iijbd2bckgygl6cm9w5m364ak";
2089+ };
2090+ }
2091+ {
2092+ goPackagePath = "golang.org/x/xerrors";
2093+ fetch = {
2094+ type = "git";
2095+ url = "https://go.googlesource.com/xerrors";
2096+ rev = "a5947ffaace3";
2097+ sha256 = "1bgn7j704mf891qcwcbqzr5sq9ar7z2a81887k8pp0b1g2giwgfz";
2098+ };
2099+ }
2100+ {
2101+ goPackagePath = "google.golang.org/genproto";
2102+ fetch = {
2103+ type = "git";
2104+ url = "https://github.com/google/go-genproto";
2105+ rev = "11092d34479b";
2106+ sha256 = "12qcrjq658zga5fj4n0wgm11pzpr3gafwg25cinl5qcq4p9cnl0r";
2107+ };
2108+ }
2109+ {
2110+ goPackagePath = "gopkg.in/airbrake/gobrake.v2";
2111+ fetch = {
2112+ type = "git";
2113+ url = "https://gopkg.in/airbrake/gobrake.v2";
2114+ rev = "v2.0.9";
2115+ sha256 = "1x06f7n7qlyzqgyz0sdfcidf3w4ldn6zs6qx2mhibggk2z4whcjw";
2116+ };
2117+ }
2118+ {
2119+ goPackagePath = "gopkg.in/check.v1";
2120+ fetch = {
2121+ type = "git";
2122+ url = "https://gopkg.in/check.v1";
2123+ rev = "788fd7840127";
2124+ sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
2125+ };
2126+ }
2127+ {
2128+ goPackagePath = "gopkg.in/cheggaaa/pb.v1";
2129+ fetch = {
2130+ type = "git";
2131+ url = "https://gopkg.in/cheggaaa/pb.v1";
2132+ rev = "v1.0.28";
2133+ sha256 = "13a66cqbpdif804qj12z9ad8r24va9q41gfk71qbc4zg1wsxs3rh";
2134+ };
2135+ }
2136+ {
2137+ goPackagePath = "gopkg.in/fsnotify.v1";
2138+ fetch = {
2139+ type = "git";
2140+ url = "https://gopkg.in/fsnotify.v1";
2141+ rev = "v1.4.7";
2142+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
2143+ };
2144+ }
2145+ {
2146+ goPackagePath = "gopkg.in/gemnasium/logrus-airbrake-hook.v2";
2147+ fetch = {
2148+ type = "git";
2149+ url = "https://gopkg.in/gemnasium/logrus-airbrake-hook.v2";
2150+ rev = "v2.1.2";
2151+ sha256 = "0sbg0dn6cysmf8f2bi209jwl4jnpiwp4rdghnxlzirw3c32ms5y5";
2152+ };
2153+ }
2154+ {
2155+ goPackagePath = "gopkg.in/tomb.v1";
2156+ fetch = {
2157+ type = "git";
2158+ url = "https://gopkg.in/tomb.v1";
2159+ rev = "dd632973f1e7";
2160+ sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
2161+ };
2162+ }
2163+ {
2164+ goPackagePath = "gopkg.in/yaml.v2";
2165+ fetch = {
2166+ type = "git";
2167+ url = "https://gopkg.in/yaml.v2";
2168+ rev = "v2.2.1";
2169+ sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
2170+ };
2171+ }
2172+ {
2173+ goPackagePath = "gotest.tools";
2174+ fetch = {
2175+ type = "git";
2176+ url = "https://github.com/gotestyourself/gotest.tools";
2177+ rev = "v2.1.0";
2178+ sha256 = "11k6hmfhaf0qxpddp3i5kfpacdx51q6pv4n1kn3jnf1hjs0yny2k";
2179+ };
2180+ }
2181+ {
2182+ goPackagePath = "gotest.tools/gotestsum";
2183+ fetch = {
2184+ type = "git";
2185+ url = "https://github.com/gotestyourself/gotestsum";
2186+ rev = "v0.3.3";
2187+ sha256 = "0wkh49yixvh5y1z96sanjfyvd7c63pvryz605lz0hzdbvcwciy7i";
2188+ };
2189+ }
2190+]
pkgs/applications/office/kexi/default.nix+2−9
@@ -9,12 +9,12 @@
99
1010mkDerivation rec {
1111 pname = "kexi";
12− version = "3.1.0";
12+ version = "3.2.0";
1313 name = "${pname}-${version}";
1414
1515 src = fetchurl {
1616 url = "mirror://kde/stable/${pname}/src/${name}.tar.xz";
17− sha256 = "1ysj44qq75wglw4d080l3gfw47695gapf29scxhb1g3py55csmbd";
17+ sha256 = "1zy1q7q9rfdaws3rwf3my22ywkn6g747s3ixfcg9r80mm2g3z0bs";
1818 };
1919
2020 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
@@ -29,13 +29,6 @@ mkDerivation rec {
2929
3030 propagatedUserEnvPkgs = [ kproperty ];
3131
32− patches = [
33− (fetchpatch {
34− url = "https://phabricator.kde.org/file/data/6iwzltiifyqwjnzbvyo6/PHID-FILE-li4a7j35wkdkm2qdtnp4/D11503.diff";
35− sha256 = "0yj717m4x1zb4xjy1ayhz78xkxpawxgsvjgvf5iw81jnlr8absq9";
36− })
37− ];
38−
3932 meta = with lib; {
4033 description = "A open source visual database applications creator, a long-awaited competitor for programs like MS Access or Filemaker";
4134 longDescription = ''
pkgs/applications/office/skrooge/default.nix+2−2
@@ -7,11 +7,11 @@
77
88mkDerivation rec {
99 name = "skrooge-${version}";
10− version = "2.18.0";
10+ version = "2.19.1";
1111
1212 src = fetchurl {
1313 url = "http://download.kde.org/stable/skrooge/${name}.tar.xz";
14− sha256 = "00zk152clnmq8rjjnrxmd7lfflf2pnzljaw73bjjsb6r6vkxywa6";
14+ sha256 = "04pajy540vwff1y84ndrnscvlggiwfkr6w65g4hpa75cg7m169ya";
1515 };
1616
1717 nativeBuildInputs = [
pkgs/applications/office/zim/default.nix+2−2
@@ -9,11 +9,11 @@
99
1010python3Packages.buildPythonApplication rec {
1111 name = "zim-${version}";
12− version = "0.70";
12+ version = "0.71.0";
1313
1414 src = fetchurl {
1515 url = "http://zim-wiki.org/downloads/${name}.tar.gz";
16− sha256 = "1g1xj86iph1a2k4n9yykq0gipbd5jdd7fsh9qpv4v2h5lggadjdd";
16+ sha256 = "0mr3911ls5zp3z776ysrdm3sg89zg29r3ip23msydcdbl8wymw30";
1717 };
1818
1919 buildInputs = [ gtk3 gobject-introspection wrapGAppsHook ];
pkgs/applications/radio/cubicsdr/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, cmake, fftw, hamlib, libpulseaudio, libGL, libX11, liquid-dsp,
2+ pkgconfig, soapysdr-with-plugins, wxGTK, enableDigitalLab ? false }:
3+
4+stdenv.mkDerivation rec {
5+ name = "cubicsdr-${version}";
6+ version = "0.2.5";
7+
8+ src = fetchFromGitHub {
9+ owner = "cjcliffe";
10+ repo = "CubicSDR";
11+ rev = version;
12+ sha256 = "1ihbn18bzdcdvwpa4hnb55ns38bj4b8xy53hkmra809f9qpbcjhn";
13+ };
14+
15+ nativeBuildInputs = [ cmake pkgconfig ];
16+ buildInputs = [ fftw hamlib libpulseaudio libGL libX11 liquid-dsp soapysdr-with-plugins wxGTK ];
17+
18+ cmakeFlags = [ "-DUSE_HAMLIB=ON" ]
19+ ++ stdenv.lib.optional enableDigitalLab "-DENABLE_DIGITAL_LAB=ON";
20+
21+ meta = with stdenv.lib; {
22+ homepage = https://cubicsdr.com;
23+ description = "Software Defined Radio application";
24+ license = licenses.gpl2Plus;
25+ maintainers = with maintainers; [ lasandell ];
26+ platforms = platforms.linux;
27+ };
28+}
29+
pkgs/applications/science/biology/aragorn/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, fetchurl }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.2.38";
5+ pname = "aragorn";
6+
7+ src = fetchurl {
8+ url = "http://mbio-serv2.mbioekol.lu.se/ARAGORN/Downloads/${pname}${version}.tgz";
9+ sha256 = "09i1rg716smlbnixfm7q1ml2mfpaa2fpn3hwjg625ysmfwwy712b";
10+ };
11+
12+ buildPhase = ''
13+ gcc -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
14+ '';
15+
16+ installPhase = ''
17+ mkdir -p $out/bin && cp aragorn $out/bin
18+ mkdir -p $out/man/1 && cp aragorn.1 $out/man/1
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ description = "Detects tRNA, mtRNA, and tmRNA genes in nucleotide sequences";
23+ homepage = http://mbio-serv2.mbioekol.lu.se/ARAGORN/;
24+ license = licenses.gpl2;
25+ maintainers = [ maintainers.bzizou ];
26+ platforms = platforms.unix;
27+ };
28+}
pkgs/applications/science/math/R/default.nix+11−5
@@ -1,18 +1,18 @@
11{ stdenv, fetchurl, bzip2, gfortran, libX11, libXmu, libXt, libjpeg, libpng
22, libtiff, ncurses, pango, pcre, perl, readline, tcl, texLive, tk, xz, zlib
33, less, texinfo, graphviz, icu, pkgconfig, bison, imake, which, jdk, openblas
4−, curl, Cocoa, Foundation, libobjc, libcxx, tzdata
4+, curl, Cocoa, Foundation, libobjc, libcxx, tzdata, fetchpatch
55, withRecommendedPackages ? true
66, enableStrictBarrier ? false
77, javaSupport ? (!stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isAarch64)
88}:
99
1010stdenv.mkDerivation rec {
11− name = "R-3.5.3";
11+ name = "R-3.6.0";
1212
1313 src = fetchurl {
1414 url = "https://cran.r-project.org/src/base/R-3/${name}.tar.gz";
15− sha256 = "1337irx9y0r3jm1rcq1dcwnxsgfhnvgjs5wadcyh17vhpnvkgyib";
15+ sha256 = "02bmylmzrm9sdidirmwy233lghmd2346z725ca71ari68lzarz1n";
1616 };
1717
1818 dontUseImakeConfigure = true;
@@ -25,7 +25,13 @@ stdenv.mkDerivation rec {
2525 ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa Foundation libobjc libcxx ]
2626 ++ stdenv.lib.optional javaSupport jdk;
2727
28− patches = [ ./no-usr-local-search-paths.patch ];
28+ patches = [
29+ ./no-usr-local-search-paths.patch
30+ (fetchpatch {
31+ url = "https://github.com/wch/r-source/commit/aeb75e12863019be06fe6c762ab705bf5ed8b38c.patch";
32+ sha256 = "03xv1g1yw1dbhx4paw6pn6hkawj8sny86km3748l1vnasbham82g";
33+ })
34+ ];
2935
3036 prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
3137 substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
@@ -108,6 +114,6 @@ stdenv.mkDerivation rec {
108114 platforms = platforms.all;
109115 hydraPlatforms = platforms.linux;
110116
111− maintainers = [ maintainers.peti ];
117+ maintainers = with maintainers; [ peti timokau ];
112118 };
113119}
pkgs/applications/science/math/geogebra/default.nix+2−2
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 name = "geogebra-${version}";
5− version = "5-0-472-0";
5+ version = "5-0-535-0";
66
77 preferLocalBuild = true;
88
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 "https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2"
1212 "http://web.archive.org/https://download.geogebra.org/installers/5.0/GeoGebra-Linux-Portable-${version}.tar.bz2"
1313 ];
14− sha256 = "1f56k5r5wf2l27sgp2vjpvx7wl72gizwxs0a6hngk15nzzka87v9";
14+ sha256 = "1mbjwa9isw390i0k1yh6r9wmh8zkczian0v25w2vxb2a8vv0hjk0";
1515 };
1616
1717 srcIcon = fetchurl {
pkgs/applications/science/math/sage/sage-src.nix+7
@@ -134,6 +134,13 @@ stdenv.mkDerivation rec {
134134 url = "https://git.sagemath.org/sage.git/patch?id=d3483110474591ea6cc8e3210cd884f3e0018b3e";
135135 sha256 = "028i6h8l8npwzx5z0ax0rcywl85gc83qw1jf93zf523msdfcsk0n";
136136 })
137+
138+ # https://trac.sagemath.org/ticket/27738
139+ (fetchpatch {
140+ name = "R-3.6.0.patch";
141+ url = "https://git.sagemath.org/sage.git/patch/?h=8b7dbd0805d02d0e8674a272e161ceb24a637966";
142+ sha256 = "1c81f13z1w62s06yvp43gz6vkp8mxcs289n6l4gj9xj10slimzff";
143+ })
137144 ];
138145
139146 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
pkgs/applications/virtualization/docker/default.nix+8−8
@@ -200,14 +200,14 @@ rec {
200200 # Get revisions from
201201 # https://github.com/docker/docker-ce/tree/v${version}/components/engine/hack/dockerfile/install/*
202202
203− docker_18_09 = dockerGen rec {
204− version = "18.09.2";
205− rev = "62479626f213818ba5b4565105a05277308587d5"; # git commit
206− sha256 = "05kvpy1c4g661xfds6dfzb8r5q76ndblxjykfj06had18pv0xxd4";
207− runcRev = "09c8266bf2fcf9519a651b04ae54c967b9ab86ec";
208− runcSha256 = "08h45vs1f25byapqzy6x42r86m232z166v6z81gc2a3id8v0nzia";
209− containerdRev = "9754871865f7fe2f4e74d43e2fc7ccd237edcbce";
210− containerdSha256 = "065snv0s3v3z0ghadlii4w78qnhchcbx2kfdrvm8fk8gb4pkx1ya";
203+ docker_18_09 = makeOverridable dockerGen {
204+ version = "18.09.5";
205+ rev = "e8ff056dbcfadaeca12a5f508b0cec281126c01d";
206+ sha256 = "16nd9vg2286m6v47fjq2zicmfvi8vwiwn24yylxia8b9mk417kdb";
207+ runcRev = "2b18fe1d885ee5083ef9f0838fee39b62d653e30";
208+ runcSha256 = "0g0d9mh5fcvsjgddiyw98ph5zpz5ivlwy89m45jxwbzkxb21gy7w";
209+ containerdRev = "bb71b10fd8f58240ca47fbb579b9d1028eea7c84";
210+ containerdSha256 = "0npbzixf3c0jvzm159vygvkydrr8h36c9sq50yv0mdinrys2bvg0";
211211 tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
212212 tiniSha256 = "1h20i3wwlbd8x4jr2gz68hgklh0lb0jj7y5xk1wvr8y58fip1rdn";
213213 };
pkgs/applications/virtualization/qemu/default.nix+3−2
@@ -47,9 +47,10 @@ stdenv.mkDerivation rec {
4747 sha256 = "08frr1fdjx8qcfh3fafn10kibdwbvkqqvfl7hpqbm7i9dg4f1zlq";
4848 };
4949
50+ nativeBuildInputs = [ python2 pkgconfig flex bison ];
5051 buildInputs =
51− [ python2 zlib pkgconfig glib ncurses perl pixman
52− vde2 texinfo flex bison makeWrapper lzo snappy
52+ [ zlib glib ncurses perl pixman
53+ vde2 texinfo makeWrapper lzo snappy
5354 gnutls nettle curl
5455 ]
5556 ++ optionals stdenv.isDarwin [ CoreServices Cocoa Hypervisor rez setfile ]
pkgs/applications/window-managers/awesome/default.nix+4−4
@@ -42,17 +42,17 @@ with luaPackages; stdenv.mkDerivation rec {
4242 cmakeFlags = "-DOVERRIDE_VERSION=${version}";
4343
4444 GI_TYPELIB_PATH = "${pango.out}/lib/girepository-1.0";
45+ # LUA_CPATH and LUA_PATH are used only for *building*, see the --search flags
46+ # below for how awesome finds the libraries it needs at runtime.
4547 LUA_CPATH = "${lgi}/lib/lua/${lua.luaversion}/?.so";
46− LUA_PATH = "?.lua;${lgi}/share/lua/${lua.luaversion}/?.lua;${lgi}/share/lua/${lua.luaversion}/lgi/?.lua";
48+ LUA_PATH = "${lgi}/share/lua/${lua.luaversion}/?.lua;;";
4749
4850 postInstall = ''
4951 wrapProgram $out/bin/awesome \
5052 --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
5153 --add-flags '--search ${lgi}/lib/lua/${lua.luaversion}' \
5254 --add-flags '--search ${lgi}/share/lua/${lua.luaversion}' \
53− --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
54− --prefix LUA_PATH ';' "${lgi}/share/lua/${lua.luaversion}/?.lua;${lgi}/share/lua/${lua.luaversion}/lgi/?.lua" \
55− --prefix LUA_CPATH ';' "${lgi}/lib/lua/${lua.luaversion}/?.so"
55+ --prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH"
5656
5757 wrapProgram $out/bin/awesome-client \
5858 --prefix PATH : "${which}/bin"
pkgs/applications/window-managers/sway/default.nix+1
@@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
2626 sha256 = "0r583nmqvq43ib93yv6flw8pj833v32lbs0q0xld56s3rnzvvdcp";
2727 })
2828 ./sway-config-no-nix-store-references.patch
29+ ./load-configuration-from-etc.patch
2930 ];
3031
3132 nativeBuildInputs = [ pkgconfig meson ninja scdoc ];
pkgs/applications/window-managers/sway/load-configuration-from-etc.patchnew file+42
@@ -0,0 +1,42 @@
1+From 26f9c65ef037892977a824f0d7d7111066856b53 Mon Sep 17 00:00:00 2001
2+From: Michael Weiss <dev.primeos@gmail.com>
3+Date: Sat, 27 Apr 2019 14:26:16 +0200
4+Subject: [PATCH] Load configs from /etc but fallback to /nix/store
5+
6+This change will load all configuration files from /etc, to make it easy
7+to override them, but fallback to /nix/store/.../etc/sway/config to make
8+Sway work out-of-the-box with the default configuration on non NixOS
9+systems.
10+---
11+ meson.build | 3 ++-
12+ sway/config.c | 1 +
13+ 2 files changed, 3 insertions(+), 1 deletion(-)
14+
15+diff --git a/meson.build b/meson.build
16+index 02b5d606..c03a9c0f 100644
17+--- a/meson.build
18++++ b/meson.build
19+@@ -129,7 +129,8 @@ if scdoc.found()
20+ endforeach
21+ endif
22+
23+-add_project_arguments('-DSYSCONFDIR="/@0@"'.format(join_paths(prefix, sysconfdir)), language : 'c')
24++add_project_arguments('-DSYSCONFDIR="/@0@"'.format(sysconfdir), language : 'c')
25++add_project_arguments('-DNIX_SYSCONFDIR="/@0@"'.format(join_paths(prefix, sysconfdir)), language : 'c')
26+
27+ version = '"@0@"'.format(meson.project_version())
28+ if git.found()
29+diff --git a/sway/config.c b/sway/config.c
30+index 4cd21bbc..dd855753 100644
31+--- a/sway/config.c
32++++ b/sway/config.c
33+@@ -317,6 +317,7 @@ static char *get_config_path(void) {
34+ "$XDG_CONFIG_HOME/i3/config",
35+ SYSCONFDIR "/sway/config",
36+ SYSCONFDIR "/i3/config",
37++ NIX_SYSCONFDIR "/sway/config",
38+ };
39+
40+ char *config_home = getenv("XDG_CONFIG_HOME");
41+--
42+2.19.2
pkgs/build-support/appimage/default.nix+2
@@ -49,10 +49,12 @@ rec {
4949 } // (removeAttrs args (builtins.attrNames (builtins.functionArgs wrapAppImage))));
5050
5151 wrapType1 = args@{ name, src, extraPkgs ? pkgs: [], ... }: wrapAppImage (args // {
52+ inherit name extraPkgs;
5253 src = extractType1 { inherit name src; };
5354 });
5455
5556 wrapType2 = args@{ name, src, extraPkgs ? pkgs: [], ... }: wrapAppImage (args // {
57+ inherit name extraPkgs;
5658 src = extractType2 { inherit name src; };
5759 });
5860
pkgs/data/fonts/iosevka/bin.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, fetchzip }:
22
33let
4− version = "2.2.0";
4+ version = "2.2.1";
55in fetchzip rec {
66 name = "iosevka-bin-${version}";
77
@@ -12,7 +12,7 @@ in fetchzip rec {
1212 unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
1313 '';
1414
15− sha256 = "038jpax2kgpknqzlg4iip4213f5lbs99iixsxccxy1bg4w7liqsa";
15+ sha256 = "0d5ys9k8adj9v1hpwbmjqshzpjlnyj81xwp0328vc5q8pvjcfly6";
1616
1717 meta = with stdenv.lib; {
1818 homepage = https://be5invis.github.io/Iosevka/;
pkgs/data/fonts/nahid-fonts/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "nahid-fonts";
5+ version = "0.3.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "rastikerdar";
9+ repo = "nahid-font";
10+ rev = "v${version}";
11+ sha256 = "0n42sywi41zin9dilr8vabmcqvmx2f1a8b4yyybs6ms9zb9xdkxg";
12+ };
13+
14+ installPhase = ''
15+ mkdir -p $out/share/fonts/nahid-fonts
16+ cp -v $( find . -name '*.ttf') $out/share/fonts/nahid-fonts
17+ '';
18+
19+ meta = with stdenv.lib; {
20+ homepage = https://github.com/rastikerdar/nahid-font;
21+ description = "A Persian (Farsi) Font - قلم (فونت) فارسی ناهید";
22+ license = licenses.free;
23+ platforms = platforms.all;
24+ maintainers = [ maintainers.linarcx ];
25+ };
26+}
pkgs/desktops/enlightenment/efl.nix+6−5
@@ -8,11 +8,11 @@
88
99stdenv.mkDerivation rec {
1010 name = "efl-${version}";
11− version = "1.21.1";
11+ version = "1.22.1";
1212
1313 src = fetchurl {
1414 url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz";
15− sha256 = "0a5907h896pvpix7a6idc2fspzy6d78xrzf84k8y9fyvnd14nxs4";
15+ sha256 = "04mfjvaxi36b7r6kn4n0nq2gj97cbldk9iqnr5pf8jnm8plyblr0";
1616 };
1717
1818 nativeBuildInputs = [ pkgconfig gtk3 ];
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
2929 harfbuzz jbig2dec librsvg dbus alsaLib poppler ghostscript libraw libspectre xineLib libwebp curl libdrm
3030 libinput utillinux fribidi SDL2 ];
3131
32− # as of 1.21.0 compilation will fail due to -Werror=format-security
33− hardeningDisable = [ "format" ];
34−
3532 # ac_ct_CXX must be set to random value, because then it skips some magic which does alternative searching for g++
3633 configureFlags = [
3734 "--enable-sdl"
@@ -54,6 +51,10 @@ stdenv.mkDerivation rec {
5451
5552 patches = [ ./efl-elua.patch ];
5653
54+ postPatch = ''
55+ patchShebangs src/lib/elementary/config_embed
56+ '';
57+
5758 # bin/edje_cc creates $HOME/.run, which would break build of reverse dependencies.
5859 setupHook = writeText "setupHook.sh" ''
5960 export HOME="$TEMPDIR"
pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix+2−1
@@ -13,6 +13,7 @@
1313, libgnomekbd
1414, lcms2
1515, libpulseaudio
16+, mousetweaks
1617, alsaLib
1718, libcanberra-gtk3
1819, upower
@@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
4849 patches = [
4950 (substituteAll {
5051 src = ./fix-paths.patch;
51− inherit tzdata;
52+ inherit tzdata mousetweaks;
5253 })
5354 ];
5455
pkgs/desktops/gnome-3/core/gnome-settings-daemon/fix-paths.patch+11
@@ -13,3 +13,14 @@
1313
1414 typedef struct _TzDB TzDB;
1515 typedef struct _TzLocation TzLocation;
16+--- a/plugins/mouse/gsd-mouse-manager.c
17++++ b/plugins/mouse/gsd-mouse-manager.c
18+@@ -118,7 +118,7 @@ set_mousetweaks_daemon (GsdMouseManager *manager,
19+ gboolean run_daemon = dwell_click_enabled || secondary_click_enabled;
20+
21+ if (run_daemon || manager->priv->mousetweaks_daemon_running)
22+- comm = g_strdup_printf ("mousetweaks %s",
23++ comm = g_strdup_printf ("@mousetweaks@/bin/mousetweaks %s",
24+ run_daemon ? "" : "-s");
25+ else
26+ return;
pkgs/desktops/gnome-3/core/mutter/3.28.nix+28−1
@@ -1,5 +1,5 @@
11{ fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
2−, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
2+, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3, fetchpatch
33, gsettings-desktop-schemas, gnome-desktop, wrapGAppsHook
44, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
55, geocode-glib, libgudev, libwacom, xwayland, autoreconfHook }:
@@ -21,6 +21,33 @@ stdenv.mkDerivation rec {
2121 src = ./fix-paths-328.patch;
2222 inherit zenity;
2323 })
24+
25+ # https://bugzilla.redhat.com/show_bug.cgi?id=1700337
26+ # https://gitlab.gnome.org/GNOME/mutter/merge_requests/133
27+ (fetchpatch {
28+ url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0070-clutter-Add-API-to-retrieve-the-physical-size-of-abs.patch";
29+ sha256 = "11xg0clrqwvssy2r6hv4iya8g87z2v5f47fimd2b4hha6ki3g1is";
30+ })
31+ (fetchpatch {
32+ url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0071-backends-Add-MetaInputMapper.patch";
33+ sha256 = "1kcp42hg8sy1q21w5586gdgmi95nf36829kkfswbah61h6bkb518";
34+ })
35+ (fetchpatch {
36+ url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0072-backends-Delegate-on-MetaInputMapper-for-unmapped-di.patch";
37+ sha256 = "0zf4yxhq5s3dnzmn15mx4yb978g27ij4vmq055my9p7xgh6h9ga8";
38+ })
39+ (fetchpatch {
40+ url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0073-backends-Add-MetaInputMapper-method-to-lookup-device.patch";
41+ sha256 = "0dnb2hqx5in6x9ar6wnr1hy3bg2wdcl3wbdx4jn66c7bi7s1k5zd";
42+ })
43+ (fetchpatch {
44+ url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0074-backends-Turn-builtin-touchscreen-on-off-together-wi.patch";
45+ sha256 = "17fvs7j5ws4sz6fkch93gjlik0nm4z426w4n348gyw5llh0r76pg";
46+ })
47+ (fetchpatch {
48+ url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0075-backends-Update-to-new-output-setting-for-tablets-to.patch";
49+ sha256 = "141p3an83s042f67fw2fqmr79i5g634ndrbpd8cs47fd4wwiwpj5";
50+ })
2451 ];
2552
2653 configureFlags = [
pkgs/desktops/gnustep/libobjc2/default.nix+4−7
@@ -1,20 +1,17 @@
11{ stdenv, lib, fetchFromGitHub, cmake }:
22
3−let
4− version = "1.8.1";
5−in
6−
73stdenv.mkDerivation rec {
8− name = "libobjc2-${version}";
4+ pname = "libobjc2";
5+ version = "1.9";
96
107 src = fetchFromGitHub {
118 owner = "gnustep";
129 repo = "libobjc2";
1310 rev = "v${version}";
14− sha256 = "12v9pjg97h56mb114cqd22q1pdwhmxrgdw5hal74ddlrhiq1nzvi";
11+ sha256 = "00pscl3ly3rv6alf9vk70kxnnxq2rfgpc1ylcv6cgjs9jxdnrqmn";
1512 };
1613
17− buildInputs = [ cmake ];
14+ nativeBuildInputs = [ cmake ];
1815
1916 cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" ];
2017
pkgs/desktops/mate/marco/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "marco-${version}";
5− version = "1.22.0";
5+ version = "1.22.1";
66
77 src = fetchurl {
88 url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
9− sha256 = "1i1pi1z9mrb6564mxcwb93jqpdppfv58c2viwmicsixis62hv5wx";
9+ sha256 = "1j7pvq8ndyl2x8jmh95sj69cnf0q9qsjn7lkr3jz6hk103mga82f";
1010 };
1111
1212 nativeBuildInputs = [
pkgs/desktops/mate/mate-session-manager/default.nix+2−2
@@ -5,11 +5,11 @@
55
66stdenv.mkDerivation rec {
77 name = "mate-session-manager-${version}";
8− version = "1.22.0";
8+ version = "1.22.1";
99
1010 src = fetchurl {
1111 url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
12− sha256 = "1kpfmgay01gm74paaxccs3lim4jfb4hsm7i85jfdypr51985pwyj";
12+ sha256 = "1ix8picxgc28m5zd0ww3zvzw6rz38wvzsrbqw28hghrfg926h6ig";
1313 };
1414
1515 nativeBuildInputs = [
pkgs/desktops/mate/mate-system-monitor/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "mate-system-monitor-${version}";
5− version = "1.22.0";
5+ version = "1.22.1";
66
77 src = fetchurl {
88 url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
9− sha256 = "0rs0n5ivmvi355fp3ymcp1jj2sz9viw31475aw7zh7s1l7dn969x";
9+ sha256 = "0yh1sh5snd7ivchh6l9rbn1s7ia4j5ihhzhqkyjnhr8ln59dvcbm";
1010 };
1111
1212 nativeBuildInputs = [
pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix+3−2
@@ -22,6 +22,7 @@
2222, libxml2
2323, libxslt
2424, meson
25+, mousetweaks
2526, networkmanager
2627, ninja
2728, nss
@@ -30,12 +31,12 @@
3031, pkgconfig
3132, polkit
3233, python3
34+, stdenv
3335, substituteAll
3436, systemd
3537, tzdata
3638, upower
3739, wrapGAppsHook
38−, stdenv
3940}:
4041
4142stdenv.mkDerivation rec {
@@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
6364 patches = let patchPath = "${src2}/debian/patches"; in [
6465 (substituteAll {
6566 src = ./fix-paths.patch;
66− inherit tzdata;
67+ inherit tzdata mousetweaks;
6768 })
6869 "${patchPath}/45_suppress-printer-may-not-be-connected-notification.patch"
6970 "${patchPath}/64_restore_terminal_keyboard_shortcut_schema.patch"
pkgs/desktops/pantheon/services/elementary-settings-daemon/fix-paths.patch+11
@@ -13,3 +13,14 @@
1313
1414 typedef struct _TzDB TzDB;
1515 typedef struct _TzLocation TzLocation;
16+--- a/plugins/mouse/gsd-mouse-manager.c
17++++ b/plugins/mouse/gsd-mouse-manager.c
18+@@ -118,7 +118,7 @@ set_mousetweaks_daemon (GsdMouseManager *manager,
19+ gboolean run_daemon = dwell_click_enabled || secondary_click_enabled;
20+
21+ if (run_daemon || manager->priv->mousetweaks_daemon_running)
22+- comm = g_strdup_printf ("mousetweaks %s",
23++ comm = g_strdup_printf ("@mousetweaks@/bin/mousetweaks %s",
24+ run_daemon ? "" : "-s");
25+ else
26+ return;
pkgs/desktops/plasma-5/default.nix+1
@@ -102,6 +102,7 @@ let
102102 breeze-qt5 = callPackage ./breeze-qt5.nix {};
103103 breeze-grub = callPackage ./breeze-grub.nix {};
104104 breeze-plymouth = callPackage ./breeze-plymouth {};
105+ discover = callPackage ./discover.nix {};
105106 kactivitymanagerd = callPackage ./kactivitymanagerd.nix {};
106107 kde-cli-tools = callPackage ./kde-cli-tools.nix {};
107108 kde-gtk-config = callPackage ./kde-gtk-config { inherit gsettings-desktop-schemas; };
pkgs/desktops/plasma-5/discover.nixnew file+20
@@ -0,0 +1,20 @@
1+{
2+ mkDerivation,
3+ extra-cmake-modules, gettext, kdoctools, python,
4+ appstream-qt, discount, flatpak, fwupd, ostree, packagekit-qt, pcre, utillinux,
5+ qtquickcontrols2,
6+ karchive, kconfig, kcrash, kdbusaddons, kdeclarative, kio, kirigami2, kitemmodels,
7+ knewstuff, kwindowsystem, kxmlgui, plasma-framework
8+}:
9+
10+mkDerivation {
11+ name = "discover";
12+ nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python ];
13+ buildInputs = [
14+ # discount is needed for libmarkdown
15+ appstream-qt discount flatpak fwupd ostree packagekit-qt pcre utillinux
16+ qtquickcontrols2
17+ karchive kconfig kcrash kdbusaddons kdeclarative kio kirigami2 kitemmodels knewstuff kwindowsystem kxmlgui
18+ plasma-framework
19+ ];
20+}
pkgs/development/compilers/adoptopenjdk-bin/sources.json+2−2
@@ -5,7 +5,7 @@
55 "hotspot": {
66 "aarch64": {
77 "build": "7",
8− "sha256": "ac367f3261fb53508c07f7eeb767b11ab53681b7613b81b6b7030c4db00b1aa8",
8+ "sha256": "894a846600ddb0df474350037a2fb43e3343dc3606809a20c65e750580d8f2b9",
99 "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.3_7.tar.gz",
1010 "version": "11.0.3"
1111 },
@@ -33,7 +33,7 @@
3333 "hotspot": {
3434 "aarch64": {
3535 "build": "7",
36− "sha256": "4af5b7d6678d03f2207029a7c610d81b1f016462c1dfcd8153a227b1df973a42",
36+ "sha256": "de31fab70640c6d5099de5fc8fa8b4d6b484a7352fa48a9fafbdc088ca708564",
3737 "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.3_7.tar.gz",
3838 "version": "11.0.3"
3939 },
pkgs/development/compilers/openjdk/8.nix+3
@@ -95,6 +95,9 @@ let
9595 ./swing-use-gtk-jdk8.patch
9696 ];
9797
98+ # Hotspot cares about the host(!) version otherwise
99+ DISABLE_HOTSPOT_OS_VERSION_CHECK = "ok";
100+
98101 preConfigure = ''
99102 chmod +x configure
100103 substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"
pkgs/development/compilers/oraclejdk/jdk8cpu-linux.nix+7−7
@@ -2,13 +2,13 @@
22# jce download url: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
33import ./jdk-linux-base.nix {
44 productVersion = "8";
5− patchVersion = "201";
6− buildVersion = "09";
7− sha256.i686-linux = "1f9n93zmkggchaxkchp4bqasvxznn96zjci34f52h7v392jkzqac";
8− sha256.x86_64-linux = "0w730v2q0iaxf2lprabwmy7129byrs0hhdbwas575p1xmk00qw6b";
9− sha256.armv7l-linux = "0y6bvq93lsf21v6ca536dpfhkk5ljsj7c6di0qzkban37bivj0si";
10− sha256.aarch64-linux = "1bybysgg9llqzllsmdszmmb73v5az2l1shxn6lxwv3wwiazpf47q";
11− releaseToken = "42970487e3af4f5aa5bca3f542482c60";
5+ patchVersion = "211";
6+ buildVersion = "12";
7+ sha256.i686-linux = "0mdrljs0rw9s4pvaa3sn791nqgdrp8749z3qn80y7hhad74kvsnp";
8+ sha256.x86_64-linux = "13b6qk4sn8jdhxa22na9d2aazm4yjh6yxrlxr189gxy3619y9dy0";
9+ sha256.armv7l-linux = "1ij1x925k7lyp5f98gy8r0xfr41qhczf2rb74plwwmrccc1k00p5";
10+ sha256.aarch64-linux = "041r615qj9qy34a9gxm8968qlmf060ba2as5w97v86mbik4rca05";
11+ releaseToken = "478a62b7d4e34b78b671c754eaaf38ab";
1212 jceName = "jce_policy-8.zip";
1313 sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
1414}
pkgs/development/compilers/oraclejdk/jdk8psu-linux.nix+7−7
@@ -2,13 +2,13 @@
22# jce download url: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
33import ./jdk-linux-base.nix {
44 productVersion = "8";
5− patchVersion = "202";
6− buildVersion = "09";
7− sha256.i686-linux = "19np392dwdqdq39lmm10607w2h042lrm5953fnsfh1bb9jli1pgj";
8− sha256.x86_64-linux = "1q4l8pymjvsvxfwaw0rdcnhryh1la2bvg5f4d4my41ka390k4p4s";
9− sha256.armv7l-linux = "06aljl7dqmmhmp7xswgvkcgh9mam71wnqydg9yb3hkcc443cm581";
10− sha256.aarch64-linux = "12v9ndv7a2c9zqq6ai2vsgwad0lzmf4c6jxy4p9miapmhjzx5vii";
11− releaseToken = "42970487e3af4f5aa5bca3f542482c60";
5+ patchVersion = "212";
6+ buildVersion = "10";
7+ sha256.i686-linux = "03dj9q0bi3ib731f4zl9hylkrgw417h6qlg2wi7nw71b0fqhijn1";
8+ sha256.x86_64-linux = "1yzddxzfh6h14bpzis1abp52x4jjljg8a3zyqz483q6qm05caq1i";
9+ sha256.armv7l-linux = "0x333alkqdx8mmiirair7g5iiwif5v9ka4j3qr0f42ilvmk8csnx";
10+ sha256.aarch64-linux = "0vcbdvcsl8rm47i07s93jmrrs5laibf937d8vacjqqgh9bbhsr2c";
11+ releaseToken = "59066701cf1a433da9770636fbc4c9aa";
1212 jceName = "jce_policy-8.zip";
1313 sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
1414}
pkgs/development/compilers/sbcl/bootstrap.nix+2−2
@@ -3,9 +3,9 @@
33let
44 options = rec {
55 x86_64-darwin = rec {
6− version = "1.1.8";
6+ version = "1.2.11";
77 system = "x86-64-darwin";
8− sha256 = "006pr88053wclvbjfjdypnbiw8wymbzdzi7a6kbkpdfn4zf5943j";
8+ sha256 = "0lh4gpvi8hl6g6b9321g5pwh8sk3218i7h4lx7p3vd9z0cf3lz85";
99 };
1010 x86_64-linux = rec {
1111 version = "1.3.16";
pkgs/development/compilers/sbcl/default.nix+2−2
@@ -10,11 +10,11 @@
1010
1111stdenv.mkDerivation rec {
1212 name = "sbcl-${version}";
13− version = "1.5.0";
13+ version = "1.5.1";
1414
1515 src = fetchurl {
1616 url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
17− sha256 = "1a4c84b6qqi4w4l1zzhnhnywk73j3wb0gjgghzcw0h5syqbqzy8z";
17+ sha256 = "08z62qba0kmm15k93s2rq7ipi769895g8iwigcp20qjh6amwnwph";
1818 };
1919
2020 buildInputs = [texinfo];
pkgs/development/compilers/swi-prolog/default.nix+30−9
@@ -1,22 +1,30 @@
1−{ stdenv, fetchurl, jdk, gmp, readline, openssl, libjpeg, unixODBC, zlib
1+{ stdenv, fetchgit, jdk, gmp, readline, openssl, libjpeg, unixODBC, zlib
22, libXinerama, libarchive, db, pcre, libedit, libossp_uuid, libXft, libXpm
33, libSM, libXt, freetype, pkgconfig, fontconfig, makeWrapper ? stdenv.isDarwin
4+, git, cacert, cmake, libyaml
5+, extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ]
6+, extraPacks ? []
47}:
58
69let
7− version = "7.6.4";
10+ version = "8.1.4";
11+ packInstall = swiplPath: pack:
12+ ''${swiplPath}/bin/swipl -g "pack_install(${pack}, [package_directory(\"${swiplPath}/lib/swipl/pack\"), silent(true), interactive(false)])." -t "halt."
13+ '';
814in
915stdenv.mkDerivation {
1016 name = "swi-prolog-${version}";
1117
12− src = fetchurl {
13− url = "http://www.swi-prolog.org/download/stable/src/swipl-${version}.tar.gz";
14− sha256 = "14bq4sqs61maqpnmgy6687jjj0shwc27cpfsqbf056nrssmplg9d";
18+ src = fetchgit {
19+ url = "https://github.com/SWI-Prolog/swipl-devel";
20+ rev = "V${version}";
21+ sha256 = "0qxa6f5dypwczxajlf0l736adbjb17cbak3qsh5g04hpv2bxm6dh";
1522 };
1623
17− buildInputs = [ jdk gmp readline openssl libjpeg unixODBC libXinerama
18− libarchive db pcre libedit libossp_uuid libXft libXpm libSM libXt
19− zlib freetype pkgconfig fontconfig ]
24+ buildInputs = [ cacert git cmake gmp readline openssl
25+ libarchive libyaml db pcre libedit libossp_uuid
26+ zlib pkgconfig ]
27+ ++ extraLibraries
2028 ++ stdenv.lib.optional stdenv.isDarwin makeWrapper;
2129
2230 hardeningDisable = [ "format" ];
@@ -27,7 +35,20 @@ stdenv.mkDerivation {
2735 "--enable-shared"
2836 ];
2937
30− buildFlags = "world";
38+ installPhase = ''
39+ mkdir -p $out
40+ mkdir build
41+ cd build
42+ ${cmake}/bin/cmake -DCMAKE_INSTALL_PREFIX=$out ..
43+ cd ../
44+ make
45+ make install
46+ make clean
47+ mkdir -p $out/lib/swipl/pack
48+ ''
49+ + builtins.concatStringsSep "\n"
50+ ( builtins.map (packInstall "$out") extraPacks
51+ );
3152
3253 # For macOS: still not fixed in upstream: "abort trap 6" when called
3354 # through symlink, so wrap binary.
pkgs/development/idris-modules/glfw.nix+6
@@ -10,8 +10,14 @@ build-idris-package {
1010
1111 idrisDeps = [ effects ];
1212
13+ nativeBuildInputs = [ pkgs.pkgconfig ];
1314 extraBuildInputs = [ pkgs.glfw ];
1415
16+ postPatch = ''
17+ substituteInPlace src/MakefileGlfw \
18+ --replace glfw3 "glfw3 gl"
19+ '';
20+
1521 src = fetchFromGitHub {
1622 owner = "eckart";
1723 repo = "glfw-idris";
pkgs/development/idris-modules/idris-wrapper.nix+5−3
@@ -1,4 +1,4 @@
1−{ lib, symlinkJoin, makeWrapper, idris-no-deps, gcc, gmp }:
1+{ stdenv, lib, symlinkJoin, makeWrapper, idris-no-deps, gmp }:
22
33symlinkJoin {
44 inherit (idris-no-deps) name src meta;
@@ -6,7 +6,9 @@ symlinkJoin {
66 buildInputs = [ makeWrapper ];
77 postBuild = ''
88 wrapProgram $out/bin/idris \
9− --run 'export IDRIS_CC=''${IDRIS_CC:-${lib.getBin gcc}/bin/gcc}' \
10− --suffix LIBRARY_PATH : ${lib.makeLibraryPath [ gmp ]}
9+ --run 'export IDRIS_CC=''${IDRIS_CC:-${stdenv.cc}/bin/cc}' \
10+ --set NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST 1 \
11+ --prefix NIX_CFLAGS_COMPILE " " "-I${lib.getDev gmp}/include" \
12+ --prefix NIX_CFLAGS_LINK " " "-L${lib.getLib gmp}/lib"
1113 '';
1214}
pkgs/development/interpreters/lua-5/5.1.nixdeleted−76
@@ -1,76 +0,0 @@
1−{ stdenv, fetchurl, readline
2−, self
3−, callPackage
4−, packageOverrides ? (self: super: {})
5−}:
6−
7−let
8− dsoPatch = fetchurl {
9− url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/lua-arch.patch?h=packages/lua51";
10− sha256 = "11fcyb4q55p4p7kdb8yp85xlw8imy14kzamp2khvcyxss4vw8ipw";
11− name = "lua-arch.patch";
12− };
13− luaPackages = callPackage ../../lua-modules {lua=self; overrides=packageOverrides;};
14−in
15−stdenv.mkDerivation rec {
16− name = "lua-${version}";
17− version = "5.1.5";
18− luaversion = "5.1";
19−
20− src = fetchurl {
21− url = "https://www.lua.org/ftp/${name}.tar.gz";
22− sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333";
23− };
24−
25− LuaPathSearchPaths = luaPackages.getLuaPathList luaversion;
26− LuaCPathSearchPaths = luaPackages.getLuaCPathList luaversion;
27− setupHook = luaPackages.lua-setup-hook LuaPathSearchPaths LuaCPathSearchPaths;
28−
29− buildInputs = [ readline ];
30−
31− patches = (if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch ])
32− ++ [ ./5.1.0004-Fix-stack-overflow-in-vararg-functions.patch ];
33−
34− configurePhase =
35− if stdenv.isDarwin
36− then ''
37− makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=macosx CFLAGS="-DLUA_USE_LINUX -fno-common -O2" LDFLAGS="" CC="$CC" )
38− installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.5.1.5.dylib" INSTALL_DATA='cp -d' )
39− '' else ''
40− makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux CFLAGS="-DLUA_USE_LINUX -O2 -fPIC" LDFLAGS="-fPIC" CC="$CC" AR="$AR q" RANLIB="$RANLIB" )
41− installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.a liblua.so liblua.so.5.1 liblua.so.5.1.5" INSTALL_DATA='cp -d' )
42− '';
43−
44− postInstall = ''
45− mkdir -p "$out/share/doc/lua" "$out/lib/pkgconfig"
46− sed <"etc/lua.pc" >"$out/lib/pkgconfig/lua.pc" -e "s|^prefix=.*|prefix=$out|"
47− mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
48− rmdir $out/{share,lib}/lua/5.1 $out/{share,lib}/lua
49− '';
50−
51− passthru = rec {
52− buildEnv = callPackage ./wrapper.nix {
53− lua=self;
54− inherit (luaPackages) requiredLuaModules;
55− };
56− withPackages = import ./with-packages.nix { inherit buildEnv luaPackages;};
57− pkgs = luaPackages;
58− interpreter = "${self}/bin/lua";
59− };
60−
61− meta = {
62− homepage = http://www.lua.org;
63− description = "Powerful, fast, lightweight, embeddable scripting language";
64− longDescription = ''
65− Lua combines simple procedural syntax with powerful data
66− description constructs based on associative arrays and extensible
67− semantics. Lua is dynamically typed, runs by interpreting bytecode
68− for a register-based virtual machine, and has automatic memory
69− management with incremental garbage collection, making it ideal
70− for configuration, scripting, and rapid prototyping.
71− '';
72− license = stdenv.lib.licenses.mit;
73− platforms = with stdenv.lib.platforms; linux ++ darwin;
74− hydraPlatforms = stdenv.lib.platforms.linux;
75− };
76−}
pkgs/development/interpreters/lua-5/5.2.nixdeleted−95
@@ -1,95 +0,0 @@
1−{ stdenv, fetchurl, readline
2−# compiles compatibility layer with lua5.1
3−, compat ? false
4−, callPackage
5−, self
6−, packageOverrides ? (self: super: {})
7−}:
8−
9−let
10− dsoPatch = fetchurl {
11− url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/liblua.so.patch?h=packages/lua52";
12− sha256 = "1by1dy4ql61f5c6njq9ibf9kaqm3y633g2q8j54iyjr4cxvqwqz9";
13− name = "lua-arch.patch";
14− };
15− luaPackages = callPackage ../../lua-modules {lua=self; overrides=packageOverrides;};
16−in
17−stdenv.mkDerivation rec {
18− name = "lua-${version}";
19− luaversion = "5.2";
20− version = "${luaversion}.4";
21−
22− LuaPathSearchPaths = luaPackages.getLuaPathList luaversion;
23− LuaCPathSearchPaths = luaPackages.getLuaCPathList luaversion;
24− setupHook = luaPackages.lua-setup-hook LuaPathSearchPaths LuaCPathSearchPaths;
25−
26− src = fetchurl {
27− url = "https://www.lua.org/ftp/${name}.tar.gz";
28− sha256 = "0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr";
29− };
30−
31− buildInputs = [ readline ];
32−
33− patches = if stdenv.isDarwin then [ ./5.2.darwin.patch ] else [ dsoPatch ];
34−
35−
36− passthru = rec {
37− buildEnv = callPackage ./wrapper.nix {
38− lua = self;
39− inherit (luaPackages) requiredLuaModules;
40− };
41− withPackages = import ./with-packages.nix { inherit buildEnv luaPackages;};
42− pkgs = luaPackages;
43− interpreter = "${self}/bin/lua";
44− };
45−
46− enableParallelBuilding = true;
47−
48− configurePhase =
49− if stdenv.isDarwin
50− then ''
51− makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=macosx CFLAGS="-DLUA_USE_LINUX -fno-common -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" LDFLAGS="-fPIC" V=${luaversion} R=${version} CC="$CC" )
52− installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.${version}.dylib" INSTALL_DATA='cp -d' )
53− '' else ''
54− makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux CFLAGS="-DLUA_USE_LINUX -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" LDFLAGS="-fPIC" V=${luaversion} R=${version} CC="$CC" AR="$AR q" RANLIB="$RANLIB" )
55− installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.a liblua.so liblua.so.${luaversion} liblua.so.${version}" INSTALL_DATA='cp -d' )
56− '';
57−
58− postInstall = ''
59− mkdir -p "$out/share/doc/lua" "$out/lib/pkgconfig"
60− mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
61− rmdir $out/{share,lib}/lua/${luaversion} $out/{share,lib}/lua
62− mkdir -p "$out/lib/pkgconfig"
63− cat >"$out/lib/pkgconfig/lua.pc" <<EOF
64− prefix=$out
65− libdir=$out/lib
66− includedir=$out/include
67− INSTALL_BIN=$out/bin
68− INSTALL_INC=$out/include
69− INSTALL_LIB=$out/lib
70− INSTALL_MAN=$out/man/man1
71−
72− Name: Lua
73− Description: An Extensible Extension Language
74− Version: ${version}
75− Requires:
76− Libs: -L$out/lib -llua -lm
77− Cflags: -I$out/include
78− EOF
79− '';
80−
81− meta = {
82− homepage = http://www.lua.org;
83− description = "Powerful, fast, lightweight, embeddable scripting language";
84− longDescription = ''
85− Lua combines simple procedural syntax with powerful data
86− description constructs based on associative arrays and extensible
87− semantics. Lua is dynamically typed, runs by interpreting bytecode
88− for a register-based virtual machine, and has automatic memory
89− management with incremental garbage collection, making it ideal
90− for configuration, scripting, and rapid prototyping.
91− '';
92− license = stdenv.lib.licenses.mit;
93− platforms = stdenv.lib.platforms.unix;
94− };
95−}
pkgs/development/interpreters/lua-5/build-lua-package.nix+3
@@ -150,6 +150,9 @@ builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
150150 installPhase = attrs.installPhase or ''
151151 runHook preInstall
152152
153+ # work around failing luarocks test for Write access
154+ mkdir -p $out
155+
153156 # luarocks make assumes sources are available in cwd
154157 # After the build is complete, it also installs the rock.
155158 # If no argument is given, it looks for a rockspec in the current directory
pkgs/development/interpreters/lua-5/default.nixnew file+65
@@ -0,0 +1,65 @@
1+# similar to interpreters/python/default.nix
2+{ stdenv, lib, callPackage, fetchurl }:
3+let
4+ dsoPatch51 = fetchurl {
5+ url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/lua-arch.patch?h=packages/lua51";
6+ sha256 = "11fcyb4q55p4p7kdb8yp85xlw8imy14kzamp2khvcyxss4vw8ipw";
7+ name = "lua-arch.patch";
8+ };
9+
10+ dsoPatch52 = fetchurl {
11+ url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/liblua.so.patch?h=packages/lua52";
12+ sha256 = "1by1dy4ql61f5c6njq9ibf9kaqm3y633g2q8j54iyjr4cxvqwqz9";
13+ name = "lua-arch.patch";
14+ };
15+
16+in rec {
17+
18+ lua5_3 = callPackage ./interpreter.nix {
19+ sourceVersion = { major = "5"; minor = "3"; patch = "5"; };
20+ hash = "0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac";
21+ patches = lib.optionals stdenv.isDarwin [ ./5.2.darwin.patch ] ;
22+ postConfigure = lib.optionalString (!stdenv.isDarwin) ''
23+ cat ${./lua-5.3-dso.make} >> src/Makefile
24+ sed -e 's/ALL_T *= */& $(LUA_SO)/' -i src/Makefile
25+ '';
26+
27+ postBuild = stdenv.lib.optionalString (!stdenv.isDarwin) ''
28+ ( cd src; make $makeFlags "''${makeFlagsArray[@]}" liblua.so )
29+ '';
30+ };
31+
32+ lua5_3_compat = lua5_3.override({
33+ compat = true;
34+ });
35+
36+
37+ lua5_2 = callPackage ./interpreter.nix {
38+ sourceVersion = { major = "5"; minor = "2"; patch = "4"; };
39+ hash = "0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr";
40+ patches = if stdenv.isDarwin then [ ./5.2.darwin.patch ] else [ dsoPatch52 ];
41+ };
42+
43+ lua5_2_compat = lua5_2.override({
44+ compat = true;
45+ });
46+
47+
48+ lua5_1 = callPackage ./interpreter.nix {
49+ sourceVersion = { major = "5"; minor = "1"; patch = "5"; };
50+ hash = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333";
51+ patches = (if stdenv.isDarwin then [ ./5.1.darwin.patch ] else [ dsoPatch51 ])
52+ ++ [ ./5.1.0004-Fix-stack-overflow-in-vararg-functions.patch ];
53+ };
54+
55+ luajit_2_0 = import ../luajit/2.0.nix {
56+ self = luajit_2_0;
57+ inherit callPackage lib;
58+ };
59+
60+ luajit_2_1 = import ../luajit/2.1.nix {
61+ self = luajit_2_1;
62+ inherit callPackage lib;
63+ };
64+
65+}
pkgs/development/interpreters/lua-5/5.3.nix → pkgs/development/interpreters/lua-5/interpreter.nixrenamed+46−26
@@ -1,19 +1,24 @@
1−{ stdenv, fetchurl, readline, compat ? false
1+{ stdenv, fetchurl, readline
2+, compat ? false
23, callPackage
3−, self
44, packageOverrides ? (self: super: {})
5+, sourceVersion
6+, hash
7+, patches ? []
8+, postConfigure ? null
9+, postBuild ? null
510}:
611let
7− luaPackages = callPackage ../../lua-modules {lua=self; overrides=packageOverrides;};
8−in
9−stdenv.mkDerivation rec {
10− name = "lua-${version}";
11− luaversion = "5.3";
12− version = "${luaversion}.5";
12+luaPackages = callPackage ../../lua-modules {lua=self; overrides=packageOverrides;};
13+
14+self = stdenv.mkDerivation rec {
15+ pname = "lua";
16+ luaversion = with sourceVersion; "${major}.${minor}";
17+ version = "${luaversion}.${sourceVersion.patch}";
1318
1419 src = fetchurl {
15− url = "https://www.lua.org/ftp/${name}.tar.gz";
16− sha256 = "0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac";
20+ url = "https://www.lua.org/ftp/${pname}-${luaversion}.tar.gz";
21+ sha256 = hash;
1722 };
1823
1924 LuaPathSearchPaths = luaPackages.getLuaPathList luaversion;
@@ -22,29 +27,43 @@ stdenv.mkDerivation rec {
2227
2328 buildInputs = [ readline ];
2429
25− patches = if stdenv.isDarwin then [ ./5.2.darwin.patch ] else [];
26−
27− configurePhase =
28− if stdenv.isDarwin
29− then ''
30− makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=macosx CFLAGS="-DLUA_USE_LINUX -fno-common -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" LDFLAGS="-fPIC" V=${luaversion} R=${version} CC="$CC" )
31− installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.${version}.dylib" INSTALL_DATA='cp -d' )
32− '' else ''
33− makeFlagsArray=( INSTALL_TOP=$out INSTALL_MAN=$out/share/man/man1 PLAT=linux CFLAGS="-DLUA_USE_LINUX -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" LDFLAGS="-fPIC" V=${luaversion} R=${version} CC="$CC" AR="$AR q" RANLIB="$RANLIB" )
34− installFlagsArray=( TO_BIN="lua luac" TO_LIB="liblua.a liblua.so liblua.so.${luaversion} liblua.so.${version}" INSTALL_DATA='cp -d' )
35− cat ${./lua-5.3-dso.make} >> src/Makefile
36− sed -e 's/ALL_T *= */& $(LUA_SO)/' -i src/Makefile
37− '';
30+ inherit patches;
31+
32+ # see configurePhase for additional flags (with space)
33+ makeFlags = [
34+ "INSTALL_TOP=${placeholder "out"}"
35+ "INSTALL_MAN=${placeholder "out"}/share/man/man1"
36+ "R=${version}"
37+ "LDFLAGS=-fPIC"
38+ "V=${luaversion}"
39+ ] ++ (if stdenv.isDarwin then [
40+ "PLAT=macosx"
41+ ] else [
42+ "PLAT=linux"
43+ ])
44+ ;
45+
46+ configurePhase = ''
47+ runHook preConfigure
3848
39− postBuild = stdenv.lib.optionalString (! stdenv.isDarwin) ''
40− ( cd src; make liblua.so "''${makeFlagsArray[@]}" )
49+ makeFlagsArray+=(CFLAGS="-DLUA_USE_LINUX -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" )
50+ makeFlagsArray+=(${stdenv.lib.optionalString stdenv.isDarwin "CC=\"$CC\""})
51+
52+ installFlagsArray=( TO_BIN="lua luac" INSTALL_DATA='cp -d' \
53+ TO_LIB="${if stdenv.isDarwin then "liblua.${version}.dylib" else "liblua.a liblua.so liblua.so.${luaversion} liblua.so.${version}"}" )
54+
55+ runHook postConfigure
4156 '';
57+ inherit postConfigure;
58+
59+ inherit postBuild;
4260
4361 postInstall = ''
4462 mkdir -p "$out/share/doc/lua" "$out/lib/pkgconfig"
4563 mv "doc/"*.{gif,png,css,html} "$out/share/doc/lua/"
4664 rmdir $out/{share,lib}/lua/${luaversion} $out/{share,lib}/lua
4765 mkdir -p "$out/lib/pkgconfig"
66+
4867 cat >"$out/lib/pkgconfig/lua.pc" <<EOF
4968 prefix=$out
5069 libdir=$out/lib
@@ -88,4 +107,5 @@ stdenv.mkDerivation rec {
88107 license = stdenv.lib.licenses.mit;
89108 platforms = stdenv.lib.platforms.unix;
90109 };
91−}
110+};
111+in self
pkgs/development/interpreters/python/cpython/docs/2.7-html.nix+3−3
@@ -3,10 +3,10 @@
33{ stdenv, fetchurl, lib }:
44
55stdenv.mkDerivation rec {
6− name = "python27-docs-html-2.7.3";
6+ name = "python27-docs-html-2.7.16";
77 src = fetchurl {
8− url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-html.tar.bz2;
9− sha256 = "1hg92n0mzl9w6j33b2h0bf2vy6fsxnpxfdc3qw760vcm0y00155j";
8+ url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-html.tar.bz2;
9+ sha256 = "1razs1grzhai65ihaiyph8kz6ncjkgp1gsn3c8v7kanf13lqim02";
1010 };
1111 installPhase = ''
1212 mkdir -p $out/share/doc/python27
pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix+3−3
@@ -3,10 +3,10 @@
33{ stdenv, fetchurl, lib }:
44
55stdenv.mkDerivation rec {
6− name = "python27-docs-pdf-a4-2.7.3";
6+ name = "python27-docs-pdf-a4-2.7.16";
77 src = fetchurl {
8− url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-pdf-a4.tar.bz2;
9− sha256 = "13da88panq5b6qfhf8k4dgqgxkg4ydcac5cx69a3f35s1w90xdjr";
8+ url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-pdf-a4.tar.bz2;
9+ sha256 = "14ml1ynrlbhg43737bdsb8k5y39wsffqj4iwhylhb8n8l5dplfdq";
1010 };
1111 installPhase = ''
1212 mkdir -p $out/share/doc/python27
pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix+3−3
@@ -3,10 +3,10 @@
33{ stdenv, fetchurl, lib }:
44
55stdenv.mkDerivation rec {
6− name = "python27-docs-pdf-letter-2.7.3";
6+ name = "python27-docs-pdf-letter-2.7.16";
77 src = fetchurl {
8− url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-pdf-letter.tar.bz2;
9− sha256 = "0x41phsdrpivhzkchswsliyx3a10n7gzc9irkrw6rz22j81bfydg";
8+ url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-pdf-letter.tar.bz2;
9+ sha256 = "019i8n48m71mn31v8d85kkwyqfgcgqnqh506y4a7fcgf656bajs0";
1010 };
1111 installPhase = ''
1212 mkdir -p $out/share/doc/python27
pkgs/development/interpreters/python/cpython/docs/2.7-text.nix+3−3
@@ -3,10 +3,10 @@
33{ stdenv, fetchurl, lib }:
44
55stdenv.mkDerivation rec {
6− name = "python27-docs-text-2.7.3";
6+ name = "python27-docs-text-2.7.16";
77 src = fetchurl {
8− url = http://docs.python.org/ftp/python/doc/2.7.3/python-2.7.3-docs-text.tar.bz2;
9− sha256 = "1rxlb3jhh3892y65i45nk1y2lx981fr22a5hmfkp9gvjvdykjnzp";
8+ url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-text.tar.bz2;
9+ sha256 = "1da7swlykvc013684nywycinfz3v8dqkcmv0zj8p7l5lyi5mq03r";
1010 };
1111 installPhase = ''
1212 mkdir -p $out/share/doc/python27
pkgs/development/interpreters/python/cpython/docs/3.7-html.nixnew file+18
@@ -0,0 +1,18 @@
1+# This file was generated and will be overwritten by ./generate.sh
2+
3+{ stdenv, fetchurl, lib }:
4+
5+stdenv.mkDerivation rec {
6+ name = "python37-docs-html-3.7.2";
7+ src = fetchurl {
8+ url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-html.tar.bz2;
9+ sha256 = "19wbrawpdam09fmyipfy92sxwn1rl93v8jkfqsfx028qhvzf0422";
10+ };
11+ installPhase = ''
12+ mkdir -p $out/share/doc/python37
13+ cp -R ./ $out/share/doc/python37/html
14+ '';
15+ meta = {
16+ maintainers = [ ];
17+ };
18+}
pkgs/development/interpreters/python/cpython/docs/3.7-pdf-a4.nixnew file+18
@@ -0,0 +1,18 @@
1+# This file was generated and will be overwritten by ./generate.sh
2+
3+{ stdenv, fetchurl, lib }:
4+
5+stdenv.mkDerivation rec {
6+ name = "python37-docs-pdf-a4-3.7.2";
7+ src = fetchurl {
8+ url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-pdf-a4.tar.bz2;
9+ sha256 = "0vdx762m30hjaabn6w88awcj2qpbz0b6z59zn9wmamd35k59lfba";
10+ };
11+ installPhase = ''
12+ mkdir -p $out/share/doc/python37
13+ cp -R ./ $out/share/doc/python37/pdf-a4
14+ '';
15+ meta = {
16+ maintainers = [ ];
17+ };
18+}
pkgs/development/interpreters/python/cpython/docs/3.7-pdf-letter.nixnew file+18
@@ -0,0 +1,18 @@
1+# This file was generated and will be overwritten by ./generate.sh
2+
3+{ stdenv, fetchurl, lib }:
4+
5+stdenv.mkDerivation rec {
6+ name = "python37-docs-pdf-letter-3.7.2";
7+ src = fetchurl {
8+ url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-pdf-letter.tar.bz2;
9+ sha256 = "17g57vlyvqx0k916q84q2pcx7y8myw0fda9fvg9kh0ph930c837x";
10+ };
11+ installPhase = ''
12+ mkdir -p $out/share/doc/python37
13+ cp -R ./ $out/share/doc/python37/pdf-letter
14+ '';
15+ meta = {
16+ maintainers = [ ];
17+ };
18+}
pkgs/development/interpreters/python/cpython/docs/3.7-text.nixnew file+18
@@ -0,0 +1,18 @@
1+# This file was generated and will be overwritten by ./generate.sh
2+
3+{ stdenv, fetchurl, lib }:
4+
5+stdenv.mkDerivation rec {
6+ name = "python37-docs-text-3.7.2";
7+ src = fetchurl {
8+ url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-text.tar.bz2;
9+ sha256 = "0h50rlr8jclwfxa106b42q2vn2ynp219c4zsy5qz65n5m3b7y1g2";
10+ };
11+ installPhase = ''
12+ mkdir -p $out/share/doc/python37
13+ cp -R ./ $out/share/doc/python37/text
14+ '';
15+ meta = {
16+ maintainers = [ ];
17+ };
18+}
pkgs/development/interpreters/python/cpython/docs/default.nix+12
@@ -7,23 +7,35 @@ pythonDocs = {
77 python27 = import ./2.7-html.nix {
88 inherit stdenv fetchurl lib;
99 };
10+ python37 = import ./3.7-html.nix {
11+ inherit stdenv fetchurl lib;
12+ };
1013 };
1114 pdf_a4 = {
1215 recurseForDerivations = true;
1316 python27 = import ./2.7-pdf-a4.nix {
1417 inherit stdenv fetchurl lib;
1518 };
19+ python37 = import ./3.7-pdf-a4.nix {
20+ inherit stdenv fetchurl lib;
21+ };
1622 };
1723 pdf_letter = {
1824 recurseForDerivations = true;
1925 python27 = import ./2.7-pdf-letter.nix {
2026 inherit stdenv fetchurl lib;
2127 };
28+ python37 = import ./3.7-pdf-letter.nix {
29+ inherit stdenv fetchurl lib;
30+ };
2231 };
2332 text = {
2433 recurseForDerivations = true;
2534 python27 = import ./2.7-text.nix {
2635 inherit stdenv fetchurl lib;
2736 };
37+ python37 = import ./3.7-text.nix {
38+ inherit stdenv fetchurl lib;
39+ };
2840 };
2941}; in pythonDocs
pkgs/development/interpreters/python/cpython/docs/generate.sh+1−1
@@ -2,7 +2,7 @@
22
33TYPES="html pdf-a4 pdf-letter text"
44URL=http://docs.python.org/ftp/python/doc/VERSION/python-VERSION-docs-TYPE.tar.bz2
5−VERSIONS=$(curl http://www.python.org/download/releases/ 2>/dev/null | grep "releases/[123456789]"| cut -d/ -f4 |grep -v "^[12].[012345]" |grep -v "^1.6.1")
5+VERSIONS=$(for major in 2 3; do curl https://docs.python.org/$major/archives/ 2>/dev/null | perl -l -n -e'/<a href="python-([23].[0-9].[0-9]+)-docs-html.tar.bz2/ && print $1' | tail -n 1; done)
66echo "Generating expressions for:
77${VERSIONS}
88"
pkgs/development/libraries/accountsservice/default.nix+2−2
@@ -4,11 +4,11 @@
44
55stdenv.mkDerivation rec {
66 name = "accountsservice-${version}";
7− version = "0.6.54";
7+ version = "0.6.55";
88
99 src = fetchurl {
1010 url = "https://www.freedesktop.org/software/accountsservice/accountsservice-${version}.tar.xz";
11− sha256 = "1b115n0a4yfa06kgxc69qfc1rc0w4frgs3id3029czkrhhn0ds96";
11+ sha256 = "16wwd633jak9ajyr1f1h047rmd09fhf3kzjz6g5xjsz0lwcj8azz";
1212 };
1313
1414 nativeBuildInputs = [ pkgconfig makeWrapper meson ninja python3 ];
pkgs/development/libraries/accountsservice/no-create-dirs.patch+6−6
@@ -1,15 +1,15 @@
11diff --git a/meson_post_install.py b/meson_post_install.py
2−index ba95055..17f7926 100644
2+index 5cc2dc4..dd27ad5 100644
33--- a/meson_post_install.py
44+++ b/meson_post_install.py
55@@ -9,8 +9,8 @@ localstatedir = os.path.normpath(destdir + os.sep + sys.argv[1])
66 # FIXME: meson will not track the creation of these directories
77 # https://github.com/mesonbuild/meson/blob/master/mesonbuild/scripts/uninstall.py#L39
88 dst_dirs = [
9−- os.path.join(localstatedir, 'lib', 'AccountsService', 'icons'),
10−- os.path.join(localstatedir, 'lib', 'AccountsService', 'users'),
11−+ #os.path.join(localstatedir, 'lib', 'AccountsService', 'icons'),
12−+ #os.path.join(localstatedir, 'lib', 'AccountsService', 'users'),
9+- (os.path.join(localstatedir, 'lib', 'AccountsService', 'icons'), 0o775),
10+- (os.path.join(localstatedir, 'lib', 'AccountsService', 'users'), 0o700),
11++# (os.path.join(localstatedir, 'lib', 'AccountsService', 'icons'), 0o775),
12++# (os.path.join(localstatedir, 'lib', 'AccountsService', 'users'), 0o700),
1313 ]
1414
15− for dst_dir in dst_dirs:
15+ for (dst_dir, dst_dir_mode) in dst_dirs:
pkgs/development/libraries/appstream/qt.nix+2−9
@@ -1,5 +1,7 @@
11{ stdenv, appstream, qtbase, qttools }:
22
3+# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
4+
35stdenv.mkDerivation rec {
46 name = "appstream-qt-${version}";
57 inherit (appstream) version src prePatch;
@@ -10,15 +12,6 @@ stdenv.mkDerivation rec {
1012
1113 mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];
1214
13− postInstall = ''
14− rm -rf $out/{bin,etc,include/appstream,lib/pkgconfig,lib/libappstream.so*,share}
15− '';
16−
17− preFixup = ''
18− patchelf --add-needed ${appstream}/lib/libappstream.so.4 \
19− $out/lib/libAppStreamQt.so
20− '';
21−
2215 meta = appstream.meta // {
2316 description = "Software metadata handling library - Qt";
2417 };
pkgs/development/libraries/armadillo/default.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, cmake, openblasCompat, superlu, hdf5 }:
22
33stdenv.mkDerivation rec {
4− version = "9.200.8";
4+ version = "9.300.2";
55 name = "armadillo-${version}";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
9− sha256 = "09fcl6dgxg9203spplr7fwsbms3dvil5h5k3k6vfw7n7sm6ns3p2";
9+ sha256 = "1d2nsbspj9vzgzb6w2vgjv2wzidjzc8sr8wkz2zl7wxpgspl299n";
1010 };
1111
1212 nativeBuildInputs = [ cmake ];
pkgs/development/libraries/arrow-cpp/default.nix+27−25
@@ -1,21 +1,28 @@
1−{ stdenv, symlinkJoin, fetchurl, fetchFromGitHub, autoconf, boost, brotli, cmake, double-conversion, flatbuffers, gflags, glog, gtest, lz4, perl, python, rapidjson, snappy, thrift, which, zlib, zstd }:
1+{ stdenv, fetchurl, fetchFromGitHub, 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 {
55 owner = "apache";
66 repo = "parquet-testing";
7− rev = "46ae2605c2de306f5740587107dcf333a527f2d1";
8− sha256 = "07ps745gas2zcfmg56m3vwl63yyzmalnxwb5dc40vd004cx5hdik";
7+ rev = "8991d0b58d5a59925c87dd2a0bdb59a5a4a16bd4";
8+ sha256 = "00js5d1s98y3ianrvh1ggrd157yfmia4g55jx9xmfcz4a8mcbawx";
9+ };
10+
11+ # Enable non-bundled uriparser
12+ # Introduced in https://github.com/apache/arrow/pull/4092
13+ Finduriparser_cmake = fetchurl {
14+ url = https://raw.githubusercontent.com/apache/arrow/af4f52961209a5f1b43a19483536285c957e3bed/cpp/cmake_modules/Finduriparser.cmake;
15+ sha256 = "1cylrw00n2nkc2c49xk9j3rrza351rpravxgpw047vimcw0sk93s";
916 };
1017in
1118
1219stdenv.mkDerivation rec {
1320 name = "arrow-cpp-${version}";
14− version = "0.12.0";
21+ version = "0.13.0";
1522
1623 src = fetchurl {
1724 url = "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
18− sha256 = "163s4i2cywq95jgrxbaq48qwmww0ibkq61k1aad4w9z9vpjfgnil";
25+ sha256 = "06irh5zx6lc7jjf6hpz1vzk0pvbdx08lcirc8cp8ksb8j7fpfamc";
1926 };
2027
2128 sourceRoot = "apache-arrow-${version}/cpp";
@@ -26,36 +33,31 @@ stdenv.mkDerivation rec {
2633 ];
2734
2835 nativeBuildInputs = [ cmake autoconf /* for vendored jemalloc */ ];
29− buildInputs = [ boost double-conversion glog python.pkgs.python python.pkgs.numpy ];
36+ buildInputs = [
37+ boost brotli double-conversion flatbuffers gflags glog gtest lz4 rapidjson
38+ snappy thrift uriparser zlib zstd python.pkgs.python python.pkgs.numpy
39+ ];
3040
3141 preConfigure = ''
32− substituteInPlace cmake_modules/FindThrift.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
33− substituteInPlace cmake_modules/FindBrotli.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
34− substituteInPlace cmake_modules/FindGLOG.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
3542 substituteInPlace cmake_modules/FindLz4.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
36− substituteInPlace cmake_modules/FindSnappy.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
43+
44+ cp ${Finduriparser_cmake} cmake_modules/Finduriparser.cmake
3745
3846 patchShebangs build-support/
39− '';
4047
41− BROTLI_HOME = symlinkJoin { name="brotli-wrap"; paths = [ brotli.lib brotli.dev ]; };
42− DOUBLE_CONVERSION_HOME = double-conversion;
43− FLATBUFFERS_HOME = flatbuffers;
44− GFLAGS_HOME = gflags;
45− GLOG_HOME = glog;
46− GTEST_HOME = symlinkJoin { name="gtest-wrap"; paths = [ gtest gtest.dev ]; };
47− LZ4_HOME = symlinkJoin { name="lz4-wrap"; paths = [ lz4 lz4.dev ]; };
48− RAPIDJSON_HOME = rapidjson;
49− SNAPPY_HOME = symlinkJoin { name="snappy-wrap"; paths = [ snappy snappy.dev ]; };
50− THRIFT_HOME = thrift;
51− ZLIB_HOME = symlinkJoin { name="zlib-wrap"; paths = [ zlib zlib.dev ]; };
52− ZSTD_HOME = zstd;
48+ # Fix build for ARROW_USE_SIMD=OFF
49+ # https://jira.apache.org/jira/browse/ARROW-5007
50+ sed -i src/arrow/util/sse-util.h -e '1i#include "arrow/util/logging.h"'
51+ sed -i src/arrow/util/neon-util.h -e '1i#include "arrow/util/logging.h"'
52+ '';
5353
5454 cmakeFlags = [
5555 "-DARROW_BUILD_TESTS=ON"
56− "-DARROW_PYTHON=ON"
56+ "-DARROW_DEPENDENCY_SOURCE=SYSTEM"
5757 "-DARROW_PARQUET=ON"
58− ];
58+ "-DARROW_PYTHON=ON"
59+ "-Duriparser_SOURCE=SYSTEM"
60+ ] ++ stdenv.lib.optional (!stdenv.isx86_64) "-DARROW_USE_SIMD=OFF";
5961
6062 doInstallCheck = true;
6163 PARQUET_TEST_DATA = if doInstallCheck then "${parquet-testing}/data" else null;
pkgs/development/libraries/audio/libmysofa/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "libmysofa-${version}";
5− version = "0.6";
5+ version = "0.7";
66
77 src = fetchFromGitHub {
88 owner = "hoene";
99 repo = "libmysofa";
1010 rev = "v${version}";
11− sha256 = "160gcmsn6dwaca29bs95nsgjdalwc299lip0h37k3jcbxxkchgsh";
11+ sha256 = "0si0z7cfw6xcs3dkrb4zini55xpxwfp27yl8lbx39gx2pf8v2jls";
1212 };
1313
1414 nativeBuildInputs = [ cmake ];
pkgs/development/libraries/kproperty/default.nix+2−2
@@ -7,12 +7,12 @@
77
88mkDerivation rec {
99 pname = "kproperty";
10− version = "3.1.0";
10+ version = "3.2.0";
1111 name = "${pname}-${version}";
1212
1313 src = fetchurl {
1414 url = "mirror://kde/stable/${pname}/src/${name}.tar.xz";
15− sha256 = "18qlwp7ajpx16bd0lfzqfx8y9cbrs8k4nax3cr30wj5sd3l8xpky";
15+ sha256 = "1yldfsdamk4dag8dyryjn5n9j2pzi42s79kkafymfnbifhnhrbv7";
1616 };
1717
1818 nativeBuildInputs = [ extra-cmake-modules ];
pkgs/development/libraries/kreport/default.nix+2−2
@@ -6,12 +6,12 @@
66
77mkDerivation rec {
88 pname = "kreport";
9− version = "3.1.0";
9+ version = "3.2.0";
1010 name = "${pname}-${version}";
1111
1212 src = fetchurl {
1313 url = "mirror://kde/stable/${pname}/src/${name}.tar.xz";
14− sha256 = "0v7krpfx0isij9wzwam28fqn039i4wcznbplvnvl6hsykdi8ar1v";
14+ sha256 = "1mycsvkz5rphi9df2i4ch4ykvprd4m76acsdzs3zis2ljrqnsw92";
1515 };
1616
1717 nativeBuildInputs = [ extra-cmake-modules ];
pkgs/development/libraries/libqmatrixclient/default.nix+24−18
@@ -1,26 +1,32 @@
11{ stdenv, fetchFromGitHub, cmake
2−, qtbase }:
2+, qtbase, qtmultimedia }:
33
4−stdenv.mkDerivation rec {
5− name = "libqmatrixclient-${version}";
6− version = "0.4.2.1";
4+let
5+ generic = version: sha256: prefix: stdenv.mkDerivation rec {
6+ name = "libqmatrixclient-${version}";
77
8− src = fetchFromGitHub {
9− owner = "QMatrixClient";
10− repo = "libqmatrixclient";
11− rev = "v${version}";
12− sha256 = "056hvp2m74wx72yd8vai18siddj9l8bhrvrkc4ia4cwjsqw02kid";
13− };
8+ src = fetchFromGitHub {
9+ owner = "QMatrixClient";
10+ repo = "libqmatrixclient";
11+ rev = "${prefix}${version}";
12+ inherit sha256;
13+ };
1414
15− buildInputs = [ qtbase ];
15+ buildInputs = [ qtbase qtmultimedia ];
1616
17− nativeBuildInputs = [ cmake ];
17+ nativeBuildInputs = [ cmake ];
1818
19− meta = with stdenv.lib; {
20− description= "A Qt5 library to write cross-platfrom clients for Matrix";
21− homepage = https://matrix.org/docs/projects/sdk/libqmatrixclient.html;
22− license = licenses.lgpl21;
23− platforms = with platforms; linux ++ darwin;
24− maintainers = with maintainers; [ peterhoeg ];
19+ meta = with stdenv.lib; {
20+ description= "A Qt5 library to write cross-platfrom clients for Matrix";
21+ homepage = https://matrix.org/docs/projects/sdk/libqmatrixclient.html;
22+ license = licenses.lgpl21;
23+ platforms = with platforms; linux ++ darwin;
24+ maintainers = with maintainers; [ peterhoeg ];
25+ };
2526 };
27+
28+in rec {
29+ libqmatrixclient_0_4 = generic "0.4.2.1" "056hvp2m74wx72yd8vai18siddj9l8bhrvrkc4ia4cwjsqw02kid" "v";
30+ libqmatrixclient_0_5 = generic "0.5.1.2" "0vvpm1vlqfvhgfvavifrj4998g8v33hp5xjf0n8zfsmg4lxlnfg1" "";
31+ libqmatrixclient = libqmatrixclient_0_4;
2632}
pkgs/development/libraries/nlopt/default.nix+8−7
@@ -1,12 +1,14 @@
1−{ fetchurl, stdenv, octave ? null, cmake }:
1+{ stdenv, fetchFromGitHub, cmake, octave ? null }:
22
33stdenv.mkDerivation rec {
4− name = "nlopt-${version}";
5− version = "2.5.0";
4+ pname = "nlopt";
5+ version = "2.6.1";
66
7− src = fetchurl {
8− url = "https://github.com/stevengj/nlopt/archive/v${version}.tar.gz";
9− sha256 = "1bmlsdzkw8xbigiihffyb0kdaqbyfn7dr8s5pdgavy7z05bpmpf6";
7+ src = fetchFromGitHub {
8+ owner = "stevengj";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "1k6x14lgyfhfqpbs7xx8mrgklp8l6jkkcs39zgi2sj3kg6n0hdc9";
1012 };
1113
1214 nativeBuildInputs = [ cmake ];
@@ -30,7 +32,6 @@ stdenv.mkDerivation rec {
3032 description = "Free open-source library for nonlinear optimization";
3133 license = stdenv.lib.licenses.lgpl21Plus;
3234 hydraPlatforms = stdenv.lib.platforms.linux;
33− broken = (octave != null); # cannot cope with Octave 4.x
3435 };
3536
3637}
pkgs/development/libraries/qca-qt5/default.nix+4−3
@@ -1,11 +1,12 @@
11{ stdenv, fetchurl, cmake, openssl, pkgconfig, qtbase }:
22
33stdenv.mkDerivation rec {
4− name = "qca-qt5-2.1.3";
4+ pname = "qca-qt5";
5+ version = "2.2.1";
56
67 src = fetchurl {
7− url = "http://download.kde.org/stable/qca/2.1.3/src/qca-2.1.3.tar.xz";
8− sha256 = "0lz3n652z208daxypdcxiybl0a9fnn6ida0q7fh5f42269mdhgq0";
8+ url = "http://download.kde.org/stable/qca/${version}/qca-${version}.tar.xz";
9+ sha256 = "00kv1vsrc8fp556hm8s6yw3240vx3l4067q6vfxrb3gdwgcd45np";
910 };
1011
1112 buildInputs = [ openssl qtbase ];
pkgs/development/libraries/qca-qt5/move-project.patch+9−11
@@ -1,19 +1,17 @@
11diff --git a/CMakeLists.txt b/CMakeLists.txt
2−index 453fd8a..5f6ee11 100644
2+index 2f2b5d0..971dee3 100644
33--- a/CMakeLists.txt
44+++ b/CMakeLists.txt
5−@@ -6,13 +6,13 @@ if(NOT CMAKE_INSTALL_PREFIX)
5+@@ -6,10 +6,11 @@ if(NOT CMAKE_INSTALL_PREFIX)
66 unset(CMAKE_INSTALL_PREFIX CACHE)
77 endif(NOT CMAKE_INSTALL_PREFIX)
8−
8+
99-project(qca)
10−
11− if(NOT APPLE)
12− cmake_minimum_required(VERSION 2.8.12)
13− else()
14− cmake_minimum_required(VERSION 3.0)
15− endif()
10+
11+ cmake_minimum_required(VERSION 3.4)
12+
1613+project(qca)
17−
14++
1815 set(QCA_LIB_MAJOR_VERSION "2")
19− set(QCA_LIB_MINOR_VERSION "1")
16+ set(QCA_LIB_MINOR_VERSION "2")
17+ set(QCA_LIB_PATCH_VERSION "1")
pkgs/development/libraries/qtkeychain/default.nix+8−4
@@ -1,6 +1,7 @@
1−{ stdenv, fetchFromGitHub, cmake, qt4 ? null
1+{ stdenv, fetchFromGitHub, cmake, pkgconfig, qt4 ? null
22, withQt5 ? false, qtbase ? null, qttools ? null
33, darwin ? null
4+, libsecret
45}:
56
67assert withQt5 -> qtbase != null;
@@ -22,11 +23,14 @@ stdenv.mkDerivation rec {
2223
2324 cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];
2425
25− nativeBuildInputs = [ cmake ];
26+ nativeBuildInputs = [ cmake ]
27+ ++ stdenv.lib.optional (!stdenv.isDarwin) [ pkgconfig ] # for finding libsecret
28+ ;
2629
27− buildInputs = if withQt5 then [ qtbase qttools ] else [ qt4 ]
30+ buildInputs = stdenv.lib.optional (!stdenv.isDarwin) [ libsecret ]
31+ ++ (if withQt5 then [ qtbase qttools ] else [ qt4 ])
2832 ++ stdenv.lib.optional stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
29− CoreFoundation Security
33+ CoreFoundation Security
3034 ])
3135 ;
3236
pkgs/development/libraries/snappy/default.nix+5
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
1919
2020 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
2121
22+ postInstall = ''
23+ substituteInPlace "$out"/lib/cmake/Snappy/SnappyTargets.cmake \
24+ --replace 'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/include"' 'INTERFACE_INCLUDE_DIRECTORIES "'$dev'"'
25+ '';
26+
2227 checkTarget = "test";
2328
2429 doCheck = true;
pkgs/development/libraries/uriparser/default.nix+1−1
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 API documentation is available on uriparser website.
2525 '';
2626 license = licenses.bsd3;
27− platforms = platforms.linux;
27+ platforms = platforms.unix;
2828 maintainers = with maintainers; [ bosu ];
2929 };
3030}
pkgs/development/lua-modules/generated-packages.nix+208−174
@@ -14,13 +14,13 @@ ansicolors = buildLuarocksPackage {
1414 pname = "ansicolors";
1515 version = "1.0.2-3";
1616
17− src = fetchurl {
17+ src = fetchurl {
1818 url = https://luarocks.org/ansicolors-1.0.2-3.src.rock;
1919 sha256 = "1mhmr090y5394x1j8p44ws17sdwixn5a0r4i052bkfgk3982cqfz";
20− };
20+ };
2121 disabled = ( luaOlder "5.1");
22− propagatedBuildInputs = [lua ];
23− buildType="builtin";
22+ propagatedBuildInputs = [ lua ];
23+ buildType = "builtin";
2424
2525 meta = {
2626 homepage = "https://github.com/kikito/ansicolors.lua";
@@ -34,13 +34,13 @@ argparse = buildLuarocksPackage {
3434 pname = "argparse";
3535 version = "0.6.0-1";
3636
37− src = fetchurl {
37+ src = fetchurl {
3838 url = https://luarocks.org/argparse-0.6.0-1.src.rock;
3939 sha256 = "10ic5wppyghd1lmgwgl0lb40pv8z9fi9i87080axxg8wsr19y0p4";
40− };
40+ };
4141 disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
42− propagatedBuildInputs = [lua ];
43− buildType="builtin";
42+ propagatedBuildInputs = [ lua ];
43+ buildType = "builtin";
4444
4545 meta = {
4646 homepage = "https://github.com/mpeterv/argparse";
@@ -54,13 +54,13 @@ basexx = buildLuarocksPackage {
5454 pname = "basexx";
5555 version = "0.4.0-1";
5656
57− src = fetchurl {
57+ src = fetchurl {
5858 url = https://luarocks.org/basexx-0.4.0-1.src.rock;
5959 sha256 = "1px8yrxg1qkk3kzdqj3siry742jdv4ysp2dmicxi15mkynqpjlzz";
60− };
60+ };
6161 disabled = ( luaOlder "5.1");
62− propagatedBuildInputs = [lua ];
63− buildType="builtin";
62+ propagatedBuildInputs = [ lua ];
63+ buildType = "builtin";
6464
6565 meta = {
6666 homepage = "https://github.com/aiq/basexx";
@@ -74,13 +74,13 @@ dkjson = buildLuarocksPackage {
7474 pname = "dkjson";
7575 version = "2.5-2";
7676
77− src = fetchurl {
77+ src = fetchurl {
7878 url = https://luarocks.org/dkjson-2.5-2.src.rock;
7979 sha256 = "1qy9bzqnb9pf9d48hik4iq8h68aw3270kmax7mmpvvpw7kkyp483";
80− };
80+ };
8181 disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
82− propagatedBuildInputs = [lua ];
83− buildType="builtin";
82+ propagatedBuildInputs = [ lua ];
83+ buildType = "builtin";
8484
8585 meta = {
8686 homepage = "http://dkolf.de/src/dkjson-lua.fsl/";
@@ -94,13 +94,13 @@ fifo = buildLuarocksPackage {
9494 pname = "fifo";
9595 version = "0.2-0";
9696
97− src = fetchurl {
97+ src = fetchurl {
9898 url = https://luarocks.org/fifo-0.2-0.src.rock;
9999 sha256 = "082c5g1m8brnsqj5gnjs65bm7z50l6b05cfwah14lqaqsr5a5pjk";
100− };
101−
102− propagatedBuildInputs = [lua ];
103− buildType="builtin";
100+ };
101+
102+ propagatedBuildInputs = [ lua ];
103+ buildType = "builtin";
104104
105105 meta = {
106106 homepage = "https://github.com/daurnimator/fifo.lua";
@@ -114,13 +114,13 @@ inspect = buildLuarocksPackage {
114114 pname = "inspect";
115115 version = "3.1.1-0";
116116
117− src = fetchurl {
117+ src = fetchurl {
118118 url = https://luarocks.org/inspect-3.1.1-0.src.rock;
119119 sha256 = "0k4g9ahql83l4r2bykfs6sacf9l1wdpisav2i0z55fyfcdv387za";
120− };
120+ };
121121 disabled = ( luaOlder "5.1");
122− propagatedBuildInputs = [lua ];
123− buildType="builtin";
122+ propagatedBuildInputs = [ lua ];
123+ buildType = "builtin";
124124
125125 meta = {
126126 homepage = "https://github.com/kikito/inspect.lua";
@@ -134,13 +134,13 @@ lgi = buildLuarocksPackage {
134134 pname = "lgi";
135135 version = "0.9.2-1";
136136
137− src = fetchurl {
137+ src = fetchurl {
138138 url = https://luarocks.org/lgi-0.9.2-1.src.rock;
139139 sha256 = "07ajc5pdavp785mdyy82n0w6d592n96g95cvq025d6i0bcm2cypa";
140− };
140+ };
141141 disabled = ( luaOlder "5.1");
142− propagatedBuildInputs = [lua ];
143− buildType="make";
142+ propagatedBuildInputs = [ lua ];
143+ buildType = "make";
144144
145145 meta = {
146146 homepage = "https://github.com/pavouk/lgi";
@@ -154,13 +154,13 @@ lpeg_patterns = buildLuarocksPackage {
154154 pname = "lpeg_patterns";
155155 version = "0.5-0";
156156
157− src = fetchurl {
157+ src = fetchurl {
158158 url = https://luarocks.org/lpeg_patterns-0.5-0.src.rock;
159159 sha256 = "0mlw4nayrsdxrh98i26avz5i4170a9brciybw88kks496ra36v8f";
160− };
161−
162− propagatedBuildInputs = [lua lpeg ];
163− buildType="builtin";
160+ };
161+
162+ propagatedBuildInputs = [ lua lpeg ];
163+ buildType = "builtin";
164164
165165 meta = {
166166 homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
@@ -174,13 +174,13 @@ lpty = buildLuarocksPackage {
174174 pname = "lpty";
175175 version = "1.2.2-1";
176176
177− src = fetchurl {
177+ src = fetchurl {
178178 url = https://luarocks.org/lpty-1.2.2-1.src.rock;
179179 sha256 = "1vxvsjgjfirl6ranz6k4q4y2dnxqh72bndbk400if22x8lqbkxzm";
180− };
180+ };
181181 disabled = ( luaOlder "5.1");
182− propagatedBuildInputs = [lua ];
183− buildType="make";
182+ propagatedBuildInputs = [ lua ];
183+ buildType = "make";
184184
185185 meta = {
186186 homepage = "http://www.tset.de/lpty/";
@@ -194,13 +194,13 @@ lrexlib-gnu = buildLuarocksPackage {
194194 pname = "lrexlib-gnu";
195195 version = "2.9.0-1";
196196
197− src = fetchurl {
197+ src = fetchurl {
198198 url = https://luarocks.org/lrexlib-gnu-2.9.0-1.src.rock;
199199 sha256 = "036rda4rji1pbnbxk1nzjy5zmigdsiacqbzrbvciwq3lrxa2j5s2";
200− };
200+ };
201201 disabled = ( luaOlder "5.1");
202− propagatedBuildInputs = [lua ];
203− buildType="builtin";
202+ propagatedBuildInputs = [ lua ];
203+ buildType = "builtin";
204204
205205 meta = {
206206 homepage = "https://github.com/rrthomas/lrexlib";
@@ -214,13 +214,13 @@ lrexlib-posix = buildLuarocksPackage {
214214 pname = "lrexlib-posix";
215215 version = "2.9.0-1";
216216
217− src = fetchurl {
217+ src = fetchurl {
218218 url = https://luarocks.org/lrexlib-posix-2.9.0-1.src.rock;
219219 sha256 = "0ifpybf4m94g1nk70l0f5m45gph0rbp5wrxrl1hnw8ibv3mc1b1r";
220− };
220+ };
221221 disabled = ( luaOlder "5.1");
222− propagatedBuildInputs = [lua ];
223− buildType="builtin";
222+ propagatedBuildInputs = [ lua ];
223+ buildType = "builtin";
224224
225225 meta = {
226226 homepage = "https://github.com/rrthomas/lrexlib";
@@ -234,13 +234,13 @@ ltermbox = buildLuarocksPackage {
234234 pname = "ltermbox";
235235 version = "0.2-1";
236236
237− src = fetchurl {
237+ src = fetchurl {
238238 url = https://luarocks.org/ltermbox-0.2-1.src.rock;
239239 sha256 = "08jqlmmskbi1ml1i34dlmg6hxcs60nlm32dahpxhcrgjnfihmyn8";
240− };
240+ };
241241 disabled = ( luaOlder "5.1");
242− propagatedBuildInputs = [lua ];
243− buildType="builtin";
242+ propagatedBuildInputs = [ lua ];
243+ buildType = "builtin";
244244
245245 meta = {
246246 homepage = "http://code.google.com/p/termbox";
@@ -254,12 +254,12 @@ lua-cmsgpack = buildLuarocksPackage {
254254 pname = "lua-cmsgpack";
255255 version = "0.4.0-0";
256256
257− knownRockspec = ( fetchurl {
257+ knownRockspec = (fetchurl {
258258 url = https://luarocks.org/lua-cmsgpack-0.4.0-0.rockspec;
259259 sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin";
260− }).outPath;
260+ }).outPath;
261261
262− src = fetchgit ( removeAttrs (builtins.fromJSON ''{
262+ src = fetchgit ( removeAttrs (builtins.fromJSON ''{
263263 "url": "git://github.com/antirez/lua-cmsgpack.git",
264264 "rev": "57b1f90cf6cec46450e87289ed5a676165d31071",
265265 "date": "2018-06-14T11:56:56+02:00",
@@ -267,10 +267,10 @@ lua-cmsgpack = buildLuarocksPackage {
267267 "fetchSubmodules": true
268268}
269269 '') ["date"]) ;
270−
270+
271271 disabled = ( luaOlder "5.1");
272− propagatedBuildInputs = [lua ];
273− buildType="builtin";
272+ propagatedBuildInputs = [ lua ];
273+ buildType = "builtin";
274274
275275 meta = {
276276 homepage = "https://github.com/antirez/lua-cmsgpack";
@@ -284,13 +284,13 @@ lua_cliargs = buildLuarocksPackage {
284284 pname = "lua_cliargs";
285285 version = "3.0-2";
286286
287− src = fetchurl {
287+ src = fetchurl {
288288 url = https://luarocks.org/lua_cliargs-3.0-2.src.rock;
289289 sha256 = "0qqdnw00r16xbyqn4w1xwwpg9i9ppc3c1dcypazjvdxaj899hy9w";
290− };
290+ };
291291 disabled = ( luaOlder "5.1");
292− propagatedBuildInputs = [lua ];
293− buildType="builtin";
292+ propagatedBuildInputs = [ lua ];
293+ buildType = "builtin";
294294
295295 meta = {
296296 homepage = "https://github.com/amireh/lua_cliargs";
@@ -304,13 +304,13 @@ lua-iconv = buildLuarocksPackage {
304304 pname = "lua-iconv";
305305 version = "7-3";
306306
307− src = fetchurl {
307+ src = fetchurl {
308308 url = https://luarocks.org/lua-iconv-7-3.src.rock;
309309 sha256 = "03xibhcqwihyjhxnzv367q4bfmzmffxl49lmjsq77g0prw8v0q83";
310− };
310+ };
311311 disabled = ( luaOlder "5.1");
312− propagatedBuildInputs = [lua ];
313− buildType="builtin";
312+ propagatedBuildInputs = [ lua ];
313+ buildType = "builtin";
314314
315315 meta = {
316316 homepage = "http://ittner.github.com/lua-iconv/";
@@ -324,19 +324,19 @@ lua-term = buildLuarocksPackage {
324324 pname = "lua-term";
325325 version = "0.7-1";
326326
327− knownRockspec = ( fetchurl {
327+ knownRockspec = (fetchurl {
328328 url = https://luarocks.org/lua-term-0.7-1.rockspec;
329329 sha256 = "0r9g5jw7pqr1dyj6w58dqlr7y7l0jp077n8nnji4phf10biyrvg2";
330− }).outPath;
330+ }).outPath;
331331
332− src = fetchurl {
332+ src = fetchurl {
333333 url = https://github.com/hoelzro/lua-term/archive/0.07.tar.gz;
334334 sha256 = "0c3zc0cl3a5pbdn056vnlan16g0wimv0p9bq52h7w507f72x18f1";
335− };
336−
337−
338−
339− buildType="builtin";
335+ };
336+
337+
338+
339+ buildType = "builtin";
340340
341341 meta = {
342342 homepage = "https://github.com/hoelzro/lua-term";
@@ -346,36 +346,16 @@ lua-term = buildLuarocksPackage {
346346 };
347347 };
348348};
349−luaevent = buildLuarocksPackage {
350− pname = "luaevent";
351− version = "0.4.6-1";
352−
353− src = fetchurl {
354− url = https://luarocks.org/luaevent-0.4.6-1.src.rock;
355− sha256 = "0chq09nawiz00lxd6pkdqcb8v426gdifjw6js3ql0lx5vqdkb6dz";
356− };
357− disabled = ( luaOlder "5.1");
358− propagatedBuildInputs = [lua ];
359− buildType="builtin";
360−
361− meta = {
362− homepage = "https://github.com/harningt/luaevent";
363− description="libevent binding for Lua";
364− license = {
365− fullName = "MIT";
366− };
367− };
368−};
369349luabitop = buildLuarocksPackage {
370350 pname = "luabitop";
371351 version = "1.0.2-3";
372352
373− knownRockspec = ( fetchurl {
353+ knownRockspec = (fetchurl {
374354 url = https://luarocks.org/luabitop-1.0.2-3.rockspec;
375355 sha256 = "07y2h11hbxmby7kyhy3mda64w83p4a6p7y7rzrjqgc0r56yjxhcc";
376− }).outPath;
356+ }).outPath;
377357
378− src = fetchgit ( removeAttrs (builtins.fromJSON ''{
358+ src = fetchgit ( removeAttrs (builtins.fromJSON ''{
379359 "url": "git://github.com/LuaDist/luabitop.git",
380360 "rev": "81bb23b0e737805442033535de8e6d204d0e5381",
381361 "date": "2013-02-18T16:36:42+01:00",
@@ -383,10 +363,10 @@ luabitop = buildLuarocksPackage {
383363 "fetchSubmodules": true
384364}
385365 '') ["date"]) ;
386−
366+
387367 disabled = ( luaOlder "5.1") || ( luaAtLeast "5.3");
388− propagatedBuildInputs = [lua ];
389− buildType="builtin";
368+ propagatedBuildInputs = [ lua ];
369+ buildType = "builtin";
390370
391371 meta = {
392372 homepage = "http://bitop.luajit.org/";
@@ -396,17 +376,37 @@ luabitop = buildLuarocksPackage {
396376 };
397377 };
398378};
379+luaevent = buildLuarocksPackage {
380+ pname = "luaevent";
381+ version = "0.4.6-1";
382+
383+ src = fetchurl {
384+ url = https://luarocks.org/luaevent-0.4.6-1.src.rock;
385+ sha256 = "0chq09nawiz00lxd6pkdqcb8v426gdifjw6js3ql0lx5vqdkb6dz";
386+ };
387+ disabled = ( luaOlder "5.1");
388+ propagatedBuildInputs = [ lua ];
389+ buildType = "builtin";
390+
391+ meta = {
392+ homepage = "https://github.com/harningt/luaevent";
393+ description="libevent binding for Lua";
394+ license = {
395+ fullName = "MIT";
396+ };
397+ };
398+};
399399luacheck = buildLuarocksPackage {
400400 pname = "luacheck";
401401 version = "0.23.0-1";
402402
403− src = fetchurl {
403+ src = fetchurl {
404404 url = https://luarocks.org/luacheck-0.23.0-1.src.rock;
405405 sha256 = "0akj61c7k1na2mggsckvfn9a3ljfp4agnmr9gp3mac4vin99a1cl";
406− };
406+ };
407407 disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
408− propagatedBuildInputs = [lua argparse luafilesystem ];
409− buildType="builtin";
408+ propagatedBuildInputs = [ lua argparse luafilesystem ];
409+ buildType = "builtin";
410410
411411 meta = {
412412 homepage = "https://github.com/mpeterv/luacheck";
@@ -420,13 +420,13 @@ luaffi = buildLuarocksPackage {
420420 pname = "luaffi";
421421 version = "scm-1";
422422
423− src = fetchurl {
423+ src = fetchurl {
424424 url = http://luarocks.org/dev/luaffi-scm-1.src.rock;
425425 sha256 = "0dia66w8sgzw26bwy36gzyb2hyv7kh9n95lh5dl0158rqa6fsf26";
426− };
426+ };
427427 disabled = ( luaOlder "5.1");
428− propagatedBuildInputs = [lua ];
429− buildType="builtin";
428+ propagatedBuildInputs = [ lua ];
429+ buildType = "builtin";
430430
431431 meta = {
432432 homepage = "https://github.com/facebook/luaffifb";
@@ -440,13 +440,13 @@ luuid = buildLuarocksPackage {
440440 pname = "luuid";
441441 version = "20120509-2";
442442
443− src = fetchurl {
443+ src = fetchurl {
444444 url = https://luarocks.org/luuid-20120509-2.src.rock;
445445 sha256 = "08q54x0m51w89np3n117h2a153wsgv3qayabd8cz6i55qm544hkg";
446− };
446+ };
447447 disabled = ( luaOlder "5.2") || ( luaAtLeast "5.4");
448− propagatedBuildInputs = [lua ];
449− buildType="builtin";
448+ propagatedBuildInputs = [ lua ];
449+ buildType = "builtin";
450450
451451 meta = {
452452 homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid";
@@ -460,19 +460,19 @@ penlight = buildLuarocksPackage {
460460 pname = "penlight";
461461 version = "1.5.4-1";
462462
463− knownRockspec = ( fetchurl {
463+ knownRockspec = (fetchurl {
464464 url = https://luarocks.org/penlight-1.5.4-1.rockspec;
465465 sha256 = "07mhsk9kmdxg4i2w4mrnnd2zs34bgggi9gigfplakxin96sa6c0p";
466− }).outPath;
466+ }).outPath;
467467
468− src = fetchurl {
468+ src = fetchurl {
469469 url = http://stevedonovan.github.io/files/penlight-1.5.4.zip;
470470 sha256 = "138f921p6kdqkmf4pz115phhj0jsqf28g33avws80d2vq2ixqm8q";
471− };
472−
473−
474− propagatedBuildInputs = [luafilesystem ];
475− buildType="builtin";
471+ };
472+
473+
474+ propagatedBuildInputs = [ luafilesystem ];
475+ buildType = "builtin";
476476
477477 meta = {
478478 homepage = "http://stevedonovan.github.com/Penlight";
@@ -486,19 +486,19 @@ say = buildLuarocksPackage {
486486 pname = "say";
487487 version = "1.3-1";
488488
489− knownRockspec = ( fetchurl {
489+ knownRockspec = (fetchurl {
490490 url = https://luarocks.org/say-1.3-1.rockspec;
491491 sha256 = "0bknglb0qwd6r703wp3hcb6z2xxd14kq4md3sg9al3b28fzxbhdv";
492− }).outPath;
492+ }).outPath;
493493
494− src = fetchurl {
494+ src = fetchurl {
495495 url = https://github.com/Olivine-Labs/say/archive/v1.3-1.tar.gz;
496496 sha256 = "1jh76mxq9dcmv7kps2spwcc6895jmj2sf04i4y9idaxlicvwvs13";
497− };
498−
497+ };
498+
499499 disabled = ( luaOlder "5.1");
500− propagatedBuildInputs = [lua ];
501− buildType="builtin";
500+ propagatedBuildInputs = [ lua ];
501+ buildType = "builtin";
502502
503503 meta = {
504504 homepage = "http://olivinelabs.com/busted/";
@@ -508,23 +508,57 @@ say = buildLuarocksPackage {
508508 };
509509 };
510510};
511−luv = buildLuarocksPackage {
512− pname = "luv";
513− version = "1.22.0-1";
511+std__debug = buildLuarocksPackage {
512+ pname = "std._debug";
513+ version = "1.0.1-1";
514514
515− knownRockspec = ( fetchurl {
516− url = https://luarocks.org/luv-1.22.0-1.rockspec;
517− sha256 = "0yxjy9wj4aqbv1my8fkciy2xar5si6bcsszipgyls24rl6lnmga3";
518− }).outPath;
515+ src = fetchurl {
516+ url = https://luarocks.org/std._debug-1.0.1-1.src.rock;
517+ sha256 = "1qkcc5rph3ns9mzrfsa1671pb3hzbzfnaxvyw7zdly2b7ll88svz";
518+ };
519+ disabled = ( luaOlder "5.1") || ( luaAtLeast "5.5");
520+ propagatedBuildInputs = [ lua ];
521+ buildType = "builtin";
519522
520− src = fetchurl {
521− url = https://github.com/luvit/luv/releases/download/1.22.0-1/luv-1.22.0-1.tar.gz;
522− sha256 = "1xvz4a0r6kd1xqxwm55g9n6imprxb79600x7dhyillrz7p5nm217";
523− };
523+ meta = {
524+ homepage = "http://lua-stdlib.github.io/_debug";
525+ description="Debug Hints Library";
526+ license = {
527+ fullName = "MIT/X11";
528+ };
529+ };
530+};
531+std_normalize = buildLuarocksPackage {
532+ pname = "std.normalize";
533+ version = "2.0.2-1";
524534
535+ src = fetchurl {
536+ url = https://luarocks.org/std.normalize-2.0.2-1.src.rock;
537+ sha256 = "0yn60zqnxflhhlv6xk6w0ifdfxk1qcg8gq1wnrrbwsxwpipsrfjh";
538+ };
539+ disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
540+ propagatedBuildInputs = [ lua std__debug ];
541+ buildType = "builtin";
542+
543+ meta = {
544+ homepage = "https://lua-stdlib.github.io/normalize";
545+ description="Normalized Lua Functions";
546+ license = {
547+ fullName = "MIT/X11";
548+ };
549+ };
550+};
551+luv = buildLuarocksPackage {
552+ pname = "luv";
553+ version = "1.26.0-0";
554+
555+ src = fetchurl {
556+ url = https://luarocks.org/luv-1.26.0-0.src.rock;
557+ sha256 = "005yzcxlribnc45qr1g7q4psakximb9fbz07k6yzy1d94mhcxxr7";
558+ };
525559 disabled = ( luaOlder "5.1");
526− propagatedBuildInputs = [lua ];
527− buildType="cmake";
560+ propagatedBuildInputs = [ lua ];
561+ buildType = "cmake";
528562
529563 meta = {
530564 homepage = "https://github.com/luvit/luv";
@@ -538,13 +572,13 @@ luasystem = buildLuarocksPackage {
538572 pname = "luasystem";
539573 version = "0.2.1-0";
540574
541− src = fetchurl {
575+ src = fetchurl {
542576 url = https://luarocks.org/luasystem-0.2.1-0.src.rock;
543577 sha256 = "091xmp8cijgj0yzfsjrn7vljwznjnjn278ay7z9pjwpwiva0diyi";
544− };
578+ };
545579 disabled = ( luaOlder "5.1");
546− propagatedBuildInputs = [lua ];
547− buildType="builtin";
580+ propagatedBuildInputs = [ lua ];
581+ buildType = "builtin";
548582
549583 meta = {
550584 homepage = "http://olivinelabs.com/luasystem/";
@@ -558,13 +592,13 @@ mediator_lua = buildLuarocksPackage {
558592 pname = "mediator_lua";
559593 version = "1.1.2-0";
560594
561− src = fetchurl {
595+ src = fetchurl {
562596 url = http://luarocks.org/manifests/teto/mediator_lua-1.1.2-0.src.rock;
563597 sha256 = "18j49vvs94yfk4fw0xsq4v3j4difr6c99gfba0kxairmcqamd1if";
564− };
598+ };
565599 disabled = ( luaOlder "5.1");
566− propagatedBuildInputs = [lua ];
567− buildType="builtin";
600+ propagatedBuildInputs = [ lua ];
601+ buildType = "builtin";
568602
569603 meta = {
570604 homepage = "http://olivinelabs.com/mediator_lua/";
@@ -578,13 +612,13 @@ mpack = buildLuarocksPackage {
578612 pname = "mpack";
579613 version = "1.0.7-0";
580614
581− src = fetchurl {
615+ src = fetchurl {
582616 url = http://luarocks.org/manifests/teto/mpack-1.0.7-0.src.rock;
583617 sha256 = "0nq4ixaminkc7fwfpivysyv0al3j5dffsvgdrnwnqdg3w7jgfbw7";
584− };
585−
586−
587− buildType="builtin";
618+ };
619+
620+
621+ buildType = "builtin";
588622
589623 meta = {
590624 homepage = "https://github.com/libmpack/libmpack-lua/releases/download/1.0.7/libmpack-lua-1.0.7.tar.gz";
@@ -598,13 +632,13 @@ nvim-client = buildLuarocksPackage {
598632 pname = "nvim-client";
599633 version = "0.1.0-1";
600634
601− src = fetchurl {
635+ src = fetchurl {
602636 url = https://luarocks.org/nvim-client-0.1.0-1.src.rock;
603637 sha256 = "1p57mrvm0ny3yi5cydr3z9qwzyg124rjp5w7vdflf2i23z39mkma";
604− };
638+ };
605639 disabled = ( luaOlder "5.1");
606− propagatedBuildInputs = [lua mpack luv coxpcall ];
607− buildType="builtin";
640+ propagatedBuildInputs = [ lua mpack luv coxpcall ];
641+ buildType = "builtin";
608642
609643 meta = {
610644 homepage = "https://github.com/neovim/lua-client/archive/0.1.0-1.tar.gz";
@@ -618,19 +652,19 @@ busted = buildLuarocksPackage {
618652 pname = "busted";
619653 version = "2.0.rc13-0";
620654
621− knownRockspec = ( fetchurl {
655+ knownRockspec = (fetchurl {
622656 url = https://luarocks.org/busted-2.0.rc13-0.rockspec;
623657 sha256 = "0hrvhg1324q5ra6cpjh1y3by6lrzs0ljah4jl48l8xlgw1z9z1q5";
624− }).outPath;
658+ }).outPath;
625659
626− src = fetchurl {
660+ src = fetchurl {
627661 url = https://github.com/Olivine-Labs/busted/archive/v2.0.rc13-0.tar.gz;
628662 sha256 = "0m72bldn1r6j94ahcfmpaq1mmysrshf9qi9fjas7hpal0jp8ivvl";
629− };
630−
663+ };
664+
631665 disabled = ( luaOlder "5.1");
632− propagatedBuildInputs = [lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ];
633− buildType="builtin";
666+ propagatedBuildInputs = [ lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ];
667+ buildType = "builtin";
634668
635669 meta = {
636670 homepage = "http://olivinelabs.com/busted/";
@@ -644,19 +678,19 @@ luassert = buildLuarocksPackage {
644678 pname = "luassert";
645679 version = "1.7.11-0";
646680
647− knownRockspec = ( fetchurl {
681+ knownRockspec = (fetchurl {
648682 url = https://luarocks.org/luassert-1.7.11-0.rockspec;
649683 sha256 = "12zgybcv8acjzvjdbxd1764s1vxbksxdv9fkvsymcsdmppxkbd0s";
650− }).outPath;
684+ }).outPath;
651685
652− src = fetchurl {
686+ src = fetchurl {
653687 url = https://github.com/Olivine-Labs/luassert/archive/v1.7.11.tar.gz;
654688 sha256 = "1vwq3wqj9cjyz9lnf1n38yhpcglr2h40v3n9096i8vcpmyvdb3ka";
655− };
656−
689+ };
690+
657691 disabled = ( luaOlder "5.1");
658− propagatedBuildInputs = [lua say ];
659− buildType="builtin";
692+ propagatedBuildInputs = [ lua say ];
693+ buildType = "builtin";
660694
661695 meta = {
662696 homepage = "http://olivinelabs.com/busted/";
@@ -670,13 +704,13 @@ coxpcall = buildLuarocksPackage {
670704 pname = "coxpcall";
671705 version = "1.17.0-1";
672706
673− src = fetchurl {
707+ src = fetchurl {
674708 url = https://luarocks.org/manifests/hisham/coxpcall-1.17.0-1.src.rock;
675709 sha256 = "0n1jmda4g7x06458596bamhzhcsly6x0p31yp6q3jz4j11zv1zhi";
676− };
677−
678−
679− buildType="builtin";
710+ };
711+
712+
713+ buildType = "builtin";
680714
681715 meta = {
682716 homepage = "http://keplerproject.github.io/coxpcall";
pkgs/development/ocaml-modules/eliom/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4,
1+{ stdenv, fetchzip, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4,
22 lwt_react, cryptokit,
33 ipaddr, ocamlnet, ocaml_pcre,
44 opaline, ppx_tools, ppx_deriving, findlib
@@ -11,12 +11,12 @@
1111stdenv.mkDerivation rec
1212{
1313 pname = "eliom";
14− version = "6.4.0";
14+ version = "6.7.0";
1515 name = "${pname}-${version}";
1616
17− src = fetchurl {
17+ src = fetchzip {
1818 url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz";
19− sha256 = "1ad7ympvj0cb51d9kbp4naxkld3gv8cfp4a037a5dr55761zdhdh";
19+ sha256 = "0mrlpvjaihpsf2xr6p1gs0sz4cwzkknf5b1s32bhmqq5qzsh4j8k";
2020 };
2121
2222 patches = [ ./camlp4.patch ];
pkgs/development/ocaml-modules/ojquery/default.nixdeleted−28
@@ -1,28 +0,0 @@
1−{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, js_of_ocaml, js_of_ocaml-camlp4, camlp4, ocaml_lwt, react }:
2−
3−if stdenv.lib.versionAtLeast ocaml.version "4.06"
4−then throw "ojquery is not available for OCaml ${ocaml.version}"
5−else
6−
7−stdenv.mkDerivation rec {
8− version = "0.1";
9− name = "ocaml-ojquery-${version}";
10− src = fetchgit {
11− url = https://github.com/ocsigen/ojquery.git;
12− rev = "refs/tags/${version}";
13− sha256 = "1n01bsk4car40p94fk1ssvww0inqapwwhdylmrb7vv40drsdldp1";
14− };
15−
16− buildInputs = [ ocaml findlib ocamlbuild js_of_ocaml-camlp4 camlp4 ];
17− propagatedBuildInputs = [ js_of_ocaml ocaml_lwt react ];
18−
19− createFindlibDestdir = true;
20−
21− meta = {
22− description = "jQuery Binding for Eliom";
23− homepage = http://ocsigen.org/ojquery/;
24− license = stdenv.lib.licenses.lgpl3;
25− platforms = ocaml.meta.platforms or [];
26− maintainers = with stdenv.lib.maintainers; [ vbgl ];
27− };
28−}
pkgs/development/ocaml-modules/tyxml/default.nix+7−21
@@ -1,34 +1,20 @@
1−{ stdenv, fetchzip, ocaml, findlib, ocamlbuild, uutf, markup, ppx_tools_versioned, re
2−, withP4 ? true
3−, camlp4 ? null
4−}:
1+{ lib, buildDunePackage, fetchurl, re, uutf }:
52
6−assert stdenv.lib.versionAtLeast ocaml.version "4.02";
7−
8−stdenv.mkDerivation rec {
3+buildDunePackage rec {
94 pname = "tyxml";
10− version = "4.2.0";
11− name = "ocaml${ocaml.version}-${pname}-${version}";
5+ version = "4.3.0";
126
13− src = fetchzip {
14− url = "https://github.com/ocsigen/tyxml/archive/${version}.tar.gz";
15− sha256 = "1zrkrmxyj5a2cdh4b9zr9anwfk320wv3x0ynxnyxl5za2ix8sld8";
7+ src = fetchurl {
8+ url = "https://github.com/ocsigen/tyxml/releases/download/${version}/tyxml-${version}.tbz";
9+ sha256 = "1hxzppfvsdls2y8qiwvz31hmffzh2hgglf01am1vzf2f31mxf6vf";
1610 };
1711
18− buildInputs = [ ocaml findlib ocamlbuild ppx_tools_versioned markup ]
19− ++ stdenv.lib.optional withP4 camlp4;
20−
2112 propagatedBuildInputs = [ uutf re ];
2213
23− createFindlibDestdir = true;
24−
25− configureFlags = stdenv.lib.optional withP4 "--enable-syntax";
26−
27− meta = with stdenv.lib; {
14+ meta = with lib; {
2815 homepage = http://ocsigen.org/tyxml/;
2916 description = "A library that makes it almost impossible for your OCaml programs to generate wrong XML output, using static typing";
3017 license = licenses.lgpl21;
31− platforms = ocaml.meta.platforms or [];
3218 maintainers = with maintainers; [
3319 gal_bolle vbgl
3420 ];
pkgs/development/python-modules/box2d/default.nix+1−2
@@ -2,7 +2,6 @@
22, buildPythonPackage
33, fetchPypi
44, swig2
5−, pkgs-box2d
65, isPy3k
76}:
87
@@ -20,7 +19,7 @@ buildPythonPackage rec {
2019 sed -i "s/'Box2D.tests' : 'tests'//" setup.py
2120 '';
2221
23− buildInputs = [ swig2 pkgs-box2d ];
22+ nativeBuildInputs = [ swig2 ];
2423
2524 # tests not included with pypi release
2625 doCheck = false;
pkgs/development/python-modules/breathe/default.nix+2−2
@@ -1,12 +1,12 @@
11{ lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k }:
22
33buildPythonPackage rec {
4− version = "4.11.1";
4+ version = "4.12.0";
55 pname = "breathe";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "1mps0cfli6iq2gqsv3d24fs1cp7sq7crd9ji6lw63b9r40998ylv";
9+ sha256 = "1wmxppzyvfd5gab72qi3gainibrdk4xi8nsfp5z5h49xgzi84mnq";
1010 };
1111
1212 propagatedBuildInputs = [ docutils six sphinx ];
pkgs/development/python-modules/ezdxf/default.nix+7−5
@@ -1,18 +1,20 @@
1−{ stdenv, buildPythonPackage, fetchFromGitHub, pyparsing, pytest }:
1+{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, pyparsing, pytest }:
22
33buildPythonPackage rec {
4− version = "0.8.8";
4+ version = "0.9";
55 pname = "ezdxf";
66
7+ disabled = pythonOlder "3.5";
8+
79 src = fetchFromGitHub {
810 owner = "mozman";
911 repo = "ezdxf";
1012 rev = "v${version}";
11− sha256 = "0ap6f6vy71s3y0a048r5ca98i7p8nc9l0mx3mngvvpvjij7j3fcf";
13+ sha256 = "1ggimjd9060b696sgzgxy9j9sl45wh9qbxnf0035qclafshprlzl";
1214 };
1315
14− buildInputs = [ pytest ];
15− checkPhase = "python -m unittest discover -s tests";
16+ checkInputs = [ pytest ];
17+ checkPhase = "pytest tests integration_tests";
1618
1719 propagatedBuildInputs = [ pyparsing ];
1820
pkgs/development/python-modules/pg8000/default.nix+5−3
@@ -1,20 +1,22 @@
11{ stdenv
22, buildPythonPackage
33, fetchPypi
4−, pytz
5−, six
4+, isPy3k
5+, passlib
66}:
77
88buildPythonPackage rec {
99 pname = "pg8000";
1010 version = "1.13.1";
1111
12+ disabled = !isPy3k;
13+
1214 src = fetchPypi {
1315 inherit pname version;
1416 sha256 = "2208c7aaffe8d61f5c4ccbefeb74ba033003899e64aee37c0eb98aadae8b9c6b";
1517 };
1618
17− propagatedBuildInputs = [ pytz six ];
19+ propagatedBuildInputs = [ passlib ];
1820
1921 meta = with stdenv.lib; {
2022 homepage = https://github.com/tlocke/pg8000;
pkgs/development/python-modules/pyhamcrest/default.nix+2−2
@@ -1,8 +1,8 @@
1−{ stdenv, buildPythonApplication, fetchPypi
1+{ stdenv, buildPythonPackage, fetchPypi
22, mock, pytest
33, six
44}:
5−buildPythonApplication rec {
5+buildPythonPackage rec {
66 pname = "PyHamcrest";
77 version = "1.9.0";
88
pkgs/development/python-modules/python-efl/default.nix+2−2
@@ -4,11 +4,11 @@
44
55buildPythonPackage rec {
66 name = "python-efl-${version}";
7− version = "1.21.0";
7+ version = "1.22.0";
88
99 src = fetchurl {
1010 url = "http://download.enlightenment.org/rel/bindings/python/${name}.tar.xz";
11− sha256 = "08x2cv8hnf004c3711250wrax21ffj5y8951pvk77h98als4pq47";
11+ sha256 = "1qhy63c3fs2bxkx2np5z14hyxbr12ii030crsjnhpbyw3mic0s63";
1212 };
1313
1414 nativeBuildInputs = [ pkgconfig ];
pkgs/development/python-modules/pytorch/default.nix+2−2
@@ -81,11 +81,11 @@ in buildPythonPackage rec {
8181 cmake
8282 utillinux
8383 which
84− ];
84+ ] ++ lib.optionals cudaSupport [ cudatoolkit_joined ];
8585
8686 buildInputs = [
8787 numpy.blas
88− ] ++ lib.optionals cudaSupport [ cudatoolkit_joined cudnn ]
88+ ] ++ lib.optionals cudaSupport [ cudnn ]
8989 ++ lib.optionals stdenv.isLinux [ numactl ];
9090
9191 propagatedBuildInputs = [
pkgs/development/tools/analysis/flow/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 pname = "flow";
5− version = "0.97.0";
5+ version = "0.98.0";
66
77 src = fetchFromGitHub {
88 owner = "facebook";
99 repo = "flow";
1010 rev = "refs/tags/v${version}";
11− sha256 = "1y6mdm7ph9k3vv8n8hzxr3rqa6bfkh4yn9bcxb7qq67v08dlvx6r";
11+ sha256 = "13ry3bmgm3xy24kasx843dwd1nsv7nyd174696iaz2c64z46bbfm";
1212 };
1313
1414 installPhase = ''
pkgs/development/tools/coursier/default.nix+3−3
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "coursier-${version}";
5− version = "1.1.0-M10";
5+ version = "1.1.0-M14-1";
66
77 src = fetchurl {
8− url = "https://github.com/coursier/coursier/raw/v${version}/coursier";
9− sha256 = "14iq0717vdm0mj0196idc724vmxp1y0f3gfn41sbqahfhvcx05y8";
8+ url = "https://github.com/coursier/coursier/releases/download/v${version}/coursier";
9+ sha256 = "0km9bxhch2bh7v6yi5jzyvq95fwdmccwqmbiznzhz4iqij8y066w";
1010 };
1111
1212 nativeBuildInputs = [ makeWrapper ];
pkgs/development/tools/dep/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "dep-${version}";
5− version = "0.5.0";
5+ version = "0.5.1";
66 rev = "v${version}";
77
88 goPackagePath = "github.com/golang/dep";
@@ -12,7 +12,7 @@ buildGoPackage rec {
1212 inherit rev;
1313 owner = "golang";
1414 repo = "dep";
15− sha256 = "1p35995w2f8rp4cxhcwnhdv26ajx6gxx9pm2ijb5sjy2pwhw5c6j";
15+ sha256 = "1a5vq5v3ikg6iysbywxr5hcjnbv76nzhk50rd3iq3v2fnyq38dv2";
1616 };
1717
1818 buildFlagsArray = ("-ldflags=-s -w -X main.commitHash=${rev} -X main.version=${version}");
pkgs/development/tools/electron/5.x.nixnew file+77
@@ -0,0 +1,77 @@
1+{ stdenv, libXScrnSaver, makeWrapper, fetchurl, unzip, atomEnv, libuuid, at-spi2-atk, at-spi2-core }:
2+
3+let
4+ version = "5.0.0";
5+ name = "electron-${version}";
6+
7+ throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
8+
9+ meta = with stdenv.lib; {
10+ description = "Cross platform desktop application shell";
11+ homepage = https://github.com/electron/electron;
12+ license = licenses.mit;
13+ maintainers = with maintainers; [ travisbhartwell manveru ];
14+ platforms = [ "x86_64-darwin" "x86_64-linux" "i686-linux" "armv7l-linux" "aarch64-linux" ];
15+ };
16+
17+ linux = {
18+ inherit name version meta;
19+ src = {
20+ i686-linux = fetchurl {
21+ url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-ia32.zip";
22+ sha256 = "01320qv0x18rmjn6ibbs49pd04d58rz5dac509lxxay8nfb14gdp";
23+ };
24+ x86_64-linux = fetchurl {
25+ url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-x64.zip";
26+ sha256 = "0mkc8r5xggkzdypyq4hxigmjl6d1jn0139l8nwj1vr224ggnskhn";
27+ };
28+ armv7l-linux = fetchurl {
29+ url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-armv7l.zip";
30+ sha256 = "1w767yxm3b6sj52z0wnzr4vfn0m8n2jdjhj3ksmq6qrv401vvib3";
31+ };
32+ aarch64-linux = fetchurl {
33+ url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-linux-arm64.zip";
34+ sha256 = "1nvpfkrizkmr6xxb2ls19p9mhgpms65ws09bx3l8sqq6275916jk";
35+ };
36+ }.${stdenv.hostPlatform.system} or throwSystem;
37+
38+ buildInputs = [ unzip makeWrapper ];
39+
40+ buildCommand = ''
41+ mkdir -p $out/lib/electron $out/bin
42+ unzip -d $out/lib/electron $src
43+ ln -s $out/lib/electron/electron $out/bin
44+
45+ fixupPhase
46+
47+ patchelf \
48+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
49+ --set-rpath "${atomEnv.libPath}:${stdenv.lib.makeLibraryPath [ libuuid at-spi2-atk at-spi2-core ]}:$out/lib/electron" \
50+ $out/lib/electron/electron
51+
52+ wrapProgram $out/lib/electron/electron \
53+ --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1
54+ '';
55+ };
56+
57+ darwin = {
58+ inherit name version meta;
59+
60+ src = fetchurl {
61+ url = "https://github.com/electron/electron/releases/download/v${version}/electron-v${version}-darwin-x64.zip";
62+ sha256 = "07s2cq4ffpx86pjxrh1hcvk3r85saxqi3kkbbfkg9r1bbq8zbapm";
63+ };
64+
65+ buildInputs = [ unzip ];
66+
67+ buildCommand = ''
68+ mkdir -p $out/Applications
69+ unzip $src
70+ mv Electron.app $out/Applications
71+ mkdir -p $out/bin
72+ ln -s $out/Applications/Electron.app/Contents/MacOs/Electron $out/bin/electron
73+ '';
74+ };
75+in
76+
77+ stdenv.mkDerivation (if stdenv.isDarwin then darwin else linux)
pkgs/development/tools/flatpak-builder/default.nix+2−2
@@ -37,7 +37,7 @@
3737}:
3838
3939let
40− version = "1.0.5";
40+ version = "1.0.6";
4141in stdenv.mkDerivation rec {
4242 name = "flatpak-builder-${version}";
4343
@@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
4545
4646 src = fetchurl {
4747 url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${name}.tar.xz";
48− sha256 = "1l5hpxkc7f3mp9v8wyagpbc8vvfn0m0jq8rsk1h7vwyyjmijv6mb";
48+ sha256 = "1fw9lzf9cy3fnnvn9q3g0schxcj7kaj6kjijhrmcmsfcnzbjlmrv";
4949 };
5050
5151 nativeBuildInputs = [
pkgs/development/tools/ocaml/js_of_ocaml/camlp4.nix+10−2
@@ -1,11 +1,19 @@
1−{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
1+{ stdenv, fetchFromGitHub, ocaml, findlib, dune, js_of_ocaml-compiler
22, camlp4, ocsigen_deriving
33}:
44
55stdenv.mkDerivation rec {
6+ version = "3.2.1";
67 name = "js_of_ocaml-camlp4-${version}";
78
8− inherit (js_of_ocaml-compiler) version src installPhase meta;
9+ src = fetchFromGitHub {
10+ owner = "ocsigen";
11+ repo = "js_of_ocaml";
12+ rev = version;
13+ sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik";
14+ };
15+
16+ inherit (js_of_ocaml-compiler) installPhase meta;
917
1018 buildInputs = [ ocaml findlib dune camlp4 ocsigen_deriving ];
1119
pkgs/development/tools/ocaml/js_of_ocaml/compiler.nix+2−2
@@ -8,13 +8,13 @@ else
88
99stdenv.mkDerivation rec {
1010 name = "js_of_ocaml-compiler-${version}";
11− version = "3.2.1";
11+ version = "3.3.0";
1212
1313 src = fetchFromGitHub {
1414 owner = "ocsigen";
1515 repo = "js_of_ocaml";
1616 rev = version;
17− sha256 = "1v2hfq0ra9j07yz6pj6m03hrvgys4vmx0gclchv94yywpb2wc7ik";
17+ sha256 = "0bg8x2s3f24c8ia2g293ikd5yg0yjw3hkdgdql59c8k2amqin8f8";
1818 };
1919
2020 buildInputs = [ ocaml findlib dune cmdliner cppo ];
pkgs/development/tools/omnisharp-roslyn/default.nixnew file+41
@@ -0,0 +1,41 @@
1+{ stdenv
2+, fetchurl
3+, mono5
4+, makeWrapper
5+}:
6+
7+stdenv.mkDerivation rec {
8+
9+ name = "omnisharp-roslyn-${version}";
10+ version = "1.32.8";
11+
12+ src = fetchurl {
13+ url = "https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v${version}/omnisharp-mono.tar.gz";
14+ sha256 = "0k2a4awmzb7ppll2skyzaa94n3hxqm35ffibl0sygldk3symzwgp";
15+ };
16+
17+ nativeBuildInputs = [ makeWrapper ];
18+
19+ preUnpack = ''
20+ mkdir src
21+ cd src
22+ sourceRoot=.
23+ '';
24+
25+ installPhase = ''
26+ mkdir -p $out/bin
27+ cd ..
28+ cp -r src $out/
29+ ls -al $out/src
30+ makeWrapper ${mono5}/bin/mono $out/bin/omnisharp \
31+ --add-flags "$out/src/OmniSharp.exe"
32+ '';
33+
34+ meta = with stdenv.lib; {
35+ description = "OmniSharp based on roslyn workspaces";
36+ platforms = platforms.linux;
37+ license = licenses.mit;
38+ maintainers = with maintainers; [ tesq0 ];
39+ };
40+
41+}
pkgs/development/tools/rust/cargo-expand/default.nix+3−3
@@ -2,16 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 pname = "cargo-expand";
5− version = "0.4.11";
5+ version = "0.4.12";
66
77 src = fetchFromGitHub {
88 owner = "dtolnay";
99 repo = pname;
1010 rev = version;
11− sha256 = "051hy2320mqdxvafhafwnk1n8q2sq2d7jyhx5bbxvqmjjm55lg8h";
11+ sha256 = "0m57v7mh7wdl0rdbad7vkvcgy93p9gcb971wap8i5nzjvzmp4wlb";
1212 };
1313
14− cargoSha256 = "0d1j01nrq5j0yrgd85lnvg1mzalcd8xadkza3yvwnqzf554idrcy";
14+ cargoSha256 = "1wvqxj2w02d6zhyw3z5v0w4bfmbmldh63ygmvfxa3ngfb36gcacz";
1515
1616 meta = with stdenv.lib; {
1717 description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code";
pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch+18−28
@@ -1,32 +1,25 @@
1−From c21cc756b69a5f33c8a7758b746a816f40f55932 Mon Sep 17 00:00:00 2001
2−From: Leon Isenberg <ljli@users.noreply.github.com>
3−Date: Sat, 28 Oct 2017 17:58:17 +0200
4−Subject: [PATCH] nix customization: patchelf installed binaries
5−
6−---
7− src/rustup-dist/src/component/package.rs | 21 ++++++++++++++++++++-
8− 1 file changed, 20 insertions(+), 1 deletion(-)
9−
10−diff --git a/src/rustup-dist/src/component/package.rs b/src/rustup-dist/src/component/package.rs
11−index 70c54dcd..f0318986 100644
12−--- a/src/rustup-dist/src/component/package.rs
13−+++ b/src/rustup-dist/src/component/package.rs
14−@@ -100,7 +100,10 @@ impl Package for DirectoryPackage {
15− let src_path = root.join(&path);
16−
1+diff --git a/src/dist/component/package.rs b/src/dist/component/package.rs
2+index e0fdea28..38d9d0e4 100644
3+--- a/src/dist/component/package.rs
4++++ b/src/dist/component/package.rs
5+@@ -104,10 +104,11 @@ impl Package for DirectoryPackage {
176 match &*part.0 {
18−- "file" => builder.copy_file(path.clone(), &src_path)?,
19−+ "file" => {
20−+ builder.copy_file(path.clone(), &src_path)?;
7+ "file" => {
8+ if self.copy {
9+- builder.copy_file(path.clone(), &src_path)?
10++ builder.copy_file(path.clone(), &src_path)?;
11+ } else {
12+- builder.move_file(path.clone(), &src_path)?
13++ builder.move_file(path.clone(), &src_path)?;
14+ }
2115+ nix_patchelf_if_needed(&target.prefix().path().join(path.clone()), &src_path)
22−+ }
23− "dir" => builder.copy_dir(path.clone(), &src_path)?,
24− _ => return Err(ErrorKind::CorruptComponent(name.to_owned()).into()),
25− }
26−@@ -118,6 +121,22 @@ impl Package for DirectoryPackage {
16+ }
17+ "dir" => {
18+ if self.copy {
19+@@ -132,6 +133,22 @@ impl Package for DirectoryPackage {
2720 }
2821 }
29−
22+
3023+fn nix_patchelf_if_needed(dest_path: &Path, src_path: &Path) {
3124+ let is_bin = if let Some(p) = src_path.parent() {
3225+ p.ends_with("bin")
@@ -46,6 +39,3 @@ index 70c54dcd..f0318986 100644
4639 // On Unix we need to set up the file permissions correctly so
4740 // binaries are executable and directories readable. This shouldn't be
4841 // necessary: the source files *should* have the right permissions,
49−--
50−2.17.1
51−
pkgs/development/tools/rust/rustup/default.nix+14−7
@@ -3,17 +3,17 @@
33, pkgconfig, curl, Security }:
44
55rustPlatform.buildRustPackage rec {
6− name = "rustup-${version}";
7− version = "1.17.0";
6+ pname = "rustup";
7+ version = "1.18.1";
88
99 src = fetchFromGitHub {
1010 owner = "rust-lang";
1111 repo = "rustup.rs";
1212 rev = version;
13− sha256 = "1mf92z89wqqaj3cg2cqf6basvcz47krldmy8ianfkzp323fimqmn";
13+ sha256 = "0932n708ikxzjv7y78zcrnnnps3rgimsnpaximhm9vmjjnkdgm7x";
1414 };
1515
16− cargoSha256 = "0y7kbihdrpd35dw24qqqzmccvjdy6arka10p5rnv38d420f1bpzd";
16+ cargoSha256 = "0kw8a9prqjf939g0h8ryyhlm1n84fwdycvl0nkykkwlfqd6hh9hb";
1717
1818 nativeBuildInputs = [ pkgconfig ];
1919
@@ -49,9 +49,16 @@ rustPlatform.buildRustPackage rec {
4949 # tries to create .rustup
5050 export HOME=$(mktemp -d)
5151 mkdir -p "$out/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
52− $out/bin/rustup completions bash > "$out/share/bash-completion/completions/rustup"
53− $out/bin/rustup completions fish > "$out/share/fish/vendor_completions.d/rustup.fish"
54− $out/bin/rustup completions zsh > "$out/share/zsh/site-functions/_rustup"
52+
53+ # generate completion scripts for rustup
54+ $out/bin/rustup completions bash rustup > "$out/share/bash-completion/completions/rustup"
55+ $out/bin/rustup completions fish rustup > "$out/share/fish/vendor_completions.d/rustup.fish"
56+ $out/bin/rustup completions zsh rustup > "$out/share/zsh/site-functions/_rustup"
57+
58+ # generate completion scripts for cargo
59+ # Note: fish completion script is not supported.
60+ $out/bin/rustup completions bash cargo > "$out/share/bash-completion/completions/cargo"
61+ $out/bin/rustup completions zsh cargo > "$out/share/zsh/site-functions/_cargo"
5562 '';
5663
5764 meta = with stdenv.lib; {
pkgs/games/crispy-doom/default.nix+2−2
@@ -1,10 +1,10 @@
11{ stdenv, autoreconfHook, pkgconfig, SDL2, SDL2_mixer, SDL2_net, fetchurl }:
22
33stdenv.mkDerivation rec {
4− name = "crispy-doom-5.5.1";
4+ name = "crispy-doom-5.5.2";
55 src = fetchurl {
66 url = "https://github.com/fabiangreffrath/crispy-doom/archive/${name}.tar.gz";
7− sha256 = "0qnqyyjnclmwls34m7nk8lpvpaffdmhxshlarsiggcsn9py96kns";
7+ sha256 = "1pdk7p3r1xskdfcp86jf1n2cny78fyk36z4gbx19h57csc4d5c3a";
88 };
99 nativeBuildInputs = [ autoreconfHook pkgconfig ];
1010 buildInputs = [ SDL2 SDL2_mixer SDL2_net ];
pkgs/games/gzdoom/default.nix+2−2
@@ -4,13 +4,13 @@
44
55stdenv.mkDerivation rec {
66 name = "gzdoom-${version}";
7− version = "3.7.2";
7+ version = "4.0.0";
88
99 src = fetchFromGitHub {
1010 owner = "coelckers";
1111 repo = "gzdoom";
1212 rev = "g${version}";
13− sha256 = "1kjvjg218d2jk7mzlzihaa90fji4wm5zfix7ikm18wx83hcsgby3";
13+ sha256 = "1054g9n5rdnkkfrxvaybki4clfvr9fbhza4jbg53h4vwxahmjmbx";
1414 };
1515
1616 nativeBuildInputs = [ cmake makeWrapper ];
pkgs/misc/vim-plugins/generated.nix+83−72
@@ -61,12 +61,12 @@ let
6161
6262 ale = buildVimPluginFrom2Nix {
6363 pname = "ale";
64− version = "2019-04-17";
64+ version = "2019-04-26";
6565 src = fetchFromGitHub {
6666 owner = "w0rp";
6767 repo = "ale";
68− rev = "fcc2c3ba71afa2a7965f3c1e9ec8c03381178180";
69− sha256 = "1xwm7rn9jz4xa4hyky07skqhlc9g13zggckyi6g3hq4qhamzjsvw";
68+ rev = "737ed31de5be0c50502d820421726b8a707d1a58";
69+ sha256 = "16641pvxs98s4jvry3dkap3nijzxganc5fn241mhzd954s2k6wwp";
7070 };
7171 };
7272
@@ -403,12 +403,12 @@ let
403403
404404 denite-nvim = buildVimPluginFrom2Nix {
405405 pname = "denite-nvim";
406− version = "2019-04-21";
406+ version = "2019-04-25";
407407 src = fetchFromGitHub {
408408 owner = "Shougo";
409409 repo = "denite.nvim";
410− rev = "91a7df99f0f7fc992c0d1a97bc69b931aea3d728";
411− sha256 = "0s4gvyrp7gm5gs3wk14hmss91gy1hppwn9vqbfs8hwpxamm76b9f";
410+ rev = "ae432f278ab78a28452f23cc7d5d516f6271ca2a";
411+ sha256 = "0mv8xh2hzvsj4znfnaiwrh9gfijrrnrjcnd4r84lx75jx5bc9zns";
412412 };
413413 };
414414
@@ -448,12 +448,12 @@ let
448448
449449 deoplete-go = buildVimPluginFrom2Nix {
450450 pname = "deoplete-go";
451− version = "2019-03-02";
451+ version = "2019-04-27";
452452 src = fetchFromGitHub {
453453 owner = "zchee";
454454 repo = "deoplete-go";
455− rev = "cb8504f09a04fac9325a5e2aa4a11c2400b1312d";
456− sha256 = "1jw3mp3h4klwr6y0w298w91wl222njwv1ars3cfh1zms8y7iii56";
455+ rev = "33e229d2d9b61aab0c11ebc07aae41282731bdef";
456+ sha256 = "0i8nhz41ik568gimy1f0vjwq473x0hzszi7g4yvjry00lkg4sjq6";
457457 fetchSubmodules = true;
458458 };
459459 };
@@ -527,12 +527,12 @@ let
527527
528528 direnv-vim = buildVimPluginFrom2Nix {
529529 pname = "direnv-vim";
530− version = "2019-03-17";
530+ version = "2019-04-25";
531531 src = fetchFromGitHub {
532532 owner = "direnv";
533533 repo = "direnv.vim";
534− rev = "8b5d37e9b334c855eb2669ca56b28423a40c3365";
535− sha256 = "1cpy7ih7fkdp8f4vxna2qwbhf1g7pspiayqhs9g1kxmycvbqnsjk";
534+ rev = "15c0d2c91d65f95f90c30d21d9ea11bc8ee51def";
535+ sha256 = "1k9ipwiayp5i31slr1119az0wylqsnaf5zz04x7bcpclaaajgzfk";
536536 };
537537 };
538538
@@ -1268,12 +1268,12 @@ let
12681268
12691269 nerdtree = buildVimPluginFrom2Nix {
12701270 pname = "nerdtree";
1271− version = "2019-04-16";
1271+ version = "2019-04-23";
12721272 src = fetchFromGitHub {
12731273 owner = "scrooloose";
12741274 repo = "nerdtree";
1275− rev = "e126b8745dc40931ae8da03d92c78264e8e4b029";
1276− sha256 = "1f43a04alrb5k5k7kys3i6ld7cxzcz9yz6il95z0xi9lwbb8mnid";
1275+ rev = "3c0633578281463638235597d8208612544606ae";
1276+ sha256 = "0y82gj9rkqglhx6q9ksxpvpmax0rsxfggad85f6xvmx6iwxv8k1h";
12771277 };
12781278 };
12791279
@@ -1290,12 +1290,12 @@ let
12901290
12911291 nim-vim = buildVimPluginFrom2Nix {
12921292 pname = "nim-vim";
1293− version = "2018-12-16";
1293+ version = "2019-04-26";
12941294 src = fetchFromGitHub {
12951295 owner = "zah";
12961296 repo = "nim.vim";
1297− rev = "21731384b8f0675e3d666e98dd6625508c30f3af";
1298− sha256 = "15l897xyli4wr5adgciizqnpqv80l95ykf2xq5kvc4icgj93gwga";
1297+ rev = "88f5e708a739fb26be6364ab2fabadf9fffb8d7b";
1298+ sha256 = "0ja8qx9c5g7k4phllvk3vz6s62iwpwsn40w6c32sybjs98jkrw7y";
12991299 };
13001300 };
13011301
@@ -1774,12 +1774,12 @@ let
17741774
17751775 targets-vim = buildVimPluginFrom2Nix {
17761776 pname = "targets-vim";
1777− version = "2019-03-18";
1777+ version = "2019-04-24";
17781778 src = fetchFromGitHub {
17791779 owner = "wellle";
17801780 repo = "targets.vim";
1781− rev = "5915a1a3cef7c60dbea2ff50153417e5f6371952";
1782− sha256 = "1013d1rkdg6ddnsf0j033q0a14aq65jbv2wrkj1d6i5jr4zjh3f0";
1781+ rev = "53a5adc5e23b2dcc6a11397fd47b75ff8e0b664a";
1782+ sha256 = "142gac4appj7iswwxaflimjxxb0sdpkqhcinrv7nnxnwdmpnhzak";
17831783 };
17841784 };
17851785
@@ -1818,23 +1818,23 @@ let
18181818
18191819 tlib_vim = buildVimPluginFrom2Nix {
18201820 pname = "tlib_vim";
1821− version = "2019-03-15";
1821+ version = "2019-04-27";
18221822 src = fetchFromGitHub {
18231823 owner = "tomtom";
18241824 repo = "tlib_vim";
1825− rev = "9609c3e3879c00339121e0f1aeedbc9211c15fe7";
1826− sha256 = "1g52n5zy0yi343nyh74i4bsg1mxhhkv927r5fcsqgwdvgwzx2jw6";
1825+ rev = "19c98450af64fd9d875e009e0868cb119db01755";
1826+ sha256 = "0b95rvlfiiqh3lbmb8kmhq77iyvgsg1ayxp64fdn5809sj4avl79";
18271827 };
18281828 };
18291829
18301830 traces-vim = buildVimPluginFrom2Nix {
18311831 pname = "traces-vim";
1832− version = "2019-04-04";
1832+ version = "2019-04-27";
18331833 src = fetchFromGitHub {
18341834 owner = "markonm";
18351835 repo = "traces.vim";
1836− rev = "1220a0ca044ce9a1622ec2aa60d0d9ef5e801cb4";
1837− sha256 = "0j7yhhgfl1ymqkl5lp9vqm3w9l2jkf863xpffw9f0ddmjmk3b7am";
1836+ rev = "971d0f6c293002bea7c90773c8fd67f4345ddf7c";
1837+ sha256 = "0aj5x96g4ngir73h79brmijw5gikz6vgbblpbd3np64nb3h86a7c";
18381838 };
18391839 };
18401840
@@ -2170,12 +2170,12 @@ let
21702170
21712171 vim-airline = buildVimPluginFrom2Nix {
21722172 pname = "vim-airline";
2173− version = "2019-04-18";
2173+ version = "2019-04-26";
21742174 src = fetchFromGitHub {
21752175 owner = "vim-airline";
21762176 repo = "vim-airline";
2177− rev = "ead2cd63bbe4ceec161f9634c8b52048551f91b4";
2178− sha256 = "0x0mv047r2li57l2b9cdlpdjl5fy0qhcs973w40kwp8pxnzrs332";
2177+ rev = "28ed36a9ec9c9bc35bec81c42cfbf8cf5e76b231";
2178+ sha256 = "0a5cgkwwhrdxfh1mf1x5vph132s4cmmdy9h88yhzz1jpw0x8322d";
21792179 };
21802180 };
21812181
@@ -2533,12 +2533,12 @@ let
25332533
25342534 vim-elixir = buildVimPluginFrom2Nix {
25352535 pname = "vim-elixir";
2536− version = "2019-04-17";
2536+ version = "2019-04-25";
25372537 src = fetchFromGitHub {
25382538 owner = "elixir-lang";
25392539 repo = "vim-elixir";
2540− rev = "7e00da6033b7847c6bb71df18f852342946eab42";
2541− sha256 = "0v3agkkdwpzi8gys1nysrm6jisjd42v5ipbvd5w5kn3qhr28n1d5";
2540+ rev = "8e4782f439b5c8adbfe6d368c21bd4bf5db4cd3a";
2541+ sha256 = "02ikcdpffcwipzlpcjmrsnr7rxm6632x2qhxw0m22727pzqbmrmc";
25422542 };
25432543 };
25442544
@@ -2632,12 +2632,12 @@ let
26322632
26332633 vim-fugitive = buildVimPluginFrom2Nix {
26342634 pname = "vim-fugitive";
2635− version = "2019-04-06";
2635+ version = "2019-04-24";
26362636 src = fetchFromGitHub {
26372637 owner = "tpope";
26382638 repo = "vim-fugitive";
2639− rev = "1ac2c707e53b4f598ce6502c7bd9a028f1ec5ce4";
2640− sha256 = "1r63zfba81adwsxqxqasjcpszdn2r4snbpj52d9p6sb4lqf84qg9";
2639+ rev = "16b7a060a3e20b8e159783f42ce4aa79a158208c";
2640+ sha256 = "0jg8xcp69134kgjib2pknh0ibsqcc8bcfdi1cw7nb16p3w2s2fzp";
26412641 };
26422642 };
26432643
@@ -2698,12 +2698,12 @@ let
26982698
26992699 vim-go = buildVimPluginFrom2Nix {
27002700 pname = "vim-go";
2701− version = "2019-04-21";
2701+ version = "2019-04-27";
27022702 src = fetchFromGitHub {
27032703 owner = "fatih";
27042704 repo = "vim-go";
2705− rev = "c166037dbe06980199b0f93b0d10f8cdb7340c01";
2706− sha256 = "0m824gqh99ga82r3prn3c84vm7k5c75vsnwbi29jfky564v3m8p6";
2705+ rev = "3e9a29279627d1ac50a855376b5da4dc0f809356";
2706+ sha256 = "0jyy3hgw8z1c372qd4672p5zpbxnq0l4w2dd4s07div6wxxs9cdh";
27072707 };
27082708 };
27092709
@@ -2720,12 +2720,12 @@ let
27202720
27212721 vim-grepper = buildVimPluginFrom2Nix {
27222722 pname = "vim-grepper";
2723− version = "2019-04-08";
2723+ version = "2019-04-25";
27242724 src = fetchFromGitHub {
27252725 owner = "mhinz";
27262726 repo = "vim-grepper";
2727− rev = "b67c78ab929d0bd68c5a00df9d9271d0a82e0705";
2728− sha256 = "1wbinfkrzv9rfr5in7q0y3554gibb1rsv95qa4yinf2qasx78x6f";
2727+ rev = "9348496c9fe017e5f8f89a71a2772704e3720415";
2728+ sha256 = "1dl54hmp4jzv3qmdvcdbaq4qm4hnfrrvz55p0zjs808n1fz3jw8w";
27292729 };
27302730 };
27312731
@@ -3084,12 +3084,12 @@ let
30843084
30853085 vim-lsc = buildVimPluginFrom2Nix {
30863086 pname = "vim-lsc";
3087− version = "2019-04-19";
3087+ version = "2019-04-24";
30883088 src = fetchFromGitHub {
30893089 owner = "natebosch";
30903090 repo = "vim-lsc";
3091− rev = "c0514ddfdc9b1205e6f0952bf19b8d7105972a52";
3092− sha256 = "04w46nv8bqqc7kjxhs63blwqs787n0x3kgy5xrgg7h20vwbq5a5s";
3091+ rev = "9616bcb14c0128a6722806dafe2b6f325fa0c26f";
3092+ sha256 = "10vsmcifjinqd26rw4fk94l4pymqzsqm66d8gwdqpp3jkx5birwg";
30933093 };
30943094 };
30953095
@@ -3106,12 +3106,12 @@ let
31063106
31073107 vim-markdown = buildVimPluginFrom2Nix {
31083108 pname = "vim-markdown";
3109− version = "2019-04-12";
3109+ version = "2019-04-22";
31103110 src = fetchFromGitHub {
31113111 owner = "plasticboy";
31123112 repo = "vim-markdown";
3113− rev = "f71f25b87df3bd2a5315fdf432f0de3c35434345";
3114− sha256 = "0ak01032ya2lcsb45q1vm04q4fs5gdwax1y0r581ic1vxspzk7r3";
3113+ rev = "fa52c903ec03002a1f9003ba41572bfe75d29fee";
3114+ sha256 = "0dy2a11ypqqqlxjrjbw7jp8gwxfa97ws7s35xyf0jfgn3a93jizw";
31153115 };
31163116 };
31173117
@@ -3260,12 +3260,12 @@ let
32603260
32613261 vim-pandoc = buildVimPluginFrom2Nix {
32623262 pname = "vim-pandoc";
3263− version = "2019-02-12";
3263+ version = "2019-04-25";
32643264 src = fetchFromGitHub {
32653265 owner = "vim-pandoc";
32663266 repo = "vim-pandoc";
3267− rev = "660f556d1fdcede2900b12a09e1452fc5414ee82";
3268− sha256 = "1vafc1c1sh7gd5pg8vlmjjzlvywij5li0rjn7z40wn0r578qzx3k";
3267+ rev = "89ebe3cf92b4502cb3b3f5a25f96b27456af5825";
3268+ sha256 = "0d6x3js259xcs0440izrplhly9vg5dsx1fwf4dxgqr17dvd48l06";
32693269 };
32703270 };
32713271
@@ -3359,12 +3359,12 @@ let
33593359
33603360 vim-polyglot = buildVimPluginFrom2Nix {
33613361 pname = "vim-polyglot";
3362− version = "2019-03-29";
3362+ version = "2019-04-23";
33633363 src = fetchFromGitHub {
33643364 owner = "sheerun";
33653365 repo = "vim-polyglot";
3366− rev = "a55b6aa3aa797c989a4979a13a5bd2ae11cfd4a5";
3367− sha256 = "0mgxbyz1yimavay54s6a5hv88d497qngp4i06g248d0qf3ivyvrv";
3366+ rev = "9fd5c11a20f88525088c8635a3bc6a25ec4c05c7";
3367+ sha256 = "1b9ndv9lm9p39c56ikj0mj6xs857464vicw3bif9k78j4mf2q12y";
33683368 };
33693369 };
33703370
@@ -3403,12 +3403,12 @@ let
34033403
34043404 vim-puppet = buildVimPluginFrom2Nix {
34053405 pname = "vim-puppet";
3406− version = "2018-11-15";
3406+ version = "2019-04-23";
34073407 src = fetchFromGitHub {
34083408 owner = "rodjek";
34093409 repo = "vim-puppet";
3410− rev = "4793b074ddbfc05ed0189e19de343870611e4bdc";
3411− sha256 = "0q24dmbdsskz97xhdig9r9m7l8hyyzsmza1b0m7bc2y269fsiim0";
3410+ rev = "b2ae19b3ef397ed7404bf15051cbc5ff655b893e";
3411+ sha256 = "1hidg2cqls9qy0lazahxi26gyj4lwncpc3vzy4m9xjd3y1lmlqri";
34123412 };
34133413 };
34143414
@@ -3447,23 +3447,23 @@ let
34473447
34483448 vim-repeat = buildVimPluginFrom2Nix {
34493449 pname = "vim-repeat";
3450− version = "2018-07-02";
3450+ version = "2019-04-26";
34513451 src = fetchFromGitHub {
34523452 owner = "tpope";
34533453 repo = "vim-repeat";
3454− rev = "43d2678fa59d068c815d8298331c195e850ff5a7";
3455− sha256 = "0nb20503ka95qbx0mwhhni15drc86gfcd6kg92nf65llrvyfivk0";
3454+ rev = "0b9b5e742f67bc81ae4a1f79318549d3afc90b13";
3455+ sha256 = "0wmcamz41pinpgpksi7nac2v1s9ysl4jlpb01pa7amb8nz92i7jy";
34563456 };
34573457 };
34583458
34593459 vim-rhubarb = buildVimPluginFrom2Nix {
34603460 pname = "vim-rhubarb";
3461− version = "2019-03-20";
3461+ version = "2019-04-24";
34623462 src = fetchFromGitHub {
34633463 owner = "tpope";
34643464 repo = "vim-rhubarb";
3465− rev = "57a350e6327af0074c4bc0d30b62662dfdb993af";
3466− sha256 = "1vgcy8xc8v0g5g4h1h6dcl0ggg2rxp2pisxj04w5d78qf8b48njc";
3465+ rev = "70713ca031f882bd13ac7ffb163fb7e7a0a52b0c";
3466+ sha256 = "10x1n5jrrmw01rqh0qnyyx7f9l5qmzhfby8gkd5vpjx84kpabzqs";
34673467 };
34683468 };
34693469
@@ -3722,12 +3722,12 @@ let
37223722
37233723 vim-table-mode = buildVimPluginFrom2Nix {
37243724 pname = "vim-table-mode";
3725− version = "2019-03-22";
3725+ version = "2019-04-25";
37263726 src = fetchFromGitHub {
37273727 owner = "dhruvasagar";
37283728 repo = "vim-table-mode";
3729− rev = "a40ef26c5cc1806d3faae829fa149506715ce56f";
3730− sha256 = "0fis0w3xpsg4wfss61vydic6zisg5bdyvb0wcaf5z4fs5sk380x6";
3729+ rev = "865563f78506b8090d3839644bc667493b4b68f4";
3730+ sha256 = "0544dlnqpm3r6amlww9pa5991js1rs5qblhqqfagwdaxaxpzxa64";
37313731 };
37323732 };
37333733
@@ -3863,6 +3863,17 @@ let
38633863 };
38643864 };
38653865
3866+ vim-visual-multi = buildVimPluginFrom2Nix {
3867+ pname = "vim-visual-multi";
3868+ version = "2019-04-23";
3869+ src = fetchFromGitHub {
3870+ owner = "mg979";
3871+ repo = "vim-visual-multi";
3872+ rev = "b29d535fae1b27308b7cf75c2d27e8b0c929a381";
3873+ sha256 = "09mhcnb8798lb28bc2xpbxkyic3zkypybxbr5p5xniq4d2hmqmx1";
3874+ };
3875+ };
3876+
38663877 vim-visualstar = buildVimPluginFrom2Nix {
38673878 pname = "vim-visualstar";
38683879 version = "2015-08-27";
@@ -4008,12 +4019,12 @@ let
40084019
40094020 vimtex = buildVimPluginFrom2Nix {
40104021 pname = "vimtex";
4011− version = "2019-04-20";
4022+ version = "2019-04-26";
40124023 src = fetchFromGitHub {
40134024 owner = "lervag";
40144025 repo = "vimtex";
4015− rev = "3deabe2c16c9231703b58c5c24e16e0ceebebf40";
4016− sha256 = "1xazc1z8lrz0084v54fv238sbvz9pfpskm6z259ma00y8iswz0ds";
4026+ rev = "2e1687bd66c58fc37d47447c411f89895d8db4cd";
4027+ sha256 = "0rvbp4g9r3jc8rch357arvcw93kribcd5mgn7cgwgmdj7aj4shjq";
40174028 };
40184029 };
40194030
@@ -4152,12 +4163,12 @@ let
41524163
41534164 youcompleteme = buildVimPluginFrom2Nix {
41544165 pname = "youcompleteme";
4155− version = "2019-04-10";
4166+ version = "2019-04-24";
41564167 src = fetchFromGitHub {
41574168 owner = "valloric";
41584169 repo = "youcompleteme";
4159− rev = "9dee2b4e3f5de5f8b9fdc4790eac35eb2c40257a";
4160− sha256 = "12i3wzcy19c5gc8xc5i0qhjl4wn7jwy2abgbx9x2cbgamjl4yzh0";
4170+ rev = "2ae00449e5d7505102bb63d4bc28abb5e0744829";
4171+ sha256 = "16xsrnlyrzjsx4sr30xbk4bh37yrw0bwkdfvlahicsh6x9fz9sxj";
41614172 fetchSubmodules = true;
41624173 };
41634174 };
pkgs/misc/vim-plugins/vim-plugin-names+4−3
@@ -31,8 +31,8 @@ Chiel92/vim-autoformat
3131chikatoike/concealedyank.vim
3232chikatoike/sourcemap.vim
3333chrisbra/CheckAttach
34−chrisbra/Recover.vim
3534chrisbra/csv.vim
35+chrisbra/Recover.vim
3636chrisbra/unicode.vim
3737chrisgeo/sparkup
3838chriskempson/base16-vim
@@ -41,8 +41,8 @@ christoomey/vim-tmux-navigator
4141cocopon/iceberg.vim
4242ctjhoa/spacevim
4343ctrlpvim/ctrlp.vim
44−dag/vim-fish
4544dag/vim2hs
45+dag/vim-fish
4646dannyob/quickfixstatus
4747davidhalter/jedi-vim
4848derekelkins/agda-vim
@@ -191,6 +191,7 @@ mbbill/undotree
191191megaannum/forms
192192megaannum/self
193193mfukar/robotframework-vim
194+mg979/vim-visual-multi
194195mhinz/vim-grepper
195196mhinz/vim-janah
196197mhinz/vim-sayonara
@@ -352,6 +353,7 @@ vim-scripts/changeColorScheme.vim
352353vim-scripts/Colour-Sampler-Pack
353354vim-scripts/emodeline
354355vim-scripts/Improved-AnsiEsc
356+vim-scripts/jdaddy.vim
355357vim-scripts/matchit.zip
356358vim-scripts/mayansmoke
357359vim-scripts/PreserveNoEOL
@@ -360,7 +362,6 @@ vim-scripts/Rename
360362vim-scripts/ReplaceWithRegister
361363vim-scripts/tabmerge
362364vim-scripts/taglist.vim
363−vim-scripts/jdaddy.vim
364365vim-scripts/wombat256.vim
365366vim-scripts/YankRing.vim
366367vim-utils/vim-husk
pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix+7−3
@@ -2,12 +2,12 @@
22
33stdenv.mkDerivation rec {
44 name = "firmware-linux-nonfree-${version}";
5− version = "2019-03-12";
5+ version = "2019-04-16";
66
77 src = fetchgit {
88 url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
9− rev = "20190312";
10− sha256 = "1wk8l75rg7idvsyli29a1fii4xwz3vnm8d65fjw8d3azihdrhbyy";
9+ rev = "20190416";
10+ sha256 = "1grsxch5x65piqm8zswa7za3zccwxk0sxdm5qpgidmmq729xq3py";
1111 };
1212
1313 installFlags = [ "DESTDIR=$(out)" ];
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
1515 # Firmware blobs do not need fixing and should not be modified
1616 dontFixup = true;
1717
18+ outputHashMode = "recursive";
19+ outputHashAlgo = "sha256";
20+ outputHash = "1fh6gwdx4paswhpyx8z43kf41l9svicp6ji06pdfhsnbx2l859zi";
21+
1822 meta = with stdenv.lib; {
1923 description = "Binary firmware collection packaged by kernel.org";
2024 homepage = http://packages.debian.org/sid/firmware-linux-nonfree;
pkgs/os-specific/linux/kernel/i2c-oops.patchdeleted−12
@@ -1,12 +0,0 @@
1−diff --git a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
2−index 1d645c9ab417bf..cac262a912c124 100644
3−--- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
4−+++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
5−@@ -337,7 +337,8 @@ static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
6− DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "FlexBook edge11 - M-FBE11"),
7− },
8− .driver_data = (void *)&sipodev_desc
9−- }
10−+ },
11−+ { } /* Terminate list */
12− };
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.113";
6+ version = "4.14.114";
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 = "1hnsmlpfbcy52dax7g194ksr9179kpigj1y5k44jkwmagziz4kdj";
16+ sha256 = "05cyq4id1l3z8hhfs7ril9qc92pfx9h9pgvwl18q1lf8mg7ispmp";
1717 };
1818} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-4.19.nix+2−2
@@ -3,7 +3,7 @@
33with stdenv.lib;
44
55buildLinux (args // rec {
6− version = "4.19.36";
6+ version = "4.19.37";
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 = "1g7jcgg4889vj567jjl0q7ycksnm05xxzfd3jj6ji7bz2w4ba25q";
16+ sha256 = "0rcwzzbm4853rhsj5mkya0asi6bhsg3mhh9r9ihps31cqc7b7c7c";
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.178";
4+ version = "4.4.179";
55 extraMeta.branch = "4.4";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "0g84g808v7zjnfm1nh7ba0swa4n2bfw8m7h5qgmknjwrnwi8qnf3";
9+ sha256 = "1l979wmxridq9psjlhmgkax3bi769pvmmvdgf0j2y67gclkrssic";
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.170";
4+ version = "4.9.171";
55 extraMeta.branch = "4.9";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "078k8dz3nmici7rs7x25h4vr1qaa588zwymv4gs722wfzi07p21k";
9+ sha256 = "00bznn1x8rq0wgjpl8sbp0cp4mzpbzjdnf2rvm8rinklpy9dj723";
1010 };
1111} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-5.0.nix+2−2
@@ -3,7 +3,7 @@
33with stdenv.lib;
44
55buildLinux (args // rec {
6− version = "5.0.9";
6+ version = "5.0.10";
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/v5.x/linux-${version}.tar.xz";
16− sha256 = "0n5s0nwk786qyzwkjs5sv0ldhi8wry6xrsy9vldxp17qbcvv2j07";
16+ sha256 = "0xjycbjlzpgskqnwcjml60vkbg7r8fsijdj6ypmhpry7q8ii677a";
1717 };
1818} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/patches.nix−4
@@ -57,8 +57,4 @@ rec {
5757 sha256 = "1l8xq02rd7vakxg52xm9g4zng0ald866rpgm8kjlh88mwwyjkrwv";
5858 };
5959 };
60−
61− # Fix kernel OOPS on boot: https://github.com/NixOS/nixpkgs/issues/60126
62− # Remove with the next release.
63− i2c-oops = { name = "i2c-oops"; patch = ./i2c-oops.patch; };
6460}
pkgs/os-specific/linux/service-wrapper/default.nix+2−1
@@ -2,7 +2,7 @@
22
33let
44 name = "service-wrapper-${version}";
5− version = "16.04.0"; # Ajar to Ubuntu Release
5+ version = "19.04"; # Akin to Ubuntu Release
66in
77runCommand "${name}" {
88 script = substituteAll {
@@ -17,6 +17,7 @@ runCommand "${name}" {
1717 license = licenses.gpl2Plus;
1818 platforms = platforms.linux;
1919 maintainers = with maintainers; [ DerTim1 ];
20+ # Shellscript has been modified but upstream source is: https://git.launchpad.net/ubuntu/+source/init-system-helpers
2021 };
2122}
2223''
pkgs/os-specific/linux/service-wrapper/service-wrapper.sh+3−26
@@ -41,7 +41,7 @@ is_ignored_file() {
4141 return 1
4242}
4343
44−VERSION=$(@coreutils@/bin/basename $0)" ver. 0.91-ubuntu1"
44+VERSION=$(@coreutils@/bin/basename $0)" ver. 19-04"
4545USAGE="Usage: "$(@coreutils@/bin/basename $0)" < option > | --status-all | \
4646[ service_name [ command | --full-restart ] ]"
4747SERVICE=
@@ -133,29 +133,6 @@ while [ $# -gt 0 ]; do
133133 esac
134134done
135135
136−# Operate against system upstart, not session
137−unset UPSTART_SESSION
138−if [ -r "/etc/init/${SERVICE}.conf" ] && which initctl >/dev/null \
139− && initctl version 2>/dev/null | grep -q upstart \
140− && initctl status ${SERVICE} 2>/dev/null 1>/dev/null
141−then
142− # Upstart configuration exists for this job and we're running on upstart
143− case "${ACTION}" in
144− start|stop|status|reload)
145− # Action is a valid upstart action
146− exec ${ACTION} ${SERVICE} ${OPTIONS}
147− ;;
148− restart|force-reload)
149− # Map restart to the usual sysvinit behavior.
150− # Map force-reload to restart as per Debian policy 9.3.2,
151− # since there is no way to know if "reload" is supported
152− stop ${SERVICE} ${OPTIONS} || :
153− exec start ${SERVICE} ${OPTIONS}
154− ;;
155− esac
156−fi
157−
158−
159136run_via_sysvinit() {
160137 # Otherwise, use the traditional sysvinit
161138 if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
@@ -198,7 +175,7 @@ then
198175 fi
199176
200177 case "${ACTION}" in
201− restart|status)
178+ restart|status|try-restart)
202179 exec systemctl $sctl_args ${ACTION} ${UNIT}
203180 ;;
204181 start|stop)
@@ -214,7 +191,7 @@ then
214191 exec systemctl $sctl_args ${ACTION} ${UNIT}
215192 ;;
216193 reload)
217− _canreload="$(SYSTEMCTL -p CanReload show ${UNIT} 2>/dev/null)"
194+ _canreload="$(systemctl -p CanReload show ${UNIT} 2>/dev/null)"
218195 if [ "$_canreload" = "CanReload=no" ]; then
219196 # The reload action falls back to the sysv init script just in case
220197 # the systemd service file does not (yet) support reload for a
pkgs/servers/computing/slurm/default.nix+2−2
@@ -8,7 +8,7 @@
88
99stdenv.mkDerivation rec {
1010 name = "slurm-${version}";
11− version = "18.08.6.2";
11+ version = "18.08.7.1";
1212
1313 # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php
1414 # because the latter does not keep older releases.
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 repo = "slurm";
1818 # The release tags use - instead of .
1919 rev = "${builtins.replaceStrings ["."] ["-"] name}";
20− sha256 = "0py1795jrgip00k46gr9f9y49gpv5478kc3v68d90nl158fngixc";
20+ sha256 = "13asdirygkp0mmi2da0094c9h180nl7nb7nkj4j9d842xzw21454";
2121 };
2222
2323 outputs = [ "out" "dev" ];
pkgs/servers/dico/default.nix+5−10
@@ -2,25 +2,20 @@
22, guile, python, pcre, libffi, groff }:
33
44stdenv.mkDerivation rec {
5− name = "dico-2.7";
5+ pname = "dico";
6+ version = "2.9";
67
78 src = fetchurl {
8− url = "mirror://gnu/dico/${name}.tar.xz";
9− sha256 = "0dg4aacnmlf3ljssd7dwh8z5644xzq8k1501mbsx8nz8p8a9mbsq";
9+ url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
10+ sha256 = "0i9xqhy3h5nlizcmav4mv5ay8ivdgn4l4k0k7fxix3fsc87nijyr";
1011 };
1112
1213 hardeningDisable = [ "format" ];
1314
14− # XXX: Add support for GNU SASL.
1515 buildInputs =
1616 [ libtool gettext zlib readline gsasl guile python pcre libffi groff ];
1717
18− # dicod fails to load modules, so the tests fail
19− doCheck = false;
20−
21− preBuild = ''
22− sed -i -e '/gets is a security/d' gnu/stdio.in.h
23− '';
18+ doCheck = true;
2419
2520 meta = with stdenv.lib; {
2621 description = "Flexible dictionary server and client implementing RFC 2229";
pkgs/servers/dns/bind/default.nix+11−1
@@ -1,4 +1,4 @@
1−{ config, stdenv, lib, fetchurl
1+{ config, stdenv, lib, fetchurl, fetchpatch
22, perl
33, libcap, libtool, libxml2, openssl
44, enablePython ? config.bind.enablePython or false, python3 ? null
@@ -21,6 +21,16 @@ stdenv.mkDerivation rec {
2121 outputs = [ "out" "lib" "dev" "man" "dnsutils" "host" ];
2222
2323 patches = [ ./dont-keep-configure-flags.patch ./remove-mkdir-var.patch ] ++
24+ [
25+ # Workaround for missing atomic operations on aarch64. Upstream added the
26+ # below patch after the release. Can probably be dropped with the next
27+ # version.
28+ (fetchpatch {
29+ name = "client-atomics-as-refcount.patch";
30+ url = https://gitlab.isc.org/isc-projects/bind9/commit/d72f436b7d7c697b262968c48c2d7643069ab17f.diff;
31+ sha256 = "0sidlab9wcv21751fbq3h9m4wy6hk7frag9ar2jndw8rn3axr2qy";
32+ })
33+ ] ++
2434 stdenv.lib.optional stdenv.isDarwin ./darwin-openssl-linking-fix.patch;
2535
2636 nativeBuildInputs = [ perl ];
pkgs/servers/documize-community/default.nix+3−3
@@ -2,13 +2,13 @@
22
33buildGoPackage rec {
44 pname = "documize-community";
5− version = "2.2.1";
5+ version = "2.4.1";
66
77 src = fetchFromGitHub {
88 owner = "documize";
99 repo = "community";
1010 rev = "v${version}";
11− sha256 = "09s5js0zb3mh3g5qz8f3l2cqjn01kjb35kinfv932nf2rfyrmyqz";
11+ sha256 = "1spj8awyv37gmrm49py3wz7590r7rz63qizgifdzjbvacadavm0c";
1212 };
1313
1414 goPackagePath = "github.com/documize/community";
@@ -37,7 +37,7 @@ buildGoPackage rec {
3737 meta = with lib; {
3838 description = "Open source Confluence alternative for internal & external docs built with Golang + EmberJS";
3939 license = licenses.agpl3;
40− maintainers = with maintainers; [ ma27 ];
40+ maintainers = with maintainers; [ ma27 elseym ];
4141 homepage = https://www.documize.com/;
4242 };
4343}
pkgs/servers/freeradius/default.nix+2−2
@@ -43,11 +43,11 @@ assert withRest -> curl != null && withJson;
4343with stdenv.lib;
4444stdenv.mkDerivation rec {
4545 name = "freeradius-${version}";
46− version = "3.0.17";
46+ version = "3.0.19";
4747
4848 src = fetchurl {
4949 url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
50− sha256 = "0bc35knv46z729l4h22rirqns5v6jb0fzcffnjayhs8wjysfkfyy";
50+ sha256 = "0v5b46rq878093ff549ijccy98md1l7l4rvshjxs672il0zvq5i4";
5151 };
5252
5353 nativeBuildInputs = [ autoreconfHook ];
pkgs/servers/jellyfin/default.nix+3−3
@@ -2,12 +2,12 @@
22
33stdenv.mkDerivation rec {
44 pname = "jellyfin";
5− version = "10.3.0";
5+ version = "10.3.1";
66
77 # Impossible to build anything offline with dotnet
88 src = fetchurl {
99 url = "https://github.com/jellyfin/jellyfin/releases/download/v${version}/jellyfin_${version}_portable.tar.gz";
10− sha256 = "1q9rvyza5zi1kqg9301zrd0fnxzdwknyagpjc9r1cpqfx3yasnkc";
10+ sha256 = "1j6jyrbc0ha348y63wk5jv9wjcjydma9cr3jxva1y85pjrmm7z90";
1111 };
1212
1313 buildInputs = [
@@ -37,6 +37,6 @@ stdenv.mkDerivation rec {
3737 description = "The Free Software Media System";
3838 homepage = https://jellyfin.github.io/;
3939 license = licenses.gpl2;
40− maintainers = with maintainers; [ nyanloutre ];
40+ maintainers = with maintainers; [ nyanloutre minijackson ];
4141 };
4242}
pkgs/servers/nextcloud/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "nextcloud-${version}";
5− version = "15.0.6";
5+ version = "15.0.7";
66
77 src = fetchurl {
88 url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
9− sha256 = "1k1c0wlrhdpkvwf7iq8yjxd8gqmmj7dyd913rqzrg9jbnvz5jc82";
9+ sha256 = "0jcxza0p1vc9dhf2mimvyy1j25nzv02srghdsp6108573yamhq9y";
1010 };
1111
1212 installPhase = ''
pkgs/servers/nosql/eventstore/create-deps.shnew file+34
@@ -0,0 +1,34 @@
1+# 1. create a log with `dotnet restore -v m MyPackage.sln > mypackage-restore.log
2+# 2. then call ./create-deps.sh mypackage-restore.log
3+
4+urlbase="https://www.nuget.org/api/v2/package"
5+cat << EOL
6+{ fetchurl }: let
7+
8+ fetchNuGet = { name, version, sha256 }: fetchurl {
9+ inherit sha256;
10+ url = "$urlbase/\${name}/\${version}";
11+ };
12+
13+in [
14+EOL
15+IFS=''
16+while read line; do
17+ if echo $line | grep -q "Installing "; then
18+ name=$(echo $line | sed -r 's/ Installing ([^ ]+) (.+)./\1/')
19+ version=$(echo $line | sed -r 's/ Installing ([^ ]+) (.+)./\2/')
20+ sha256=$(nix-prefetch-url "$urlbase/$name/$version" 2>/dev/null)
21+ cat << EOL
22+
23+ (fetchNuGet {
24+ name = "$name";
25+ version = "$version";
26+ sha256 = "$sha256";
27+ })
28+EOL
29+ fi
30+done < $1
31+cat << EOL
32+
33+]
34+EOL
pkgs/servers/nosql/eventstore/default.nix+58−25
@@ -1,43 +1,75 @@
1−{ stdenv, fetchFromGitHub, git, mono, v8, runtimeShell }:
1+{ stdenv
2+, fetchFromGitHub
3+, fetchurl
4+, makeWrapper
5+, dotnet-sdk
6+, mono
7+, Nuget
8+}:
29
3−# There are some similarities with the pinta derivation. We should
4−# have a helper to make it easy to package these Mono apps.
10+let
11+
12+ deps = import ./deps.nix { inherit fetchurl; };
13+
14+in
515
616stdenv.mkDerivation rec {
17+
718 name = "EventStore-${version}";
8− version = "4.1.1";
19+ version = "5.0.0";
20+
921 src = fetchFromGitHub {
10− owner = "EventStore";
11− repo = "EventStore";
12− rev = "oss-v${version}";
13− sha256 = "1069ncb9ps1wi71yw1fzkfd9rfsavccw8xj3a3miwd9x72w8636f";
22+ owner = "EventStore";
23+ repo = "EventStore";
24+ rev = "oss-v${version}";
25+ sha256 = "1qdnkaxiryyz8yhwqncmshsg8wi4v69dcxnvgvl4hn81zsj6fasw";
1426 };
1527
28+ buildInputs = [
29+ makeWrapper
30+ dotnet-sdk
31+ mono
32+ Nuget
33+ ];
34+
35+ # that dependency seems to not be required for building, but pulls in libcurl which fails to be located.
36+ # see: https://github.com/EventStore/EventStore/issues/1897
37+ patchPhase = ''
38+ for f in $(find . -iname "*.csproj"); do
39+ sed -i '/Include="Microsoft.SourceLink.GitHub"/d' $f
40+ done
41+ '';
42+
1643 buildPhase = ''
17− mkdir -p src/libs/x64/nixos
18− pushd src/EventStore.Projections.v8Integration
19− cc -o ../libs/x64/nixos/libjs1.so -fPIC -lv8 -shared -std=c++0x *.cpp
20− popd
44+ mkdir home
45+ export HOME=$PWD/home
46+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
47+ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
48+ export FrameworkPathOverride=${mono}/lib/mono/4.7.1-api
49+
50+ # disable default-source so nuget does not try to download from online-repo
51+ nuget sources Disable -Name "nuget.org"
52+ # add all dependencies to a source called 'nixos'
53+ for package in ${toString deps}; do
54+ nuget add $package -Source nixos
55+ done
2156
22− patchShebangs build.sh
23− ./build.sh ${version} release nixos
57+ dotnet restore --source nixos src/EventStore.sln
58+ dotnet build --no-restore -c Release src/EventStore.sln
2459 '';
2560
2661 installPhase = ''
27− mkdir -p $out/{bin,lib/eventstore/clusternode}
28− cp -r bin/clusternode/* $out/lib/eventstore/clusternode/
29− cat > $out/bin/clusternode << EOF
30− #!${runtimeShell}
31− exec ${mono}/bin/mono $out/lib/eventstore/clusternode/EventStore.ClusterNode.exe "\$@"
32− EOF
33− chmod +x $out/bin/clusternode
62+ mkdir -p $out/{bin,lib/eventstore}
63+ cp -r bin/Release/* $out/lib/eventstore
64+ makeWrapper "${mono}/bin/mono" $out/bin/eventstored \
65+ --add-flags "$out/lib/eventstore/EventStore.ClusterNode/net471/EventStore.ClusterNode.exe"
3466 '';
3567
36− nativeBuildInputs = [ git ];
37− buildInputs = [ v8 mono ];
68+ doCheck = true;
3869
39− phases = [ "unpackPhase" "buildPhase" "installPhase" ];
40− dontStrip = true;
70+ checkPhase = ''
71+ dotnet test src/EventStore.Projections.Core.Tests/EventStore.Projections.Core.Tests.csproj -- RunConfiguration.TargetPlatform=x64
72+ '';
4173
4274 meta = {
4375 homepage = https://geteventstore.com/;
@@ -46,4 +78,5 @@ stdenv.mkDerivation rec {
4678 maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
4779 platforms = [ "x86_64-linux" ];
4880 };
81+
4982}
pkgs/servers/nosql/eventstore/deps.nixnew file+532
@@ -0,0 +1,532 @@
1+{ fetchurl }: let
2+
3+ fetchNuGet = { name, version, sha256 }: fetchurl {
4+ inherit sha256;
5+ url = "https://www.nuget.org/api/v2/package/${name}/${version}";
6+ };
7+
8+in [
9+
10+ (fetchNuGet {
11+ name = "YamlDotNet";
12+ version = "5.2.1";
13+ sha256 = "0nb34qcdhs5qn4783idg28f2kr89vaiyjn4v2barhv7i75zhym6y";
14+ })
15+
16+ (fetchNuGet {
17+ name = "NLog";
18+ version = "4.5.10";
19+ sha256 = "0d4yqxrhqn2k36h3v1f5pn6qqlagbzg67v6gvxqhz3s4zyc3b8rg";
20+ })
21+
22+ (fetchNuGet {
23+ name = "Newtonsoft.Json";
24+ version = "11.0.2";
25+ sha256 = "1784xi44f4k8v1fr696hsccmwpy94bz7kixxqlri98zhcxn406b2";
26+ })
27+
28+ (fetchNuGet {
29+ name = "System.Threading.Tasks.Extensions";
30+ version = "4.3.0";
31+ sha256 = "1xxcx2xh8jin360yjwm4x4cf5y3a2bwpn2ygkfkwkicz7zk50s2z";
32+ })
33+
34+ (fetchNuGet {
35+ name = "Microsoft.CodeCoverage";
36+ version = "15.9.0";
37+ sha256 = "10v5xrdilnm362g9545qxvlrbwc9vn65jhpb1i0jlhyqsj6bfwzg";
38+ })
39+
40+ (fetchNuGet {
41+ name = "System.Text.Encoding.Extensions";
42+ version = "4.3.0";
43+ sha256 = "11q1y8hh5hrp5a3kw25cb6l00v5l5dvirkz8jr3sq00h1xgcgrxy";
44+ })
45+
46+ (fetchNuGet {
47+ name = "protobuf-net";
48+ version = "2.4.0";
49+ sha256 = "106lxm9afga7ihlknyy7mlfplyq40mrndksqrsn8ia2a47fbqqld";
50+ })
51+
52+ (fetchNuGet {
53+ name = "NUnit3TestAdapter";
54+ version = "3.10.0";
55+ sha256 = "0ahzfk9y2dq0wl91ll5hss89hqw7la85ndll5030nslizsgm5q2i";
56+ })
57+
58+ (fetchNuGet {
59+ name = "System.Security.Principal.Windows";
60+ version = "4.5.0";
61+ sha256 = "0rmj89wsl5yzwh0kqjgx45vzf694v9p92r4x4q6yxldk1cv1hi86";
62+ })
63+
64+ (fetchNuGet {
65+ name = "NUnit";
66+ version = "3.11.0";
67+ sha256 = "0mmc8snwjjmbkhk6cv5c0ha77czzy9bca4q59244rxciw9sxk1cz";
68+ })
69+
70+ (fetchNuGet {
71+ name = "System.Reflection.DispatchProxy";
72+ version = "4.5.0";
73+ sha256 = "0v9sg38h91aljvjyc77m1y5v34p50hjdbxvvxwa1whlajhafadcn";
74+ })
75+
76+ (fetchNuGet {
77+ name = "Microsoft.NET.Test.Sdk";
78+ version = "15.9.0";
79+ sha256 = "0g7wjgiigs4v8qa32g9ysqgx8bx55dzmbxfkc4ic95mpd1vkjqxw";
80+ })
81+
82+ (fetchNuGet {
83+ name = "Microsoft.NETCore.Platforms";
84+ version = "2.1.0";
85+ sha256 = "0nmdnkmwyxj8cp746hs9an57zspqlmqdm55b00i7yk8a22s6akxz";
86+ })
87+
88+ (fetchNuGet {
89+ name = "HdrHistogram";
90+ version = "2.5.0";
91+ sha256 = "1s2np7m3pp17rgambax9a3x5pd2grx74cr325q3xapjz2gd58sj1";
92+ })
93+
94+ (fetchNuGet {
95+ name = "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple";
96+ version = "4.3.0";
97+ sha256 = "10yc8jdrwgcl44b4g93f1ds76b176bajd3zqi2faf5rvh1vy9smi";
98+ })
99+
100+ (fetchNuGet {
101+ name = "System.Xml.XmlDocument";
102+ version = "4.3.0";
103+ sha256 = "0bmz1l06dihx52jxjr22dyv5mxv6pj4852lx68grjm7bivhrbfwi";
104+ })
105+
106+ (fetchNuGet {
107+ name = "System.Xml.ReaderWriter";
108+ version = "4.3.0";
109+ sha256 = "0c47yllxifzmh8gq6rq6l36zzvw4kjvlszkqa9wq3fr59n0hl3s1";
110+ })
111+
112+ (fetchNuGet {
113+ name = "System.Text.RegularExpressions";
114+ version = "4.3.0";
115+ sha256 = "1bgq51k7fwld0njylfn7qc5fmwrk2137gdq7djqdsw347paa9c2l";
116+ })
117+
118+ (fetchNuGet {
119+ name = "System.Reflection.Extensions";
120+ version = "4.3.0";
121+ sha256 = "02bly8bdc98gs22lqsfx9xicblszr2yan7v2mmw3g7hy6miq5hwq";
122+ })
123+
124+ (fetchNuGet {
125+ name = "System.Private.ServiceModel";
126+ version = "4.5.3";
127+ sha256 = "0nyw9m9dj327hn0qb0jmgwpch0f40jv301fk4mrchga8g99xbpng";
128+ })
129+
130+ (fetchNuGet {
131+ name = "System.Reflection.Emit.ILGeneration";
132+ version = "4.3.0";
133+ sha256 = "0w1n67glpv8241vnpz1kl14sy7zlnw414aqwj4hcx5nd86f6994q";
134+ })
135+
136+ (fetchNuGet {
137+ name = "System.Security.Cryptography.Csp";
138+ version = "4.3.0";
139+ sha256 = "1x5wcrddf2s3hb8j78cry7yalca4lb5vfnkrysagbn6r9x6xvrx1";
140+ })
141+
142+ (fetchNuGet {
143+ name = "System.Security.Cryptography.Cng";
144+ version = "4.3.0";
145+ sha256 = "1k468aswafdgf56ab6yrn7649kfqx2wm9aslywjam1hdmk5yypmv";
146+ })
147+
148+ (fetchNuGet {
149+ name = "System.Globalization.Calendars";
150+ version = "4.3.0";
151+ sha256 = "1xwl230bkakzzkrggy1l1lxmm3xlhk4bq2pkv790j5lm8g887lxq";
152+ })
153+
154+ (fetchNuGet {
155+ name = "System.Linq";
156+ version = "4.3.0";
157+ sha256 = "1w0gmba695rbr80l1k2h4mrwzbzsyfl2z4klmpbsvsg5pm4a56s7";
158+ })
159+
160+ (fetchNuGet {
161+ name = "Microsoft.Build.Tasks.Git";
162+ version = "1.0.0-beta-63127-02";
163+ sha256 = "10avjhp4vjbmix4rwacbw6cim2d4kbmz64q4n7r6zz94395l61b6";
164+ })
165+
166+ (fetchNuGet {
167+ name = "Microsoft.SourceLink.Common";
168+ version = "1.0.0-beta-63127-02";
169+ sha256 = "0y29xx3x9nd14n1sr8ycxhf6y1a83pv3sayfxjib8wi6s866lagb";
170+ })
171+
172+ (fetchNuGet {
173+ name = "Microsoft.SourceLink.GitHub";
174+ version = "1.0.0-beta-63127-02";
175+ sha256 = "1096d5n7mfvgm1apdmafjkxkqray6r2cw6zjhhxj2zn98836w1n2";
176+ })
177+
178+ (fetchNuGet {
179+ name = "System.Runtime.Numerics";
180+ version = "4.3.0";
181+ sha256 = "19rav39sr5dky7afygh309qamqqmi9kcwvz3i0c5700v0c5cg61z";
182+ })
183+
184+ (fetchNuGet {
185+ name = "runtime.native.System.Security.Cryptography.Apple";
186+ version = "4.3.0";
187+ sha256 = "1b61p6gw1m02cc1ry996fl49liiwky6181dzr873g9ds92zl326q";
188+ })
189+
190+ (fetchNuGet {
191+ name = "System.Reflection.Primitives";
192+ version = "4.3.0";
193+ sha256 = "04xqa33bld78yv5r93a8n76shvc8wwcdgr1qvvjh959g3rc31276";
194+ })
195+
196+ (fetchNuGet {
197+ name = "System.IO.FileSystem.Primitives";
198+ version = "4.3.0";
199+ sha256 = "0j6ndgglcf4brg2lz4wzsh1av1gh8xrzdsn9f0yznskhqn1xzj9c";
200+ })
201+
202+ (fetchNuGet {
203+ name = "NETStandard.Library";
204+ version = "2.0.3";
205+ sha256 = "1fn9fxppfcg4jgypp2pmrpr6awl3qz1xmnri0cygpkwvyx27df1y";
206+ })
207+
208+ (fetchNuGet {
209+ name = "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl";
210+ version = "4.3.2";
211+ sha256 = "1x0g58pbpjrmj2x2qw17rdwwnrcl0wvim2hdwz48lixvwvp22n9c";
212+ })
213+
214+ (fetchNuGet {
215+ name = "System.Net.Requests";
216+ version = "4.3.0";
217+ sha256 = "0pcznmwqqk0qzp0gf4g4xw7arhb0q8v9cbzh3v8h8qp6rjcr339a";
218+ })
219+
220+ (fetchNuGet {
221+ name = "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl";
222+ version = "4.3.2";
223+ sha256 = "0q0n5q1r1wnqmr5i5idsrd9ywl33k0js4pngkwq9p368mbxp8x1w";
224+ })
225+
226+ (fetchNuGet {
227+ name = "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl";
228+ version = "4.3.2";
229+ sha256 = "15gsm1a8jdmgmf8j5v1slfz8ks124nfdhk2vxs2rw3asrxalg8hi";
230+ })
231+
232+ (fetchNuGet {
233+ name = "System.Net.Http";
234+ version = "4.3.4";
235+ sha256 = "0kdp31b8819v88l719j6my0yas6myv9d1viql3qz5577mv819jhl";
236+ })
237+
238+ (fetchNuGet {
239+ name = "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl";
240+ version = "4.3.2";
241+ sha256 = "1cpx56mcfxz7cpn57wvj18sjisvzq8b5vd9rw16ihd2i6mcp3wa1";
242+ })
243+
244+ (fetchNuGet {
245+ name = "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl";
246+ version = "4.3.2";
247+ sha256 = "1m9z1k9kzva9n9kwinqxl97x2vgl79qhqjlv17k9s2ymcyv2bwr6";
248+ })
249+
250+ (fetchNuGet {
251+ name = "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl";
252+ version = "4.3.2";
253+ sha256 = "1dm8fifl7rf1gy7lnwln78ch4rw54g0pl5g1c189vawavll7p6rj";
254+ })
255+
256+ (fetchNuGet {
257+ name = "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl";
258+ version = "4.3.2";
259+ sha256 = "096ch4n4s8k82xga80lfmpimpzahd2ip1mgwdqgar0ywbbl6x438";
260+ })
261+
262+ (fetchNuGet {
263+ name = "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl";
264+ version = "4.3.2";
265+ sha256 = "0404wqrc7f2yc0wxv71y3nnybvqx8v4j9d47hlscxy759a525mc3";
266+ })
267+
268+ (fetchNuGet {
269+ name = "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl";
270+ version = "4.3.2";
271+ sha256 = "1n06gxwlinhs0w7s8a94r1q3lwqzvynxwd3mp10ws9bg6gck8n4r";
272+ })
273+
274+ (fetchNuGet {
275+ name = "System.Net.Security";
276+ version = "4.3.2";
277+ sha256 = "1aw1ca1vssqrillrh4qkarx0lxwc8wcaqdkfdima8376wb98j2q8";
278+ })
279+
280+ (fetchNuGet {
281+ name = "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl";
282+ version = "4.3.2";
283+ sha256 = "0rwpqngkqiapqc5c2cpkj7idhngrgss5qpnqg0yh40mbyflcxf8i";
284+ })
285+
286+ (fetchNuGet {
287+ name = "Microsoft.NETCore.Platforms";
288+ version = "1.1.0";
289+ sha256 = "08vh1r12g6ykjygq5d3vq09zylgb84l63k49jc4v8faw9g93iqqm";
290+ })
291+
292+ (fetchNuGet {
293+ name = "System.Reflection";
294+ version = "4.3.0";
295+ sha256 = "0xl55k0mw8cd8ra6dxzh974nxif58s3k1rjv1vbd7gjbjr39j11m";
296+ })
297+
298+ (fetchNuGet {
299+ name = "System.Collections";
300+ version = "4.3.0";
301+ sha256 = "19r4y64dqyrq6k4706dnyhhw7fs24kpp3awak7whzss39dakpxk9";
302+ })
303+
304+ (fetchNuGet {
305+ name = "System.Diagnostics.Debug";
306+ version = "4.3.0";
307+ sha256 = "00yjlf19wjydyr6cfviaph3vsjzg3d5nvnya26i2fvfg53sknh3y";
308+ })
309+
310+ (fetchNuGet {
311+ name = "System.Diagnostics.Tracing";
312+ version = "4.3.0";
313+ sha256 = "1m3bx6c2s958qligl67q7grkwfz3w53hpy7nc97mh6f7j5k168c4";
314+ })
315+
316+ (fetchNuGet {
317+ name = "System.Globalization";
318+ version = "4.3.0";
319+ sha256 = "1cp68vv683n6ic2zqh2s1fn4c2sd87g5hpp6l4d4nj4536jz98ki";
320+ })
321+
322+ (fetchNuGet {
323+ name = "Microsoft.NETCore.Targets";
324+ version = "1.1.0";
325+ sha256 = "193xwf33fbm0ni3idxzbr5fdq3i2dlfgihsac9jj7whj0gd902nh";
326+ })
327+
328+ (fetchNuGet {
329+ name = "System.Threading.ThreadPool";
330+ version = "4.3.0";
331+ sha256 = "027s1f4sbx0y1xqw2irqn6x161lzj8qwvnh2gn78ciiczdv10vf1";
332+ })
333+
334+ (fetchNuGet {
335+ name = "System.IO";
336+ version = "4.3.0";
337+ sha256 = "05l9qdrzhm4s5dixmx68kxwif4l99ll5gqmh7rqgw554fx0agv5f";
338+ })
339+
340+ (fetchNuGet {
341+ name = "System.Security.Principal";
342+ version = "4.3.0";
343+ sha256 = "12cm2zws06z4lfc4dn31iqv7072zyi4m910d4r6wm8yx85arsfxf";
344+ })
345+
346+ (fetchNuGet {
347+ name = "System.Net.Primitives";
348+ version = "4.3.0";
349+ sha256 = "0c87k50rmdgmxx7df2khd9qj7q35j9rzdmm2572cc55dygmdk3ii";
350+ })
351+
352+ (fetchNuGet {
353+ name = "System.Net.WebHeaderCollection";
354+ version = "4.3.0";
355+ sha256 = "0ms3ddjv1wn8sqa5qchm245f3vzzif6l6fx5k92klqpn7zf4z562";
356+ })
357+
358+ (fetchNuGet {
359+ name = "System.Security.Claims";
360+ version = "4.3.0";
361+ sha256 = "0jvfn7j22l3mm28qjy3rcw287y9h65ha4m940waaxah07jnbzrhn";
362+ })
363+
364+ (fetchNuGet {
365+ name = "System.Resources.ResourceManager";
366+ version = "4.3.0";
367+ sha256 = "0sjqlzsryb0mg4y4xzf35xi523s4is4hz9q4qgdvlvgivl7qxn49";
368+ })
369+
370+ (fetchNuGet {
371+ name = "System.Collections.Concurrent";
372+ version = "4.3.0";
373+ sha256 = "0wi10md9aq33jrkh2c24wr2n9hrpyamsdhsxdcnf43b7y86kkii8";
374+ })
375+
376+ (fetchNuGet {
377+ name = "System.Runtime";
378+ version = "4.3.0";
379+ sha256 = "066ixvgbf2c929kgknshcxqj6539ax7b9m570cp8n179cpfkapz7";
380+ })
381+
382+ (fetchNuGet {
383+ name = "System.Threading";
384+ version = "4.3.0";
385+ sha256 = "0rw9wfamvhayp5zh3j7p1yfmx9b5khbf4q50d8k5rk993rskfd34";
386+ })
387+
388+ (fetchNuGet {
389+ name = "System.Threading.Tasks";
390+ version = "4.3.0";
391+ sha256 = "134z3v9abw3a6jsw17xl3f6hqjpak5l682k2vz39spj4kmydg6k7";
392+ })
393+
394+ (fetchNuGet {
395+ name = "Microsoft.NETCore.Platforms";
396+ version = "1.1.1";
397+ sha256 = "164wycgng4mi9zqi2pnsf1pq6gccbqvw6ib916mqizgjmd8f44pj";
398+ })
399+
400+ (fetchNuGet {
401+ name = "runtime.native.System";
402+ version = "4.3.0";
403+ sha256 = "15hgf6zaq9b8br2wi1i3x0zvmk410nlmsmva9p0bbg73v6hml5k4";
404+ })
405+
406+ (fetchNuGet {
407+ name = "runtime.native.System.Net.Http";
408+ version = "4.3.0";
409+ sha256 = "1n6rgz5132lcibbch1qlf0g9jk60r0kqv087hxc0lisy50zpm7kk";
410+ })
411+
412+ (fetchNuGet {
413+ name = "runtime.native.System.Net.Security";
414+ version = "4.3.0";
415+ sha256 = "0dnqjhw445ay3chpia9p6vy4w2j6s9vy3hxszqvdanpvvyaxijr3";
416+ })
417+
418+ (fetchNuGet {
419+ name = "runtime.native.System.Security.Cryptography.OpenSsl";
420+ version = "4.3.2";
421+ sha256 = "0zy5r25jppz48i2bkg8b9lfig24xixg6nm3xyr1379zdnqnpm8f6";
422+ })
423+
424+ (fetchNuGet {
425+ name = "Microsoft.Win32.Primitives";
426+ version = "4.3.0";
427+ sha256 = "0j0c1wj4ndj21zsgivsc24whiya605603kxrbiw6wkfdync464wq";
428+ })
429+
430+ (fetchNuGet {
431+ name = "System.Diagnostics.DiagnosticSource";
432+ version = "4.3.0";
433+ sha256 = "0z6m3pbiy0qw6rn3n209rrzf9x1k4002zh90vwcrsym09ipm2liq";
434+ })
435+
436+ (fetchNuGet {
437+ name = "System.Xml.XmlSerializer";
438+ version = "4.3.0";
439+ sha256 = "07pa4sx196vxkgl3csvdmw94nydlsm9ir38xxcs84qjn8cycd912";
440+ })
441+
442+ (fetchNuGet {
443+ name = "System.Globalization.Extensions";
444+ version = "4.3.0";
445+ sha256 = "02a5zfxavhv3jd437bsncbhd2fp1zv4gxzakp1an9l6kdq1mcqls";
446+ })
447+
448+ (fetchNuGet {
449+ name = "System.IO.FileSystem";
450+ version = "4.3.0";
451+ sha256 = "0z2dfrbra9i6y16mm9v1v6k47f0fm617vlb7s5iybjjsz6g1ilmw";
452+ })
453+
454+ (fetchNuGet {
455+ name = "System.Runtime.Extensions";
456+ version = "4.3.0";
457+ sha256 = "1ykp3dnhwvm48nap8q23893hagf665k0kn3cbgsqpwzbijdcgc60";
458+ })
459+
460+ (fetchNuGet {
461+ name = "System.Runtime.Handles";
462+ version = "4.3.0";
463+ sha256 = "0sw2gfj2xr7sw9qjn0j3l9yw07x73lcs97p8xfc9w1x9h5g5m7i8";
464+ })
465+
466+ (fetchNuGet {
467+ name = "System.Runtime.InteropServices";
468+ version = "4.3.0";
469+ sha256 = "00hywrn4g7hva1b2qri2s6rabzwgxnbpw9zfxmz28z09cpwwgh7j";
470+ })
471+
472+ (fetchNuGet {
473+ name = "System.Security.Cryptography.Algorithms";
474+ version = "4.3.0";
475+ sha256 = "03sq183pfl5kp7gkvq77myv7kbpdnq3y0xj7vi4q1kaw54sny0ml";
476+ })
477+
478+ (fetchNuGet {
479+ name = "System.Security.Cryptography.Encoding";
480+ version = "4.3.0";
481+ sha256 = "1jr6w70igqn07k5zs1ph6xja97hxnb3mqbspdrff6cvssgrixs32";
482+ })
483+
484+ (fetchNuGet {
485+ name = "System.ServiceModel.Primitives";
486+ version = "4.5.3";
487+ sha256 = "1v90pci049cn44y0km885k1vrilhb34w6q2zva4y6f3ay84klrih";
488+ })
489+
490+ (fetchNuGet {
491+ name = "System.Security.Cryptography.OpenSsl";
492+ version = "4.3.0";
493+ sha256 = "0givpvvj8yc7gv4lhb6s1prq6p2c4147204a0wib89inqzd87gqc";
494+ })
495+
496+ (fetchNuGet {
497+ name = "System.Security.Cryptography.Primitives";
498+ version = "4.3.0";
499+ sha256 = "0pyzncsv48zwly3lw4f2dayqswcfvdwq2nz0dgwmi7fj3pn64wby";
500+ })
501+
502+ (fetchNuGet {
503+ name = "System.Security.Cryptography.X509Certificates";
504+ version = "4.3.0";
505+ sha256 = "0valjcz5wksbvijylxijjxb1mp38mdhv03r533vnx1q3ikzdav9h";
506+ })
507+
508+ (fetchNuGet {
509+ name = "System.Text.Encoding";
510+ version = "4.3.0";
511+ sha256 = "1f04lkir4iladpp51sdgmis9dj4y8v08cka0mbmsy0frc9a4gjqr";
512+ })
513+
514+ (fetchNuGet {
515+ name = "System.Reflection.Emit";
516+ version = "4.3.0";
517+ sha256 = "11f8y3qfysfcrscjpjym9msk7lsfxkk4fmz9qq95kn3jd0769f74";
518+ })
519+
520+ (fetchNuGet {
521+ name = "System.Reflection.TypeExtensions";
522+ version = "4.4.0";
523+ sha256 = "0n9r1w4lp2zmadyqkgp4sk9wy90sj4ygq4dh7kzamx26i9biys5h";
524+ })
525+
526+ (fetchNuGet {
527+ name = "System.Reflection.Emit.Lightweight";
528+ version = "4.3.0";
529+ sha256 = "0ql7lcakycrvzgi9kxz1b3lljd990az1x6c4jsiwcacrvimpib5c";
530+ })
531+
532+]
pkgs/tools/X11/xlayoutdisplay/default.nix+6−4
@@ -1,14 +1,14 @@
11{ stdenv, fetchFromGitHub, xorg, boost, cmake, gtest }:
22
33stdenv.mkDerivation rec {
4− name = "xlayoutdisplay-${version}";
5− version = "1.0.2";
4+ pname = "xlayoutdisplay";
5+ version = "1.1.0";
66
77 src = fetchFromGitHub {
88 owner = "alex-courtis";
9− repo = "xlayoutdisplay";
9+ repo = pname;
1010 rev = "v${version}";
11− sha256 = "1cqn98lpx9rkfhavbqalaaljw351hvqsrszgqnwvcyq05vq26dwx";
11+ sha256 = "0wm6a48ym0wn2w0872mfq40ghajfrg1bccj1g342w899qh5x3bc4";
1212 };
1313
1414 nativeBuildInputs = [ cmake ];
@@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
2323 --replace 'fprintf(lidStateFile, contents);' \
2424 'fputs(contents, lidStateFile);'
2525
26+ substituteInPlace CMakeLists.txt --replace "set(Boost_USE_STATIC_LIBS ON)" ""
2627 '';
2728
2829 meta = with stdenv.lib; {
@@ -30,5 +31,6 @@ stdenv.mkDerivation rec {
3031 homepage = https://github.com/alex-courtis/xlayoutdisplay;
3132 maintainers = with maintainers; [ dtzWill ];
3233 license = licenses.asl20;
34+ platforms = platforms.linux;
3335 };
3436}
pkgs/tools/admin/acme.sh/default.nix+9−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchFromGitHub, makeWrapper, curl, openssl, socat, iproute }:
1+{ stdenv, lib, fetchFromGitHub, makeWrapper, curl, openssl, socat, iproute, unixtools }:
22stdenv.mkDerivation rec {
33 name = "acme.sh-${version}";
44 version = "2.8.0";
@@ -16,7 +16,14 @@ stdenv.mkDerivation rec {
1616 mkdir -p $out $out/bin $out/libexec
1717 cp -R $src/* $_
1818 makeWrapper $out/libexec/acme.sh $out/bin/acme.sh \
19− --prefix PATH : "${lib.makeBinPath [ socat openssl curl iproute ]}"
19+ --prefix PATH : "${
20+ lib.makeBinPath [
21+ socat
22+ openssl
23+ curl
24+ (if stdenv.isLinux then iproute else unixtools.netstat)
25+ ]
26+ }"
2027 '';
2128
2229 meta = with stdenv.lib; {
pkgs/tools/backup/dedup/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchurl, lz4, snappy, openmp }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "dedup";
5+ version = "1.0";
6+
7+ src = fetchurl {
8+ url = "https://dl.2f30.org/releases/${pname}-${version}.tar.gz";
9+ sha256 = "0wd4cnzhqk8l7byp1y16slma6r3i1qglwicwmxirhwdy1m7j5ijy";
10+ };
11+
12+ makeFlags = [
13+ "CC:=$(CC)"
14+ "PREFIX=${placeholder "out"}"
15+ "MANPREFIX=${placeholder "out"}/share/man"
16+ # These are likely wrong on some platforms, please report!
17+ "OPENMPCFLAGS=-fopenmp"
18+ "OPENMPLDLIBS=-lgomp"
19+ ];
20+
21+ buildInputs = [ lz4 snappy openmp ];
22+
23+ meta = with stdenv.lib; {
24+ description = "data deduplication program";
25+ homepage = https://git.2f30.org/dedup/file/README.html;
26+ license = with licenses; [ bsd0 isc ];
27+ maintainers = with maintainers; [ dtzWill ];
28+ };
29+}
pkgs/tools/filesystems/mergerfs/default.nix+4
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
2525
2626 makeFlags = [ "PREFIX=$(out)" "XATTR_AVAILABLE=1" ];
2727
28+ postFixup = ''
29+ ln -s $out/bin/mergerfs $out/bin/mount.fuse.mergerfs
30+ '';
31+
2832 meta = {
2933 description = "A FUSE based union filesystem";
3034 homepage = https://github.com/trapexit/mergerfs;
pkgs/tools/graphics/argyllcms/default.nix+2−2
@@ -2,7 +2,7 @@
22, libXrender, libXext, libtiff, libjpeg, libpng, libXScrnSaver, writeText
33, libXdmcp, libXau, lib, openssl }:
44let
5− version = "2.0.1";
5+ version = "2.1.0";
66 in
77stdenv.mkDerivation rec {
88 name = "argyllcms-${version}";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a
1212 # while on me. It might be good to find a mirror
1313 url = "https://www.argyllcms.com/Argyll_V${version}_src.zip";
14− sha256 = "0a7m5mwvy74db34hvqsgy296469x3139qj5gfj4zqpnz0iyxhkny";
14+ sha256 = "02zxy6ipp84hrd1p5nspp3f9dzphr0qwlq8s557jn746cf866bv3";
1515
1616 # The argyllcms web server doesn't like curl ...
1717 curlOpts = "--user-agent 'Mozilla/5.0'";
pkgs/tools/misc/pazi/cargo-lock.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/Cargo.lock b/Cargo.lock
2+index 074b0ca..22f3bc5 100644
3+--- a/Cargo.lock
4++++ b/Cargo.lock
5+@@ -286,7 +286,7 @@ dependencies = [
6+
7+ [[package]]
8+ name = "pazi"
9+-version = "0.1.0"
10++version = "0.2.0"
11+ dependencies = [
12+ "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
13+ "crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
pkgs/tools/misc/pazi/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, rustPlatform }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "pazi";
5+ version = "0.2.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "euank";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "12z2vyzmyxfq1krbbrjar7c2gvyq1969v16pb2pm7f4g4k24g0c8";
12+ };
13+
14+ cargoSha256 = "0mgjl5vazk5z1859lb2va9af9yivz47jw4b01rjr4mq67v9jfld1";
15+
16+ cargoPatches = [ ./cargo-lock.patch ];
17+
18+ meta = with stdenv.lib; {
19+ description = "An autojump \"zap to directory\" helper";
20+ homepage = https://github.com/euank/pazi;
21+ license = licenses.gpl3;
22+ maintainers = with maintainers; [ bbigras ];
23+ };
24+}
pkgs/tools/misc/staruml/default.nix+3−5
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, makeWrapper
22, dpkg, patchelf
33, gtk2, glib, gdk_pixbuf, alsaLib, nss, nspr, GConf, cups, libgcrypt, dbus, systemd
4−, libXdamage }:
4+, libXdamage, expat }:
55
66let
77 inherit (stdenv) lib;
88 LD_LIBRARY_PATH = lib.makeLibraryPath
9− [ glib gtk2 gdk_pixbuf alsaLib nss nspr GConf cups libgcrypt dbus libXdamage ];
9+ [ glib gtk2 gdk_pixbuf alsaLib nss nspr GConf cups libgcrypt dbus libXdamage expat ];
1010in
1111stdenv.mkDerivation rec {
1212 version = "2.8.1";
@@ -21,9 +21,7 @@ stdenv.mkDerivation rec {
2121 sha256 = "05gzrnlssjkhyh0wv019d4r7p40lxnsa1sghazll6f233yrqmxb0";
2222 };
2323
24− buildInputs = [ dpkg ];
25−
26− nativeBuildInputs = [ makeWrapper ];
24+ nativeBuildInputs = [ makeWrapper dpkg ];
2725
2826 unpackPhase = ''
2927 mkdir pkg
pkgs/tools/misc/yad/default.nix+25−17
@@ -1,31 +1,40 @@
1−{ stdenv, fetchurl, pkgconfig, intltool, gtk2, hicolor-icon-theme
2−, wrapGAppsHook }:
1+{ stdenv, fetchFromGitHub, pkgconfig, intltool, autoreconfHook, wrapGAppsHook
2+, gtk3, hicolor-icon-theme, netpbm }:
33
44stdenv.mkDerivation rec {
5− name = "yad-0.40.0";
6−
7− src = fetchurl {
8− url = "mirror://sourceforge/yad-dialog/files/${name}.tar.xz";
9− sha256 = "1x0fsv8nfkm8lchdawnf3zw79jaqbnvhv87sk5r8g86knv8vgl62";
5+ pname = "yad";
6+ version = "0.42.0";
7+
8+ src = fetchFromGitHub {
9+ owner = "v1cont";
10+ repo = "yad";
11+ rev = "v${version}";
12+ sha256 = "0ym8pgbzx7ydk5rmi2kwwdyzi6pdpcps86i0c20cqcjmqh8kdl36";
1013 };
1114
1215 configureFlags = [
1316 "--enable-icon-browser"
17+ "--with-gtk=gtk3"
18+ "--with-rgb=${placeholder "out"}/share/yad/rgb.txt"
1419 ];
1520
16− # for gcc5: c11 inline semantics breaks the build
17− NIX_CFLAGS_COMPILE = "-fgnu89-inline";
18−
19− buildInputs = [ gtk2 hicolor-icon-theme ];
21+ buildInputs = [ gtk3 hicolor-icon-theme ];
2022
21− nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
23+ nativeBuildInputs = [ autoreconfHook pkgconfig intltool wrapGAppsHook ];
2224
2325 postPatch = ''
2426 sed -i src/file.c -e '21i#include <glib/gprintf.h>'
2527 sed -i src/form.c -e '21i#include <stdlib.h>'
28+
29+ # there is no point to bring in the whole netpbm package just for this file
30+ install -Dm644 ${netpbm}/share/netpbm/misc/rgb.txt $out/share/yad/rgb.txt
2631 '';
2732
28− meta = {
33+ postAutoreconf = ''
34+ intltoolize
35+ '';
36+
37+ meta = with stdenv.lib; {
2938 homepage = https://sourceforge.net/projects/yad-dialog/;
3039 description = "GUI dialog tool for shell scripts";
3140 longDescription = ''
@@ -34,9 +43,8 @@ stdenv.mkDerivation rec {
3443 dialogs, pop-up menu in notification icon and more.
3544 '';
3645
37− platforms = with stdenv.lib.platforms; linux;
38− maintainers = with stdenv.lib.maintainers; [ smironov ];
39− license = stdenv.lib.licenses.gpl3;
46+ license = licenses.gpl3;
47+ maintainers = with maintainers; [ smironov ];
48+ platforms = with platforms; linux;
4049 };
4150}
42−
pkgs/tools/misc/z-lua/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub, lua }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "z-lua";
5+ version = "1.7.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "skywind3000";
9+ repo = "z.lua";
10+ rev = "v${version}";
11+ sha256 = "1f8iafv81xsypa78prazq6k2xz8az09kjhl97vn330drxkcpj7i7";
12+ };
13+
14+ dontBuild = true;
15+
16+ buildInputs = [ lua ];
17+
18+ installPhase = ''
19+ install -Dm755 z.lua $out/bin/z
20+ '';
21+
22+ meta = with stdenv.lib; {
23+ homepage = https://github.com/skywind3000/z.lua;
24+ description = "A new cd command that helps you navigate faster by learning your habits";
25+ license = licenses.mit;
26+ maintainers = [ maintainers.marsam ];
27+ };
28+}
pkgs/tools/networking/dd-agent/README.md+13−4
@@ -1,8 +1,17 @@
1−To update v6 (v5 is deprecated and should be removed):
1+To update datadog-agent v6 (v5 is deprecated and should be removed):
22
3−1. Bump `version`, `rev`, `sha256` and `payloadVersion` in `6.nix`
3+1. Bump `version`, `rev`, `sha256` and `payloadVersion` in `datadog-agent.nix`
442. `git clone https://github.com/DataDog/datadog-agent.git && cd datadog-agent`
553. `git checkout <tag>`
664. `nix-env -i -f https://github.com/nixcloud/dep2nix/archive/master.tar.gz`
7−5. `deps2nix`
8−6. `cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/deps.nix`
7+5. `dep2nix`
8+6. `cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-agent-deps.nix`
9+
10+To update datadog-process-agent:
11+
12+1. Bump `version`, `rev` and `sha256` in `datadog-process-agent.nix`
13+2. `git clone https://github.com/DataDog/datadog-process-agent.git && cd datadog-process-agent`
14+3. `git checkout <tag>`
15+4. `nix-env -i -f https://github.com/nixcloud/dep2nix/archive/master.tar.gz`
16+5. `dep2nix`
17+6. `cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix`
pkgs/tools/networking/dd-agent/deps.nix → pkgs/tools/networking/dd-agent/datadog-agent-deps.nixrenamed+8−26
@@ -32,8 +32,8 @@
3232 fetch = {
3333 type = "git";
3434 url = "https://github.com/DataDog/gohai";
35− rev = "bc98f936c76570e79c1c7e739425ff22ab2ee4a3";
36− sha256 = "1r59b6qpjnv399hm6pqfklm47hapkjwy9cp92frb3mhfz0wf9djl";
35+ rev = "43b075bb9705588cd89c71363d6d72937e3020c7";
36+ sha256 = "195z5g8gdxcx4cq51p2xqha3j8m7mk5d5lr6i3hbaxp948hgc8dh";
3737 };
3838 }
3939 {
@@ -50,8 +50,8 @@
5050 fetch = {
5151 type = "git";
5252 url = "https://github.com/DataDog/viper";
53− rev = "23ced3bc6b3751855704445e48da2c53075ade86";
54− sha256 = "1zzf4mqpmk47p3395k2v8q6wi7lnqxr0l55vv4zk9gpqqyifbm9m";
53+ rev = "v1.5.0";
54+ sha256 = "1sv0xvmfaif7zpfwk0j6qf11hxnfdsb2zfj63b9zx7l0zzhjzh06";
5555 };
5656 }
5757 {
@@ -396,15 +396,6 @@
396396 sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
397397 };
398398 }
399− {
400− goPackagePath = "github.com/geoffgarside/ber";
401− fetch = {
402− type = "git";
403− url = "https://github.com/geoffgarside/ber";
404− rev = "0b763e6b6fb1cb7422c29cd9195a3abf625651fb";
405− sha256 = "04k9k6805mvgp6gxs53frvlpp45hvkvrpj1jl1hc27ldwv5gpjrk";
406− };
407− }
408399 {
409400 goPackagePath = "github.com/ghodss/yaml";
410401 fetch = {
@@ -684,15 +675,6 @@
684675 sha256 = "11wn4hpmrs8bmpvd93wqk49jfbbgylakhi35f9k5qd7jd479ci4s";
685676 };
686677 }
687− {
688− goPackagePath = "github.com/k-sone/snmpgo";
689− fetch = {
690− type = "git";
691− url = "https://github.com/k-sone/snmpgo";
692− rev = "de09377ff34857b08afdc16ea8c7c2929eb1fc6e";
693− sha256 = "0fia82msxviawcp5w4j4ll9n7z3gfjjvigqcq0d94cshj9ras10j";
694− };
695− }
696678 {
697679 goPackagePath = "github.com/kardianos/osext";
698680 fetch = {
@@ -1057,9 +1039,9 @@
10571039 goPackagePath = "github.com/spf13/cast";
10581040 fetch = {
10591041 type = "git";
1060− url = "https://github.com/spf13/cast";
1061− rev = "8965335b8c7107321228e3e3702cab9832751bac";
1062− sha256 = "177bk7lq40jbgv9p9r80aydpaccfk8ja3a7jjhfwiwk9r1pa4rr2";
1042+ url = "https://github.com/DataDog/cast";
1043+ rev = "1ee8c8bd14a3d768a7ff681617ed56bc6c204940";
1044+ sha256 = "0sgqmhicy672250cxgqd8zlni3qlj57r8liyiaq15g9spyhflhl0";
10631045 };
10641046 }
10651047 {
@@ -1368,4 +1350,4 @@
13681350 sha256 = "1wpqijsvf8s4iqjrrzgbxi3gay6vaglscyq14vxma4iacg8fx1jk";
13691351 };
13701352 }
1371−]
1353+]
pkgs/tools/networking/dd-agent/6.nix → pkgs/tools/networking/dd-agent/datadog-agent.nixrenamed+3−3
@@ -6,14 +6,14 @@ let
66
77in buildGoPackage rec {
88 name = "datadog-agent-${version}";
9− version = "6.10.1";
9+ version = "6.11.0";
1010 owner = "DataDog";
1111 repo = "datadog-agent";
1212
1313 src = fetchFromGitHub {
1414 inherit owner repo;
1515 rev = "${version}";
16− sha256 = "1yxwlf0kwjhadq6f1p9z100d363x1s1xzni3rw42m08mzx9fr469";
16+ sha256 = "1gvawsrm3qlrciahnqa9793hwm586jiccmnz1pp0z889508wbg07";
1717 };
1818
1919 subPackages = [
@@ -23,7 +23,7 @@ in buildGoPackage rec {
2323 "cmd/py-launcher"
2424 "cmd/trace-agent"
2525 ];
26− goDeps = ./deps.nix;
26+ goDeps = ./datadog-agent-deps.nix;
2727 goPackagePath = "github.com/${owner}/${repo}";
2828
2929 # Explicitly set this here to allow it to be overridden.
pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix+7−7
@@ -23,8 +23,8 @@
2323 fetch = {
2424 type = "git";
2525 url = "https://github.com/DataDog/datadog-agent";
26− rev = "4aa90bd394b62b0d3e3f15703c6e459c1c477fbc";
27− sha256 = "13zvg8ykakq97bw0kd2gj4s9gfjpx23d3c51w1jpa1raqwhgqi8z";
26+ rev = "d7712d570b91f4f97af9f155ad1c676921d8325d";
27+ sha256 = "1gi921z79la4hjhm8xhl4jz167200qljvhhsy4blj4vinkgfpm8w";
2828 };
2929 }
3030 {
@@ -41,8 +41,8 @@
4141 fetch = {
4242 type = "git";
4343 url = "https://github.com/DataDog/gopsutil";
44− rev = "c8f74f1344dd41bc49ec4d3c2377c526aaedfd20";
45− sha256 = "0r8al83apxrq1v6s2mq0p8h3c4z4n5g7ax8vcvs70pq0czy2fvgp";
44+ rev = "233cd0cf42c26d835ed6f0e46f2103432a88b526";
45+ sha256 = "0rvxs1jjzv3j834dns28zr25bznarjmpgdy0z6gpimnq5nyicys5";
4646 };
4747 }
4848 {
@@ -50,8 +50,8 @@
5050 fetch = {
5151 type = "git";
5252 url = "https://github.com/DataDog/viper";
53− rev = "23ced3bc6b3751855704445e48da2c53075ade86";
54− sha256 = "1zzf4mqpmk47p3395k2v8q6wi7lnqxr0l55vv4zk9gpqqyifbm9m";
53+ rev = "v1.5.0";
54+ sha256 = "1sv0xvmfaif7zpfwk0j6qf11hxnfdsb2zfj63b9zx7l0zzhjzh06";
5555 };
5656 }
5757 {
@@ -666,4 +666,4 @@
666666 sha256 = "0bcsb7s4wlmrja35zvz4s10cf3w7dfn2ckjv6apxd1ykdjxnsk71";
667667 };
668668 }
669−]
669+]
pkgs/tools/networking/dd-agent/datadog-process-agent.nix+2−2
@@ -2,14 +2,14 @@
22
33buildGoPackage rec {
44 name = "datadog-process-agent-${version}";
5− version = "6.10.0";
5+ version = "6.11.0";
66 owner = "DataDog";
77 repo = "datadog-process-agent";
88
99 src = fetchFromGitHub {
1010 inherit owner repo;
1111 rev = "${version}";
12− sha256 = "16lr1gp6n0aph8zikk5kmaib9i5b1jbndxlxfi84bd9f8lhvmkhk";
12+ sha256 = "1max3gp1isb30fjy55bkp9dsd8al31a968pmnr1h8wg2pycvgyif";
1313 };
1414
1515 goDeps = ./datadog-process-agent-deps.nix;
pkgs/tools/networking/httplz/cargo-lock.patchnew file+1211
@@ -0,0 +1,1211 @@
1+diff --git a/Cargo.lock b/Cargo.lock
2+new file mode 100644
3+index 0000000..ff2d50d
4+--- /dev/null
5++++ b/Cargo.lock
6+@@ -0,0 +1,1205 @@
7++[[package]]
8++name = "adler32"
9++version = "1.0.3"
10++source = "registry+https://github.com/rust-lang/crates.io-index"
11++
12++[[package]]
13++name = "aho-corasick"
14++version = "0.7.3"
15++source = "registry+https://github.com/rust-lang/crates.io-index"
16++dependencies = [
17++ "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
18++]
19++
20++[[package]]
21++name = "ansi_term"
22++version = "0.11.0"
23++source = "registry+https://github.com/rust-lang/crates.io-index"
24++dependencies = [
25++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
26++]
27++
28++[[package]]
29++name = "antidote"
30++version = "1.0.0"
31++source = "registry+https://github.com/rust-lang/crates.io-index"
32++
33++[[package]]
34++name = "atty"
35++version = "0.2.11"
36++source = "registry+https://github.com/rust-lang/crates.io-index"
37++dependencies = [
38++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
39++ "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
40++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
41++]
42++
43++[[package]]
44++name = "autocfg"
45++version = "0.1.2"
46++source = "registry+https://github.com/rust-lang/crates.io-index"
47++
48++[[package]]
49++name = "base64"
50++version = "0.9.3"
51++source = "registry+https://github.com/rust-lang/crates.io-index"
52++dependencies = [
53++ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
54++ "safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
55++]
56++
57++[[package]]
58++name = "base64"
59++version = "0.10.1"
60++source = "registry+https://github.com/rust-lang/crates.io-index"
61++dependencies = [
62++ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
63++]
64++
65++[[package]]
66++name = "bitflags"
67++version = "0.9.1"
68++source = "registry+https://github.com/rust-lang/crates.io-index"
69++
70++[[package]]
71++name = "bitflags"
72++version = "1.0.4"
73++source = "registry+https://github.com/rust-lang/crates.io-index"
74++
75++[[package]]
76++name = "brotli-sys"
77++version = "0.3.2"
78++source = "registry+https://github.com/rust-lang/crates.io-index"
79++dependencies = [
80++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
81++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
82++]
83++
84++[[package]]
85++name = "brotli2"
86++version = "0.3.2"
87++source = "registry+https://github.com/rust-lang/crates.io-index"
88++dependencies = [
89++ "brotli-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
90++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
91++]
92++
93++[[package]]
94++name = "build_const"
95++version = "0.2.1"
96++source = "registry+https://github.com/rust-lang/crates.io-index"
97++
98++[[package]]
99++name = "byteorder"
100++version = "1.3.1"
101++source = "registry+https://github.com/rust-lang/crates.io-index"
102++
103++[[package]]
104++name = "bzip2"
105++version = "0.3.3"
106++source = "registry+https://github.com/rust-lang/crates.io-index"
107++dependencies = [
108++ "bzip2-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
109++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
110++]
111++
112++[[package]]
113++name = "bzip2-sys"
114++version = "0.1.7"
115++source = "registry+https://github.com/rust-lang/crates.io-index"
116++dependencies = [
117++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
118++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
119++]
120++
121++[[package]]
122++name = "cc"
123++version = "1.0.35"
124++source = "registry+https://github.com/rust-lang/crates.io-index"
125++
126++[[package]]
127++name = "cfg-if"
128++version = "0.1.7"
129++source = "registry+https://github.com/rust-lang/crates.io-index"
130++
131++[[package]]
132++name = "clap"
133++version = "2.33.0"
134++source = "registry+https://github.com/rust-lang/crates.io-index"
135++dependencies = [
136++ "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
137++ "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
138++ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
139++ "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
140++ "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
141++ "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
142++ "vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
143++]
144++
145++[[package]]
146++name = "cloudabi"
147++version = "0.0.3"
148++source = "registry+https://github.com/rust-lang/crates.io-index"
149++dependencies = [
150++ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
151++]
152++
153++[[package]]
154++name = "core-foundation"
155++version = "0.2.3"
156++source = "registry+https://github.com/rust-lang/crates.io-index"
157++dependencies = [
158++ "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
159++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
160++]
161++
162++[[package]]
163++name = "core-foundation-sys"
164++version = "0.2.3"
165++source = "registry+https://github.com/rust-lang/crates.io-index"
166++dependencies = [
167++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
168++]
169++
170++[[package]]
171++name = "crc"
172++version = "1.8.1"
173++source = "registry+https://github.com/rust-lang/crates.io-index"
174++dependencies = [
175++ "build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
176++]
177++
178++[[package]]
179++name = "crc32fast"
180++version = "1.2.0"
181++source = "registry+https://github.com/rust-lang/crates.io-index"
182++dependencies = [
183++ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
184++]
185++
186++[[package]]
187++name = "ctrlc"
188++version = "3.1.2"
189++source = "registry+https://github.com/rust-lang/crates.io-index"
190++dependencies = [
191++ "nix 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
192++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
193++]
194++
195++[[package]]
196++name = "dtoa"
197++version = "0.4.3"
198++source = "registry+https://github.com/rust-lang/crates.io-index"
199++
200++[[package]]
201++name = "embed-resource"
202++version = "1.2.0"
203++source = "registry+https://github.com/rust-lang/crates.io-index"
204++dependencies = [
205++ "vswhom 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
206++ "winreg 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
207++]
208++
209++[[package]]
210++name = "flate2"
211++version = "1.0.7"
212++source = "registry+https://github.com/rust-lang/crates.io-index"
213++dependencies = [
214++ "crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
215++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
216++ "miniz-sys 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
217++ "miniz_oxide_c_api 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
218++]
219++
220++[[package]]
221++name = "foreign-types"
222++version = "0.3.2"
223++source = "registry+https://github.com/rust-lang/crates.io-index"
224++dependencies = [
225++ "foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
226++]
227++
228++[[package]]
229++name = "foreign-types-shared"
230++version = "0.1.1"
231++source = "registry+https://github.com/rust-lang/crates.io-index"
232++
233++[[package]]
234++name = "fuchsia-cprng"
235++version = "0.1.1"
236++source = "registry+https://github.com/rust-lang/crates.io-index"
237++
238++[[package]]
239++name = "gcc"
240++version = "0.3.55"
241++source = "registry+https://github.com/rust-lang/crates.io-index"
242++
243++[[package]]
244++name = "httparse"
245++version = "1.3.3"
246++source = "registry+https://github.com/rust-lang/crates.io-index"
247++
248++[[package]]
249++name = "https"
250++version = "1.5.0"
251++dependencies = [
252++ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
253++ "brotli2 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
254++ "bzip2 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
255++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
256++ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
257++ "ctrlc 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
258++ "embed-resource 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
259++ "flate2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)",
260++ "hyper-native-tls 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
261++ "iron 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
262++ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
263++ "lazysort 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
264++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
265++ "md6 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
266++ "mime_guess 1.8.6 (registry+https://github.com/rust-lang/crates.io-index)",
267++ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
268++ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
269++ "rfsapi 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
270++ "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)",
271++ "serde_json 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)",
272++ "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
273++ "trivial_colours 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
274++ "unicase 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
275++ "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
276++]
277++
278++[[package]]
279++name = "hyper"
280++version = "0.10.16"
281++source = "registry+https://github.com/rust-lang/crates.io-index"
282++dependencies = [
283++ "base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
284++ "httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
285++ "language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
286++ "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
287++ "mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
288++ "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
289++ "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
290++ "traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
291++ "typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
292++ "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
293++ "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
294++]
295++
296++[[package]]
297++name = "hyper-native-tls"
298++version = "0.2.4"
299++source = "registry+https://github.com/rust-lang/crates.io-index"
300++dependencies = [
301++ "antidote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
302++ "hyper 0.10.16 (registry+https://github.com/rust-lang/crates.io-index)",
303++ "native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
304++]
305++
306++[[package]]
307++name = "idna"
308++version = "0.1.5"
309++source = "registry+https://github.com/rust-lang/crates.io-index"
310++dependencies = [
311++ "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
312++ "unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
313++ "unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
314++]
315++
316++[[package]]
317++name = "iron"
318++version = "0.6.0"
319++source = "registry+https://github.com/rust-lang/crates.io-index"
320++dependencies = [
321++ "hyper 0.10.16 (registry+https://github.com/rust-lang/crates.io-index)",
322++ "hyper-native-tls 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
323++ "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
324++ "mime_guess 1.8.6 (registry+https://github.com/rust-lang/crates.io-index)",
325++ "modifier 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
326++ "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
327++ "plugin 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
328++ "typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
329++ "url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
330++]
331++
332++[[package]]
333++name = "itoa"
334++version = "0.3.4"
335++source = "registry+https://github.com/rust-lang/crates.io-index"
336++
337++[[package]]
338++name = "language-tags"
339++version = "0.2.2"
340++source = "registry+https://github.com/rust-lang/crates.io-index"
341++
342++[[package]]
343++name = "lazy_static"
344++version = "0.2.11"
345++source = "registry+https://github.com/rust-lang/crates.io-index"
346++
347++[[package]]
348++name = "lazy_static"
349++version = "1.3.0"
350++source = "registry+https://github.com/rust-lang/crates.io-index"
351++
352++[[package]]
353++name = "lazysort"
354++version = "0.2.1"
355++source = "registry+https://github.com/rust-lang/crates.io-index"
356++
357++[[package]]
358++name = "libc"
359++version = "0.2.53"
360++source = "registry+https://github.com/rust-lang/crates.io-index"
361++
362++[[package]]
363++name = "log"
364++version = "0.3.9"
365++source = "registry+https://github.com/rust-lang/crates.io-index"
366++dependencies = [
367++ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
368++]
369++
370++[[package]]
371++name = "log"
372++version = "0.4.6"
373++source = "registry+https://github.com/rust-lang/crates.io-index"
374++dependencies = [
375++ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
376++]
377++
378++[[package]]
379++name = "matches"
380++version = "0.1.8"
381++source = "registry+https://github.com/rust-lang/crates.io-index"
382++
383++[[package]]
384++name = "md6"
385++version = "2.0.0"
386++source = "registry+https://github.com/rust-lang/crates.io-index"
387++dependencies = [
388++ "gcc 0.3.55 (registry+https://github.com/rust-lang/crates.io-index)",
389++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
390++]
391++
392++[[package]]
393++name = "memchr"
394++version = "2.2.0"
395++source = "registry+https://github.com/rust-lang/crates.io-index"
396++
397++[[package]]
398++name = "mime"
399++version = "0.2.6"
400++source = "registry+https://github.com/rust-lang/crates.io-index"
401++dependencies = [
402++ "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
403++]
404++
405++[[package]]
406++name = "mime_guess"
407++version = "1.8.6"
408++source = "registry+https://github.com/rust-lang/crates.io-index"
409++dependencies = [
410++ "mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
411++ "phf 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)",
412++ "phf_codegen 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)",
413++ "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
414++]
415++
416++[[package]]
417++name = "miniz-sys"
418++version = "0.1.11"
419++source = "registry+https://github.com/rust-lang/crates.io-index"
420++dependencies = [
421++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
422++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
423++]
424++
425++[[package]]
426++name = "miniz_oxide"
427++version = "0.2.1"
428++source = "registry+https://github.com/rust-lang/crates.io-index"
429++dependencies = [
430++ "adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
431++]
432++
433++[[package]]
434++name = "miniz_oxide_c_api"
435++version = "0.2.1"
436++source = "registry+https://github.com/rust-lang/crates.io-index"
437++dependencies = [
438++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
439++ "crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
440++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
441++ "miniz_oxide 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
442++]
443++
444++[[package]]
445++name = "modifier"
446++version = "0.1.0"
447++source = "registry+https://github.com/rust-lang/crates.io-index"
448++
449++[[package]]
450++name = "native-tls"
451++version = "0.1.5"
452++source = "registry+https://github.com/rust-lang/crates.io-index"
453++dependencies = [
454++ "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
455++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
456++ "openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)",
457++ "schannel 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
458++ "security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
459++ "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
460++ "tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
461++]
462++
463++[[package]]
464++name = "nix"
465++version = "0.13.0"
466++source = "registry+https://github.com/rust-lang/crates.io-index"
467++dependencies = [
468++ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
469++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
470++ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
471++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
472++ "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
473++]
474++
475++[[package]]
476++name = "num-traits"
477++version = "0.1.43"
478++source = "registry+https://github.com/rust-lang/crates.io-index"
479++dependencies = [
480++ "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
481++]
482++
483++[[package]]
484++name = "num-traits"
485++version = "0.2.6"
486++source = "registry+https://github.com/rust-lang/crates.io-index"
487++
488++[[package]]
489++name = "num_cpus"
490++version = "1.10.0"
491++source = "registry+https://github.com/rust-lang/crates.io-index"
492++dependencies = [
493++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
494++]
495++
496++[[package]]
497++name = "numtoa"
498++version = "0.1.0"
499++source = "registry+https://github.com/rust-lang/crates.io-index"
500++
501++[[package]]
502++name = "openssl"
503++version = "0.9.24"
504++source = "registry+https://github.com/rust-lang/crates.io-index"
505++dependencies = [
506++ "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
507++ "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
508++ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
509++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
510++ "openssl-sys 0.9.43 (registry+https://github.com/rust-lang/crates.io-index)",
511++]
512++
513++[[package]]
514++name = "openssl-sys"
515++version = "0.9.43"
516++source = "registry+https://github.com/rust-lang/crates.io-index"
517++dependencies = [
518++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
519++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
520++ "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
521++ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
522++ "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
523++]
524++
525++[[package]]
526++name = "percent-encoding"
527++version = "1.0.1"
528++source = "registry+https://github.com/rust-lang/crates.io-index"
529++
530++[[package]]
531++name = "phf"
532++version = "0.7.24"
533++source = "registry+https://github.com/rust-lang/crates.io-index"
534++dependencies = [
535++ "phf_shared 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)",
536++]
537++
538++[[package]]
539++name = "phf_codegen"
540++version = "0.7.24"
541++source = "registry+https://github.com/rust-lang/crates.io-index"
542++dependencies = [
543++ "phf_generator 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)",
544++ "phf_shared 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)",
545++]
546++
547++[[package]]
548++name = "phf_generator"
549++version = "0.7.24"
550++source = "registry+https://github.com/rust-lang/crates.io-index"
551++dependencies = [
552++ "phf_shared 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)",
553++ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
554++]
555++
556++[[package]]
557++name = "phf_shared"
558++version = "0.7.24"
559++source = "registry+https://github.com/rust-lang/crates.io-index"
560++dependencies = [
561++ "siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
562++ "unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
563++]
564++
565++[[package]]
566++name = "pkg-config"
567++version = "0.3.14"
568++source = "registry+https://github.com/rust-lang/crates.io-index"
569++
570++[[package]]
571++name = "plugin"
572++version = "0.2.6"
573++source = "registry+https://github.com/rust-lang/crates.io-index"
574++dependencies = [
575++ "typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
576++]
577++
578++[[package]]
579++name = "quote"
580++version = "0.3.15"
581++source = "registry+https://github.com/rust-lang/crates.io-index"
582++
583++[[package]]
584++name = "rand"
585++version = "0.4.6"
586++source = "registry+https://github.com/rust-lang/crates.io-index"
587++dependencies = [
588++ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
589++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
590++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
591++ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
592++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
593++]
594++
595++[[package]]
596++name = "rand"
597++version = "0.6.5"
598++source = "registry+https://github.com/rust-lang/crates.io-index"
599++dependencies = [
600++ "autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
601++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
602++ "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
603++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
604++ "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
605++ "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
606++ "rand_jitter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
607++ "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
608++ "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
609++ "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
610++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
611++]
612++
613++[[package]]
614++name = "rand_chacha"
615++version = "0.1.1"
616++source = "registry+https://github.com/rust-lang/crates.io-index"
617++dependencies = [
618++ "autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
619++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
620++]
621++
622++[[package]]
623++name = "rand_core"
624++version = "0.3.1"
625++source = "registry+https://github.com/rust-lang/crates.io-index"
626++dependencies = [
627++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
628++]
629++
630++[[package]]
631++name = "rand_core"
632++version = "0.4.0"
633++source = "registry+https://github.com/rust-lang/crates.io-index"
634++
635++[[package]]
636++name = "rand_hc"
637++version = "0.1.0"
638++source = "registry+https://github.com/rust-lang/crates.io-index"
639++dependencies = [
640++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
641++]
642++
643++[[package]]
644++name = "rand_isaac"
645++version = "0.1.1"
646++source = "registry+https://github.com/rust-lang/crates.io-index"
647++dependencies = [
648++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
649++]
650++
651++[[package]]
652++name = "rand_jitter"
653++version = "0.1.3"
654++source = "registry+https://github.com/rust-lang/crates.io-index"
655++dependencies = [
656++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
657++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
658++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
659++]
660++
661++[[package]]
662++name = "rand_os"
663++version = "0.1.3"
664++source = "registry+https://github.com/rust-lang/crates.io-index"
665++dependencies = [
666++ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
667++ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
668++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
669++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
670++ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
671++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
672++]
673++
674++[[package]]
675++name = "rand_pcg"
676++version = "0.1.2"
677++source = "registry+https://github.com/rust-lang/crates.io-index"
678++dependencies = [
679++ "autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
680++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
681++]
682++
683++[[package]]
684++name = "rand_xorshift"
685++version = "0.1.1"
686++source = "registry+https://github.com/rust-lang/crates.io-index"
687++dependencies = [
688++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
689++]
690++
691++[[package]]
692++name = "rdrand"
693++version = "0.4.0"
694++source = "registry+https://github.com/rust-lang/crates.io-index"
695++dependencies = [
696++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
697++]
698++
699++[[package]]
700++name = "redox_syscall"
701++version = "0.1.54"
702++source = "registry+https://github.com/rust-lang/crates.io-index"
703++
704++[[package]]
705++name = "redox_termios"
706++version = "0.1.1"
707++source = "registry+https://github.com/rust-lang/crates.io-index"
708++dependencies = [
709++ "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)",
710++]
711++
712++[[package]]
713++name = "regex"
714++version = "1.1.6"
715++source = "registry+https://github.com/rust-lang/crates.io-index"
716++dependencies = [
717++ "aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
718++ "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
719++ "regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
720++ "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
721++ "utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
722++]
723++
724++[[package]]
725++name = "regex-syntax"
726++version = "0.6.6"
727++source = "registry+https://github.com/rust-lang/crates.io-index"
728++dependencies = [
729++ "ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
730++]
731++
732++[[package]]
733++name = "remove_dir_all"
734++version = "0.5.1"
735++source = "registry+https://github.com/rust-lang/crates.io-index"
736++dependencies = [
737++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
738++]
739++
740++[[package]]
741++name = "rfsapi"
742++version = "0.1.0"
743++source = "registry+https://github.com/rust-lang/crates.io-index"
744++dependencies = [
745++ "hyper 0.10.16 (registry+https://github.com/rust-lang/crates.io-index)",
746++ "mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
747++ "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)",
748++ "serde_derive 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)",
749++ "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
750++]
751++
752++[[package]]
753++name = "rustc_version"
754++version = "0.2.3"
755++source = "registry+https://github.com/rust-lang/crates.io-index"
756++dependencies = [
757++ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
758++]
759++
760++[[package]]
761++name = "safemem"
762++version = "0.3.0"
763++source = "registry+https://github.com/rust-lang/crates.io-index"
764++
765++[[package]]
766++name = "schannel"
767++version = "0.1.15"
768++source = "registry+https://github.com/rust-lang/crates.io-index"
769++dependencies = [
770++ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
771++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
772++]
773++
774++[[package]]
775++name = "security-framework"
776++version = "0.1.16"
777++source = "registry+https://github.com/rust-lang/crates.io-index"
778++dependencies = [
779++ "core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
780++ "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
781++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
782++ "security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
783++]
784++
785++[[package]]
786++name = "security-framework-sys"
787++version = "0.1.16"
788++source = "registry+https://github.com/rust-lang/crates.io-index"
789++dependencies = [
790++ "core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
791++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
792++]
793++
794++[[package]]
795++name = "semver"
796++version = "0.9.0"
797++source = "registry+https://github.com/rust-lang/crates.io-index"
798++dependencies = [
799++ "semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
800++]
801++
802++[[package]]
803++name = "semver-parser"
804++version = "0.7.0"
805++source = "registry+https://github.com/rust-lang/crates.io-index"
806++
807++[[package]]
808++name = "serde"
809++version = "0.9.15"
810++source = "registry+https://github.com/rust-lang/crates.io-index"
811++
812++[[package]]
813++name = "serde_codegen_internals"
814++version = "0.14.2"
815++source = "registry+https://github.com/rust-lang/crates.io-index"
816++dependencies = [
817++ "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
818++]
819++
820++[[package]]
821++name = "serde_derive"
822++version = "0.9.15"
823++source = "registry+https://github.com/rust-lang/crates.io-index"
824++dependencies = [
825++ "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
826++ "serde_codegen_internals 0.14.2 (registry+https://github.com/rust-lang/crates.io-index)",
827++ "syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
828++]
829++
830++[[package]]
831++name = "serde_json"
832++version = "0.9.10"
833++source = "registry+https://github.com/rust-lang/crates.io-index"
834++dependencies = [
835++ "dtoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
836++ "itoa 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
837++ "num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)",
838++ "serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)",
839++]
840++
841++[[package]]
842++name = "siphasher"
843++version = "0.2.3"
844++source = "registry+https://github.com/rust-lang/crates.io-index"
845++
846++[[package]]
847++name = "smallvec"
848++version = "0.6.9"
849++source = "registry+https://github.com/rust-lang/crates.io-index"
850++
851++[[package]]
852++name = "strsim"
853++version = "0.8.0"
854++source = "registry+https://github.com/rust-lang/crates.io-index"
855++
856++[[package]]
857++name = "syn"
858++version = "0.11.11"
859++source = "registry+https://github.com/rust-lang/crates.io-index"
860++dependencies = [
861++ "quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
862++ "synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)",
863++ "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
864++]
865++
866++[[package]]
867++name = "synom"
868++version = "0.11.3"
869++source = "registry+https://github.com/rust-lang/crates.io-index"
870++dependencies = [
871++ "unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
872++]
873++
874++[[package]]
875++name = "tempdir"
876++version = "0.3.7"
877++source = "registry+https://github.com/rust-lang/crates.io-index"
878++dependencies = [
879++ "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
880++ "remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
881++]
882++
883++[[package]]
884++name = "termion"
885++version = "1.5.2"
886++source = "registry+https://github.com/rust-lang/crates.io-index"
887++dependencies = [
888++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
889++ "numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
890++ "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)",
891++ "redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
892++]
893++
894++[[package]]
895++name = "textwrap"
896++version = "0.11.0"
897++source = "registry+https://github.com/rust-lang/crates.io-index"
898++dependencies = [
899++ "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
900++]
901++
902++[[package]]
903++name = "thread_local"
904++version = "0.3.6"
905++source = "registry+https://github.com/rust-lang/crates.io-index"
906++dependencies = [
907++ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
908++]
909++
910++[[package]]
911++name = "time"
912++version = "0.1.42"
913++source = "registry+https://github.com/rust-lang/crates.io-index"
914++dependencies = [
915++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
916++ "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)",
917++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
918++]
919++
920++[[package]]
921++name = "traitobject"
922++version = "0.1.0"
923++source = "registry+https://github.com/rust-lang/crates.io-index"
924++
925++[[package]]
926++name = "trivial_colours"
927++version = "0.3.0"
928++source = "registry+https://github.com/rust-lang/crates.io-index"
929++
930++[[package]]
931++name = "typeable"
932++version = "0.1.2"
933++source = "registry+https://github.com/rust-lang/crates.io-index"
934++
935++[[package]]
936++name = "typemap"
937++version = "0.3.3"
938++source = "registry+https://github.com/rust-lang/crates.io-index"
939++dependencies = [
940++ "unsafe-any 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
941++]
942++
943++[[package]]
944++name = "ucd-util"
945++version = "0.1.3"
946++source = "registry+https://github.com/rust-lang/crates.io-index"
947++
948++[[package]]
949++name = "unicase"
950++version = "1.4.2"
951++source = "registry+https://github.com/rust-lang/crates.io-index"
952++dependencies = [
953++ "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
954++]
955++
956++[[package]]
957++name = "unicase"
958++version = "2.3.0"
959++source = "registry+https://github.com/rust-lang/crates.io-index"
960++dependencies = [
961++ "version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
962++]
963++
964++[[package]]
965++name = "unicode-bidi"
966++version = "0.3.4"
967++source = "registry+https://github.com/rust-lang/crates.io-index"
968++dependencies = [
969++ "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
970++]
971++
972++[[package]]
973++name = "unicode-normalization"
974++version = "0.1.8"
975++source = "registry+https://github.com/rust-lang/crates.io-index"
976++dependencies = [
977++ "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
978++]
979++
980++[[package]]
981++name = "unicode-width"
982++version = "0.1.5"
983++source = "registry+https://github.com/rust-lang/crates.io-index"
984++
985++[[package]]
986++name = "unicode-xid"
987++version = "0.0.4"
988++source = "registry+https://github.com/rust-lang/crates.io-index"
989++
990++[[package]]
991++name = "unsafe-any"
992++version = "0.4.2"
993++source = "registry+https://github.com/rust-lang/crates.io-index"
994++dependencies = [
995++ "traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
996++]
997++
998++[[package]]
999++name = "url"
1000++version = "1.7.2"
1001++source = "registry+https://github.com/rust-lang/crates.io-index"
1002++dependencies = [
1003++ "idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
1004++ "matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
1005++ "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1006++]
1007++
1008++[[package]]
1009++name = "utf8-ranges"
1010++version = "1.0.2"
1011++source = "registry+https://github.com/rust-lang/crates.io-index"
1012++
1013++[[package]]
1014++name = "vcpkg"
1015++version = "0.2.6"
1016++source = "registry+https://github.com/rust-lang/crates.io-index"
1017++
1018++[[package]]
1019++name = "vec_map"
1020++version = "0.8.1"
1021++source = "registry+https://github.com/rust-lang/crates.io-index"
1022++
1023++[[package]]
1024++name = "version_check"
1025++version = "0.1.5"
1026++source = "registry+https://github.com/rust-lang/crates.io-index"
1027++
1028++[[package]]
1029++name = "void"
1030++version = "1.0.2"
1031++source = "registry+https://github.com/rust-lang/crates.io-index"
1032++
1033++[[package]]
1034++name = "vswhom"
1035++version = "0.1.0"
1036++source = "registry+https://github.com/rust-lang/crates.io-index"
1037++dependencies = [
1038++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
1039++ "vswhom-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
1040++]
1041++
1042++[[package]]
1043++name = "vswhom-sys"
1044++version = "0.1.0"
1045++source = "registry+https://github.com/rust-lang/crates.io-index"
1046++dependencies = [
1047++ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
1048++ "libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)",
1049++]
1050++
1051++[[package]]
1052++name = "winapi"
1053++version = "0.3.7"
1054++source = "registry+https://github.com/rust-lang/crates.io-index"
1055++dependencies = [
1056++ "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
1057++ "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
1058++]
1059++
1060++[[package]]
1061++name = "winapi-i686-pc-windows-gnu"
1062++version = "0.4.0"
1063++source = "registry+https://github.com/rust-lang/crates.io-index"
1064++
1065++[[package]]
1066++name = "winapi-x86_64-pc-windows-gnu"
1067++version = "0.4.0"
1068++source = "registry+https://github.com/rust-lang/crates.io-index"
1069++
1070++[[package]]
1071++name = "winreg"
1072++version = "0.5.1"
1073++source = "registry+https://github.com/rust-lang/crates.io-index"
1074++dependencies = [
1075++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
1076++]
1077++
1078++[metadata]
1079++"checksum adler32 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c"
1080++"checksum aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f484ae0c99fec2e858eb6134949117399f222608d84cadb3f58c1f97c2364c"
1081++"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
1082++"checksum antidote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "34fde25430d87a9388dadbe6e34d7f72a462c8b43ac8d309b42b0a8505d7e2a5"
1083++"checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652"
1084++"checksum autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799"
1085++"checksum base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e"
1086++"checksum base64 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "489d6c0ed21b11d038c31b6ceccca973e65d73ba3bd8ecb9a2babf5546164643"
1087++"checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
1088++"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12"
1089++"checksum brotli-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4445dea95f4c2b41cde57cc9fee236ae4dbae88d8fcbdb4750fc1bb5d86aaecd"
1090++"checksum brotli2 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0cb036c3eade309815c15ddbacec5b22c4d1f3983a774ab2eac2e3e9ea85568e"
1091++"checksum build_const 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39"
1092++"checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb"
1093++"checksum bzip2 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "42b7c3cbf0fa9c1b82308d57191728ca0256cb821220f4e2fd410a72ade26e3b"
1094++"checksum bzip2-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "6584aa36f5ad4c9247f5323b0a42f37802b37a836f0ad87084d7a33961abe25f"
1095++"checksum cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)" = "5e5f3fee5eeb60324c2781f1e41286bdee933850fff9b3c672587fed5ec58c83"
1096++"checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4"
1097++"checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
1098++"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
1099++"checksum core-foundation 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "25bfd746d203017f7d5cbd31ee5d8e17f94b6521c7af77ece6c9e4b2d4b16c67"
1100++"checksum core-foundation-sys 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "065a5d7ffdcbc8fa145d6f0746f3555025b9097a9e9cda59f7467abae670c78d"
1101++"checksum crc 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb"
1102++"checksum crc32fast 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
1103++"checksum ctrlc 3.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5531b7f0698d9220b4729f8811931dbe0e91a05be2f7b3245fdc50dd856bae26"
1104++"checksum dtoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6d301140eb411af13d3115f9a562c85cc6b541ade9dfa314132244aaee7489dd"
1105++"checksum embed-resource 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee11dd277e159f3a7845341f8c800899cf918a366956e31dd52f35eff638a403"
1106++"checksum flate2 1.0.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f87e68aa82b2de08a6e037f1385455759df6e445a8df5e005b4297191dbf18aa"
1107++"checksum foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
1108++"checksum foreign-types-shared 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
1109++"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
1110++"checksum gcc 0.3.55 (registry+https://github.com/rust-lang/crates.io-index)" = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2"
1111++"checksum httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e8734b0cfd3bc3e101ec59100e101c2eecd19282202e87808b3037b442777a83"
1112++"checksum hyper 0.10.16 (registry+https://github.com/rust-lang/crates.io-index)" = "0a0652d9a2609a968c14be1a9ea00bf4b1d64e2e1f53a1b51b6fff3a6e829273"
1113++"checksum hyper-native-tls 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "72332e4a35d3059583623b50e98e491b78f8b96c5521fcb3f428167955aa56e8"
1114++"checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
1115++"checksum iron 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d8e17268922834707e1c29e8badbf9c712c9c43378e1b6a3388946baff10be2"
1116++"checksum itoa 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8324a32baf01e2ae060e9de58ed0bc2320c9a2833491ee36cd3b4c414de4db8c"
1117++"checksum language-tags 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a91d884b6667cd606bb5a69aa0c99ba811a115fc68915e7056ec08a46e93199a"
1118++"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
1119++"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14"
1120++"checksum lazysort 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d0e22ff43b231e0e2f87d74984e53ebc73b90ae13397e041214fb07efc64168f"
1121++"checksum libc 0.2.53 (registry+https://github.com/rust-lang/crates.io-index)" = "ec350a9417dfd244dc9a6c4a71e13895a4db6b92f0b106f07ebbc3f3bc580cee"
1122++"checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b"
1123++"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
1124++"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
1125++"checksum md6 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "54e5826684849cecd3fa05a6a5052c50a3542f163a9917ff0b91379426a2e45d"
1126++"checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39"
1127++"checksum mime 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ba626b8a6de5da682e1caa06bdb42a335aee5a84db8e5046a3e8ab17ba0a3ae0"
1128++"checksum mime_guess 1.8.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2d4c0961143b8efdcfa29c3ae63281601b446a4a668165454b6c90f8024954c5"
1129++"checksum miniz-sys 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "0300eafb20369952951699b68243ab4334f4b10a88f411c221d444b36c40e649"
1130++"checksum miniz_oxide 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c468f2369f07d651a5d0bb2c9079f8488a66d5466efe42d0c5c6466edcb7f71e"
1131++"checksum miniz_oxide_c_api 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b7fe927a42e3807ef71defb191dc87d4e24479b221e67015fe38ae2b7b447bab"
1132++"checksum modifier 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "41f5c9112cb662acd3b204077e0de5bc66305fa8df65c8019d5adb10e9ab6e58"
1133++"checksum native-tls 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f74dbadc8b43df7864539cedb7bc91345e532fdd913cfdc23ad94f4d2d40fbc0"
1134++"checksum nix 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46f0f3210768d796e8fa79ec70ee6af172dacbe7147f5e69be5240a47778302b"
1135++"checksum num-traits 0.1.43 (registry+https://github.com/rust-lang/crates.io-index)" = "92e5113e9fd4cc14ded8e499429f396a20f98c772a47cc8622a736e1ec843c31"
1136++"checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
1137++"checksum num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a23f0ed30a54abaa0c7e83b1d2d87ada7c3c23078d1d87815af3e3b6385fbba"
1138++"checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
1139++"checksum openssl 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)" = "a3605c298474a3aa69de92d21139fb5e2a81688d308262359d85cdd0d12a7985"
1140++"checksum openssl-sys 0.9.43 (registry+https://github.com/rust-lang/crates.io-index)" = "33c86834957dd5b915623e94f2f4ab2c70dd8f6b70679824155d5ae21dbd495d"
1141++"checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
1142++"checksum phf 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "b3da44b85f8e8dfaec21adae67f95d93244b2ecf6ad2a692320598dcc8e6dd18"
1143++"checksum phf_codegen 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "b03e85129e324ad4166b06b2c7491ae27fe3ec353af72e72cd1654c7225d517e"
1144++"checksum phf_generator 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "09364cc93c159b8b06b1f4dd8a4398984503483891b0c26b867cf431fb132662"
1145++"checksum phf_shared 0.7.24 (registry+https://github.com/rust-lang/crates.io-index)" = "234f71a15de2288bcb7e3b6515828d22af7ec8598ee6d24c3b526fa0a80b67a0"
1146++"checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c"
1147++"checksum plugin 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1a6a0dc3910bc8db877ffed8e457763b317cf880df4ae19109b9f77d277cf6e0"
1148++"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
1149++"checksum rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293"
1150++"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
1151++"checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
1152++"checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
1153++"checksum rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0"
1154++"checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
1155++"checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
1156++"checksum rand_jitter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b9ea758282efe12823e0d952ddb269d2e1897227e464919a554f2a03ef1b832"
1157++"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
1158++"checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
1159++"checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
1160++"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
1161++"checksum redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)" = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252"
1162++"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
1163++"checksum regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "8f0a0bcab2fd7d1d7c54fa9eae6f43eddeb9ce2e7352f8518a814a4f65d60c58"
1164++"checksum regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "dcfd8681eebe297b81d98498869d4aae052137651ad7b96822f09ceb690d0a96"
1165++"checksum remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3488ba1b9a2084d38645c4c08276a1752dcbf2c7130d74f1569681ad5d2799c5"
1166++"checksum rfsapi 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1b6fbc119d00459f80252adb96e554766d75de071ed5d3c49f46a000d137cd49"
1167++"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
1168++"checksum safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8dca453248a96cb0749e36ccdfe2b0b4e54a61bfef89fb97ec621eb8e0a93dd9"
1169++"checksum schannel 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "f2f6abf258d99c3c1c5c2131d99d064e94b7b3dd5f416483057f308fea253339"
1170++"checksum security-framework 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "dfa44ee9c54ce5eecc9de7d5acbad112ee58755239381f687e564004ba4a2332"
1171++"checksum security-framework-sys 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "5421621e836278a0b139268f36eee0dc7e389b784dc3f79d8f11aabadf41bead"
1172++"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
1173++"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
1174++"checksum serde 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)" = "34b623917345a631dc9608d5194cc206b3fe6c3554cd1c75b937e55e285254af"
1175++"checksum serde_codegen_internals 0.14.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bc888bd283bd2420b16ad0d860e35ad8acb21941180a83a189bb2046f9d00400"
1176++"checksum serde_derive 0.9.15 (registry+https://github.com/rust-lang/crates.io-index)" = "978fd866f4d4872084a81ccc35e275158351d3b9fe620074e7d7504b816b74ba"
1177++"checksum serde_json 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)" = "ad8bcf487be7d2e15d3d543f04312de991d631cfe1b43ea0ade69e6a8a5b16a1"
1178++"checksum siphasher 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0b8de496cf83d4ed58b6be86c3a275b8602f6ffe98d3024a869e124147a9a3ac"
1179++"checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be"
1180++"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
1181++"checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad"
1182++"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
1183++"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
1184++"checksum termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea"
1185++"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
1186++"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
1187++"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
1188++"checksum traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
1189++"checksum trivial_colours 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7153365ea16c5a0ce2eebc4da1b33339a6b21d90c49f670e82130639656bb458"
1190++"checksum typeable 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1410f6f91f21d1612654e7cc69193b0334f909dcf2c790c4826254fbb86f8887"
1191++"checksum typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "653be63c80a3296da5551e1bfd2cca35227e13cdd08c6668903ae2f4f77aa1f6"
1192++"checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86"
1193++"checksum unicase 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33"
1194++"checksum unicase 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "41d17211f887da8e4a70a45b9536f26fc5de166b81e2d5d80de4a17fd22553bd"
1195++"checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
1196++"checksum unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "141339a08b982d942be2ca06ff8b076563cbe223d1befd5450716790d44e2426"
1197++"checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526"
1198++"checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc"
1199++"checksum unsafe-any 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f30360d7979f5e9c6e6cea48af192ea8fab4afb3cf72597154b8f08935bc9c7f"
1200++"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
1201++"checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737"
1202++"checksum vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d"
1203++"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
1204++"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
1205++"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
1206++"checksum vswhom 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "be979b7f07507105799e854203b470ff7c78a1639e330a58f183b5fea574608b"
1207++"checksum vswhom-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc2f5402d3d0e79a069714f7b48e3ecc60be7775a2c049cb839457457a239532"
1208++"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770"
1209++"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
1210++"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
1211++"checksum winreg 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a27a759395c1195c4cc5cda607ef6f8f6498f64e78f7900f5de0a127a424704a"
pkgs/tools/networking/httplz/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, rustPlatform, pkgs }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "httplz";
5+ version = "1.5.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "thecoshman";
9+ repo = "http";
10+ rev = "v${version}";
11+ sha256 = "0mb2wifz8pba03bdpiqadih33jimhg9crs4b72rcyfmj9l8fd1ba";
12+ };
13+
14+ buildInputs = with pkgs; [ openssl pkgconfig ];
15+
16+ cargoBuildFlags = [ "--bin httplz" ];
17+ cargoPatches = [ ./cargo-lock.patch ];
18+ cargoSha256 = "0cy23smal6y5qj6a202zf7l76vwkpzvcjmlbq0ffyph3gq07ps7b";
19+
20+ meta = with stdenv.lib; {
21+ description = "A basic http server for hosting a folder fast and simply";
22+ homepage = https://github.com/thecoshman/http;
23+ license = licenses.mit;
24+ maintainers = with maintainers; [ bbigras ];
25+ };
26+}
pkgs/tools/networking/openvpn/default.nix+28−8
@@ -1,5 +1,6 @@
1−{ stdenv, fetchurl, iproute, lzo, openssl, pam, pkgconfig
2−, useSystemd ? stdenv.isLinux, systemd ? null
1+{ stdenv, fetchurl, pkgconfig
2+, iproute, lzo, openssl, pam
3+, useSystemd ? stdenv.isLinux, systemd ? null, utillinux ? null
34, pkcs11Support ? false, pkcs11helper ? null,
45}:
56
@@ -8,7 +9,15 @@ assert pkcs11Support -> (pkcs11helper != null);
89
910with stdenv.lib;
1011
11−stdenv.mkDerivation rec {
12+let
13+ # There is some fairly brittle string substitutions going on to replace paths,
14+ # so please verify this script in case you are upgrading it
15+ update-resolved = fetchurl {
16+ url = "https://raw.githubusercontent.com/jonathanio/update-systemd-resolved/v1.2.7/update-systemd-resolved";
17+ sha256 = "12zfzh42apwbj7ks5kfxf3far7kaghlby4yapbhn00q8pbdlw7pq";
18+ };
19+
20+in stdenv.mkDerivation rec {
1221 name = "openvpn-${version}";
1322 version = "2.4.7";
1423
@@ -18,6 +27,7 @@ stdenv.mkDerivation rec {
1827 };
1928
2029 nativeBuildInputs = [ pkgconfig ];
30+
2131 buildInputs = [ lzo openssl ]
2232 ++ optionals stdenv.isLinux [ pam iproute ]
2333 ++ optional useSystemd systemd
@@ -35,17 +45,27 @@ stdenv.mkDerivation rec {
3545 cp -r sample/sample-config-files/ $out/share/doc/openvpn/examples
3646 cp -r sample/sample-keys/ $out/share/doc/openvpn/examples
3747 cp -r sample/sample-scripts/ $out/share/doc/openvpn/examples
48+
49+ ${optionalString useSystemd ''
50+ install -Dm755 ${update-resolved} $out/libexec/update-systemd-resolved
51+
52+ substituteInPlace $out/libexec/update-systemd-resolved \
53+ --replace '/usr/bin/env bash' '${stdenv.shell} -e' \
54+ --replace 'busctl call' '${getBin systemd}/bin/busctl call' \
55+ --replace '(ip ' '(${getBin iproute}/bin/ip ' \
56+ --replace 'logger ' '${getBin utillinux}/bin/logger '
57+ ''}
3858 '';
3959
4060 enableParallelBuilding = true;
4161
42− meta = {
62+ meta = with stdenv.lib; {
4363 description = "A robust and highly flexible tunneling application";
44− homepage = https://openvpn.net/;
4564 downloadPage = "https://openvpn.net/index.php/open-source/downloads.html";
46− license = stdenv.lib.licenses.gpl2;
47− maintainers = [ stdenv.lib.maintainers.viric ];
48− platforms = stdenv.lib.platforms.unix;
65+ homepage = https://openvpn.net/;
66+ license = licenses.gpl2;
67+ maintainers = with maintainers; [ viric ];
68+ platforms = platforms.unix;
4969 updateWalker = true;
5070 };
5171}
pkgs/tools/networking/socat/default.nix+2
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
88 sha256 = "0jnhjijyq74g3wa4ph0am83z6vq7qna7ac0xqjma8s4197z3zmhd";
99 };
1010
11+ patches = stdenv.lib.optional stdenv.isDarwin ./speed-type-fix.patch;
12+
1113 postPatch = ''
1214 patchShebangs test.sh
1315 substituteInPlace test.sh \
pkgs/tools/networking/socat/speed-type-fix.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/xio-termios.h b/xio-termios.h
2+index a288a2f..9858aab 100644
3+--- a/xio-termios.h
4++++ b/xio-termios.h
5+@@ -148,7 +148,7 @@ extern int xiotermiosflag_applyopt(int fd, struct opt *opt);
6+ extern int xiotermios_value(int fd, int word, tcflag_t mask, tcflag_t value);
7+ extern int xiotermios_char(int fd, int n, unsigned char c);
8+ #ifdef HAVE_TERMIOS_ISPEED
9+-extern int xiotermios_speed(int fd, int n, unsigned int speed);
10++extern int xiotermios_speed(int fd, int n, speed_t speed);
11+ #endif
12+ extern int xiotermios_spec(int fd, int optcode);
13+ extern int xiotermios_flush(int fd);
pkgs/tools/networking/wol/default.nix+12−10
@@ -1,22 +1,24 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchurl, perl }:
22
33stdenv.mkDerivation rec {
4− name = "wol-${version}";
4+ pname = "wol";
55 version = "0.7.1";
6− proj = "wake-on-lan";
7−
8− enableParallelBuilding = true;
96
107 src = fetchurl {
11− url = "mirror://sourceforge/${proj}/${name}.tar.gz";
8+ url = "mirror://sourceforge/wake-on-lan/${pname}-${version}.tar.gz";
129 sha256 = "08i6l5lr14mh4n3qbmx6kyx7vjqvzdnh3j9yfvgjppqik2dnq270";
1310 };
1411
15− meta = {
12+ # for pod2man in order to get a manpage
13+ nativeBuildInputs = [ perl ];
14+
15+ enableParallelBuilding = true;
16+
17+ meta = with stdenv.lib; {
1618 description = "Implements Wake On LAN functionality in a small program";
1719 homepage = https://sourceforge.net/projects/wake-on-lan/;
18− license = stdenv.lib.licenses.gpl2;
19− platforms = stdenv.lib.platforms.linux;
20− maintainers = with stdenv.lib.maintainers; [ makefu ];
20+ license = licenses.gpl2;
21+ maintainers = with maintainers; [ makefu ];
22+ platforms = platforms.linux;
2123 };
2224}
pkgs/tools/security/browserpass/2.nixdeleted−43
@@ -1,43 +0,0 @@
1−# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2−{ stdenv, buildGoPackage, fetchFromGitHub, gnupg }:
3−
4−buildGoPackage rec {
5− name = "browserpass-${version}";
6− version = "2.0.22";
7−
8− goPackagePath = "github.com/dannyvankooten/browserpass";
9−
10− goDeps = ./2deps.nix;
11−
12− src = fetchFromGitHub {
13− repo = "browserpass";
14− owner = "dannyvankooten";
15− rev = version;
16− sha256 = "05cacrx08k99c5zra7ksdik9xxn3vih3x6in7536zs5gm55mkbfx";
17− };
18−
19− postPatch = ''
20− substituteInPlace browserpass.go \
21− --replace /usr/local/bin/gpg ${gnupg}/bin/gpg
22− '';
23−
24− postInstall = ''
25− host_file="$bin/bin/browserpass"
26− mkdir -p "$bin/etc"
27−
28− sed -e "s!%%replace%%!$host_file!" go/src/${goPackagePath}/chrome/host.json > chrome-host.json
29− sed -e "s!%%replace%%!$host_file!" go/src/${goPackagePath}/firefox/host.json > firefox-host.json
30−
31− install chrome-host.json $bin/etc/
32− install -D firefox-host.json $bin/lib/mozilla/native-messaging-hosts/com.dannyvankooten.browserpass.json
33− install go/src/${goPackagePath}/chrome/policy.json $bin/etc/chrome-policy.json
34− '';
35−
36− meta = with stdenv.lib; {
37− description = "A Chrome & Firefox extension for zx2c4's pass";
38− homepage = https://github.com/dannyvankooten/browserpass;
39− license = licenses.mit;
40− platforms = with platforms; linux ++ darwin ++ openbsd;
41− maintainers = with maintainers; [ rvolosatovs ];
42− };
43−}
pkgs/tools/security/browserpass/2deps.nixdeleted−39
@@ -1,39 +0,0 @@
1−# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2−[
3− {
4− goPackagePath = "github.com/gokyle/twofactor";
5− fetch = {
6− type = "git";
7− url = "https://github.com/gokyle/twofactor";
8− rev = "eaad1884d40f9cabff98a57a524c17afd00c9fe7";
9− sha256 = "07kvga6f2b56kpy52a3xk16garvlqz950s350dax97x7cayba95g";
10− };
11− }
12− {
13− goPackagePath = "github.com/mattn/go-zglob";
14− fetch = {
15− type = "git";
16− url = "https://github.com/mattn/go-zglob";
17− rev = "4959821b481786922ac53e7ef25c61ae19fb7c36";
18− sha256 = "0rwkdw143kphpmingsrw1zp030zf3p08f64h347jpdm4lz8z5449";
19− };
20− }
21− {
22− goPackagePath = "github.com/sahilm/fuzzy";
23− fetch = {
24− type = "git";
25− url = "https://github.com/sahilm/fuzzy";
26− rev = "a154b19bb758dcdd6ede58dc11ea53c2950527b2";
27− sha256 = "0jkw6474d5ik2fq2zznqxj4y3p42z47r7mbg856ln5wyara2sg0l";
28− };
29− }
30− {
31− goPackagePath = "rsc.io/qr";
32− fetch = {
33− type = "git";
34− url = "https://github.com/rsc/qr";
35− rev = "48b2ede4844e13f1a2b7ce4d2529c9af7e359fc5";
36− sha256 = "1npxy32glnkvsp0871972jzjzgkwaqmbv6jsj9wgqsa1s2jr004p";
37− };
38− }
39−]
pkgs/tools/security/browserpass/default.nix+7−20
@@ -1,12 +1,5 @@
1−{ lib, callPackage, buildGoPackage, fetchFromGitHub, makeWrapper, gnupg }:
2−let
3− # For backwards compatibility with v2 of the browser extension, we embed v2
4− # of the native host in v3. Because the extension will auto-update when it
5− # is released, this code can be removed from that point on.
6− # Don't forget to remove v2 references down below and the v2 files in this
7− # folder
8− v2 = callPackage ./2.nix {};
9−in buildGoPackage rec {
1+{ lib, callPackage, buildGoModule, fetchFromGitHub, makeWrapper, gnupg }:
2+buildGoModule rec {
103 pname = "browserpass";
114 version = "3.0.6";
125
@@ -19,8 +12,7 @@ in buildGoPackage rec {
1912
2013 nativeBuildInputs = [ makeWrapper ];
2114
22− goPackagePath = "github.com/browserpass/browserpass-native";
23− goDeps = ./deps.nix;
15+ modSha256 = "13yw7idgw8l48yvm4jjha0kbx6q22m2zp13y006mikavynqsr5kj";
2416
2517 postPatch = ''
2618 # Because this Makefile will be installed to be used by the user, patch
@@ -31,10 +23,9 @@ in buildGoPackage rec {
3123 sed -i -e 's/INSTALL :=.*/INSTALL := install/' Makefile
3224 '';
3325
34− DESTDIR = placeholder "bin";
26+ DESTDIR = placeholder "out";
3527
3628 postConfigure = ''
37− cd "go/src/$goPackagePath"
3829 make configure
3930 '';
4031
@@ -45,16 +36,12 @@ in buildGoPackage rec {
4536 installPhase = ''
4637 make install
4738
48− wrapProgram $bin/bin/browserpass \
39+ wrapProgram $out/bin/browserpass \
4940 --suffix PATH : ${lib.makeBinPath [ gnupg ]}
5041
5142 # This path is used by our firefox wrapper for finding native messaging hosts
52− mkdir -p $bin/lib/mozilla/native-messaging-hosts
53− ln -s $bin/lib/browserpass/hosts/firefox/*.json $bin/lib/mozilla/native-messaging-hosts
54−
55− # These can be removed too, see comment up top
56− ln -s ${lib.getBin v2}/etc $bin/etc
57− ln -s ${lib.getBin v2}/lib/mozilla/native-messaging-hosts/* $bin/lib/mozilla/native-messaging-hosts
43+ mkdir -p $out/lib/mozilla/native-messaging-hosts
44+ ln -s $out/lib/browserpass/hosts/firefox/*.json $out/lib/mozilla/native-messaging-hosts
5845 '';
5946
6047 meta = with lib; {
pkgs/tools/security/browserpass/deps.nixdeleted−93
@@ -1,93 +0,0 @@
1−# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2−[
3− {
4− goPackagePath = "github.com/davecgh/go-spew";
5− fetch = {
6− type = "git";
7− url = "https://github.com/davecgh/go-spew";
8− rev = "v1.1.1";
9− sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
10− };
11− }
12− {
13− goPackagePath = "github.com/konsorten/go-windows-terminal-sequences";
14− fetch = {
15− type = "git";
16− url = "https://github.com/konsorten/go-windows-terminal-sequences";
17− rev = "v1.0.2";
18− sha256 = "09mn209ika7ciy87xf2x31dq5fnqw39jidgaljvmqxwk7ff1hnx7";
19− };
20− }
21− {
22− goPackagePath = "github.com/mattn/go-zglob";
23− fetch = {
24− type = "git";
25− url = "https://github.com/mattn/go-zglob";
26− rev = "v0.0.1";
27− sha256 = "1sncdyq5fbd42al4amyy91h7vlzm3wm6c9vl8za2pjgfgsd581fz";
28− };
29− }
30− {
31− goPackagePath = "github.com/pmezard/go-difflib";
32− fetch = {
33− type = "git";
34− url = "https://github.com/pmezard/go-difflib";
35− rev = "v1.0.0";
36− sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
37− };
38− }
39− {
40− goPackagePath = "github.com/rifflock/lfshook";
41− fetch = {
42− type = "git";
43− url = "https://github.com/rifflock/lfshook";
44− rev = "b9218ef580f5";
45− sha256 = "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc";
46− };
47− }
48− {
49− goPackagePath = "github.com/sirupsen/logrus";
50− fetch = {
51− type = "git";
52− url = "https://github.com/sirupsen/logrus";
53− rev = "v1.4.0";
54− sha256 = "1y1qjcg19z7q9sy32rhc148kdql2aw7xkcm9d6r1blrl0mdgpx0w";
55− };
56− }
57− {
58− goPackagePath = "github.com/stretchr/objx";
59− fetch = {
60− type = "git";
61− url = "https://github.com/stretchr/objx";
62− rev = "v0.1.1";
63− sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls";
64− };
65− }
66− {
67− goPackagePath = "github.com/stretchr/testify";
68− fetch = {
69− type = "git";
70− url = "https://github.com/stretchr/testify";
71− rev = "v1.3.0";
72− sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
73− };
74− }
75− {
76− goPackagePath = "golang.org/x/crypto";
77− fetch = {
78− type = "git";
79− url = "https://go.googlesource.com/crypto";
80− rev = "c2843e01d9a2";
81− sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
82− };
83− }
84− {
85− goPackagePath = "golang.org/x/sys";
86− fetch = {
87− type = "git";
88− url = "https://go.googlesource.com/sys";
89− rev = "fead79001313";
90− sha256 = "12vwl6sv6w7q0dyvynjhbp67242rhh77d6nlsb22ajr8rf17c63i";
91− };
92− }
93−]
pkgs/tools/security/kwalletcli/default.nix+25−25
@@ -1,48 +1,48 @@
1−{
2− mkDerivation, fetchurl, lib,
3− pkgconfig,
4− kcoreaddons, ki18n, kwallet,
5− mksh
6−}:
7−
8−let
1+{ mkDerivation, fetchFromGitHub, lib, makeWrapper, pkgconfig
2+, kcoreaddons, ki18n, kwallet, mksh, pinentry_qt5 }:
3+
4+mkDerivation rec {
95 pname = "kwalletcli";
106 version = "3.02";
11−in
12−mkDerivation rec {
13− name = "${pname}-${version}";
147
15− src = fetchurl {
16− url = "https://www.mirbsd.org/MirOS/dist/hosted/kwalletcli/${name}.tar.gz";
17− sha256 = "05njayi07996ljfl8a6frlk2s60grk5w27f0f445nmvd5n0bzgpn";
8+ src = fetchFromGitHub {
9+ owner = "MirBSD";
10+ repo = pname;
11+ rev = "${pname}-${lib.replaceStrings [ "." ] [ "_" ] version}";
12+ sha256 = "1gq45afb5nmmjfqxglv7wvcxcjd9822pc7nysq0350jmmmqwb474";
1813 };
1914
2015 postPatch = ''
2116 substituteInPlace GNUmakefile \
22− --replace '-I/usr/include/KF5/KCoreAddons' '-I${kcoreaddons.dev}/include/KF5/KCoreAddons' \
23− --replace '-I/usr/include/KF5/KI18n' '-I${ki18n.dev}/include/KF5/KI18n' \
24− --replace '-I/usr/include/KF5/KWallet' '-I${kwallet.dev}/include/KF5/KWallet' \
25− --replace /usr/bin $out/bin \
26− --replace /usr/share/man $out/share/man
17+ --replace -I/usr/include/KF5/KCoreAddons -I${kcoreaddons.dev}/include/KF5/KCoreAddons \
18+ --replace -I/usr/include/KF5/KI18n -I${ki18n.dev}/include/KF5/KI18n \
19+ --replace -I/usr/include/KF5/KWallet -I${kwallet.dev}/include/KF5/KWallet \
20+ --replace /usr/bin $out/bin \
21+ --replace /usr/share/man $out/share/man
22+
23+ substituteInPlace pinentry-kwallet \
24+ --replace '/usr/bin/env mksh' ${mksh}/bin/mksh
2725 '';
2826
2927 makeFlags = [ "KDE_VER=5" ];
3028
31− # we need this when building against qt 5.8+
32− NIX_CFLAGS_COMPILE = [ "-std=c++11" ];
33−
34− nativeBuildInputs = [ pkgconfig ];
29+ nativeBuildInputs = [ makeWrapper pkgconfig ];
3530 # if using just kwallet, cmake will be added as a buildInput and fail the build
3631 propagatedBuildInputs = [ kcoreaddons ki18n (lib.getLib kwallet) ];
37− propagatedUserEnvPkgs = [ mksh ];
3832
3933 preInstall = ''
4034 mkdir -p $out/bin $out/share/man/man1
4135 '';
4236
37+ postInstall = ''
38+ wrapProgram $out/bin/pinentry-kwallet \
39+ --prefix PATH : $out/bin:${lib.makeBinPath [ pinentry_qt5 ]} \
40+ --set-default PINENTRY pinentry-qt
41+ '';
42+
4343 meta = with lib; {
4444 description = "Command-Line Interface to the KDE Wallet";
45− homepage = http://www.mirbsd.org/kwalletcli.htm;
45+ homepage = https://www.mirbsd.org/kwalletcli.htm;
4646 license = licenses.miros;
4747 maintainers = with maintainers; [ peterhoeg ];
4848 };
pkgs/tools/security/mfoc/default.nix+19−8
@@ -1,17 +1,28 @@
1−{ stdenv, fetchurl, pkgconfig, libnfc }:
1+{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig, libnfc }:
22
33stdenv.mkDerivation rec {
4− name = "mfoc-${version}";
5− version = "0.10.6";
4+ pname = "mfoc";
5+ version = "0.10.7";
66
7− src = fetchurl {
8− url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mfoc/${name}.tar.gz";
9− sha1 = "3adce3029dce9124ff3bc7d0fad86fa0c374a9e3";
7+ src = fetchFromGitHub {
8+ owner = "nfc-tools";
9+ repo = pname;
10+ rev = "${pname}-${version}";
11+ sha256 = "0hbg1fn4000qdg1cfc7y8l0vh1mxlxcz7gapkcq54xp2l6kk1z65";
1012 };
1113
12− patches = [./mf_mini.patch];
14+ patches = [
15+ (fetchpatch {
16+ url = "https://github.com/nfc-tools/mfoc/commit/f13efb0a6deb1d97ba945d555a6a5d6be89b593f.patch";
17+ sha256 = "109gqzp8rdsjvj0nra686vy0dpd2bl6q5v9m4v98cpxkbz496450";
18+ })
19+ (fetchpatch {
20+ url = "https://github.com/nfc-tools/mfoc/commit/00eae36f891bc4580103e3b54f0bb5228af2cdef.patch";
21+ sha256 = "1w56aj96g776f37j53jmf3hk21x4mqik3l2bmghrdp8drixc8bzk";
22+ })
23+ ];
1324
14− nativeBuildInputs = [ pkgconfig ];
25+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
1526 buildInputs = [ libnfc ];
1627
1728 meta = with stdenv.lib; {
pkgs/tools/security/mfoc/mf_mini.patchdeleted−96
@@ -1,96 +0,0 @@
1−diff --git a/src/mfoc.c b/src/mfoc.c
2−index 0cb917d..195de68 100644
3−--- a/src/mfoc.c
4−+++ b/src/mfoc.c
5−@@ -93,8 +93,8 @@ int main(int argc, char *const argv[])
6− {0x58, 0x7e, 0xe5, 0xf9, 0x35, 0x0f},
7− {0xa0, 0x47, 0x8c, 0xc3, 0x90, 0x91},
8− {0x53, 0x3c, 0xb6, 0xc7, 0x23, 0xf6},
9−- {0x8f, 0xd0, 0xa4, 0xf2, 0x56, 0xe9}
10−-
11−+ {0x8f, 0xd0, 0xa4, 0xf2, 0x56, 0xe9},
12−+ {0xb4, 0xc1, 0x32, 0x43, 0x9e, 0xef}
13− };
14−
15− mftag t;
16−@@ -219,12 +219,31 @@ int main(int argc, char *const argv[])
17− goto error;
18− }
19−
20−- // Save tag's block size (b4K)
21−- t.b4K = (t.nt.nti.nai.abtAtqa[1] == 0x02);
22− t.authuid = (uint32_t) bytes_to_num(t.nt.nti.nai.abtUid + t.nt.nti.nai.szUidLen - 4, 4);
23−
24−- t.num_blocks = (t.b4K) ? 0xff : 0x3f;
25−- t.num_sectors = t.b4K ? NR_TRAILERS_4k : NR_TRAILERS_1k;
26−+ // Get Mifare Classic type from SAK
27−+ // see http://www.nxp.com/documents/application_note/AN10833.pdf Section 3.2
28−+ switch (t.nt.nti.nai.btSak)
29−+ {
30−+ case 0x08:
31−+ printf("Found Mifare Classic 1k tag\n");
32−+ t.num_sectors = NR_TRAILERS_1k;
33−+ t.num_blocks = NR_BLOCKS_1k;
34−+ break;
35−+ case 0x09:
36−+ printf("Found Mifare Classic Mini tag\n");
37−+ t.num_sectors = NR_TRAILERS_MINI;
38−+ t.num_blocks = NR_BLOCKS_MINI;
39−+ break;
40−+ case 0x18:
41−+ printf("Found Mifare Classic 4k tag\n");
42−+ t.num_sectors = NR_TRAILERS_4k;
43−+ t.num_blocks = NR_BLOCKS_4k;
44−+ break;
45−+ defaul:
46−+ ERR("Cannot determine card type from SAK");
47−+ goto error;
48−+ }
49−
50− t.sectors = (void *) calloc(t.num_sectors, sizeof(sector));
51− if (t.sectors == NULL) {
52−@@ -564,7 +583,7 @@ void usage(FILE *stream, int errno)
53− fprintf(stream, " k try the specified key in addition to the default keys\n");
54− // fprintf(stream, " D number of distance probes, default is 20\n");
55− // fprintf(stream, " S number of sets with keystreams, default is 5\n");
56−- fprintf(stream, " P number of probes per sector, instead of default of 20\n");
57−+ fprintf(stream, " P number of probes per sector, instead of default of 150\n");
58− fprintf(stream, " T nonce tolerance half-range, instead of default of 20\n (i.e., 40 for the total range, in both directions)\n");
59− // fprintf(stream, " s specify the list of sectors to crack, for example -s 0,1,3,5\n");
60− fprintf(stream, " O file in which the card contents will be written (REQUIRED)\n");
61−diff --git a/src/mfoc.h b/src/mfoc.h
62−index b411670..532e834 100644
63−--- a/src/mfoc.h
64−+++ b/src/mfoc.h
65−@@ -2,11 +2,21 @@
66− #define TRY_KEYS 50
67−
68− // Number of trailers == number of sectors
69−-// 16x64b = 16
70−+// Mifare Classic 1k 16x64b = 16
71− #define NR_TRAILERS_1k (16)
72−-// 32x64b + 8*256b = 40
73−+// Mifare Classic Mini
74−+#define NR_TRAILERS_MINI (5)
75−+// Mifare Classic 4k 32x64b + 8*256b = 40
76− #define NR_TRAILERS_4k (40)
77−
78−+// Number of blocks
79−+// Mifare Classic 1k
80−+#define NR_BLOCKS_1k 0x3f
81−+// Mifare Classic Mini
82−+#define NR_BLOCKS_MINI 0x13
83−+// Mifare Classic 4k
84−+#define NR_BLOCKS_4k 0xff
85−+
86− #define MAX_FRAME_LEN 264
87−
88− // Used for counting nonce distances, explore [nd-value, nd+value]
89−@@ -46,7 +56,6 @@ typedef struct {
90− uint8_t num_sectors;
91− uint8_t num_blocks;
92− uint32_t authuid;
93−- bool b4K;
94− } mftag;
95−
96− typedef struct {
pkgs/tools/system/augeas/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "augeas-${version}";
5− version = "1.11.0";
5+ version = "1.12.0";
66
77 src = fetchurl {
88 url = "http://download.augeas.net/${name}.tar.gz";
9− sha256 = "1c507qj6dfn2dnsl27w94zs9r45xrgm07y8bqba9ry2s0psfhg1r";
9+ sha256 = "11ybhb13wkkilsn7b416a1dn61m1xrq0lbdpkhp5w61jrk4l469j";
1010 };
1111 nativeBuildInputs = [ pkgconfig ];
1212 buildInputs = [ readline libxml2 ];
pkgs/tools/system/journalwatch/default.nix+8−12
@@ -1,15 +1,15 @@
1−{ stdenv, buildPythonPackage, fetchurl, pythonOlder, systemd, pytest }:
1+{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder, systemd, pytest }:
22
33buildPythonPackage rec {
44 pname = "journalwatch";
5− name = "${pname}-${version}";
65 version = "1.1.0";
76 disabled = pythonOlder "3.3";
87
9−
10− src = fetchurl {
11− url = "https://github.com/The-Compiler/${pname}/archive/v${version}.tar.gz";
12− sha512 = "3hvbgx95hjfivz9iv0hbhj720wvm32z86vj4a60lji2zdfpbqgr2b428lvg2cpvf71l2xn6ca5v0hzyz57qylgwqzgfrx7hqhl5g38s";
8+ src = fetchFromGitHub {
9+ owner = "The-Compiler";
10+ repo = pname;
11+ rev = "v${version}";
12+ sha512 = "11g2f1w9lfqw6zxxyg7qrqpb914s6w71j0gnpw7qr7cak2l5jlf2l39dlg30y55rw7jgmf0yg77wwzd0c430mq1n6q1v8w86g1rwkzb";
1313 };
1414
1515 # can be removed post 1.1.0
@@ -20,14 +20,10 @@ buildPythonPackage rec {
2020
2121
2222 doCheck = true;
23−
23+ checkInputs = [ pytest ];
2424 checkPhase = ''
25− pytest test_journalwatch.py
26− '';
27−
28− buildInputs = [
2925 pytest
30− ];
26+ '';
3127
3228 propagatedBuildInputs = [
3329 systemd
pkgs/tools/system/netdata/default.nix+6−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoreconfHook, pkgconfig, zlib, libuuid, libossp_uuid, CoreFoundation, IOKit }:
1+{ stdenv, fetchurl, autoreconfHook, pkgconfig, zlib, libuuid, libossp_uuid, CoreFoundation, IOKit, lm_sensors }:
22
33stdenv.mkDerivation rec{
44 version = "1.11.1";
@@ -23,6 +23,11 @@ stdenv.mkDerivation rec{
2323 $out/libexec/netdata/plugins.d/apps.plugin.org
2424 '';
2525
26+ preConfigure = ''
27+ substituteInPlace collectors/python.d.plugin/python_modules/third_party/lm_sensors.py \
28+ --replace 'ctypes.util.find_library("sensors")' '"${lm_sensors.out}/lib/libsensors${stdenv.hostPlatform.extensions.sharedLibrary}"'
29+ '';
30+
2631 configureFlags = [
2732 "--localstatedir=/var"
2833 "--sysconfdir=/etc"
pkgs/tools/text/qgrep/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.1";
5+ pname = "qgrep";
6+
7+ src = fetchFromGitHub {
8+ owner = "zeux";
9+ repo = "qgrep";
10+ rev = "v${version}";
11+ sha256 = "046ccw34vz2k5jn6gyxign5gs2qi7i50jy9b74wqv7sjf5zayrh0";
12+ fetchSubmodules = true;
13+ };
14+
15+ installPhase = ''
16+ install -Dm755 qgrep $out/bin/qgrep
17+ '';
18+
19+ meta = with stdenv.lib; {
20+ description = "Fast regular expression grep for source code with incremental index updates";
21+ homepage = https://github.com/zeux/qgrep;
22+ license = licenses.mit;
23+ maintainers = [ maintainers.yrashk ];
24+ platforms = platforms.all;
25+ };
26+
27+}
pkgs/tools/text/sd/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{ stdenv, fetchFromGitHub, rustPlatform
2+}:
3+
4+rustPlatform.buildRustPackage rec {
5+ pname = "sd";
6+ version = "0.5.0";
7+
8+ src = fetchFromGitHub {
9+ owner = "chmln";
10+ repo = pname;
11+ rev = "sd-${version}";
12+ sha256 = "1y44qizciir75d1srwm1mlskhflab2b6153d19vblw410in82f5d";
13+ };
14+
15+ cargoSha256 = "1gls68lw8a2c3gsav70l2wasrgav68q5w1nf50jsrbqq9kb4i7nb";
16+
17+ meta = with stdenv.lib; {
18+ description = "Intuitive find & replace CLI (sed alternative)";
19+ homepage = https://github.com/chmln/sd;
20+ license = licenses.mit;
21+ platforms = platforms.all;
22+ maintainers = [ maintainers.amar1729 ];
23+ };
24+}
pkgs/top-level/all-packages.nix+49−44
@@ -84,7 +84,7 @@ in
8484 by Hydra.
8585 '';
8686
87− tests = recurseIntoAttrs (callPackages ../test {});
87+ tests = callPackages ../test {};
8888
8989 ### Nixpkgs maintainer tools
9090
@@ -1025,9 +1025,14 @@ in
10251025 charles4
10261026 ;
10271027
1028− libqmatrixclient = libsForQt5.callPackage ../development/libraries/libqmatrixclient { };
1028+ inherit (libsForQt5.callPackage ../development/libraries/libqmatrixclient { })
1029+ libqmatrixclient_0_4
1030+ libqmatrixclient_0_5
1031+ libqmatrixclient;
10291032
1030− quaternion = libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { };
1033+ inherit (libsForQt5.callPackage ../applications/networking/instant-messengers/quaternion { })
1034+ quaternion
1035+ quaternion-git;
10311036
10321037 tensor = libsForQt5.callPackage ../applications/networking/instant-messengers/tensor { };
10331038
@@ -1331,6 +1336,10 @@ in
13311336
13321337 ddate = callPackage ../tools/misc/ddate { };
13331338
1339+ dedup = callPackage ../tools/backup/dedup {
1340+ inherit (llvmPackages) openmp;
1341+ };
1342+
13341343 dehydrated = callPackage ../tools/admin/dehydrated { };
13351344
13361345 deis = callPackage ../development/tools/deis {};
@@ -1660,6 +1669,10 @@ in
16601669
16611670 monetdb = callPackage ../servers/sql/monetdb { };
16621671
1672+ mousetweaks = callPackage ../applications/accessibility/mousetweaks {
1673+ inherit (pkgs.xorg) libX11 libXtst libXfixes;
1674+ };
1675+
16631676 mp3blaster = callPackage ../applications/audio/mp3blaster { };
16641677
16651678 mp3fs = callPackage ../tools/filesystems/mp3fs { };
@@ -2582,6 +2595,8 @@ in
25822595
25832596 wl-clipboard = callPackage ../tools/misc/wl-clipboard { };
25842597
2598+ z-lua = callPackage ../tools/misc/z-lua { };
2599+
25852600 zabbix-cli = callPackage ../tools/misc/zabbix-cli { };
25862601
25872602 zzuf = callPackage ../tools/security/zzuf { };
@@ -3522,6 +3537,8 @@ in
35223537
35233538 httping = callPackage ../tools/networking/httping {};
35243539
3540+ httplz = callPackage ../tools/networking/httplz { };
3541+
35253542 httpfs2 = callPackage ../tools/filesystems/httpfs { };
35263543
35273544 httpstat = callPackage ../tools/networking/httpstat { };
@@ -4534,6 +4551,8 @@ in
45344551
45354552 nabi = callPackage ../tools/inputmethods/nabi { };
45364553
4554+ nahid-fonts = callPackage ../data/fonts/nahid-fonts { };
4555+
45374556 namazu = callPackage ../tools/text/namazu { };
45384557
45394558 nano-wallet = libsForQt5.callPackage ../applications/altcoins/nano-wallet { };
@@ -4951,6 +4970,8 @@ in
49514970
49524971 paulstretch = callPackage ../applications/audio/paulstretch { };
49534972
4973+ pazi = callPackage ../tools/misc/pazi { };
4974+
49544975 pell = callPackage ../applications/misc/pell { };
49554976
49564977 pepper = callPackage ../tools/admin/salt/pepper { };
@@ -5286,6 +5307,7 @@ in
52865307 qdigidoc = libsForQt5.callPackage ../tools/security/qdigidoc { } ;
52875308 esteidfirefoxplugin = callPackage ../applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin { };
52885309
5310+ qgrep = callPackage ../tools/text/qgrep {};
52895311
52905312 qhull = callPackage ../development/libraries/qhull { };
52915313
@@ -5583,6 +5605,8 @@ in
55835605
55845606 scrypt = callPackage ../tools/security/scrypt { };
55855607
5608+ sd = callPackage ../tools/text/sd { };
5609+
55865610 sdate = callPackage ../tools/misc/sdate { };
55875611
55885612 sdcv = callPackage ../applications/misc/sdcv { };
@@ -5750,6 +5774,8 @@ in
57505774
57515775 sonata = callPackage ../applications/audio/sonata { };
57525776
5777+ soundkonverter = kdeApplications.callPackage ../applications/audio/soundkonverter {};
5778+
57535779 souper = callPackage ../development/compilers/souper { };
57545780
57555781 sparsehash = callPackage ../development/libraries/sparsehash { };
@@ -8085,24 +8111,10 @@ in
80858111
80868112 wabt = callPackage ../development/tools/wabt { };
80878113
8088− ### LUA MODULES
8089− lua5_1 = callPackage ../development/interpreters/lua-5/5.1.nix {
8090− self = lua5_1;
8091− };
8092− lua5_2 = callPackage ../development/interpreters/lua-5/5.2.nix {
8093− self = lua5_2;
8094− };
8095− lua5_2_compat = callPackage ../development/interpreters/lua-5/5.2.nix {
8096− compat = true;
8097− self = lua5_2_compat;
8098− };
8099− lua5_3 = callPackage ../development/interpreters/lua-5/5.3.nix {
8100− self = lua5_3;
8101− };
8102− lua5_3_compat = callPackage ../development/interpreters/lua-5/5.3.nix {
8103− compat = true;
8104− self = lua5_3_compat;
8105− };
8114+ ### LUA interpreters
8115+ luaInterpreters = callPackage ./../development/interpreters/lua-5 {};
8116+ inherit (luaInterpreters) lua5_1 lua5_2 lua5_2_compat lua5_3 lua5_3_compat luajit_2_1 luajit_2_0;
8117+
81068118 lua5 = lua5_2_compat;
81078119 lua = lua5;
81088120
@@ -8113,17 +8125,6 @@ in
81138125
81148126 luaPackages = lua52Packages;
81158127
8116− # override instead ?
8117− luajit_2_0 = import ../development/interpreters/luajit/2.0.nix {
8118− self = luajit_2_0;
8119− inherit (super) callPackage lib;
8120− };
8121−
8122− luajit_2_1 = import ../development/interpreters/luajit/2.1.nix {
8123− self = luajit_2_1;
8124− inherit (super) callPackage lib;
8125− };
8126−
81278128 luajit = luajit_2_1;
81288129
81298130 luarocks = luaPackages.luarocks;
@@ -8604,9 +8605,12 @@ in
86048605
86058606 awf = callPackage ../development/tools/misc/awf { };
86068607
8607− electron = callPackage ../development/tools/electron { };
8608+ electron_5 = callPackage ../development/tools/electron/5.x.nix { };
8609+
8610+ electron_4 = callPackage ../development/tools/electron { };
86088611
86098612 electron_3 = callPackage ../development/tools/electron/3.x.nix { };
8613+ electron = electron_4;
86108614
86118615 autobuild = callPackage ../development/tools/misc/autobuild { };
86128616
@@ -13937,8 +13941,7 @@ in
1393713941 elasticmq = callPackage ../servers/elasticmq { };
1393813942
1393913943 eventstore = callPackage ../servers/nosql/eventstore {
13940− mono = mono4;
13941− v8 = v8_6_x;
13944+ Nuget = dotnetPackages.Nuget;
1394213945 };
1394313946
1394413947 exim = callPackage ../servers/mail/exim { };
@@ -15007,7 +15010,6 @@ in
1500715010 [ kernelPatches.bridge_stp_helper
1500815011 kernelPatches.cpu-cgroup-v2."4.9"
1500915012 kernelPatches.modinst_arg_list_too_long
15010− kernelPatches.i2c-oops
1501115013 ];
1501215014 };
1501315015
@@ -15018,7 +15020,6 @@ in
1501815020 # when adding a new linux version
1501915021 kernelPatches.cpu-cgroup-v2."4.11"
1502015022 kernelPatches.modinst_arg_list_too_long
15021− kernelPatches.i2c-oops
1502215023 ];
1502315024 };
1502415025
@@ -15026,7 +15027,6 @@ in
1502615027 kernelPatches =
1502715028 [ kernelPatches.bridge_stp_helper
1502815029 kernelPatches.modinst_arg_list_too_long
15029− kernelPatches.i2c-oops
1503015030 ];
1503115031 };
1503215032
@@ -16940,6 +16940,8 @@ in
1694016940
1694116941 ctop = callPackage ../tools/system/ctop { };
1694216942
16943+ cubicsdr = callPackage ../applications/radio/cubicsdr { wxGTK = wxGTK31; };
16944+
1694316945 cuneiform = callPackage ../tools/graphics/cuneiform {};
1694416946
1694516947 curseradio = callPackage ../applications/audio/curseradio { };
@@ -16979,7 +16981,7 @@ in
1697916981 dbvisualizer = callPackage ../applications/misc/dbvisualizer {};
1698016982
1698116983 dd-agent = callPackage ../tools/networking/dd-agent/5.nix { };
16982− datadog-agent = callPackage ../tools/networking/dd-agent/6.nix {
16984+ datadog-agent = callPackage ../tools/networking/dd-agent/datadog-agent.nix {
1698316985 pythonPackages = datadog-integrations-core {};
1698416986 };
1698516987 datadog-process-agent = callPackage ../tools/networking/dd-agent/datadog-process-agent.nix { };
@@ -17412,8 +17414,6 @@ in
1741217414
1741317415 evilvte = callPackage ../applications/misc/evilvte (config.evilvte or {});
1741417416
17415− evopedia = callPackage ../applications/misc/evopedia { };
17416−
1741717417 exercism = callPackage ../applications/misc/exercism { };
1741817418
1741917419 go-motion = callPackage ../development/tools/go-motion { };
@@ -18824,7 +18824,8 @@ in
1882418824
1882518825 mm-common = callPackage ../development/libraries/mm-common { };
1882618826
18827− matrique = libsForQt5.callPackage ../applications/networking/instant-messengers/matrique { };
18827+ # Renamed
18828+ matrique = spectral;
1882818829
1882918830 mpc-qt = libsForQt5.callPackage ../applications/video/mpc-qt { };
1883018831
@@ -21880,7 +21881,7 @@ in
2188021881 inherit (kdeFrameworks) kded kinit frameworkintegration;
2188121882
2188221883 inherit (plasma5)
21883− bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth
21884+ bluedevil breeze-gtk breeze-qt5 breeze-grub breeze-plymouth discover
2188421885 kactivitymanagerd kde-cli-tools kde-gtk-config kdeplasma-addons kgamma5
2188521886 kinfocenter kmenuedit kscreen kscreenlocker ksshaskpass ksysguard
2188621887 kwallet-pam kwayland-integration kwin kwrited milou oxygen plasma-browser-integration
@@ -21942,6 +21943,8 @@ in
2194221943
2194321944 ants = callPackage ../applications/science/biology/ants { };
2194421945
21946+ aragorn = callPackage ../applications/science/biology/aragorn { };
21947+
2194521948 archimedes = callPackage ../applications/science/electronics/archimedes {
2194621949 stdenv = overrideCC stdenv gcc49;
2194721950 };
@@ -23852,7 +23855,9 @@ in
2385223855 newlib = callPackage ../development/misc/newlib { };
2385323856 newlibCross = callPackage ../development/misc/newlib {
2385423857 stdenv = crossLibcStdenv;
23855− };
23858+ };
23859+
23860+ omnisharp-roslyn = callPackage ../development/tools/omnisharp-roslyn { };
2385623861
2385723862 wasmtime = callPackage ../development/interpreters/wasmtime {};
2385823863
pkgs/top-level/lua-packages.nix+1−59
@@ -386,7 +386,7 @@ with self; {
386386 sha256 = "0p5583vidsm7s97zihf47c34vscwgbl86axrnj44j328v45kxb2z";
387387 };
388388
389− propagatedBuildInputs = [ std.normalize bit32 ];
389+ propagatedBuildInputs = [ std_normalize bit32 ];
390390
391391 buildPhase = ''
392392 ${lua}/bin/lua build-aux/luke \
@@ -782,64 +782,6 @@ with self; {
782782 };
783783 };
784784
785− std._debug = buildLuaPackage rec {
786− name = "std._debug-${version}";
787− version = "1.0";
788−
789− src = fetchFromGitHub {
790− owner = "lua-stdlib";
791− repo = "_debug";
792− rev = "v${version}";
793− sha256 = "01kfs6k9j9zy4bvk13jx18ssfsmhlciyrni1x32qmxxf4wxyi65n";
794− };
795−
796− # No Makefile.
797− dontBuild = true;
798−
799− installPhase = ''
800− mkdir -p $out/share/lua/${lua.luaversion}/std
801− cp -r lib/std/_debug $out/share/lua/${lua.luaversion}/std/
802− '';
803−
804− meta = with stdenv.lib; {
805− description = "Manage an overall debug state, and associated hint substates.";
806− homepage = https://lua-stdlib.github.io/_debug;
807− license = licenses.mit;
808− maintainers = with maintainers; [ lblasc ];
809− platforms = platforms.unix;
810− };
811− };
812−
813− std.normalize = buildLuaPackage rec {
814− name = "std.normalize-${version}";
815− version = "2.0.1";
816−
817− src = fetchFromGitHub {
818− owner = "lua-stdlib";
819− repo = "normalize";
820− rev = "v${version}";
821− sha256 = "1yz96r28d2wcgky6by92a21755bf4wzpn65rdv2ps0fxywgw5rda";
822− };
823−
824− propagatedBuildInputs = [ std._debug ];
825−
826− # No Makefile.
827− dontBuild = true;
828−
829− installPhase = ''
830− mkdir -p $out/share/lua/${lua.luaversion}/std
831− cp -r lib/std/normalize $out/share/lua/${lua.luaversion}/std/
832− '';
833−
834− meta = with stdenv.lib; {
835− description = "Normalized Lua Functions";
836− homepage = https://lua-stdlib.github.io/normalize;
837− license = licenses.mit;
838− maintainers = with maintainers; [ lblasc ];
839− platforms = platforms.unix;
840− };
841− };
842−
843785 vicious = toLuaModule(stdenv.mkDerivation rec {
844786 name = "vicious-${version}";
845787 version = "2.3.1";
pkgs/top-level/ocaml-packages.nix−4
@@ -560,10 +560,6 @@ let
560560
561561 odoc = callPackage ../development/ocaml-modules/odoc { };
562562
563− ojquery = callPackage ../development/ocaml-modules/ojquery {
564− ocaml_lwt = lwt3;
565− };
566−
567563 omd = callPackage ../development/ocaml-modules/omd { };
568564
569565 opam-file-format = callPackage ../development/ocaml-modules/opam-file-format { };
pkgs/top-level/python-packages.nix+1−1
@@ -1314,7 +1314,7 @@ in {
13141314
13151315 bottle = callPackage ../development/python-modules/bottle { };
13161316
1317− box2d = callPackage ../development/python-modules/box2d { pkgs-box2d = pkgs.box2d; };
1317+ box2d = callPackage ../development/python-modules/box2d { };
13181318
13191319 branca = callPackage ../development/python-modules/branca { };
13201320
pkgs/top-level/release.nix+6
@@ -71,6 +71,7 @@ let
7171 jobs.transmission-gtk.x86_64-darwin
7272
7373 # Tests
74+ /*
7475 jobs.tests.cc-wrapper.x86_64-darwin
7576 jobs.tests.cc-wrapper-clang.x86_64-darwin
7677 jobs.tests.cc-wrapper-libcxx.x86_64-darwin
@@ -79,6 +80,7 @@ let
7980 jobs.tests.stdenv-inputs.x86_64-darwin
8081 jobs.tests.macOSSierraShared.x86_64-darwin
8182 jobs.tests.patch-shebangs.x86_64-darwin
83+ */
8284 ];
8385 } else null;
8486
@@ -104,6 +106,7 @@ let
104106 jobs.thunderbird.x86_64-linux
105107 jobs.unar.x86_64-linux
106108
109+ /*
107110 jobs.tests.cc-wrapper.x86_64-linux
108111 jobs.tests.cc-wrapper-gcc7.x86_64-linux
109112 jobs.tests.cc-wrapper-gcc8.x86_64-linux
@@ -124,6 +127,7 @@ let
124127 jobs.tests.cc-multilib-clang.x86_64-linux
125128 jobs.tests.stdenv-inputs.x86_64-linux
126129 jobs.tests.patch-shebangs.x86_64-linux
130+ */
127131 ]
128132 ++ lib.collect lib.isDerivation jobs.stdenvBootstrapTools
129133 ++ lib.optionals supportDarwin [
@@ -138,6 +142,7 @@ let
138142 jobs.vim.x86_64-darwin
139143 jobs.inkscape.x86_64-darwin
140144 jobs.qt5.qtmultimedia.x86_64-darwin
145+ /*
141146 jobs.tests.cc-wrapper.x86_64-darwin
142147 jobs.tests.cc-wrapper-gcc7.x86_64-darwin
143148 # jobs.tests.cc-wrapper-gcc8.x86_64-darwin
@@ -154,6 +159,7 @@ let
154159 jobs.tests.stdenv-inputs.x86_64-darwin
155160 jobs.tests.macOSSierraShared.x86_64-darwin
156161 jobs.tests.patch-shebangs.x86_64-darwin
162+ */
157163 ];
158164 };
159165