git.iko.soy/typeable/nixpkgs
on master help sign in
Merge branch 'master' into staging

... to get in more fixes of setuid/setgid.

commit8702fd35e2bee6fb89e726b2d3c5103a1c60c566 authorVladimír Čunát <vcunat@gmail.com> dateSun 18 Jun 2017, 13:22 (9 years ago) parent351b59b91e08fe
72 files changed+1023−711
nixos/doc/manual/configuration/x-windows.xml+7 nixos/modules/security/wrappers/default.nix+2−2 nixos/modules/tasks/network-interfaces.nix+2−2 pkgs/applications/altcoins/bitcoin-classic.nix+5−5 pkgs/applications/altcoins/freicoin.nix+4−2 pkgs/applications/altcoins/memorycoin.nix+5−3 pkgs/applications/altcoins/primecoin.nix+5−3 pkgs/applications/graphics/ImageMagick/7.0.nix+2−2 pkgs/applications/graphics/ImageMagick/default.nix+2−2 pkgs/applications/graphics/feh/default.nix+12−5 pkgs/applications/graphics/shotwell/default.nix+6−4 pkgs/applications/misc/krename/default.nix+3−3 pkgs/applications/misc/udevil/default.nix+2−5 pkgs/applications/networking/browsers/chromium/common.nix+6 pkgs/applications/networking/browsers/chromium/patches/fix_network_api_crash.patch+77 pkgs/applications/networking/newsreaders/quiterss/default.nix+2−2 pkgs/applications/networking/p2p/eiskaltdcpp/default.nix+1 pkgs/applications/networking/syncthing/inotify-deps.nix+7−16 pkgs/applications/networking/syncthing/inotify.nix+2−2 pkgs/applications/office/libreoffice/default.nix+2 pkgs/applications/office/libreoffice/still.nix+8−5 pkgs/applications/office/libreoffice/xdg-open.patch+25 pkgs/applications/office/zim/default.nix+7−6 pkgs/applications/video/qstopmotion/default.nix+36 pkgs/desktops/mate/atril/default.nix+37 pkgs/desktops/mate/default.nix+1 pkgs/development/compilers/ghc/head.nix+3 pkgs/development/interpreters/clojure/clooj.nix+2−1 pkgs/development/libraries/accountsservice/default.nix+5−4 pkgs/development/libraries/catch/default.nix+4−4 pkgs/development/node-packages/node-packages-v4.nix+18−9 pkgs/development/node-packages/node-packages-v6.json+1 pkgs/development/node-packages/node-packages-v6.nix+472−43 pkgs/development/ocaml-modules/containers/default.nix+3−4 pkgs/development/python-modules/keystoneauth1/default.nix+27 pkgs/development/python-modules/oslo-config/default.nix+22 pkgs/development/qtcreator/default.nix+6−16 pkgs/development/tools/build-managers/gradle/default.nix+10 pkgs/games/unnethack/default.nix+2 pkgs/games/xconq/default.nix+2 pkgs/games/xsokoban/default.nix+5−1 pkgs/os-specific/linux/kernel/linux-4.11.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/rewritefs/default.nix+5 pkgs/os-specific/linux/spl/default.nix+2−2 pkgs/os-specific/linux/zfs/default.nix+3−3 pkgs/servers/atlassian/confluence.nix+2−2 pkgs/servers/atlassian/crowd.nix+2−2 pkgs/servers/atlassian/jira.nix+2−2 pkgs/servers/computing/torque/default.nix+2−1 pkgs/servers/http/hiawatha/default.nix+4 pkgs/servers/sql/cockroachdb/default.nix+23−14 pkgs/servers/sql/cockroachdb/deps.nix−471 pkgs/shells/rssh/default.nix+6 pkgs/tools/admin/cli53/default.nix+18−12 pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix+5−1 pkgs/tools/filesystems/glusterfs/default.nix+4 pkgs/tools/misc/parallel/default.nix+2−2 pkgs/tools/misc/rrdtool/default.nix+2−2 pkgs/tools/misc/uucp/default.nix+7 pkgs/tools/security/logkeys/default.nix+1 pkgs/tools/security/sudo/default.nix+5 pkgs/tools/security/super/default.nix+7 pkgs/tools/security/vulnix/requirements.nix+1 pkgs/tools/system/at/install.patch+1−1 pkgs/tools/system/cron/default.nix+2−1 pkgs/tools/system/fakeroot/default.nix+3−2 pkgs/tools/system/fakeroot/einval.patch+47 pkgs/tools/system/logcheck/default.nix+5 pkgs/top-level/all-packages.nix+4−3 pkgs/top-level/python-packages.nix+2−33
nixos/doc/manual/configuration/x-windows.xml+7
@@ -45,6 +45,13 @@ services.xserver.displayManager.lightdm.enable = true;
4545</programlisting>
4646</para>
4747
48+<para>You can set the keyboard layout (and optionally the layout variant):
49+<programlisting>
50+services.xserver.layout = "de";
51+services.xserver.xkbVariant = "neo";
52+</programlisting>
53+</para>
54+
4855<para>The X server is started automatically at boot time. If you
4956don’t want this to happen, you can set:
5057<programlisting>
nixos/modules/security/wrappers/default.nix+2−2
@@ -80,8 +80,8 @@ let
8080 group = "root";
8181 } // s)
8282 else if
83− (s ? "setuid" && s.setuid == true) ||
84− (s ? "setguid" && s.setguid == true) ||
83+ (s ? "setuid" && s.setuid) ||
84+ (s ? "setgid" && s.setgid) ||
8585 (s ? "permissions")
8686 then mkSetuidProgram s
8787 else mkSetuidProgram
nixos/modules/tasks/network-interfaces.nix+2−2
@@ -1110,7 +1110,7 @@ in
11101110 '';
11111111
11121112 # Udev script to execute for a new WLAN interface. The script configures the new WLAN interface.
1113− newInterfaceScript = new: pkgs.writeScript "udev-run-script-wlan-interfaces-${new._iName}.sh" ''
1113+ newInterfaceScript = device: new: pkgs.writeScript "udev-run-script-wlan-interfaces-${new._iName}.sh" ''
11141114 #!${pkgs.stdenv.shell}
11151115 # Configure the new interface
11161116 ${pkgs.iw}/bin/iw dev ${new._iName} set type ${new.type}
@@ -1132,7 +1132,7 @@ in
11321132 # It is important to have that rule first as overwriting the NAME attribute also prevents the
11331133 # next rules from matching.
11341134 ${flip (concatMapStringsSep "\n") (wlanListDeviceFirst device wlanDeviceInterfaces."${device}") (interface:
1135− ''ACTION=="add", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", ENV{INTERFACE}=="${interface._iName}", ${systemdAttrs interface._iName}, RUN+="${newInterfaceScript interface}"'')}
1135+ ''ACTION=="add", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", ENV{INTERFACE}=="${interface._iName}", ${systemdAttrs interface._iName}, RUN+="${newInterfaceScript device interface}"'')}
11361136
11371137 # Add the required, new WLAN interfaces to the default WLAN interface with the
11381138 # persistent, default name as assigned by udev.
pkgs/applications/altcoins/bitcoin-classic.nix+5−5
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 owner = "bitcoinclassic";
1414 repo = "bitcoinclassic";
1515 rev = "v${version}";
16− sha256 = "1z6g930csvx49krl34207yqwlr8dkxpi72k3msh15p1kjvv90nvz";
16+ sha256 = "00spils0gv8krx2nyxrf6j1dl81wmxk8xjkqc22cv7nsdnakzrvm";
1717 };
1818
1919 nativeBuildInputs = [ pkgconfig autoreconfHook ];
@@ -32,12 +32,12 @@ stdenv.mkDerivation rec {
3232 parties. Users hold the crypto keys to their own money and transact directly
3333 with each other, with the help of a P2P network to check for double-spending.
3434
35− Bitcoin Classic stands for the original Bitcoin as Satoshi described it,
36− "A Peer-to-Peer Electronic Cash System". We are writing the software that
35+ Bitcoin Classic stands for the original Bitcoin as Satoshi described it,
36+ "A Peer-to-Peer Electronic Cash System". We are writing the software that
3737 miners and users say they want. We will make sure it solves their needs, help
38− them deploy it, and gracefully upgrade the bitcoin network's capacity
38+ them deploy it, and gracefully upgrade the bitcoin network's capacity
3939 together. The data shows that Bitcoin can grow, on-chain, to welcome many
40− more users onto our coin in a safe and distributed manner. In the future we
40+ more users onto our coin in a safe and distributed manner. In the future we
4141 will continue to release updates that are in line with Satoshi’s whitepaper &
4242 vision, and are agreed upon by the community.
4343 '';
pkgs/applications/altcoins/freicoin.nix+4−2
@@ -11,16 +11,18 @@ stdenv.mkDerivation rec {
1111 sha256 = "1m5pcnfhwhcj7q00p2sy3h73rkdm3w6grmljgiq53gshcj08cq1z";
1212 };
1313
14+ qmakeFlags = ["USE_UPNP=-"];
15+
1416 # I think that openssl and zlib are required, but come through other
1517 # packages
1618
1719 installPhase = ''
1820 mkdir -p $out/bin
1921 cp freicoin-qt $out/bin
20− '';
22+ '';
2123
2224 nativeBuildInputs = [ qmake4Hook ];
23− buildInputs = [ db boost gmp mpfr miniupnpc qt4 ];
25+ buildInputs = [ db boost gmp mpfr qt4 ];
2426
2527 meta = with stdenv.lib; {
2628 description = "Peer-to-peer currency with demurrage fee";
pkgs/applications/altcoins/memorycoin.nix+5−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
2−, zlib, miniupnpc, qt4, qmake4Hook, utillinux, protobuf, qrencode
2+, zlib, qt4, qmake4Hook, utillinux, protobuf, qrencode
33, withGui }:
44
55with stdenv.lib;
@@ -13,10 +13,12 @@ stdenv.mkDerivation rec{
1313 sha256 = "1iyh6dqrg0mirwci5br5n5qw3ghp2cs23wd8ygr56bh9ml4dr1m8";
1414 };
1515
16− buildInputs = [ pkgconfig openssl db48 boost zlib
17− miniupnpc utillinux protobuf ]
16+ buildInputs = [ pkgconfig openssl db48 boost zlib utillinux protobuf ]
1817 ++ optionals withGui [ qt4 qmake4Hook qrencode ];
1918
19+ qmakeFlags = ["USE_UPNP=-"];
20+ makeFlags = ["USE_UPNP=-"];
21+
2022 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
2123 ++ optionals withGui [ "--with-gui=qt4" ];
2224
pkgs/applications/altcoins/primecoin.nix+5−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
2−, zlib, miniupnpc, qt4, qmake4Hook, utillinux, protobuf, qrencode
2+, zlib, qt4, qmake4Hook, utillinux, protobuf, qrencode
33, withGui }:
44
55with stdenv.lib;
@@ -13,8 +13,10 @@ stdenv.mkDerivation rec{
1313 sha256 = "0cixnkici74204s9d5iqj5sccib5a8dig2p2fp1axdjifpg787i3";
1414 };
1515
16− buildInputs = [ pkgconfig openssl db48 boost zlib
17− miniupnpc utillinux protobuf ]
16+ qmakeFlags = ["USE_UPNP=-"];
17+ makeFlags = ["USE_UPNP=-"];
18+
19+ buildInputs = [ pkgconfig openssl db48 boost zlib utillinux protobuf ]
1820 ++ optionals withGui [ qt4 qmake4Hook qrencode ];
1921
2022 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
pkgs/applications/graphics/ImageMagick/7.0.nix+2−2
@@ -12,8 +12,8 @@ let
1212 else throw "ImageMagick is not supported on this platform.";
1313
1414 cfg = {
15− version = "7.0.5-7";
16− sha256 = "11k53193az0bvdhp4gz2g9p8fb6r5fr1h74dnfx6ijfnfj80hbgp";
15+ version = "7.0.6-0";
16+ sha256 = "1vl9mkdp5pskl4lxd1p79ayv1k3gxpa8iz992d302qyllhm7wn1i";
1717 patches = [];
1818 };
1919in
pkgs/applications/graphics/ImageMagick/default.nix+2−2
@@ -12,8 +12,8 @@ let
1212 else throw "ImageMagick is not supported on this platform.";
1313
1414 cfg = {
15− version = "6.9.8-9";
16− sha256 = "0wr6wcmvaw62f6pkgnpqnjmp331wfwmds9wmqzr4zv53s9k1lkzn";
15+ version = "6.9.8-10";
16+ sha256 = "040qs7nwcm84bjd9wryvd58zqfykbmn3y3qfc90lnldww7v6ihlg";
1717 patches = [];
1818 }
1919 # Freeze version on mingw so we don't need to port the patch too often.
pkgs/applications/graphics/feh/default.nix+12−5
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
1313 sha256 = "09f5rfzls4h5jcrp7ylwbiljp5qzc2nbw9p2csv0pnlaixj69gil";
1414 };
1515
16− outputs = [ "out" "doc" ];
16+ outputs = [ "out" "man" "doc" ];
1717
1818 nativeBuildInputs = [ makeWrapper xorg.libXt ]
1919 ++ optionals doCheck [ perlPackages.TestCommand perlPackages.TestHarness ];
@@ -22,13 +22,20 @@ stdenv.mkDerivation rec {
2222
2323 preBuild = ''
2424 makeFlags="PREFIX=$out exif=1"
25− '';
25+ '';
26+
27+ postBuild = ''
28+ pushd man
29+ make
30+ popd
31+ '';
2632
2733 postInstall = ''
2834 wrapProgram "$out/bin/feh" --prefix PATH : "${libjpeg.bin}/bin" \
29− --add-flags '--theme=feh'
30− '';
31−
35+ --add-flags '--theme=feh'
36+ install -D -m 644 man/*.1 $out/share/man/man1
37+ '';
38+
3239 checkPhase = ''
3340 PERL5LIB="${perlPackages.TestCommand}/lib/perl5/site_perl" make test
3441 '';
pkgs/applications/graphics/shotwell/default.nix+6−4
@@ -8,12 +8,12 @@
88stdenv.mkDerivation rec {
99 version = "${major}.${minor}";
1010 major = "0.26";
11− minor = "1";
11+ minor = "2";
1212 name = "shotwell-${version}";
1313
1414 src = fetchurl {
1515 url = "mirror://gnome/sources/shotwell/${major}/${name}.tar.xz";
16− sha256 = "0xak1f69lp1yx3p8jgmr9c0z3jypi8zjpy3kiknn5n9g2f5cqq0a";
16+ sha256 = "0frjqa6nmh025clwnb74z2rzbdq65wjcp2lf9csgcbkpahyjhrag";
1717 };
1818
1919 NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include";
@@ -24,11 +24,13 @@ stdenv.mkDerivation rec {
2424 patchShebangs .
2525 '';
2626
27+ nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
28+
2729 buildInputs = [ m4 glibc gtk3 libexif libgphoto2 libsoup libxml2 vala_0_28 sqlite webkitgtk
28− pkgconfig gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
30+ gst_all_1.gstreamer gst_all_1.gst-plugins-base gnome3.libgee
2931 which udev libgudev gnome3.gexiv2 hicolor_icon_theme
3032 libraw json_glib gettext desktop_file_utils glib lcms2 gdk_pixbuf librsvg
31− wrapGAppsHook gnome_doc_utils gnome3.rest gnome3.gcr
33+ gnome_doc_utils gnome3.rest gnome3.gcr
3234 gnome3.defaultIconTheme itstool libgdata ];
3335
3436 meta = with stdenv.lib; {
pkgs/applications/misc/krename/default.nix+3−3
@@ -6,15 +6,15 @@
66
77let
88 pname = "krename";
9− version = "20161228";
9+ version = "20170610";
1010 unwrapped = kdeDerivation rec {
1111 name = "${pname}-${version}";
1212
1313 src = fetchFromGitHub {
1414 owner = "KDE";
1515 repo = "krename";
16− rev = "4e55c2bef50898eb4a6485ce068379b166121895";
17− sha256 = "09yz3sxy2l6radfybkj2f7224ggf315vnvyksk0aq8f03gan6cbp";
16+ rev = "18000edfec52de0b417d575e14eb078b4bd7b2f3";
17+ sha256 = "0hsrlfrbi42jqqnkcz682c6yrfi3xpl299672knj22074wr6sv0j";
1818 };
1919
2020 meta = with lib; {
pkgs/applications/misc/udevil/default.nix+2−5
@@ -7,8 +7,9 @@ stdenv.mkDerivation {
77 };
88 buildInputs = [ intltool glib pkgconfig udev ];
99 configurePhase = ''
10− substituteInPlace src/Makefile.am --replace "-o root -g root" ""
1110 substituteInPlace src/Makefile.in --replace "-o root -g root" ""
11+ # do not set setuid bit in nix store
12+ substituteInPlace src/Makefile.in --replace 4755 0755
1213 ./configure \
1314 --prefix=$out \
1415 --with-mount-prog=${utillinux}/bin/mount \
@@ -17,10 +18,6 @@ stdenv.mkDerivation {
1718 --with-setfacl-prog=${acl.bin}/bin/setfacl \
1819 --sysconfdir=$prefix/etc
1920 '';
20− preConfigure = ''
21− cat src/Makefile.am
22− exit 2
23− '';
2421 patches = [ ./device-info-sys-stat.patch ];
2522 meta = {
2623 description = "A command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes";
pkgs/applications/networking/browsers/chromium/common.nix+6
@@ -105,6 +105,9 @@ let
105105
106106 patches = [
107107 ./patches/nix_plugin_paths_52.patch
108+ # To enable ChromeCast, go to chrome://flags and set "Load Media Router Component Extension" to Enabled
109+ # Fixes Chromecast: https://bugs.chromium.org/p/chromium/issues/detail?id=734325
110+ ./patches/fix_network_api_crash.patch
108111 ] ++ optional (versionOlder version "57.0") ./patches/glibc-2.24.patch
109112 ++ optional enableWideVine ./patches/widevine.patch;
110113
@@ -129,6 +132,9 @@ let
129132 :l; n; bl
130133 }' gpu/config/gpu_control_list.cc
131134
135+ # Allow to put extensions into the system-path.
136+ sed -i -e 's,/usr,/run/current-system/sw,' chrome/common/chrome_paths.cc
137+
132138 patchShebangs .
133139 # use our own nodejs
134140 mkdir -p third_party/node/linux/node-linux-x64/bin
pkgs/applications/networking/browsers/chromium/patches/fix_network_api_crash.patchnew file+77
@@ -0,0 +1,77 @@
1+Index: extensions/browser/api/networking_private/networking_private_linux.cc
2+===================================================================
3+--- a/extensions/browser/api/networking_private/networking_private_linux.cc.orig 2016-05-05 03:01:50.000000000 +0200
4++++ b/extensions/browser/api/networking_private/networking_private_linux.cc 2016-05-10 16:16:42.431052917 +0200
5+@@ -215,12 +215,14 @@ void NetworkingPrivateLinux::GetState(
6+ std::unique_ptr<base::DictionaryValue> network_properties(
7+ new base::DictionaryValue);
8+
9++ std::string* erp = error.get();
10++ base::DictionaryValue* npp = network_properties.get();
11+ // Runs GetCachedNetworkProperties on |dbus_thread|.
12+ dbus_thread_.task_runner()->PostTaskAndReply(
13+ FROM_HERE, base::Bind(&NetworkingPrivateLinux::GetCachedNetworkProperties,
14+ base::Unretained(this), guid,
15+- base::Unretained(network_properties.get()),
16+- base::Unretained(error.get())),
17++ base::Unretained(npp),
18++ base::Unretained(erp)),
19+ base::Bind(&GetCachedNetworkPropertiesCallback, base::Passed(&error),
20+ base::Passed(&network_properties), success_callback,
21+ failure_callback));
22+@@ -301,11 +303,12 @@ void NetworkingPrivateLinux::GetNetworks
23+
24+ // Runs GetAllWiFiAccessPoints on the dbus_thread and returns the
25+ // results back to OnAccessPointsFound where the callback is fired.
26++ NetworkMap* nmp = network_map.get();
27+ dbus_thread_.task_runner()->PostTaskAndReply(
28+ FROM_HERE,
29+ base::Bind(&NetworkingPrivateLinux::GetAllWiFiAccessPoints,
30+ base::Unretained(this), configured_only, visible_only, limit,
31+- base::Unretained(network_map.get())),
32++ base::Unretained(nmp)),
33+ base::Bind(&NetworkingPrivateLinux::OnAccessPointsFound,
34+ base::Unretained(this), base::Passed(&network_map),
35+ success_callback, failure_callback));
36+@@ -321,11 +324,12 @@ bool NetworkingPrivateLinux::GetNetworks
37+ // Runs GetAllWiFiAccessPoints on the dbus_thread and returns the
38+ // results back to SendNetworkListChangedEvent to fire the event. No
39+ // callbacks are used in this case.
40++ NetworkMap* nmp = network_map.get();
41+ dbus_thread_.task_runner()->PostTaskAndReply(
42+ FROM_HERE, base::Bind(&NetworkingPrivateLinux::GetAllWiFiAccessPoints,
43+ base::Unretained(this), false /* configured_only */,
44+ false /* visible_only */, 0 /* limit */,
45+- base::Unretained(network_map.get())),
46++ base::Unretained(nmp)),
47+ base::Bind(&NetworkingPrivateLinux::OnAccessPointsFoundViaScan,
48+ base::Unretained(this), base::Passed(&network_map)));
49+
50+@@ -506,11 +510,12 @@ void NetworkingPrivateLinux::StartConnec
51+
52+ std::unique_ptr<std::string> error(new std::string);
53+
54++ std::string* erp = error.get();
55+ // Runs ConnectToNetwork on |dbus_thread|.
56+ dbus_thread_.task_runner()->PostTaskAndReply(
57+ FROM_HERE,
58+ base::Bind(&NetworkingPrivateLinux::ConnectToNetwork,
59+- base::Unretained(this), guid, base::Unretained(error.get())),
60++ base::Unretained(this), guid, base::Unretained(erp)),
61+ base::Bind(&OnNetworkConnectOperationCompleted, base::Passed(&error),
62+ success_callback, failure_callback));
63+ }
64+@@ -524,11 +529,12 @@ void NetworkingPrivateLinux::StartDiscon
65+
66+ std::unique_ptr<std::string> error(new std::string);
67+
68++ std::string* erp = error.get();
69+ // Runs DisconnectFromNetwork on |dbus_thread|.
70+ dbus_thread_.task_runner()->PostTaskAndReply(
71+ FROM_HERE,
72+ base::Bind(&NetworkingPrivateLinux::DisconnectFromNetwork,
73+- base::Unretained(this), guid, base::Unretained(error.get())),
74++ base::Unretained(this), guid, base::Unretained(erp)),
75+ base::Bind(&OnNetworkConnectOperationCompleted, base::Passed(&error),
76+ success_callback, failure_callback));
77+ }
pkgs/applications/networking/newsreaders/quiterss/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "quiterss-${version}";
5− version = "0.18.4";
5+ version = "0.18.5";
66
77 src = fetchFromGitHub {
88 owner = "QuiteRSS";
99 repo = "quiterss";
1010 rev = "${version}";
11− sha256 = "0gk4s41npg8is0jf4yyqpn8ksqrhwxq97z40iqcbd7dzsiv7bkvj";
11+ sha256 = "1y0n5ps1z4wgf9hkfjrw7dfyncrw22bf9mi3052vmf3s7xzz6vbb";
1212 };
1313
1414 buildInputs = [ qt5.qtbase qt5.qttools qt5.qtwebkit qmakeHook makeQtWrapper pkgconfig sqlite.dev ];
pkgs/applications/networking/p2p/eiskaltdcpp/default.nix+1
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
1515 -DUSE_QT_QML=ON
1616 -DFREE_SPACE_BAR_C=ON
1717 -DUSE_MINIUPNP=ON
18+ -DLOCAL_MINIUPNP=ON
1819 -DDBUS_NOTIFY=ON
1920 -DUSE_JS=ON
2021 -DPERL_REGEX=ON
pkgs/applications/networking/syncthing/inotify-deps.nix+7−16
@@ -1,30 +1,21 @@
1−# This file was generated by go2nix.
1+# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
22[
3− {
4− goPackagePath = "github.com/cenkalti/backoff";
5− fetch = {
6− type = "git";
7− url = "https://github.com/cenkalti/backoff";
8− rev = "b02f2bbce11d7ea6b97f282ef1771b0fe2f65ef3";
9− sha256 = "0lhcll9pzcxbbm9sdsijvcvdqc4lrsgbyw0q1xly0pnz556v6pyc";
10− };
11− }
123 {
134 goPackagePath = "github.com/syncthing/syncthing";
145 fetch = {
156 type = "git";
167 url = "https://github.com/syncthing/syncthing";
17− rev = "fb6d453c74d8420af847460e42e05779e90311b6";
18− sha256 = "18fya44i80ij5wqpwg0bff2hp058rh87b9zld2rpw0z8r04bnsv0";
8+ rev = "d0061c172caecd3baf61f3ff720f56fdb805186e";
9+ sha256 = "08cn0ym4arjppbnfn2b37crarwmiqbj4yjr7kinhdxx9gqm5wkj1";
1910 };
2011 }
2112 {
22− goPackagePath = "github.com/zillode/notify";
13+ goPackagePath = "golang.org/x/sys";
2314 fetch = {
2415 type = "git";
25− url = "https://github.com/zillode/notify";
26− rev = "df33c1a773b462f936a149c36696c018c047eaa9";
27− sha256 = "0ncfqnj5kvbyw630xsxqkxy3y6jv5hp89fqi9mzra3lr4zckiv3s";
16+ url = "https://go.googlesource.com/sys";
17+ rev = "fb4cac33e3196ff7f507ab9b2d2a44b0142f5b5a";
18+ sha256 = "1y5lx3f7rawfxrqg0s2ndgbjjjaml3rn3f27h9w9c5mw3xk7lrgj";
2819 };
2920 }
3021]
pkgs/applications/networking/syncthing/inotify.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "syncthing-inotify-${version}";
5− version = "0.8.5";
5+ version = "0.8.6";
66
77 goPackagePath = "github.com/syncthing/syncthing-inotify";
88
@@ -10,7 +10,7 @@ buildGoPackage rec {
1010 owner = "syncthing";
1111 repo = "syncthing-inotify";
1212 rev = "v${version}";
13− sha256 = "13qfppwlqrx3fs44ghnffdp9x0hs7mn1gal2316p7jb0klkcpfzh";
13+ sha256 = "0z1zpb7av4q5nj2d4yda9jcbjdz4yj3823c29y73yf0gfp26lppl";
1414 };
1515
1616 goDeps = ./inotify-deps.nix;
pkgs/applications/office/libreoffice/default.nix+2
@@ -72,6 +72,8 @@ in stdenv.mkDerivation rec {
7272 configureScript = "./autogen.sh";
7373 dontUseCmakeConfigure = true;
7474
75+ patches = [ ./xdg-open.patch ];
76+
7577 postUnpack = ''
7678 mkdir -v $sourceRoot/src
7779 '' + (stdenv.lib.concatMapStrings (f: "ln -sfv ${f} $sourceRoot/src/${f.md5 or f.outputHash}-${f.name}\nln -sfv ${f} $sourceRoot/src/${f.name}\n") srcs.third_party)
pkgs/applications/office/libreoffice/still.nix+8−5
@@ -73,11 +73,14 @@ in stdenv.mkDerivation rec {
7373 dontUseCmakeConfigure = true;
7474
7575 # ICU 58, included in 5.3.x
76− patches = [(fetchurl {
77− url = "https://gerrit.libreoffice.org/gitweb?p=core.git;a=patch;h=3e42714c76b1347babfdea0564009d8d82a83af4";
78− sha256 = "10bid0jdw1rpdsqwzzk3r4rp6bjs2cvi82h7anz2m1amfjdv86my";
79− name = "libreoffice-5.2.x-icu4c-58.patch";
80− })];
76+ patches = [
77+ (fetchurl {
78+ url = "https://gerrit.libreoffice.org/gitweb?p=core.git;a=patch;h=3e42714c76b1347babfdea0564009d8d82a83af4";
79+ sha256 = "10bid0jdw1rpdsqwzzk3r4rp6bjs2cvi82h7anz2m1amfjdv86my";
80+ name = "libreoffice-5.2.x-icu4c-58.patch";}
81+ )
82+ ./xdg-open.patch
83+ ];
8184
8285 postUnpack = ''
8386 mkdir -v $sourceRoot/src
pkgs/applications/office/libreoffice/xdg-open.patchnew file+25
@@ -0,0 +1,25 @@
1+diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
2+--- a/shell/source/unix/exec/shellexec.cxx
3++++ b/shell/source/unix/exec/shellexec.cxx
4+@@ -150,7 +150,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
5+ if (std::getenv("LIBO_FLATPAK") != nullptr) {
6+ aBuffer.append("/app/bin/xdg-open");
7+ } else {
8+- aBuffer.append("/usr/bin/xdg-open");
9++ aBuffer.append("xdg-open");
10+ }
11+ #endif
12+ aBuffer.append(" ");
13+diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
14+index 4519e01f26e2..8985711a2c01 100755
15+--- a/shell/source/unix/misc/senddoc.sh
16++++ b/shell/source/unix/misc/senddoc.sh
17+@@ -393,6 +393,8 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
18+ MAILER=/usr/bin/kde-open
19+ elif [ -x /usr/bin/xdg-open ] ; then
20+ MAILER=/usr/bin/xdg-open
21++ elif type -p xdg-open >/dev/null 2>&1 ; then
22++ MAILER="$(type -p xdg-open)"
23+ else
24+ echo "Unsupported mail client: `basename $MAILER | sed 's/-.*^//'`"
25+ exit 2
pkgs/applications/office/zim/default.nix+7−6
@@ -9,11 +9,11 @@
99
1010python2Packages.buildPythonApplication rec {
1111 name = "zim-${version}";
12− version = "0.65";
12+ version = "0.67-rc2";
1313
1414 src = fetchurl {
1515 url = "http://zim-wiki.org/downloads/${name}.tar.gz";
16− sha256 = "15pdq4fxag85qjsrdmmssiq85qsk5vnbp8mrqnpvx8lm8crz6hjl";
16+ sha256 = "0l4q2dfnvyn0jr1lggf8g7515q4z7qr1lnmy0lsyhjf477ldszqf";
1717 };
1818
1919 propagatedBuildInputs = with python2Packages; [ pyGtkGlade pyxdg pygobject2 ];
@@ -37,9 +37,10 @@ python2Packages.buildPythonApplication rec {
3737 '';
3838
3939
40− meta = {
41− description = "A desktop wiki";
42− homepage = http://zim-wiki.org;
43− license = stdenv.lib.licenses.gpl2Plus;
40+ meta = with stdenv.lib; {
41+ description = "A desktop wiki";
42+ homepage = http://zim-wiki.org;
43+ license = licenses.gpl2Plus;
44+ maintainers = with maintainers; [ pSub ];
4445 };
4546}
pkgs/applications/video/qstopmotion/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchurl, qt5, gstreamer, gstreamermm, gst_plugins_bad
2+, gst_plugins_base, gst_plugins_good, ffmpeg, guvcview, automoc4
3+, cmake, libxml2, gettext, pkgconfig, libgphoto2, gphoto2, v4l_utils
4+, libv4l, pcre }:
5+
6+stdenv.mkDerivation rec {
7+ pname = "qstopmotion";
8+ version = "2.3.2";
9+ name = "${pname}-${version}";
10+
11+ src = fetchurl {
12+ url = "mirror://sourceforge/project/${pname}/Version_2_3_2/${name}-Source.tar.gz";
13+ sha256 = "1vbiznwyc05jqg0dpmgxmvf7kdzmlck0i8v2c5d69kgrdnaypcrf";
14+ };
15+
16+ buildInputs = [ qt5.qtbase gstreamer gstreamermm gst_plugins_bad gst_plugins_good
17+ gst_plugins_base ffmpeg guvcview v4l_utils libv4l pcre
18+ ];
19+
20+ nativeBuildInputs = [ pkgconfig cmake gettext libgphoto2 gphoto2 libxml2 libv4l ];
21+
22+ meta = with stdenv.lib; {
23+ homepage = "http://www.qstopmotion.org";
24+ description = "Create stopmotion animation with a (web)camera";
25+ longDescription = ''
26+ Qstopmotion is a tool to create stopmotion
27+ animation. Its users are able to create stop-motions from pictures
28+ imported from a camera or from the harddrive and export the
29+ animation to different video formats such as mpeg or avi.
30+ '';
31+
32+ license = stdenv.lib.licenses.gpl2Plus;
33+ maintainers = [ maintainers.leenaars ];
34+ platforms = stdenv.lib.platforms.gnu;
35+ };
36+}
pkgs/desktops/mate/atril/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, mate, wrapGAppsHook }:
2+
3+stdenv.mkDerivation rec {
4+ name = "atril-${version}";
5+ version = "${major-ver}.${minor-ver}";
6+ major-ver = "1.19";
7+ minor-ver = "0";
8+
9+ src = fetchurl {
10+ url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
11+ sha256 = "0v829yvr738y5s2knyvimcgqv351qzb0rpw5il19qc27rbzyri1r";
12+ };
13+
14+ nativeBuildInputs = [
15+ pkgconfig
16+ intltool
17+ wrapGAppsHook
18+ ];
19+
20+ buildInputs = [
21+ gtk3
22+ itstool
23+ libsecret
24+ libxml2
25+ poppler
26+ mate.mate-desktop
27+ ];
28+
29+ configureFlags = [ "--disable-caja" ];
30+
31+ meta = {
32+ description = "A simple multi-page document viewer for the MATE desktop";
33+ homepage = "http://mate-desktop.org";
34+ license = stdenv.lib.licenses.gpl2;
35+ platforms = stdenv.lib.platforms.unix;
36+ };
37+}
pkgs/desktops/mate/default.nix+1
@@ -1,5 +1,6 @@
11{ callPackage, pkgs }:
22rec {
3+ atril = callPackage ./atril { };
34 caja = callPackage ./caja { };
45 mate-common = callPackage ./mate-common { };
56 mate-desktop = callPackage ./mate-desktop { };
pkgs/development/compilers/ghc/head.nix+3
@@ -15,6 +15,8 @@ let
1515 version = "8.1.20170106";
1616 rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd";
1717
18+ outputs = [ "out" "doc" ];
19+
1820 commonPreConfigure = ''
1921 echo ${version} >VERSION
2022 echo ${rev} >GIT_COMMIT_ID
@@ -48,6 +50,7 @@ in stdenv.mkDerivation (rec {
4850 configureFlags = [
4951 "CC=${stdenv.cc}/bin/cc"
5052 "--with-curses-includes=${ncurses.dev}/include" "--with-curses-libraries=${ncurses.out}/lib"
53+ "--datadir=$doc/share/doc/ghc"
5154 ] ++ stdenv.lib.optional (! enableIntegerSimple) [
5255 "--with-gmp-includes=${gmp.dev}/include" "--with-gmp-libraries=${gmp.out}/lib"
5356 ] ++ stdenv.lib.optional stdenv.isDarwin [
pkgs/development/interpreters/clojure/clooj.nix+2−1
@@ -6,7 +6,8 @@ stdenv.mkDerivation {
66 name = "clooj-${version}";
77
88 jar = fetchurl {
9− url = "http://download1492.mediafire.com/5bbi05sxgxog/prkf64humftrmz3/clooj-0.4.4-standalone.jar";
9+ # mirrored as original mediafire.com source does not work without user interaction
10+ url = "https://archive.org/download/clooj-0.4.4-standalone/clooj-0.4.4-standalone.jar";
1011 sha256 = "0hbc29bg2a86rm3sx9kvj7h7db9j0kbnrb706wsfiyk3zi3bavnd";
1112 };
1213
pkgs/development/libraries/accountsservice/default.nix+5−4
@@ -3,15 +3,16 @@
33
44stdenv.mkDerivation rec {
55 name = "accountsservice-${version}";
6− version = "0.6.43";
6+ version = "0.6.45";
77
88 src = fetchurl {
99 url = "http://www.freedesktop.org/software/accountsservice/accountsservice-${version}.tar.xz";
10− sha256 = "1k6n9079001sgcwlkq0bz6mkn4m8y4dwf6hs1qm85swcld5ajfzd";
10+ sha256 = "09pg25ir7kjigvp2cxd9fkfw8c8ql8vrswfvymg9zmbmma9w43zv";
1111 };
1212
13− buildInputs = [ pkgconfig glib intltool libtool makeWrapper
14− gobjectIntrospection polkit systemd ];
13+ nativeBuildInputs = [ pkgconfig makeWrapper ];
14+
15+ buildInputs = [ glib intltool libtool gobjectIntrospection polkit systemd ];
1516
1617 configureFlags = [ "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
1718 "--localstatedir=/var" ];
pkgs/development/libraries/catch/default.nix+4−4
@@ -3,16 +3,16 @@
33stdenv.mkDerivation rec {
44
55 name = "catch-${version}";
6− version = "1.7.0";
6+ version = "1.9.5";
77
88 src = fetchFromGitHub {
99 owner = "philsquared";
1010 repo = "Catch";
11− rev = "v." + version;
12− sha256 = "0harki6irc4mqipjc24zyy0jimidr5ng3ss29bnpzbbwhrnkyrgm";
11+ rev = "v${version}";
12+ sha256 = "1in4f6w1pja8m1hvyiwx7s7gxnj6nlj1fgxw9blldffh09ikgpm2";
1313 };
1414
15− buildInputs = [ cmake ];
15+ nativeBuildInputs = [ cmake ];
1616 cmakeFlags = [ "-DUSE_CPP14=ON" ];
1717
1818 doCheck = true;
pkgs/development/node-packages/node-packages-v4.nix+18−9
@@ -2056,13 +2056,13 @@ let
20562056 sha1 = "27a5dea06b36b04a0a9966774b290868f0fc40fd";
20572057 };
20582058 };
2059− "uuid-3.0.1" = {
2059+ "uuid-3.1.0" = {
20602060 name = "uuid";
20612061 packageName = "uuid";
2062− version = "3.0.1";
2062+ version = "3.1.0";
20632063 src = fetchurl {
2064− url = "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz";
2065− sha1 = "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1";
2064+ url = "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz";
2065+ sha1 = "3dd3d3e790abc24d7b0d3a034ffababe28ebbc04";
20662066 };
20672067 };
20682068 "delayed-stream-1.0.0" = {
@@ -3874,6 +3874,15 @@ let
38743874 sha1 = "ec0c1e53536b76647a24b77cb83966d9315123d9";
38753875 };
38763876 };
3877+ "uuid-3.0.1" = {
3878+ name = "uuid";
3879+ packageName = "uuid";
3880+ version = "3.0.1";
3881+ src = fetchurl {
3882+ url = "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz";
3883+ sha1 = "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1";
3884+ };
3885+ };
38773886 "validate-npm-package-name-3.0.0" = {
38783887 name = "validate-npm-package-name";
38793888 packageName = "validate-npm-package-name";
@@ -6044,7 +6053,7 @@ in
60446053 ];
60456054 })
60466055 sources."tunnel-agent-0.6.0"
6047− sources."uuid-3.0.1"
6056+ sources."uuid-3.1.0"
60486057 ];
60496058 })
60506059 sources."rimraf-2.6.1"
@@ -6542,7 +6551,7 @@ in
65426551 ];
65436552 })
65446553 sources."tunnel-agent-0.6.0"
6545− sources."uuid-3.0.1"
6554+ sources."uuid-3.1.0"
65466555 ];
65476556 })
65486557 (sources."rimraf-2.6.1" // {
@@ -6784,7 +6793,7 @@ in
67846793 ];
67856794 })
67866795 sources."tunnel-agent-0.6.0"
6787− sources."uuid-3.0.1"
6796+ sources."uuid-3.1.0"
67886797 ];
67896798 })
67906799 (sources."rimraf-2.6.1" // {
@@ -7099,7 +7108,7 @@ in
70997108 ];
71007109 })
71017110 sources."tunnel-agent-0.6.0"
7102− sources."uuid-3.0.1"
7111+ sources."uuid-3.1.0"
71037112 ];
71047113 })
71057114 (sources."rimraf-2.6.1" // {
@@ -8107,7 +8116,7 @@ in
81078116 ];
81088117 })
81098118 sources."tunnel-agent-0.4.3"
8110− sources."uuid-3.0.1"
8119+ sources."uuid-3.1.0"
81118120 ];
81128121 })
81138122 sources."semver-5.3.0"
pkgs/development/node-packages/node-packages-v6.json+1
@@ -26,6 +26,7 @@
2626, "htmlhint"
2727, "ios-deploy"
2828, "istanbul"
29+, "javascript-typescript-langserver"
2930, "jayschema"
3031, "jshint"
3132, "json"
pkgs/development/node-packages/node-packages-v6.nix+472−43
@@ -1489,13 +1489,13 @@ let
14891489 sha1 = "9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f";
14901490 };
14911491 };
1492− "uuid-3.0.1" = {
1492+ "uuid-3.1.0" = {
14931493 name = "uuid";
14941494 packageName = "uuid";
1495− version = "3.0.1";
1495+ version = "3.1.0";
14961496 src = fetchurl {
1497− url = "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz";
1498− sha1 = "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1";
1497+ url = "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz";
1498+ sha1 = "3dd3d3e790abc24d7b0d3a034ffababe28ebbc04";
14991499 };
15001500 };
15011501 "validator-5.2.0" = {
@@ -2767,13 +2767,13 @@ let
27672767 sha1 = "8ce447bdb5b6c577f8a63e3fa78056ec4bb4dbfb";
27682768 };
27692769 };
2770− "promise-7.1.1" = {
2770+ "promise-7.3.0" = {
27712771 name = "promise";
27722772 packageName = "promise";
2773− version = "7.1.1";
2773+ version = "7.3.0";
27742774 src = fetchurl {
2775− url = "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz";
2776− sha1 = "489654c692616b8aa55b0724fa809bb7db49c5bf";
2775+ url = "https://registry.npmjs.org/promise/-/promise-7.3.0.tgz";
2776+ sha1 = "e7feec5aa87a2cbb81acf47d9a3adbd9d4642d7b";
27772777 };
27782778 };
27792779 "asap-2.0.5" = {
@@ -7528,6 +7528,15 @@ let
75287528 sha1 = "71766db352326928cf3a807242ba762322636723";
75297529 };
75307530 };
7531+ "uuid-3.0.1" = {
7532+ name = "uuid";
7533+ packageName = "uuid";
7534+ version = "3.0.1";
7535+ src = fetchurl {
7536+ url = "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz";
7537+ sha1 = "6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1";
7538+ };
7539+ };
75317540 "bplist-creator-0.0.7" = {
75327541 name = "bplist-creator";
75337542 packageName = "bplist-creator";
@@ -9053,13 +9062,13 @@ let
90539062 sha1 = "cac328f7bee45730d404b692203fcb590e172d5e";
90549063 };
90559064 };
9056− "aws-sdk-2.70.0" = {
9065+ "aws-sdk-2.72.0" = {
90579066 name = "aws-sdk";
90589067 packageName = "aws-sdk";
9059− version = "2.70.0";
9068+ version = "2.72.0";
90609069 src = fetchurl {
9061− url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.70.0.tgz";
9062− sha1 = "4163d94ac9e6a82f6a073ab74f8ae3c28a0a7534";
9070+ url = "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.72.0.tgz";
9071+ sha1 = "59021c14e354f34a4fb4f229ac10f8e36428f4d4";
90639072 };
90649073 };
90659074 "request-2.81.0" = {
@@ -12231,6 +12240,231 @@ let
1223112240 sha1 = "dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d";
1223212241 };
1223312242 };
12243+ "@reactivex/rxjs-5.4.1" = {
12244+ name = "@reactivex/rxjs";
12245+ packageName = "@reactivex/rxjs";
12246+ version = "5.4.1";
12247+ src = fetchurl {
12248+ url = "https://registry.npmjs.org/@reactivex/rxjs/-/rxjs-5.4.1.tgz";
12249+ sha1 = "e472c38c84eb411690f281253d3a93a3466ad041";
12250+ };
12251+ };
12252+ "chai-4.0.2" = {
12253+ name = "chai";
12254+ packageName = "chai";
12255+ version = "4.0.2";
12256+ src = fetchurl {
12257+ url = "https://registry.npmjs.org/chai/-/chai-4.0.2.tgz";
12258+ sha1 = "2f7327c4de6f385dd7787999e2ab02697a32b83b";
12259+ };
12260+ };
12261+ "chai-as-promised-7.0.0" = {
12262+ name = "chai-as-promised";
12263+ packageName = "chai-as-promised";
12264+ version = "7.0.0";
12265+ src = fetchurl {
12266+ url = "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.0.0.tgz";
12267+ sha1 = "c87ee613eaa196766393da6fbb4052f112acf675";
12268+ };
12269+ };
12270+ "fast-json-patch-1.2.2" = {
12271+ name = "fast-json-patch";
12272+ packageName = "fast-json-patch";
12273+ version = "1.2.2";
12274+ src = fetchurl {
12275+ url = "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-1.2.2.tgz";
12276+ sha1 = "d377d97c6911dbdd2a1c80bfacda048a4f83bbf9";
12277+ };
12278+ };
12279+ "iterare-0.0.8" = {
12280+ name = "iterare";
12281+ packageName = "iterare";
12282+ version = "0.0.8";
12283+ src = fetchurl {
12284+ url = "https://registry.npmjs.org/iterare/-/iterare-0.0.8.tgz";
12285+ sha1 = "a969a80a1fbff6b78f28776594d7bc2bdfab6aad";
12286+ };
12287+ };
12288+ "mz-2.6.0" = {
12289+ name = "mz";
12290+ packageName = "mz";
12291+ version = "2.6.0";
12292+ src = fetchurl {
12293+ url = "https://registry.npmjs.org/mz/-/mz-2.6.0.tgz";
12294+ sha1 = "c8b8521d958df0a4f2768025db69c719ee4ef1ce";
12295+ };
12296+ };
12297+ "object-hash-1.1.8" = {
12298+ name = "object-hash";
12299+ packageName = "object-hash";
12300+ version = "1.1.8";
12301+ src = fetchurl {
12302+ url = "https://registry.npmjs.org/object-hash/-/object-hash-1.1.8.tgz";
12303+ sha1 = "28a659cf987d96a4dabe7860289f3b5326c4a03c";
12304+ };
12305+ };
12306+ "opentracing-0.14.1" = {
12307+ name = "opentracing";
12308+ packageName = "opentracing";
12309+ version = "0.14.1";
12310+ src = fetchurl {
12311+ url = "https://registry.npmjs.org/opentracing/-/opentracing-0.14.1.tgz";
12312+ sha1 = "40d278beea417660a35dd9d3ee76511ffa911dcd";
12313+ };
12314+ };
12315+ "semaphore-async-await-1.5.1" = {
12316+ name = "semaphore-async-await";
12317+ packageName = "semaphore-async-await";
12318+ version = "1.5.1";
12319+ src = fetchurl {
12320+ url = "https://registry.npmjs.org/semaphore-async-await/-/semaphore-async-await-1.5.1.tgz";
12321+ sha1 = "857bef5e3644601ca4b9570b87e9df5ca12974fa";
12322+ };
12323+ };
12324+ "string-similarity-1.2.0" = {
12325+ name = "string-similarity";
12326+ packageName = "string-similarity";
12327+ version = "1.2.0";
12328+ src = fetchurl {
12329+ url = "https://registry.npmjs.org/string-similarity/-/string-similarity-1.2.0.tgz";
12330+ sha1 = "d75153cb383846318b7a39a8d9292bb4db4e9c30";
12331+ };
12332+ };
12333+ "typescript-2.3.4" = {
12334+ name = "typescript";
12335+ packageName = "typescript";
12336+ version = "2.3.4";
12337+ src = fetchurl {
12338+ url = "https://registry.npmjs.org/typescript/-/typescript-2.3.4.tgz";
12339+ sha1 = "3d38321828231e434f287514959c37a82b629f42";
12340+ };
12341+ };
12342+ "vscode-jsonrpc-3.3.0" = {
12343+ name = "vscode-jsonrpc";
12344+ packageName = "vscode-jsonrpc";
12345+ version = "3.3.0";
12346+ src = fetchurl {
12347+ url = "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-3.3.0.tgz";
12348+ sha1 = "03bdab0b10f04727ec3b8d403cd511a8a365b13d";
12349+ };
12350+ };
12351+ "vscode-languageserver-3.3.0" = {
12352+ name = "vscode-languageserver";
12353+ packageName = "vscode-languageserver";
12354+ version = "3.3.0";
12355+ src = fetchurl {
12356+ url = "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-3.3.0.tgz";
12357+ sha1 = "f547d4f0e5702f88ff3695bae5905f9604c8cc62";
12358+ };
12359+ };
12360+ "vscode-languageserver-types-3.3.0" = {
12361+ name = "vscode-languageserver-types";
12362+ packageName = "vscode-languageserver-types";
12363+ version = "3.3.0";
12364+ src = fetchurl {
12365+ url = "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.3.0.tgz";
12366+ sha1 = "8964dc7c2247536fbefd2d6836bf3febac80dd00";
12367+ };
12368+ };
12369+ "symbol-observable-1.0.4" = {
12370+ name = "symbol-observable";
12371+ packageName = "symbol-observable";
12372+ version = "1.0.4";
12373+ src = fetchurl {
12374+ url = "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.4.tgz";
12375+ sha1 = "29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d";
12376+ };
12377+ };
12378+ "assertion-error-1.0.2" = {
12379+ name = "assertion-error";
12380+ packageName = "assertion-error";
12381+ version = "1.0.2";
12382+ src = fetchurl {
12383+ url = "https://registry.npmjs.org/assertion-error/-/assertion-error-1.0.2.tgz";
12384+ sha1 = "13ca515d86206da0bac66e834dd397d87581094c";
12385+ };
12386+ };
12387+ "check-error-1.0.2" = {
12388+ name = "check-error";
12389+ packageName = "check-error";
12390+ version = "1.0.2";
12391+ src = fetchurl {
12392+ url = "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz";
12393+ sha1 = "574d312edd88bb5dd8912e9286dd6c0aed4aac82";
12394+ };
12395+ };
12396+ "deep-eql-2.0.2" = {
12397+ name = "deep-eql";
12398+ packageName = "deep-eql";
12399+ version = "2.0.2";
12400+ src = fetchurl {
12401+ url = "https://registry.npmjs.org/deep-eql/-/deep-eql-2.0.2.tgz";
12402+ sha1 = "b1bac06e56f0a76777686d50c9feb75c2ed7679a";
12403+ };
12404+ };
12405+ "get-func-name-2.0.0" = {
12406+ name = "get-func-name";
12407+ packageName = "get-func-name";
12408+ version = "2.0.0";
12409+ src = fetchurl {
12410+ url = "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz";
12411+ sha1 = "ead774abee72e20409433a066366023dd6887a41";
12412+ };
12413+ };
12414+ "pathval-1.1.0" = {
12415+ name = "pathval";
12416+ packageName = "pathval";
12417+ version = "1.1.0";
12418+ src = fetchurl {
12419+ url = "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz";
12420+ sha1 = "b942e6d4bde653005ef6b71361def8727d0645e0";
12421+ };
12422+ };
12423+ "type-detect-4.0.3" = {
12424+ name = "type-detect";
12425+ packageName = "type-detect";
12426+ version = "4.0.3";
12427+ src = fetchurl {
12428+ url = "https://registry.npmjs.org/type-detect/-/type-detect-4.0.3.tgz";
12429+ sha1 = "0e3f2670b44099b0b46c284d136a7ef49c74c2ea";
12430+ };
12431+ };
12432+ "type-detect-3.0.0" = {
12433+ name = "type-detect";
12434+ packageName = "type-detect";
12435+ version = "3.0.0";
12436+ src = fetchurl {
12437+ url = "https://registry.npmjs.org/type-detect/-/type-detect-3.0.0.tgz";
12438+ sha1 = "46d0cc8553abb7b13a352b0d6dea2fd58f2d9b55";
12439+ };
12440+ };
12441+ "any-promise-1.3.0" = {
12442+ name = "any-promise";
12443+ packageName = "any-promise";
12444+ version = "1.3.0";
12445+ src = fetchurl {
12446+ url = "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz";
12447+ sha1 = "abc6afeedcea52e809cdc0376aed3ce39635d17f";
12448+ };
12449+ };
12450+ "thenify-all-1.6.0" = {
12451+ name = "thenify-all";
12452+ packageName = "thenify-all";
12453+ version = "1.6.0";
12454+ src = fetchurl {
12455+ url = "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz";
12456+ sha1 = "1a1918d402d8fc3f98fbf234db0bcc8cc10e9726";
12457+ };
12458+ };
12459+ "thenify-3.3.0" = {
12460+ name = "thenify";
12461+ packageName = "thenify";
12462+ version = "3.3.0";
12463+ src = fetchurl {
12464+ url = "https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz";
12465+ sha1 = "e69e38a1babe969b0108207978b9f62b88604839";
12466+ };
12467+ };
1223412468 "when-3.4.6" = {
1223512469 name = "when";
1223612470 packageName = "when";
@@ -14589,13 +14823,13 @@ let
1458914823 sha1 = "52c074f42a32140132baea108d42cbcd0ef397d2";
1459014824 };
1459114825 };
14592− "node-red-node-rbe-0.1.10" = {
14826+ "node-red-node-rbe-0.1.11" = {
1459314827 name = "node-red-node-rbe";
1459414828 packageName = "node-red-node-rbe";
14595− version = "0.1.10";
14829+ version = "0.1.11";
1459614830 src = fetchurl {
14597− url = "https://registry.npmjs.org/node-red-node-rbe/-/node-red-node-rbe-0.1.10.tgz";
14598− sha1 = "f05f72ace39b1b6158a48ee19d5c6cc426719a8f";
14831+ url = "https://registry.npmjs.org/node-red-node-rbe/-/node-red-node-rbe-0.1.11.tgz";
14832+ sha1 = "a670c1542a6eaf5e06db45490c2a7edf8a9f70b6";
1459914833 };
1460014834 };
1460114835 "bcrypt-1.0.2" = {
@@ -20605,7 +20839,7 @@ in
2060520839 sources."tunnel-0.0.2"
2060620840 sources."underscore-1.4.4"
2060720841 sources."user-home-2.0.0"
20608− sources."uuid-3.0.1"
20842+ sources."uuid-3.1.0"
2060920843 sources."validator-5.2.0"
2061020844 (sources."winston-2.1.1" // {
2061120845 dependencies = [
@@ -20795,7 +21029,7 @@ in
2079521029 sources."then-request-2.2.0"
2079621030 sources."typedarray-0.0.6"
2079721031 sources."http-basic-2.5.1"
20798− sources."promise-7.1.1"
21032+ sources."promise-7.3.0"
2079921033 sources."asap-2.0.5"
2080021034 sources."os-homedir-1.0.2"
2080121035 sources."mute-stream-0.0.7"
@@ -21653,7 +21887,7 @@ in
2165321887 dependencies = [
2165421888 sources."form-data-2.1.4"
2165521889 sources."qs-6.3.2"
21656− sources."uuid-3.0.1"
21890+ sources."uuid-3.1.0"
2165721891 ];
2165821892 })
2165921893 sources."tar-2.2.1"
@@ -22480,7 +22714,7 @@ in
2248022714 sources."JSONStream-1.3.1"
2248122715 sources."async-2.4.1"
2248222716 sources."aws4-1.6.0"
22483− sources."aws-sdk-2.70.0"
22717+ sources."aws-sdk-2.72.0"
2248422718 sources."ini-1.3.4"
2248522719 sources."optimist-0.6.1"
2248622720 sources."request-2.81.0"
@@ -23249,7 +23483,7 @@ in
2324923483 sources."stringstream-0.0.5"
2325023484 sources."tough-cookie-2.3.2"
2325123485 sources."tunnel-agent-0.6.0"
23252− sources."uuid-3.0.1"
23486+ sources."uuid-3.1.0"
2325323487 sources."delayed-stream-1.0.0"
2325423488 sources."asynckit-0.4.0"
2325523489 sources."ajv-4.11.8"
@@ -23927,6 +24161,201 @@ in
2392724161 };
2392824162 production = true;
2392924163 };
24164+ javascript-typescript-langserver = nodeEnv.buildNodePackage {
24165+ name = "javascript-typescript-langserver";
24166+ packageName = "javascript-typescript-langserver";
24167+ version = "2.0.0";
24168+ src = fetchurl {
24169+ url = "https://registry.npmjs.org/javascript-typescript-langserver/-/javascript-typescript-langserver-2.0.0.tgz";
24170+ sha1 = "aad1582560c53dc91c13be6c2abb76cebbc9c971";
24171+ };
24172+ dependencies = [
24173+ sources."@reactivex/rxjs-5.4.1"
24174+ sources."chai-4.0.2"
24175+ sources."chai-as-promised-7.0.0"
24176+ sources."chalk-1.1.3"
24177+ sources."commander-2.9.0"
24178+ sources."fast-json-patch-1.2.2"
24179+ sources."glob-7.1.2"
24180+ sources."iterare-0.0.8"
24181+ sources."lodash-4.17.4"
24182+ sources."mz-2.6.0"
24183+ sources."object-hash-1.1.8"
24184+ sources."opentracing-0.14.1"
24185+ sources."semaphore-async-await-1.5.1"
24186+ sources."string-similarity-1.2.0"
24187+ sources."typescript-2.3.4"
24188+ sources."vscode-jsonrpc-3.3.0"
24189+ sources."vscode-languageserver-3.3.0"
24190+ sources."vscode-languageserver-types-3.3.0"
24191+ sources."symbol-observable-1.0.4"
24192+ sources."assertion-error-1.0.2"
24193+ sources."check-error-1.0.2"
24194+ (sources."deep-eql-2.0.2" // {
24195+ dependencies = [
24196+ sources."type-detect-3.0.0"
24197+ ];
24198+ })
24199+ sources."get-func-name-2.0.0"
24200+ sources."pathval-1.1.0"
24201+ sources."type-detect-4.0.3"
24202+ sources."eslint-3.19.0"
24203+ sources."babel-code-frame-6.22.0"
24204+ sources."concat-stream-1.6.0"
24205+ sources."debug-2.6.8"
24206+ sources."doctrine-2.0.0"
24207+ sources."escope-3.6.0"
24208+ sources."espree-3.4.3"
24209+ sources."esquery-1.0.0"
24210+ sources."estraverse-4.2.0"
24211+ sources."esutils-2.0.2"
24212+ sources."file-entry-cache-2.0.0"
24213+ sources."globals-9.18.0"
24214+ sources."ignore-3.3.3"
24215+ sources."imurmurhash-0.1.4"
24216+ sources."inquirer-0.12.0"
24217+ sources."is-my-json-valid-2.16.0"
24218+ sources."is-resolvable-1.0.0"
24219+ sources."js-yaml-3.8.4"
24220+ sources."json-stable-stringify-1.0.1"
24221+ sources."levn-0.3.0"
24222+ sources."mkdirp-0.5.1"
24223+ sources."natural-compare-1.4.0"
24224+ sources."optionator-0.8.2"
24225+ sources."path-is-inside-1.0.2"
24226+ sources."pluralize-1.2.1"
24227+ sources."progress-1.1.8"
24228+ sources."require-uncached-1.0.3"
24229+ sources."shelljs-0.7.8"
24230+ sources."strip-bom-3.0.0"
24231+ sources."strip-json-comments-2.0.1"
24232+ (sources."table-3.8.3" // {
24233+ dependencies = [
24234+ sources."string-width-2.0.0"
24235+ sources."is-fullwidth-code-point-2.0.0"
24236+ ];
24237+ })
24238+ sources."text-table-0.2.0"
24239+ sources."user-home-2.0.0"
24240+ sources."js-tokens-3.0.1"
24241+ sources."inherits-2.0.3"
24242+ sources."typedarray-0.0.6"
24243+ sources."readable-stream-2.2.11"
24244+ sources."core-util-is-1.0.2"
24245+ sources."isarray-1.0.0"
24246+ sources."process-nextick-args-1.0.7"
24247+ sources."safe-buffer-5.0.1"
24248+ sources."string_decoder-1.0.2"
24249+ sources."util-deprecate-1.0.2"
24250+ sources."ms-2.0.0"
24251+ sources."es6-map-0.1.5"
24252+ sources."es6-weak-map-2.0.2"
24253+ (sources."esrecurse-4.1.0" // {
24254+ dependencies = [
24255+ sources."estraverse-4.1.1"
24256+ ];
24257+ })
24258+ sources."d-1.0.0"
24259+ sources."es5-ext-0.10.23"
24260+ sources."es6-iterator-2.0.1"
24261+ sources."es6-set-0.1.5"
24262+ sources."es6-symbol-3.1.1"
24263+ sources."event-emitter-0.3.5"
24264+ sources."object-assign-4.1.1"
24265+ sources."acorn-5.0.3"
24266+ (sources."acorn-jsx-3.0.1" // {
24267+ dependencies = [
24268+ sources."acorn-3.3.0"
24269+ ];
24270+ })
24271+ sources."flat-cache-1.2.2"
24272+ sources."circular-json-0.3.1"
24273+ sources."del-2.2.2"
24274+ sources."graceful-fs-4.1.11"
24275+ sources."write-0.2.1"
24276+ sources."globby-5.0.0"
24277+ sources."is-path-cwd-1.0.0"
24278+ sources."is-path-in-cwd-1.0.0"
24279+ sources."pify-2.3.0"
24280+ sources."pinkie-promise-2.0.1"
24281+ sources."rimraf-2.6.1"
24282+ sources."array-union-1.0.2"
24283+ sources."arrify-1.0.1"
24284+ sources."array-uniq-1.0.3"
24285+ sources."is-path-inside-1.0.0"
24286+ sources."pinkie-2.0.4"
24287+ sources."ansi-escapes-1.4.0"
24288+ sources."ansi-regex-2.1.1"
24289+ sources."cli-cursor-1.0.2"
24290+ sources."cli-width-2.1.0"
24291+ sources."figures-1.7.0"
24292+ sources."readline2-1.0.1"
24293+ sources."run-async-0.1.0"
24294+ sources."rx-lite-3.1.2"
24295+ sources."string-width-1.0.2"
24296+ sources."strip-ansi-3.0.1"
24297+ sources."through-2.3.8"
24298+ sources."restore-cursor-1.0.1"
24299+ sources."exit-hook-1.1.1"
24300+ sources."onetime-1.1.0"
24301+ sources."escape-string-regexp-1.0.5"
24302+ sources."code-point-at-1.1.0"
24303+ sources."is-fullwidth-code-point-1.0.0"
24304+ sources."mute-stream-0.0.5"
24305+ sources."number-is-nan-1.0.1"
24306+ sources."once-1.4.0"
24307+ sources."wrappy-1.0.2"
24308+ sources."generate-function-2.0.0"
24309+ sources."generate-object-property-1.2.0"
24310+ sources."jsonpointer-4.0.1"
24311+ sources."xtend-4.0.1"
24312+ sources."is-property-1.0.2"
24313+ sources."tryit-1.0.3"
24314+ sources."argparse-1.0.9"
24315+ sources."esprima-3.1.3"
24316+ sources."sprintf-js-1.0.3"
24317+ sources."jsonify-0.0.0"
24318+ sources."prelude-ls-1.1.2"
24319+ sources."type-check-0.3.2"
24320+ sources."minimist-0.0.8"
24321+ sources."deep-is-0.1.3"
24322+ sources."wordwrap-1.0.0"
24323+ sources."fast-levenshtein-2.0.6"
24324+ sources."caller-path-0.1.0"
24325+ sources."resolve-from-1.0.1"
24326+ sources."callsites-0.2.0"
24327+ sources."interpret-1.0.3"
24328+ sources."rechoir-0.6.2"
24329+ sources."resolve-1.3.3"
24330+ sources."path-parse-1.0.5"
24331+ sources."ajv-4.11.8"
24332+ sources."ajv-keywords-1.5.1"
24333+ sources."slice-ansi-0.0.4"
24334+ sources."co-4.6.0"
24335+ sources."os-homedir-1.0.2"
24336+ sources."ansi-styles-2.2.1"
24337+ sources."has-ansi-2.0.0"
24338+ sources."supports-color-2.0.0"
24339+ sources."graceful-readlink-1.0.1"
24340+ sources."fs.realpath-1.0.0"
24341+ sources."inflight-1.0.6"
24342+ sources."minimatch-3.0.4"
24343+ sources."path-is-absolute-1.0.1"
24344+ sources."brace-expansion-1.1.8"
24345+ sources."balanced-match-1.0.0"
24346+ sources."concat-map-0.0.1"
24347+ sources."any-promise-1.3.0"
24348+ sources."thenify-all-1.6.0"
24349+ sources."thenify-3.3.0"
24350+ ];
24351+ buildInputs = globalBuildInputs;
24352+ meta = {
24353+ description = "Implementation of the Language Server Protocol for JavaScript and TypeScript";
24354+ homepage = https://github.com/sourcegraph/javascript-typescript-langserver;
24355+ license = "Apache-2.0";
24356+ };
24357+ production = true;
24358+ };
2393024359 jayschema = nodeEnv.buildNodePackage {
2393124360 name = "jayschema";
2393224361 packageName = "jayschema";
@@ -24150,7 +24579,7 @@ in
2415024579 sources."stringstream-0.0.5"
2415124580 sources."tough-cookie-2.3.2"
2415224581 sources."tunnel-agent-0.6.0"
24153− sources."uuid-3.0.1"
24582+ sources."uuid-3.1.0"
2415424583 sources."delayed-stream-1.0.0"
2415524584 sources."asynckit-0.4.0"
2415624585 sources."ajv-4.11.8"
@@ -24534,7 +24963,7 @@ in
2453424963 sources."stringstream-0.0.5"
2453524964 sources."tough-cookie-2.3.2"
2453624965 sources."tunnel-agent-0.6.0"
24537− sources."uuid-3.0.1"
24966+ sources."uuid-3.1.0"
2453824967 sources."delayed-stream-1.0.0"
2453924968 sources."asynckit-0.4.0"
2454024969 sources."ajv-4.11.8"
@@ -25162,7 +25591,7 @@ in
2516225591 sources."stringstream-0.0.5"
2516325592 sources."tough-cookie-2.3.2"
2516425593 sources."tunnel-agent-0.6.0"
25165− sources."uuid-3.0.1"
25594+ sources."uuid-3.1.0"
2516625595 sources."delayed-stream-1.0.0"
2516725596 sources."asynckit-0.4.0"
2516825597 sources."ajv-4.11.8"
@@ -25339,7 +25768,7 @@ in
2533925768 sources."stringstream-0.0.5"
2534025769 sources."tough-cookie-2.3.2"
2534125770 sources."tunnel-agent-0.6.0"
25342− sources."uuid-3.0.1"
25771+ sources."uuid-3.1.0"
2534325772 sources."delayed-stream-1.0.0"
2534425773 sources."asynckit-0.4.0"
2534525774 sources."ajv-4.11.8"
@@ -25612,7 +26041,7 @@ in
2561226041 sources."stringstream-0.0.5"
2561326042 sources."tough-cookie-2.3.2"
2561426043 sources."tunnel-agent-0.6.0"
25615− sources."uuid-3.0.1"
26044+ sources."uuid-3.1.0"
2561626045 sources."delayed-stream-1.0.0"
2561726046 sources."asynckit-0.4.0"
2561826047 sources."ajv-4.11.8"
@@ -25751,7 +26180,7 @@ in
2575126180 sources."stringstream-0.0.5"
2575226181 sources."tough-cookie-2.3.2"
2575326182 sources."tunnel-agent-0.6.0"
25754− sources."uuid-3.0.1"
26183+ sources."uuid-3.1.0"
2575526184 sources."delayed-stream-1.0.0"
2575626185 sources."asynckit-0.4.0"
2575726186 sources."ajv-4.11.8"
@@ -25963,7 +26392,7 @@ in
2596326392 sources."stringstream-0.0.5"
2596426393 sources."tough-cookie-2.3.2"
2596526394 sources."tunnel-agent-0.6.0"
25966− sources."uuid-3.0.1"
26395+ sources."uuid-3.1.0"
2596726396 sources."delayed-stream-1.0.0"
2596826397 sources."asynckit-0.4.0"
2596926398 sources."ajv-4.11.8"
@@ -26162,7 +26591,7 @@ in
2616226591 sources."tunnel-agent-0.6.0"
2616326592 ];
2616426593 })
26165− sources."node-red-node-rbe-0.1.10"
26594+ sources."node-red-node-rbe-0.1.11"
2616626595 sources."bcrypt-1.0.2"
2616726596 sources."bytes-2.4.0"
2616826597 sources."content-type-1.0.2"
@@ -26471,7 +26900,7 @@ in
2647126900 sources."twitter-ng-0.6.2"
2647226901 sources."oauth-0.9.14"
2647326902 sources."performance-now-0.2.0"
26474− sources."uuid-3.0.1"
26903+ sources."uuid-3.1.0"
2647526904 sources."asynckit-0.4.0"
2647626905 sources."ajv-4.11.8"
2647726906 sources."har-schema-1.0.5"
@@ -27089,7 +27518,7 @@ in
2708927518 sources."stringstream-0.0.5"
2709027519 sources."tough-cookie-2.3.2"
2709127520 sources."tunnel-agent-0.6.0"
27092− sources."uuid-3.0.1"
27521+ sources."uuid-3.1.0"
2709327522 sources."delayed-stream-1.0.0"
2709427523 sources."asynckit-0.4.0"
2709527524 sources."ajv-4.11.8"
@@ -27548,7 +27977,7 @@ in
2754827977 sources."punycode-1.3.2"
2754927978 ];
2755027979 })
27551− sources."uuid-3.0.1"
27980+ sources."uuid-3.1.0"
2755227981 sources."xdg-basedir-2.0.0"
2755327982 sources."async-1.5.2"
2755427983 sources."cli-cursor-1.0.2"
@@ -27665,7 +28094,7 @@ in
2766528094 sources."is-utf8-0.2.1"
2766628095 sources."pseudomap-1.0.2"
2766728096 sources."yallist-2.1.2"
27668− sources."promise-7.1.1"
28097+ sources."promise-7.3.0"
2766928098 sources."string-length-1.0.1"
2767028099 sources."duplexify-3.5.0"
2767128100 sources."infinity-agent-2.0.3"
@@ -27820,7 +28249,7 @@ in
2782028249 ];
2782128250 })
2782228251 sources."object.assign-4.0.4"
27823− sources."promise-7.1.1"
28252+ sources."promise-7.3.0"
2782428253 sources."inflight-1.0.6"
2782528254 sources."minimatch-3.0.4"
2782628255 sources."once-1.4.0"
@@ -27883,7 +28312,7 @@ in
2788328312 sources."stringstream-0.0.5"
2788428313 sources."tough-cookie-2.3.2"
2788528314 sources."tunnel-agent-0.6.0"
27886− sources."uuid-3.0.1"
28315+ sources."uuid-3.1.0"
2788728316 sources."delayed-stream-1.0.0"
2788828317 sources."asynckit-0.4.0"
2788928318 sources."ajv-4.11.8"
@@ -29000,7 +29429,7 @@ in
2900029429 sources."stringstream-0.0.5"
2900129430 sources."tough-cookie-2.3.2"
2900229431 sources."tunnel-agent-0.6.0"
29003− sources."uuid-3.0.1"
29432+ sources."uuid-3.1.0"
2900429433 sources."delayed-stream-1.0.0"
2900529434 sources."asynckit-0.4.0"
2900629435 sources."ajv-4.11.8"
@@ -29199,7 +29628,7 @@ in
2919929628 sources."stringstream-0.0.5"
2920029629 sources."tough-cookie-2.3.2"
2920129630 sources."tunnel-agent-0.6.0"
29202− sources."uuid-3.0.1"
29631+ sources."uuid-3.1.0"
2920329632 sources."delayed-stream-1.0.0"
2920429633 sources."asynckit-0.4.0"
2920529634 sources."ajv-4.11.8"
@@ -29637,10 +30066,10 @@ in
2963730066 uglify-js = nodeEnv.buildNodePackage {
2963830067 name = "uglify-js";
2963930068 packageName = "uglify-js";
29640− version = "3.0.16";
30069+ version = "3.0.17";
2964130070 src = fetchurl {
29642− url = "https://registry.npmjs.org/uglify-js/-/uglify-js-3.0.16.tgz";
29643− sha1 = "fe394c6708a79ffbf21ca15d6591b16334501aec";
30071+ url = "https://registry.npmjs.org/uglify-js/-/uglify-js-3.0.17.tgz";
30072+ sha1 = "d228cd55c2df9b3d2f53f147568cb4cc4a72cc06";
2964430073 };
2964530074 dependencies = [
2964630075 sources."commander-2.9.0"
@@ -30761,7 +31190,7 @@ in
3076131190 sources."stringstream-0.0.5"
3076231191 sources."tough-cookie-2.3.2"
3076331192 sources."tunnel-agent-0.6.0"
30764− sources."uuid-3.0.1"
31193+ sources."uuid-3.1.0"
3076531194 sources."delayed-stream-1.0.0"
3076631195 sources."asynckit-0.4.0"
3076731196 sources."har-schema-1.0.5"
@@ -30911,7 +31340,7 @@ in
3091131340 sources."strip-bom-3.0.0"
3091231341 sources."tar-fs-1.15.3"
3091331342 sources."tar-stream-1.5.4"
30914− sources."uuid-3.0.1"
31343+ sources."uuid-3.1.0"
3091531344 sources."v8-compile-cache-1.1.0"
3091631345 sources."validate-npm-package-license-3.0.1"
3091731346 sources."core-js-2.4.1"
@@ -31263,7 +31692,7 @@ in
3126331692 sources."os-name-1.0.3"
3126431693 sources."request-2.81.0"
3126531694 sources."tough-cookie-2.3.2"
31266− sources."uuid-3.0.1"
31695+ sources."uuid-3.1.0"
3126731696 (sources."mkdirp-0.5.1" // {
3126831697 dependencies = [
3126931698 sources."minimist-0.0.8"
pkgs/development/ocaml-modules/containers/default.nix+3−4
@@ -6,7 +6,7 @@ let
66 mkpath = p:
77 "${p}/lib/ocaml/${ocaml.version}/site-lib";
88
9− version = "0.22";
9+ version = "1.2";
1010
1111in
1212
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
1717 owner = "c-cube";
1818 repo = "ocaml-containers";
1919 rev = "${version}";
20− sha256 = "1kbf865z484z9nxskmg150xhfspikkvsxk0wbry5vvczqr63cwhq";
20+ sha256 = "0k1676bn12hhayjlpy8bxfc3sgq6wd7zkh0ca700zh8jxjrshjqk";
2121 };
2222
2323 buildInputs = [ ocaml findlib ocamlbuild cppo gen sequence qtest ounit ocaml_oasis qcheck ];
@@ -39,9 +39,8 @@ EOF
3939 configureFlags = [
4040 "--enable-unix"
4141 "--enable-thread"
42− "--enable-bigarray"
43− "--enable-advanced"
4442 "--enable-tests"
43+ "--enable-docs"
4544 "--disable-bench"
4645 ];
4746
pkgs/development/python-modules/keystoneauth1/default.nixnew file+27
@@ -0,0 +1,27 @@
1+{ buildPythonPackage, isPyPy, fetchPypi, python
2+, pbr, testtools, testresources, testrepository, mock
3+, pep8, fixtures, mox3, requests-mock
4+, iso8601, requests, six, stevedore, webob, oslo-config
5+}:
6+
7+buildPythonPackage rec {
8+ pname = "keystoneauth1";
9+ version = "1.1.0";
10+ name = "${pname}-${version}";
11+ disabled = isPyPy; # a test fails
12+
13+ src = fetchPypi {
14+ inherit pname version;
15+ sha256 = "05fc6xsp5mal52ijvj84sf7mrw706ihadfdf5mnq9zxn7pfl4118";
16+ };
17+
18+ buildInputs = [ pbr testtools testresources testrepository mock
19+ pep8 fixtures mox3 requests-mock ];
20+ propagatedBuildInputs = [ iso8601 requests six stevedore
21+ webob oslo-config ];
22+
23+ postPatch = ''
24+ sed -i 's@python@${python.interpreter}@' .testr.conf
25+ substituteInPlace requirements.txt --replace "argparse"
26+ '';
27+}
pkgs/development/python-modules/oslo-config/default.nixnew file+22
@@ -0,0 +1,22 @@
1+{ buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock }:
2+
3+buildPythonPackage rec {
4+ pname = "oslo.config";
5+ version = "2.5.0";
6+ name = "${pname}-${version}";
7+
8+ src = fetchPypi {
9+ inherit pname version;
10+ sha256 = "043mavrzj7vjn7kh1dddci4sf67qwqnnn6cm0k1d19alks9hismz";
11+ };
12+
13+ propagatedBuildInputs = [ pbr six netaddr stevedore ];
14+ buildInputs = [ mock ];
15+
16+ # TODO: circular import on oslo-i18n
17+ doCheck = false;
18+
19+ postPatch = ''
20+ substituteInPlace requirements.txt --replace "argparse"
21+ '';
22+}
pkgs/development/qtcreator/default.nix+6−16
@@ -6,8 +6,8 @@
66with stdenv.lib;
77
88let
9− baseVersion = "4.2";
10− revision = "1";
9+ baseVersion = "4.3";
10+ revision = "0";
1111in
1212
1313stdenv.mkDerivation rec {
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
1515 version = "${baseVersion}.${revision}";
1616
1717 src = fetchurl {
18− url = "http://download.qt-project.org/official_releases/qtcreator/${baseVersion}/${version}/qt-creator-opensource-src-${version}.tar.gz";
19− sha256 = "0f2slaf579q2anflf524lbhmpwrwy3hzjfxzs10n44r7s7yc4dr5";
18+ url = "http://download.qt-project.org/official_releases/qtcreator/${baseVersion}/${version}/qt-creator-opensource-src-${version}.tar.xz";
19+ sha256 = "1n3ihky72p6q69n6c8s5hacq8rxdqmmr6msg89w5amwd17sam7p9";
2020 };
2121
2222 buildInputs = [ qtbase qtscript qtquickcontrols qtdeclarative ];
@@ -36,18 +36,8 @@ stdenv.mkDerivation rec {
3636 '';
3737
3838 postInstall = ''
39− # Install desktop file
40− mkdir -p "$out/share/applications"
41− cat > "$out/share/applications/qtcreator.desktop" << __EOF__
42− [Desktop Entry]
43− Exec=$out/bin/qtcreator
44− Name=Qt Creator
45− GenericName=Cross-platform IDE for Qt
46− Icon=QtProject-qtcreator.png
47− Terminal=false
48− Type=Application
49− Categories=Qt;Development;IDE;
50− __EOF__
39+ substituteInPlace $out/share/applications/org.qt-project.qtcreator.desktop \
40+ --replace "Exec=qtcreator" "Exec=$out/bin/qtcreator"
5141 wrapQtProgram $out/bin/qtcreator
5242 '';
5343
pkgs/development/tools/build-managers/gradle/default.nix+10
@@ -52,6 +52,16 @@ rec {
5252 };
5353
5454 gradle_latest = gradleGen rec {
55+ name = "gradle-4.0";
56+ nativeVersion = "0.14";
57+
58+ src = fetchurl {
59+ url = "http://services.gradle.org/distributions/${name}-bin.zip";
60+ sha256 = "1zlxnyb7iva0bb0862vbigfjrmxgbisa2zam7j896ams57g2vgan";
61+ };
62+ };
63+
64+ gradle_3_5 = gradleGen rec {
5565 name = "gradle-3.5";
5666 nativeVersion = "0.14";
5767
pkgs/games/unnethack/default.nix+2
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
2020 "--with-gamesdir=/tmp/unnethack"
2121 ];
2222
23+ makeFlags = [ "GAMEPERM=744" ];
24+
2325 postInstall = ''
2426 cp -r /tmp/unnethack $out/share/unnethack/profile
2527 mv $out/bin/unnethack $out/bin/.wrapped_unnethack
pkgs/games/xconq/default.nix+2
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
2626 # Fix Makefiles
2727 find . -name 'Makefile.in' -exec sed -re 's@^ ( *)(cd|[&][&])@ \1\2@' -i '{}' ';'
2828 find . -name 'Makefile.in' -exec sed -e '/chown/d; /chgrp/d' -i '{}' ';'
29+ # do not set sticky bit in nix store
30+ find . -name 'Makefile.in' -exec sed -e 's/04755/755/g' -i '{}' ';'
2931 sed -e '/^ * *[$][(]tcltkdir[)]\/[*][.][*]/d' -i tcltk/Makefile.in
3032
3133 # Fix C files
pkgs/games/xsokoban/default.nix+5−1
@@ -15,6 +15,10 @@ stdenv.mkDerivation rec {
1515
1616 hardeningDisable = [ "format" ];
1717
18+ prePatch = ''
19+ substituteInPlace Makefile.in --replace 4755 0755
20+ '';
21+
1822 preConfigure = ''
1923 sed -e 's/getline/my_getline/' -i score.c
2024
@@ -22,7 +26,7 @@ stdenv.mkDerivation rec {
2226 cat >>config.h <<EOF
2327 #define HERE "@nixos-packaged"
2428 #define WWW 0
25− #define OWNER "'$(whoami)'"
29+ #define OWNER "$(whoami)"
2630 #define ROOTDIR "$out/lib/xsokoban"
2731 #define ANYLEVEL 1
2832 #define SCOREFILE ".xsokoban-score"
pkgs/os-specific/linux/kernel/linux-4.11.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.11.5";
4+ version = "4.11.6";
55 extraMeta.branch = "4.11";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "0k3dy4izi56nfkp2r0cps817zfnc14czghr9l5z5k8j8x5blqipp";
9+ sha256 = "0ccna0hrqcza3jz83gaxlcg5vijl83w5w3g87v93a5x06ky9nlr5";
1010 };
1111
1212 kernelPatches = args.kernelPatches;
pkgs/os-specific/linux/kernel/linux-4.4.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.4.72";
4+ version = "4.4.73";
55 extraMeta.branch = "4.4";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "1s7d6mw4vjsjwdyxbj0p04yq1nsxs3b0b7bi04ilcn2zhldv8cs1";
9+ sha256 = "1dj4gpv01si4wiihm8wijkhx0l6ashvydniqrbpq78sby6sn5180";
1010 };
1111
1212 kernelPatches = args.kernelPatches;
pkgs/os-specific/linux/kernel/linux-4.9.nix+2−2
@@ -1,12 +1,12 @@
11{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.9.32";
4+ version = "4.9.33";
55 extraMeta.branch = "4.9";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "0r87c65gf9j6shavsr0zviibpbvngccppw5k3wfmmxfjpdsnayf3";
9+ sha256 = "0d2cai3bq1bkmisbsl6l27di765xmzn3lscwray30ldbssijpjpm";
1010 };
1111
1212 kernelPatches = args.kernelPatches;
pkgs/os-specific/linux/rewritefs/default.nix+5
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
1313
1414 buildInputs = [ pkgconfig fuse pcre ];
1515
16+ prePatch = ''
17+ # do not set sticky bit in nix store
18+ substituteInPlace Makefile --replace 6755 0755
19+ '';
20+
1621 preConfigure = "substituteInPlace Makefile --replace /usr/local $out";
1722
1823 meta = with stdenv.lib; {
pkgs/os-specific/linux/spl/default.nix+2−2
@@ -62,8 +62,8 @@ in
6262 assert buildKernel -> kernel != null;
6363 {
6464 splStable = common {
65− version = "0.6.5.9";
66− sha256 = "15qpx2nhprmk14jgb7yqp9dvfb6i3hhhspi77kvian171b0a6112";
65+ version = "0.6.5.10";
66+ sha256 = "1zdxggpdz9j0lpcqfnkvf4iym7mp2k246sg1s4frqaw1pwwcw9vi";
6767 };
6868 splUnstable = common {
6969 version = "0.7.0-rc4";
pkgs/os-specific/linux/zfs/default.nix+3−3
@@ -123,12 +123,12 @@ in
123123 # to be adapted
124124 zfsStable = common {
125125 # comment/uncomment if breaking kernel versions are known
126− incompatibleKernelVersion = "4.11";
126+ incompatibleKernelVersion = "4.12";
127127
128− version = "0.6.5.9";
128+ version = "0.6.5.10";
129129
130130 # this package should point to the latest release.
131− sha256 = "1m8q39j13k46fn0pw3adq87c20rpkg28llxgv2a90994p4127xh0";
131+ sha256 = "04gn5fj22z17zq2nazxwl3j9dr33l79clha6ipxvdz241bhjqrk3";
132132 extraPatches = [
133133 (fetchpatch {
134134 url = "https://github.com/Mic92/zfs/compare/zfs-0.6.5.8...nixos-zfs-0.6.5.8.patch";
pkgs/servers/atlassian/confluence.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "atlassian-confluence-${version}";
5− version = "6.1.1";
5+ version = "6.2.2";
66
77 src = fetchurl {
88 url = "https://www.atlassian.com/software/confluence/downloads/binary/${name}.tar.gz";
9− sha256 = "0klb8hxsmgcwjcp20xa7823jm040q7wdqicc6g7s27gjzvbqj800";
9+ sha256 = "1fpn799382m8x7b0s3w4mxzlhy1s62ya287i622gbadqscprhagg";
1010 };
1111
1212 phases = [ "unpackPhase" "buildPhase" "installPhase" ];
pkgs/servers/atlassian/crowd.nix+2−2
@@ -3,11 +3,11 @@
33
44stdenv.mkDerivation rec {
55 name = "atlassian-crowd-${version}";
6− version = "2.11.1";
6+ version = "2.12.0";
77
88 src = fetchurl {
99 url = "https://www.atlassian.com/software/crowd/downloads/binary/${name}.tar.gz";
10− sha256 = "12gb9p5npcdr7mxyyir3xgjkc6n05zfi4i5dqkg8f7jrhi49nas7";
10+ sha256 = "1kfnsa25axlyhnapfza381p94pyfixh7j999qhpg3ii821n9sggm";
1111 };
1212
1313 phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];
pkgs/servers/atlassian/jira.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "atlassian-jira-${version}";
5− version = "7.3.4";
5+ version = "7.3.7";
66
77 src = fetchurl {
88 url = "https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-${version}.tar.gz";
9− sha256 = "0xkwf8n37hwv52rl3dbqkacr1fyxz4bd7gkcmpg0wshnxmyq4vg7";
9+ sha256 = "1ixnnw3yj2ip9ndr9pwxcmdy8gaixkmp517ahg3w8xzymr8wh2qp";
1010 };
1111
1212 phases = [ "unpackPhase" "buildPhase" "installPhase" "fixupPhase" ];
pkgs/servers/computing/torque/default.nix+2−1
@@ -29,8 +29,9 @@ stdenv.mkDerivation rec {
2929
3030 for f in $(find ./ -name Makefile.in); do
3131 echo patching $f...
32− sed -i $f -e '/PBS_MKDIRS/d'
32+ sed -i $f -e '/PBS_MKDIRS/d' -e '/chmod u+s/d'
3333 done
34+
3435 '';
3536
3637 postInstall = ''
pkgs/servers/http/hiawatha/default.nix+4
@@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
2121
2222 buildInputs = [ cmake libxslt zlib libxml2 ] ++ stdenv.lib.optional enableSSL openssl ;
2323
24+ prePatch = ''
25+ substituteInPlace CMakeLists.txt --replace SETUID ""
26+ '';
27+
2428 cmakeFlags = [
2529 ( if enableSSL then "-DENABLE_TLS=on" else "-DENABLE_TLS=off" )
2630 ( if enableMonitor then "-DENABLE_MONITOR=on" else "-DENABLE_MONITOR=off" )
pkgs/servers/sql/cockroachdb/default.nix+23−14
@@ -1,27 +1,36 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, gcc }:
1+{ stdenv, buildGoPackage, fetchurl, cmake, xz, which }:
22
33buildGoPackage rec {
44 name = "cockroach-${version}";
5− version = "beta-20160915";
5+ version = "v1.0.2";
66
77 goPackagePath = "github.com/cockroachdb/cockroach";
8− subPackages = [ "." ];
98
10− src = fetchFromGitHub {
11− owner = "cockroachdb";
12− repo = "cockroach";
13− rev = version;
14− sha256 = "11camp588vsccxlc138l7x4qws2fj5wpx1177irzayqdng8dilx3";
9+ src = fetchurl {
10+ url = "https://binaries.cockroachdb.com/cockroach-${version}.src.tgz";
11+ sha256 = "0xq5lg9a2lxn89lilq3zzcd4kph0a5sga3b5bb9xv6af87igy6zp";
1512 };
1613
17− buildFlagsArray = ''
18− -ldflags=
19− -X github.com/cockroachdb/cockroach/build.tag=${version}
20− '';
14+ buildInputs = [ cmake xz which ];
2115
22− buildInputs = [ gcc ];
16+ buildPhase =
17+ ''
18+ cd $NIX_BUILD_TOP/go/src/${goPackagePath}
19+ patchShebangs ./
20+ make buildoss
21+ cd src/${goPackagePath}
22+ for asset in man autocomplete; do
23+ ./cockroach gen $asset
24+ done
25+ '';
2326
24− goDeps = ./deps.nix;
27+ installPhase =
28+ ''
29+ mkdir -p $bin/{bin,share,etc/bash_completion.d}
30+ mv cockroach $bin/bin
31+ mv man $bin/share
32+ mv cockroach.bash $bin/etc/bash_completion.d
33+ '';
2534
2635 meta = with stdenv.lib; {
2736 homepage = https://www.cockroachlabs.com;
pkgs/servers/sql/cockroachdb/deps.nixdeleted−471
@@ -1,471 +0,0 @@
1−# This file was generated by go2nix.
2−[
3− {
4− goPackagePath = "github.com/VividCortex/ewma";
5− fetch = {
6− type = "git";
7− url = "https://github.com/VividCortex/ewma";
8− rev = "8b9f1311551e712ea8a06b494238b8a2351e1c33";
9− sha256 = "1w8gf6310dxl57jdq1b04wbh4ssb0nvck3926bbd86mnw78z0byl";
10− };
11− }
12− {
13− goPackagePath = "github.com/backtrace-labs/go-bcd";
14− fetch = {
15− type = "git";
16− url = "https://github.com/backtrace-labs/go-bcd";
17− rev = "c5383e2df7004f8b2fb2f10a33167d757bb0fbfb";
18− sha256 = "0v7al14ql8vddj8bw2yp1pp47nfdhq6vglbv6fmpg5sf5yfsp9xa";
19− };
20− }
21− {
22− goPackagePath = "github.com/biogo/store";
23− fetch = {
24− type = "git";
25− url = "https://github.com/biogo/store";
26− rev = "913427a1d5e89604e50ea1db0f28f34966d61602";
27− sha256 = "0xgz1g9digvvw64rmzw90a6iyxlljiiz2i1x0x0d8mw4wyaxcipz";
28− };
29− }
30− {
31− goPackagePath = "github.com/cenk/backoff";
32− fetch = {
33− type = "git";
34− url = "https://github.com/cenk/backoff";
35− rev = "cdf48bbc1eb78d1349cbda326a4a037f7ba565c6";
36− sha256 = "0dg7hvpv0a1db8qriygz1jqgp16v8k505b197x9902z7z6lldgbh";
37− };
38− }
39− {
40− goPackagePath = "github.com/chzyer/readline";
41− fetch = {
42− type = "git";
43− url = "https://github.com/chzyer/readline";
44− rev = "a193146c91dea4b6cf30f355e99fb85f73d20f07";
45− sha256 = "0amg5p3xadmj4p58f63f8kkggs9q3f3jhi7ijzb79grbg1lj2rj2";
46− };
47− }
48− {
49− goPackagePath = "github.com/cockroachdb/c-jemalloc";
50− fetch = {
51− type = "git";
52− url = "https://github.com/cockroachdb/c-jemalloc";
53− rev = "42e6a32cd7a4dff9c70d80323681d46d046181ef";
54− sha256 = "16ddzw35xj2vz8324mac5bhhr9akvjrg14lgq2mn5nfw1zs42r7n";
55− };
56− }
57− {
58− goPackagePath = "github.com/cockroachdb/c-protobuf";
59− fetch = {
60− type = "git";
61− url = "https://github.com/cockroachdb/c-protobuf";
62− rev = "951f3e665896e7ba939fd1f2db9aeaae6ca988f8";
63− sha256 = "032ncrq4p48riwk8zj6p3rp65p87k9793lg107ja6mf8nx0v3z3l";
64− };
65− }
66− {
67− goPackagePath = "github.com/cockroachdb/c-rocksdb";
68− fetch = {
69− type = "git";
70− url = "https://github.com/cockroachdb/c-rocksdb";
71− rev = "b5ca031b93fde49bfa2ba99aba423136aebf3c06";
72− sha256 = "1vwq8fbcgwvq2mqv1vwm3b671iklg26s7zd3bgxr5rl076mhn6s5";
73− };
74− }
75− {
76− goPackagePath = "github.com/cockroachdb/c-snappy";
77− fetch = {
78− type = "git";
79− url = "https://github.com/cockroachdb/c-snappy";
80− rev = "d4e7b428fe7fc09e93573df3448567a62df8c9fa";
81− sha256 = "09c1pnks51ypvqh97yf9mvi034cc3bb8dj3vkl9v959pg5ix91g4";
82− };
83− }
84− {
85− goPackagePath = "github.com/cockroachdb/cmux";
86− fetch = {
87− type = "git";
88− url = "https://github.com/cockroachdb/cmux";
89− rev = "b64f5908f4945f4b11ed4a0a9d3cc1e23350866d";
90− sha256 = "1by4f3x7j3r3z1sdx1v04r494hn6jaag7lc03prrgx455j8i0jlh";
91− };
92− }
93− {
94− goPackagePath = "github.com/cockroachdb/cockroach";
95− fetch = {
96− type = "git";
97− url = "https://github.com/cockroachdb/cockroach";
98− rev = "3fff05767cd3eda2197ce102391c0de447fef606";
99− sha256 = "11camp588vsccxlc138l7x4qws2fj5wpx1177irzayqdng8dilx3";
100− };
101− }
102− {
103− goPackagePath = "github.com/cockroachdb/pq";
104− fetch = {
105− type = "git";
106− url = "https://github.com/cockroachdb/pq";
107− rev = "40c6b2414c76cdb84aacc955f79dc844e48ad0c0";
108− sha256 = "16pnyndzlsk5rbbrimpkg6mf9w2qf0z64pk2k70ja4a65kihlw9g";
109− };
110− }
111− {
112− goPackagePath = "github.com/codahale/hdrhistogram";
113− fetch = {
114− type = "git";
115− url = "https://github.com/codahale/hdrhistogram";
116− rev = "f8ad88b59a584afeee9d334eff879b104439117b";
117− sha256 = "1y1llqaczhc5hqa71pwa1ns8nchizpl678lp23vl51c04swn8h8n";
118− };
119− }
120− {
121− goPackagePath = "github.com/coreos/etcd";
122− fetch = {
123− type = "git";
124− url = "https://github.com/coreos/etcd";
125− rev = "656167d760543d442eae62f0c8c4f92c05f59508";
126− sha256 = "1v4bwfh7ziklfcdapnyky00gjivcn1n30b72pwmbdlk7283p555k";
127− };
128− }
129− {
130− goPackagePath = "github.com/cpuguy83/go-md2man";
131− fetch = {
132− type = "git";
133− url = "https://github.com/cpuguy83/go-md2man";
134− rev = "2724a9c9051aa62e9cca11304e7dd518e9e41599";
135− sha256 = "1j2bigs7ixy20cdqd246nxr417md2qcyvkfk3x94992cr88d0vyj";
136− };
137− }
138− {
139− goPackagePath = "github.com/dustin/go-humanize";
140− fetch = {
141− type = "git";
142− url = "https://github.com/dustin/go-humanize";
143− rev = "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8";
144− sha256 = "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k";
145− };
146− }
147− {
148− goPackagePath = "github.com/elastic/gosigar";
149− fetch = {
150− type = "git";
151− url = "https://github.com/elastic/gosigar";
152− rev = "7c0ce0d4814c8d4950d7e7f40ed3b6359e757875";
153− sha256 = "1nar7jia3xfgwnvazp25m9b0kxxklarrq9fzdr63j3nqy2fnwvca";
154− };
155− }
156− {
157− goPackagePath = "github.com/elazarl/go-bindata-assetfs";
158− fetch = {
159− type = "git";
160− url = "https://github.com/elazarl/go-bindata-assetfs";
161− rev = "e1a2a7ec64b07d04ac9ebb072404fe8b7b60de1b";
162− sha256 = "0b6q8h9fwpgpkvml1j87wq9174g7px1dmskhm884drpvswda2djk";
163− };
164− }
165− {
166− goPackagePath = "github.com/facebookgo/clock";
167− fetch = {
168− type = "git";
169− url = "https://github.com/facebookgo/clock";
170− rev = "600d898af40aa09a7a93ecb9265d87b0504b6f03";
171− sha256 = "1z3jxwsqll65il7rcdx5j4dggg6w143z24h3agk09xvsc2iyj7a2";
172− };
173− }
174− {
175− goPackagePath = "github.com/gogo/protobuf";
176− fetch = {
177− type = "git";
178− url = "https://github.com/gogo/protobuf";
179− rev = "a4cceea7a401a73fefafd1a21fedbd4694124a82";
180− sha256 = "1b23izdgxlz010qrqgazm5yg0bc3pkni1qdf8n3z3xcn58hcx2yg";
181− };
182− }
183− {
184− goPackagePath = "github.com/golang/protobuf";
185− fetch = {
186− type = "git";
187− url = "https://github.com/golang/protobuf";
188− rev = "2c1988e8c18d14b142c0b472624f71647cf39adb";
189− sha256 = "176x3yv6l0i49ddv73r9v6w9qcmgrfzy8db26r01yk7sczq75nd5";
190− };
191− }
192− {
193− goPackagePath = "github.com/google/btree";
194− fetch = {
195− type = "git";
196− url = "https://github.com/google/btree";
197− rev = "7d79101e329e5a3adf994758c578dab82b90c017";
198− sha256 = "1c1hsy5s2pfawg3l9954jmqmy4yc2zp3f7i87m00km2yqgb8xpd0";
199− };
200− }
201− {
202− goPackagePath = "github.com/grpc-ecosystem/grpc-gateway";
203− fetch = {
204− type = "git";
205− url = "https://github.com/grpc-ecosystem/grpc-gateway";
206− rev = "ccd4e6b091a44f9f6b32848ffc63b3e8f8e26092";
207− sha256 = "0nl9hddmxw2s4cqpg70k1913fna101lxrha6dgplw8g8rjikfna4";
208− };
209− }
210− {
211− goPackagePath = "github.com/julienschmidt/httprouter";
212− fetch = {
213− type = "git";
214− url = "https://github.com/julienschmidt/httprouter";
215− rev = "d8ff598a019f2c7bad0980917a588193cf26666e";
216− sha256 = "11sdd5fi2w0szk850n4y35x4v2ndy62c3ss9alha5xcj4jh1j0yq";
217− };
218− }
219− {
220− goPackagePath = "github.com/kr/pretty";
221− fetch = {
222− type = "git";
223− url = "https://github.com/kr/pretty";
224− rev = "737b74a46c4bf788349f72cb256fed10aea4d0ac";
225− sha256 = "13bip4vamvij8dx0v0nhrikz6qhsimd0w4i55424c76ws6ph84i8";
226− };
227− }
228− {
229− goPackagePath = "github.com/kr/text";
230− fetch = {
231− type = "git";
232− url = "https://github.com/kr/text";
233− rev = "7cafcd837844e784b526369c9bce262804aebc60";
234− sha256 = "0br693pf6vdr1sfvzdz6zxq7hjpdgci0il4wj0v636r8lyy21vsx";
235− };
236− }
237− {
238− goPackagePath = "github.com/lib/pq";
239− fetch = {
240− type = "git";
241− url = "https://github.com/lib/pq";
242− rev = "80f8150043c80fb52dee6bc863a709cdac7ec8f8";
243− sha256 = "0brk4di63f56x9fsidn8dk7c2azan1kjzrli79h262j9pd17c3jm";
244− };
245− }
246− {
247− goPackagePath = "github.com/lightstep/lightstep-tracer-go";
248− fetch = {
249− type = "git";
250− url = "https://github.com/lightstep/lightstep-tracer-go";
251− rev = "f3c66066ce6023ad1bd721cfbd9fbd6292eb08cc";
252− sha256 = "1ci38j6d3spy2279l6anxxvm7k85h4fr08pdfw9ghrv96ajmaizb";
253− };
254− }
255− {
256− goPackagePath = "github.com/mattn/go-isatty";
257− fetch = {
258− type = "git";
259− url = "https://github.com/mattn/go-isatty";
260− rev = "66b8e73f3f5cda9f96b69efd03dd3d7fc4a5cdb8";
261− sha256 = "17lf13ndnai9a6dlmykqkdyzf1z04q7kffs0l7kvd78wpv3l6rm5";
262− };
263− }
264− {
265− goPackagePath = "github.com/mattn/go-runewidth";
266− fetch = {
267− type = "git";
268− url = "https://github.com/mattn/go-runewidth";
269− rev = "d6bea18f789704b5f83375793155289da36a3c7f";
270− sha256 = "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs";
271− };
272− }
273− {
274− goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
275− fetch = {
276− type = "git";
277− url = "https://github.com/matttproud/golang_protobuf_extensions";
278− rev = "c12348ce28de40eed0136aa2b644d0ee0650e56c";
279− sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
280− };
281− }
282− {
283− goPackagePath = "github.com/olekukonko/tablewriter";
284− fetch = {
285− type = "git";
286− url = "https://github.com/olekukonko/tablewriter";
287− rev = "daf2955e742cf123959884fdff4685aa79b63135";
288− sha256 = "1fvl251ms7qmzfbi853kdgghqkrmyy6n1605mfy50nhgvw03z203";
289− };
290− }
291− {
292− goPackagePath = "github.com/opentracing/basictracer-go";
293− fetch = {
294− type = "git";
295− url = "https://github.com/opentracing/basictracer-go";
296− rev = "c7c0202a8a77f658aeb2193a27b6c0cfcc821038";
297− sha256 = "09mh7dlhr3lyw8kwpa07ywjzr3bg7847ky4hvx551lhyqk0bfv0l";
298− };
299− }
300− {
301− goPackagePath = "github.com/opentracing/opentracing-go";
302− fetch = {
303− type = "git";
304− url = "https://github.com/opentracing/opentracing-go";
305− rev = "855519783f479520497c6b3445611b05fc42f009";
306− sha256 = "15amxprc5n0dgr42jd1lkcn697m7pcvmksps9g1gw38ahyicxq8g";
307− };
308− }
309− {
310− goPackagePath = "github.com/petermattis/goid";
311− fetch = {
312− type = "git";
313− url = "https://github.com/petermattis/goid";
314− rev = "208e1c5be6bf38853827abdc6290b5f6a0c404d5";
315− sha256 = "0d511pdyrv9lkzq04agnm7019c1769vmdq8kyh66pq2np1x6jsl2";
316− };
317− }
318− {
319− goPackagePath = "github.com/pkg/errors";
320− fetch = {
321− type = "git";
322− url = "https://github.com/pkg/errors";
323− rev = "a22138067af1c4942683050411a841ade67fe1eb";
324− sha256 = "0fay1zxi8y4kj1q33mqxdsbicg9cplknnmzz87c9saq7rb4k6f36";
325− };
326− }
327− {
328− goPackagePath = "github.com/prometheus/client_model";
329− fetch = {
330− type = "git";
331− url = "https://github.com/prometheus/client_model";
332− rev = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6";
333− sha256 = "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9";
334− };
335− }
336− {
337− goPackagePath = "github.com/prometheus/common";
338− fetch = {
339− type = "git";
340− url = "https://github.com/prometheus/common";
341− rev = "ebdfc6da46522d58825777cf1f90490a5b1ef1d8";
342− sha256 = "0js62pj8600773wx6labpd772yyhz5ivim7dnl7b862wblbmc8mq";
343− };
344− }
345− {
346− goPackagePath = "github.com/rcrowley/go-metrics";
347− fetch = {
348− type = "git";
349− url = "https://github.com/rcrowley/go-metrics";
350− rev = "bdb33529eca3e55eac7328e07c57012a797af602";
351− sha256 = "146hfddgdi8rkg25v1f25klz3sy5slp0gny2lwjyi63jwly07512";
352− };
353− }
354− {
355− goPackagePath = "github.com/rubyist/circuitbreaker";
356− fetch = {
357− type = "git";
358− url = "https://github.com/rubyist/circuitbreaker";
359− rev = "7e3e7fbe9c62b943d487af023566a79d9eb22d3b";
360− sha256 = "01fshh514bq2bk7f6xv7zr781m23d3k1mla1lh8azqw5874m7a07";
361− };
362− }
363− {
364− goPackagePath = "github.com/russross/blackfriday";
365− fetch = {
366− type = "git";
367− url = "https://github.com/russross/blackfriday";
368− rev = "93622da34e54fb6529bfb7c57e710f37a8d9cbd8";
369− sha256 = "19y4cx4afm3fjj7w83g0wklbzqdjm7m1j5nq64l4yq8bi50y2iv2";
370− };
371− }
372− {
373− goPackagePath = "github.com/satori/go.uuid";
374− fetch = {
375− type = "git";
376− url = "https://github.com/satori/go.uuid";
377− rev = "0aa62d5ddceb50dbcb909d790b5345affd3669b6";
378− sha256 = "1vfzfcspanxcbpdpv49580rh6kamzcs3lm70xnx724mkwi41zi8w";
379− };
380− }
381− {
382− goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
383− fetch = {
384− type = "git";
385− url = "https://github.com/shurcooL/sanitized_anchor_name";
386− rev = "10ef21a441db47d8b13ebcc5fd2310f636973c77";
387− sha256 = "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01";
388− };
389− }
390− {
391− goPackagePath = "github.com/spf13/cobra";
392− fetch = {
393− type = "git";
394− url = "https://github.com/spf13/cobra";
395− rev = "7c674d9e72017ed25f6d2b5e497a1368086b6a6f";
396− sha256 = "0an935r7lc11a744mvdrsy56rs2w0ah3gdclvr4gzd5iqr9ap3dr";
397− };
398− }
399− {
400− goPackagePath = "github.com/spf13/pflag";
401− fetch = {
402− type = "git";
403− url = "https://github.com/spf13/pflag";
404− rev = "f676131e2660dc8cd88de99f7486d34aa8172635";
405− sha256 = "0gj4fpary501n32ag49mkd0vymqw01am0lv78l9db9dvd2im0i4m";
406− };
407− }
408− {
409− goPackagePath = "golang.org/x/crypto";
410− fetch = {
411− type = "git";
412− url = "https://go.googlesource.com/crypto";
413− rev = "a548aac93ed489257b9d959b40fe1e8c1e20778c";
414− sha256 = "022vl9s6hf8qzdrxfivzd3dg1gsr1vns0j3a3xfdkgv5z9qyvy83";
415− };
416− }
417− {
418− goPackagePath = "golang.org/x/net";
419− fetch = {
420− type = "git";
421− url = "https://go.googlesource.com/net";
422− rev = "07b51741c1d6423d4a6abab1c49940ec09cb1aaf";
423− sha256 = "12lvdj0k2gww4hw5f79qb9yswqpy4i3bgv1likmf3mllgdxfm20w";
424− };
425− }
426− {
427− goPackagePath = "golang.org/x/sys";
428− fetch = {
429− type = "git";
430− url = "https://go.googlesource.com/sys";
431− rev = "a646d33e2ee3172a661fc09bca23bb4889a41bc8";
432− sha256 = "1jniqg2nv5zhdzfm9gwfx0s9q8mwxrgcxdbkd6cddk9w0qgji9dc";
433− };
434− }
435− {
436− goPackagePath = "golang.org/x/text";
437− fetch = {
438− type = "git";
439− url = "https://go.googlesource.com/text";
440− rev = "2910a502d2bf9e43193af9d68ca516529614eed3";
441− sha256 = "1h2bxzsnqksnvrk2lplpqzzpp9m9zmd6f2aajyahc56bxb1804jq";
442− };
443− }
444− {
445− goPackagePath = "google.golang.org/grpc";
446− fetch = {
447− type = "git";
448− url = "https://github.com/grpc/grpc-go";
449− rev = "79b7c349179cdd6efd8bac4a1ce7f01b98c16e9b";
450− sha256 = "0w2g3pcxxgnp3fk0qy7ail8mxdxv3cf1yavdx8rrjn9idyd261df";
451− };
452− }
453− {
454− goPackagePath = "gopkg.in/inf.v0";
455− fetch = {
456− type = "git";
457− url = "https://gopkg.in/inf.v0";
458− rev = "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4";
459− sha256 = "0rf3vwyb8aqnac9x9d6ax7z5526c45a16yjm2pvkijr6qgqz8b82";
460− };
461− }
462− {
463− goPackagePath = "gopkg.in/yaml.v1";
464− fetch = {
465− type = "git";
466− url = "https://gopkg.in/yaml.v1";
467− rev = "9f9df34309c04878acc86042b16630b0f696e1de";
468− sha256 = "1r8d346szqa9x8q03wiycik5qy3d6w8qq4hs99z1p64q5lm0g7gm";
469− };
470− }
471−]
pkgs/shells/rssh/default.nix+6
@@ -59,6 +59,12 @@ stdenv.mkDerivation rec {
5959 })
6060 ];
6161
62+ # Run this after to avoid conflict with patches above
63+ postPatch = ''
64+ sed -i '/chmod u+s/d' Makefile.in
65+ '';
66+
67+
6268 buildInputs = [ openssh rsync cvs ];
6369
6470 configureFlags = [
pkgs/tools/admin/cli53/default.nix+18−12
@@ -1,21 +1,27 @@
1−{ lib, python2Packages, fetchurl }:
1+{ stdenv, buildGoPackage, fetchFromGitHub }:
22
3−python2Packages.buildPythonApplication rec {
3+buildGoPackage rec {
44 name = "cli53-${version}";
5− version = "0.4.4";
5+ version = "0.8.8";
66
7− src = fetchurl {
8− url = "mirror://pypi/c/cli53/${name}.tar.gz";
9− sha256 = "0s9jzigq6a16m2c3qklssx2lz16cf13g5zh80vh24kxazaxqzbig";
7+ goPackagePath = "github.com/barnybug/cli53";
8+
9+ src = fetchFromGitHub {
10+ owner = "barnybug";
11+ repo = "cli53";
12+ rev = version;
13+ sha256 = "1hbx64rn25qzp2xlfwv8xaqyfcax9b6pl30j9vciw7cb346i84gc";
1014 };
1115
12− propagatedBuildInputs = with python2Packages; [
13− argparse
14− boto
15− dns
16− ];
16+ buildPhase = ''
17+ pushd go/src/${goPackagePath}/cmd/cli53
18+ go get .
19+ popd
20+ '';
21+
22+ goDeps = ./deps.nix;
1723
18− meta = {
24+ meta = with stdenv.lib; {
1925 description = "CLI tool for the Amazon Route 53 DNS service";
2026 homepage = https://github.com/barnybug/cli53;
2127 license = lib.licenses.mit;
pkgs/tools/backup/amazon-glacier-cmd-interface/default.nix+5−1
@@ -11,8 +11,12 @@ python2Packages.buildPythonApplication rec {
1111 sha256 = "1k5z8kda9v6klr4536pf5qbq9zklxvyysv7nc48gllschl09jywc";
1212 };
1313
14+ # argparse is part of the standardlib
15+ prePatch = ''
16+ substituteInPlace setup.py --replace "'argparse'," ""
17+ '';
18+
1419 propagatedBuildInputs = with python2Packages; [
15− argparse
1620 boto
1721 dateutil
1822 prettytable
pkgs/tools/filesystems/glusterfs/default.nix+4
@@ -65,6 +65,10 @@ rec {
6565 inherit (s) name version;
6666 inherit buildInputs propagatedBuildInputs;
6767
68+ postPatch = ''
69+ sed -e '/chmod u+s/d' -i contrib/fuse-util/Makefile.am
70+ '';
71+
6872 patches = [
6973 ./glusterfs-use-PATH-instead-of-hardcodes.patch
7074 ./glusterfs-fix-unsubstituted-autoconf-macros.patch
pkgs/tools/misc/parallel/default.nix+2−2
@@ -1,11 +1,11 @@
11{ fetchurl, stdenv, perl, makeWrapper, procps }:
22
33stdenv.mkDerivation rec {
4− name = "parallel-20170422";
4+ name = "parallel-20170522";
55
66 src = fetchurl {
77 url = "mirror://gnu/parallel/${name}.tar.bz2";
8− sha256 = "0afk1q8mqzz02h6imyykgi9gwk5gj08hzs6lwgd65ilj4slkh93s";
8+ sha256 = "1k5wlcc0dr2fxna0vi48s0l6pvbyl4pbclbih4103f1155im23ca";
99 };
1010
1111 nativeBuildInputs = [ makeWrapper perl ];
pkgs/tools/misc/rrdtool/default.nix+2−2
@@ -2,11 +2,11 @@
22, tcl-8_5, darwin }:
33
44stdenv.mkDerivation rec {
5− name = "rrdtool-1.6.0";
5+ name = "rrdtool-1.7.0";
66
77 src = fetchurl {
88 url = "http://oss.oetiker.ch/rrdtool/pub/${name}.tar.gz";
9− sha256 = "1msj1qsy3sdmx2g2rngp9a9qv50hz0ih7yx6nkx2b21drn4qx56d";
9+ sha256 = "0ssjqpa0dwwzbylc0drmlbq922qcw8crffc0rpr805xr6n4k8zgr";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/misc/uucp/default.nix+7
@@ -10,6 +10,13 @@ stdenv.mkDerivation rec {
1010
1111 hardeningDisable = [ "format" ];
1212
13+ prePatch = ''
14+ # do not set sticky bit in nix store
15+ substituteInPlace Makefile.in \
16+ --replace 4555 0555
17+ sed -i '/chown $(OWNER)/d' Makefile.in
18+ '';
19+
1320 meta = {
1421 description = "Unix-unix cp over serial line, also includes cu program";
1522
pkgs/tools/security/logkeys/default.nix+1
@@ -15,6 +15,7 @@ stdenv.mkDerivation rec {
1515 postPatch = ''
1616 substituteInPlace src/Makefile.in --replace 'root' '$(id -u)'
1717 substituteInPlace configure --replace '/dev/input' '/tmp'
18+ sed -i '/chmod u+s/d' src/Makefile.in
1819 '';
1920
2021 meta = with stdenv.lib; {
pkgs/tools/security/sudo/default.nix+5
@@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
1414 sha256 = "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y";
1515 };
1616
17+ prePatch = ''
18+ # do not set sticky bit in nix store
19+ substituteInPlace src/Makefile.in --replace 04755 0755
20+ '';
21+
1722 configureFlags = [
1823 "--with-env-editor"
1924 "--with-editor=/run/current-system/sw/bin/nano"
pkgs/tools/security/super/default.nix+7
@@ -9,6 +9,13 @@ stdenv.mkDerivation rec {
99 sha256 = "0k476f83w7f45y9jpyxwr00ikv1vhjiq0c26fgjch9hnv18icvwy";
1010 };
1111
12+ prePatch = ''
13+ # do not set sticky bit in nix store
14+ substituteInPlace Makefile.in \
15+ --replace "-o root" "" \
16+ --replace 04755 755
17+ '';
18+
1219 patches = [
1320 (fetchpatch { url = http://anonscm.debian.org/cgit/users/robert/super.git/plain/debian/patches/14-Fix-unchecked-setuid-call.patch;
1421 sha256 = "08m9hw4kyfjv0kqns1cqha4v5hkgp4s4z0q1rgif1fnk14xh7wqh";
pkgs/tools/security/vulnix/requirements.nix+1
@@ -26,6 +26,7 @@ rec {
2626 url = "https://pypi.python.org/packages/52/b3/a96d62711a26d8cfbe546519975dc9ed54d2eb50b3238d2e6de045764796/ZConfig-3.1.0.tar.gz";
2727 sha256 = "c21fa3a073a56925a8098036d46717392994a92cffea1b3cda3176b70c0a842e";
2828 };
29+ propagatedBuildInputs = with self; [ zope_testrunner ];
2930 meta = with stdenv.lib; {
3031 homepage = "";
3132 license = licenses.zpt21;
pkgs/tools/system/at/install.patch+1−1
@@ -20,7 +20,7 @@
2020+ $(INSTALL) -m 755 -d $(IROOT)$(sbindir)
2121+ $(INSTALL) -m 755 -d $(IROOT)$(docdir)
2222+ $(INSTALL) -m 755 -d $(IROOT)$(atdocdir)
23−+ $(INSTALL) -m 6755 -s at $(IROOT)$(bindir)
23++ $(INSTALL) -m 0755 -s at $(IROOT)$(bindir)
2424 $(LN_S) -f at $(IROOT)$(bindir)/atq
2525 $(LN_S) -f at $(IROOT)$(bindir)/atrm
2626- $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir)
pkgs/tools/system/cron/default.nix+2−1
@@ -12,7 +12,8 @@ stdenv.mkDerivation {
1212 hardeningEnable = [ "pie" ];
1313
1414 preBuild = ''
15− substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755
15+ # do not set sticky bit in /nix/store
16+ substituteInPlace Makefile --replace ' -o root' ' ' --replace 111 755 --replace 4755 0755
1617 makeFlags="DESTROOT=$out CC=cc"
1718
1819 # We want to ignore the $glibc/include/paths.h definition of
pkgs/tools/system/fakeroot/default.nix+3−2
@@ -9,8 +9,9 @@ stdenv.mkDerivation rec {
99 sha256 = "0313xb2j6a4wihrw9gfd4rnyqw7zzv6wf3rfh2gglgnv356ic2kw";
1010 };
1111
12+ patches = stdenv.lib.optional stdenv.isLinux ./einval.patch
1213 # patchset from brew
13− patches = stdenv.lib.optionals stdenv.isDarwin [
14+ ++ stdenv.lib.optionals stdenv.isDarwin [
1415 (fetchpatch {
1516 name = "0001-Implement-openat-2-wrapper-which-handles-optional-ar.patch";
1617 url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=0001-Implement-openat-2-wrapper-which-handles-optional-ar.patch;att=1;bug=766649";
@@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
2627 url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=766649;filename=fakeroot-always-pass-mode.patch;msg=20";
2728 sha256 = "0i3zaca1v449dm9m1cq6wq4dy6hc2y04l05m9gg8d4y4swld637p";
2829 })
29− ];
30+ ];
3031
3132 buildInputs = [ getopt ]
3233 ++ stdenv.lib.optional (!stdenv.isDarwin) libcap
pkgs/tools/system/fakeroot/einval.patchnew file+47
@@ -0,0 +1,47 @@
1+Ignore EINVAL errors. This matters within user namespaces.
2+
3+See:
4+https://github.com/NixOS/nixpkgs/issues/25901
5+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802612
6+https://github.com/NixOS/nixpkgs/issues/10496
7+
8+diff --git a/libfakeroot.c b/libfakeroot.c
9+index 68a95fb..70da8bc 100644
10+--- a/libfakeroot.c
11++++ b/libfakeroot.c
12+@@ -792,7 +792,7 @@ int chown(const char *path, uid_t owner, gid_t group){
13+ r=next_lchown(path,owner,group);
14+ else
15+ r=0;
16+- if(r&&(errno==EPERM))
17++ if(r&&(errno==EPERM||errno==EINVAL))
18+ r=0;
19+
20+ return r;
21+@@ -819,7 +819,7 @@ int lchown(const char *path, uid_t owner, gid_t group){
22+ r=next_lchown(path,owner,group);
23+ else
24+ r=0;
25+- if(r&&(errno==EPERM))
26++ if(r&&(errno==EPERM||errno==EINVAL))
27+ r=0;
28+
29+ return r;
30+@@ -843,7 +843,7 @@ int fchown(int fd, uid_t owner, gid_t group){
31+ else
32+ r=0;
33+
34+- if(r&&(errno==EPERM))
35++ if(r&&(errno==EPERM||errno==EINVAL))
36+ r=0;
37+
38+ return r;
39+@@ -870,7 +870,7 @@ int fchownat(int dir_fd, const char *path, uid_t owner, gid_t group, int flags)
40+ else
41+ r=0;
42+
43+- if(r&&(errno==EPERM))
44++ if(r&&(errno==EPERM||errno==EINVAL))
45+ r=0;
46+
47+ return r;
pkgs/tools/system/logcheck/default.nix+5
@@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
1010 sha256 = "1x4skb5nmv2xj8cygj8pq1rd1ws4m2fsibw54yslgdyjri4r2yq7";
1111 };
1212
13+ prePatch = ''
14+ # do not set sticky bit in nix store.
15+ substituteInPlace Makefile --replace 2750 0750
16+ '';
17+
1318 preConfigure = ''
1419 substituteInPlace src/logtail --replace "/usr/bin/perl" "${perl}/bin/perl"
1520 substituteInPlace src/logtail2 --replace "/usr/bin/perl" "${perl}/bin/perl"
pkgs/top-level/all-packages.nix+4−3
@@ -6791,6 +6791,7 @@ with pkgs;
67916791 gradle = self.gradleGen.gradle_latest;
67926792 gradle_2_14 = self.gradleGen.gradle_2_14;
67936793 gradle_2_5 = self.gradleGen.gradle_2_5;
6794+ gradle_3_5 = self.gradleGen.gradle_3_5;
67946795
67956796 gperf = callPackage ../development/tools/misc/gperf { };
67966797 # 3.1 changed some parameters from int to size_t, leading to mismatches.
@@ -11547,9 +11548,7 @@ with pkgs;
1154711548
1154811549 cifs-utils = callPackage ../os-specific/linux/cifs-utils { };
1154911550
11550− cockroachdb = callPackage ../servers/sql/cockroachdb {
11551− gcc = gcc6; # needs gcc 6.0 and above
11552− };
11551+ cockroachdb = callPackage ../servers/sql/cockroachdb { };
1155311552
1155411553 conky = callPackage ../os-specific/linux/conky ({
1155511554 lua = lua5_1; # conky can use 5.2, but toluapp can not
@@ -15542,6 +15541,8 @@ with pkgs;
1554215541 # 0.5.7 segfaults when opening the main panel with qt 5.7 and fails to compile with qt 5.8
1554315542 qsyncthingtray = libsForQt56.callPackage ../applications/misc/qsyncthingtray { };
1554415543
15544+ qstopmotion = callPackage ../applications/video/qstopmotion { };
15545+
1554515546 qsynth = callPackage ../applications/audio/qsynth { };
1554615547
1554715548 qtbitcointrader = callPackage ../applications/misc/qtbitcointrader { };
pkgs/top-level/python-packages.nix+2−33
@@ -17006,21 +17006,7 @@ in {
1700617006 '';
1700717007 };
1700817008
17009− oslo-config = buildPythonPackage rec {
17010− name = "oslo.config-${version}";
17011− version = "2.5.0";
17012−
17013− src = pkgs.fetchurl {
17014− url = "mirror://pypi/o/oslo.config/${name}.tar.gz";
17015− sha256 = "043mavrzj7vjn7kh1dddci4sf67qwqnnn6cm0k1d19alks9hismz";
17016− };
17017−
17018− propagatedBuildInputs = with self; [ argparse pbr six netaddr stevedore ];
17019− buildInputs = [ self.mock ];
17020−
17021− # TODO: circular import on oslo-i18n
17022− doCheck = false;
17023− };
17009+ oslo-config = callPackage ../development/python-modules/oslo-config { };
1702417010
1702517011 oslotest = buildPythonPackage rec {
1702617012 name = "oslotest-${version}";
@@ -17060,24 +17046,7 @@ in {
1706017046 '';
1706117047 };
1706217048
17063− keystoneauth1 = buildPythonPackage rec {
17064− name = "keystoneauth1-${version}";
17065− version = "1.1.0";
17066− disabled = isPyPy; # a test fails
17067−
17068− src = pkgs.fetchurl {
17069− url = "mirror://pypi/k/keystoneauth1/${name}.tar.gz";
17070− sha256 = "05fc6xsp5mal52ijvj84sf7mrw706ihadfdf5mnq9zxn7pfl4118";
17071− };
17072−
17073− buildInputs = with self; [ pbr testtools testresources testrepository mock
17074− pep8 fixtures mox3 requests-mock ];
17075− propagatedBuildInputs = with self; [ argparse iso8601 requests six stevedore
17076− webob oslo-config ];
17077− patchPhase = ''
17078− sed -i 's@python@${python.interpreter}@' .testr.conf
17079− '';
17080− };
17049+ keystoneauth1 = callPackage ../development/python-modules/keystoneauth1 {};
1708117050
1708217051 requests-mock = buildPythonPackage rec {
1708317052 name = "requests-mock-${version}";