git.iko.soy/typeable/nixpkgs
on master help sign in
Merge master into staging
commitdf587c7f2ec2ab6c81ba30f33d4c1ea17c4fc921 authorFrederik Rietdijk <fridh@fridh.nl> dateMon 25 Jun 2018, 10:58 (8 years ago) parent1dd01097c9d95f
177 files changed+1405−524
default.nix+4−1 doc/languages-frameworks/python.section.md+2−1 lib/licenses.nix+6 nixos/modules/programs/npm.nix+3−1 nixos/modules/services/databases/pgmanage.nix+26−42 nixos/modules/services/networking/chrony.nix+1−1 nixos/release.nix+1 nixos/tests/ostree.nix+21 pkgs/applications/audio/amarok/kf5.nix+2 pkgs/applications/audio/amarok/qt5_11.patch+11 pkgs/applications/audio/fldigi/default.nix+2−2 pkgs/applications/audio/gpodder/default.nix+2−3 pkgs/applications/audio/snapcast/default.nix+54 pkgs/applications/graphics/ImageMagick/7.0.nix+2−2 pkgs/applications/graphics/kipi-plugins/default.nix+1−1 pkgs/applications/misc/gnss-sdr/default.nix+1−1 pkgs/applications/misc/keepassx/community.nix+5−1 pkgs/applications/misc/keepassx/qt511.patch+15 pkgs/applications/misc/librecad/default.nix+1−1 pkgs/applications/misc/mupdf/default.nix+1−1 pkgs/applications/misc/pcmanx-gtk2/default.nix+1−1 pkgs/applications/misc/pgmanage/default.nix+2−2 pkgs/applications/networking/cluster/kubernetes/default.nix+2−2 pkgs/applications/networking/cluster/minikube/default.nix+11−3 pkgs/applications/networking/gmailieer/default.nix+2−2 pkgs/applications/networking/ids/daq/default.nix+1−1 pkgs/applications/networking/irc/quassel/default.nix+2 pkgs/applications/networking/irc/quassel/qt5_11.patch+72 pkgs/applications/networking/mailreaders/claws-mail/default.nix+1−1 pkgs/applications/networking/ostinato/default.nix+1−1 pkgs/applications/networking/remote/x2goclient/default.nix+5−3 pkgs/applications/networking/remote/x2goclient/qt511.patch+15 pkgs/applications/office/autokey/default.nix+38 pkgs/applications/office/autokey/remove-requires-dbus-python.patch+11 pkgs/applications/office/calligra/default.nix+2 pkgs/applications/office/calligra/qt5_11.patch+98 pkgs/applications/office/libreoffice/default-primary-src.nix+2−2 pkgs/applications/office/libreoffice/default.nix+3−4 pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix+5−5 pkgs/applications/office/libreoffice/libreoffice-srcs.nix+12−12 pkgs/applications/office/libreoffice/still-primary-src.nix+2−2 pkgs/applications/office/libreoffice/still.nix+6−6 pkgs/applications/science/astronomy/gravit/default.nix+2−1 pkgs/applications/science/astronomy/stellarium/default.nix+14−7 pkgs/applications/science/logic/celf/default.nix+1−1 pkgs/applications/science/logic/mcrl2/default.nix+1−1 pkgs/applications/version-management/git-and-tools/git/default.nix+3−13 pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patch+13 pkgs/applications/version-management/gitkraken/default.nix+2−2 pkgs/applications/video/streamlink/default.nix+10−4 pkgs/applications/virtualization/spice-vdagent/default.nix+2−2 pkgs/applications/window-managers/i3/lock-color.nix+1−1 pkgs/applications/window-managers/i3/status-rust.nix+4−4 pkgs/build-support/cc-wrapper/default.nix+4 pkgs/data/misc/brise/default.nix+1−1 pkgs/desktops/mate/mate-desktop/default.nix+2−2 pkgs/desktops/mate/mate-icon-theme/default.nix+2−2 pkgs/desktops/mate/mate-terminal/default.nix+2−2 pkgs/development/compilers/fsharp/default.nix+1−1 pkgs/development/compilers/fsharp41/default.nix+1−1 pkgs/development/compilers/gcc/7/default.nix+3 pkgs/development/compilers/ghc/8.2.2.nix+1−1 pkgs/development/compilers/ghc/8.4.3.nix+1−1 pkgs/development/compilers/kotlin/default.nix+2−2 pkgs/development/compilers/llvm/3.8/clang/default.nix+4−1 pkgs/development/compilers/llvm/3.8/libc++/default.nix+10−3 pkgs/development/compilers/llvm/3.8/libc++abi.nix+3 pkgs/development/compilers/llvm/3.8/llvm.nix+15−3 pkgs/development/compilers/llvm/3.9/clang/default.nix+2 pkgs/development/compilers/llvm/3.9/libc++/default.nix+12−6 pkgs/development/compilers/llvm/3.9/libc++abi.nix+3 pkgs/development/compilers/llvm/3.9/llvm.nix+13−2 pkgs/development/compilers/llvm/4/libc++/default.nix+1−1 pkgs/development/compilers/llvm/4/libc++abi.nix+1−1 pkgs/development/compilers/llvm/4/llvm.nix+1−1 pkgs/development/compilers/llvm/4/dynamiclibrary-musl.patch → pkgs/development/compilers/llvm/dynamiclibrary-musl.patch pkgs/development/compilers/llvm/4/libc++/max_align_t.patch → pkgs/development/compilers/llvm/libcxx-max_align_t.patch pkgs/development/compilers/nasm/default.nix+1−1 pkgs/development/compilers/neko/default.nix+1−1 pkgs/development/compilers/nim/default.nix+1−1 pkgs/development/compilers/ocaml/4.07.nix+2−2 pkgs/development/compilers/opendylan/bin.nix+1−1 pkgs/development/compilers/opendylan/default.nix+1−1 pkgs/development/interpreters/php/default.nix+2−2 pkgs/development/interpreters/picolisp/default.nix+1 pkgs/development/interpreters/python/cpython/3.7/default.nix+178 pkgs/development/interpreters/python/cpython/3.7/no-ldconfig.patch+100 pkgs/development/libraries/Xaw3d/default.nix+3−3 pkgs/development/libraries/agda/agda-stdlib/default.nix+1 pkgs/development/libraries/allegro/5.nix+1−1 pkgs/development/libraries/allegro/default.nix+1−1 pkgs/development/libraries/aws-sdk-cpp/default.nix+2−2 pkgs/development/libraries/boost/1.66.nix−2 pkgs/development/libraries/boost/1.67.nix−2 pkgs/development/libraries/boost/generic.nix+15−6 pkgs/development/libraries/cpp-netlib/default.nix+1−1 pkgs/development/libraries/dleyna-connector-dbus/default.nix+1−1 pkgs/development/libraries/dleyna-core/default.nix+1−1 pkgs/development/libraries/dleyna-renderer/default.nix+1−1 pkgs/development/libraries/dleyna-server/default.nix+1−1 pkgs/development/libraries/flatpak/default.nix+2−2 pkgs/development/libraries/ldb/default.nix+1−1 pkgs/development/libraries/libgsystem/default.nix−31 pkgs/development/libraries/librime/default.nix+1−1 pkgs/development/libraries/libsolv/default.nix+10−3 pkgs/development/libraries/libtomcrypt/default.nix+1−1 pkgs/development/libraries/libtommath/default.nix+1−1 pkgs/development/libraries/libtorrent-rasterbar/default.nix+24−21 pkgs/development/libraries/libxml2/default.nix+7−2 pkgs/development/libraries/minixml/default.nix+1−1 pkgs/development/libraries/mpfr/default.nix+1−1 pkgs/development/libraries/nanomsg/default.nix+1−1 pkgs/development/libraries/pango/default.nix+1−1 pkgs/development/libraries/pangomm/default.nix+1−1 pkgs/development/libraries/pangox-compat/default.nix+1−1 pkgs/development/libraries/tbb/default.nix+2−2 pkgs/development/libraries/uri/default.nix+1−1 pkgs/development/libraries/xmlsec/default.nix+2−2 pkgs/development/python-modules/click-log/default.nix+2−2 pkgs/development/python-modules/clustershell/default.nix+89 pkgs/development/python-modules/hbmqtt/default.nix+8−1 pkgs/development/python-modules/netdisco/default.nix+2−2 pkgs/development/python-modules/pyserial/default.nix+2−1 pkgs/development/python-modules/user-agents/default.nix+2 pkgs/development/tools/build-managers/bazel/default.nix+10−7 pkgs/development/tools/build-managers/conan/default.nix+2−2 pkgs/development/tools/build-managers/shards/default.nix+2−2 pkgs/development/tools/continuous-integration/gitlab-runner/default.nix+4−4 pkgs/development/tools/flatpak-builder/default.nix+4−2 pkgs/development/tools/godot/default.nix+2−2 pkgs/development/tools/hcloud/default.nix+3−3 pkgs/development/tools/java/cfr/default.nix+2−2 pkgs/development/tools/jira_cli/default.nix+1−1 pkgs/development/tools/misc/editorconfig-core-c/default.nix+1−1 pkgs/development/tools/node-webkit/nw12.nix+1−1 pkgs/development/tools/nwjs/default.nix+1−1 pkgs/development/tools/ocaml/cppo/default.nix+29−16 pkgs/development/tools/ocaml/merlin/default.nix+2−2 pkgs/development/web/kcgi/default.nix+2−2 pkgs/games/astromenace/default.nix+1−1 pkgs/games/ball-and-paddle/default.nix+2 pkgs/games/chocolate-doom/default.nix+1 pkgs/games/exult/default.nix+1 pkgs/games/freeciv/default.nix+1 pkgs/games/freedink/default.nix+1 pkgs/games/ivan/default.nix+2−2 pkgs/games/lbreakout2/default.nix+1 pkgs/games/openxcom/default.nix+1−1 pkgs/games/unvanquished/default.nix−69 pkgs/misc/emulators/fs-uae/default.nix+1−1 pkgs/misc/emulators/pcsx2/default.nix+1−1 pkgs/misc/screensavers/electricsheep/default.nix+1−1 pkgs/os-specific/linux/dmraid/default.nix+6 pkgs/os-specific/linux/odp-dpdk/default.nix+1−1 pkgs/servers/home-assistant/component-packages.nix+49−5 pkgs/servers/home-assistant/default.nix+16−16 pkgs/servers/home-assistant/frontend.nix+2−2 pkgs/servers/irc/ngircd/default.nix+1−1 pkgs/servers/sql/mariadb/default.nix+5−2 pkgs/tools/X11/keynav/default.nix+1−1 pkgs/tools/backup/partclone/default.nix+1−1 pkgs/tools/backup/restic/default.nix+2−2 pkgs/tools/misc/debootstrap/default.nix+2−2 pkgs/tools/misc/ostree/default.nix+47−23 pkgs/tools/misc/rpm-ostree/default.nix+43−29 pkgs/tools/misc/tmuxinator/default.nix+2−2 pkgs/tools/networking/hans/default.nix+1−1 pkgs/tools/security/gopass/default.nix+3 pkgs/tools/security/libacr38u/default.nix+1−1 pkgs/tools/security/pcsc-cyberjack/default.nix+1−1 pkgs/tools/system/efivar/default.nix+2−2 pkgs/tools/text/mpage/default.nix+2−2 pkgs/tools/virtualization/aws/default.nix+1−1 pkgs/top-level/aliases.nix−1 pkgs/top-level/all-packages.nix+23−9 pkgs/top-level/php-packages.nix+32−6 pkgs/top-level/python-packages.nix+9−6
default.nix+4−1
@@ -6,7 +6,10 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.
66
77 This version of Nixpkgs requires Nix >= ${requiredVersion}, please upgrade:
88
9− - If you are running NixOS, use `nixos-rebuild' to upgrade your system.
9+ - If you are running NixOS, `nixos-rebuild' can be used to upgrade your system.
10+
11+ - Alternatively, with Nix > 2.0 `nix upgrade-nix' can be used to imperatively
12+ upgrade Nix. You may use `nix-env --version' to check which version you have.
1013
1114 - If you installed Nix using the install script (https://nixos.org/nix/install),
1215 it is safe to upgrade by running it again:
doc/languages-frameworks/python.section.md+2−1
@@ -484,7 +484,7 @@ and in this case the `python35` interpreter is automatically used.
484484
485485### Interpreters
486486
487−Versions 2.7, 3.3, 3.4, 3.5 and 3.6 of the CPython interpreter are available as
487+Versions 2.7, 3.4, 3.5, 3.6 and 3.7 of the CPython interpreter are available as
488488respectively `python27`, `python34`, `python35` and `python36`. The PyPy interpreter
489489is available as `pypy`. The aliases `python2` and `python3` correspond to respectively `python27` and
490490`python35`. The default interpreter, `python`, maps to `python2`.
@@ -533,6 +533,7 @@ sets are
533533* `pkgs.python34Packages`
534534* `pkgs.python35Packages`
535535* `pkgs.python36Packages`
536+* `pkgs.python37Packages`
536537* `pkgs.pypyPackages`
537538
538539and the aliases
lib/licenses.nix+6
@@ -122,26 +122,31 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
122122 cc-by-nc-sa-20 = spdx {
123123 spdxId = "CC-BY-NC-SA-2.0";
124124 fullName = "Creative Commons Attribution Non Commercial Share Alike 2.0";
125+ free = false;
125126 };
126127
127128 cc-by-nc-sa-25 = spdx {
128129 spdxId = "CC-BY-NC-SA-2.5";
129130 fullName = "Creative Commons Attribution Non Commercial Share Alike 2.5";
131+ free = false;
130132 };
131133
132134 cc-by-nc-sa-30 = spdx {
133135 spdxId = "CC-BY-NC-SA-3.0";
134136 fullName = "Creative Commons Attribution Non Commercial Share Alike 3.0";
137+ free = false;
135138 };
136139
137140 cc-by-nc-sa-40 = spdx {
138141 spdxId = "CC-BY-NC-SA-4.0";
139142 fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0";
143+ free = false;
140144 };
141145
142146 cc-by-nd-30 = spdx {
143147 spdxId = "CC-BY-ND-3.0";
144148 fullName = "Creative Commons Attribution-No Derivative Works v3.00";
149+ free = false;
145150 };
146151
147152 cc-by-sa-25 = spdx {
@@ -455,6 +460,7 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
455460 msrla = {
456461 fullName = "Microsoft Research License Agreement";
457462 url = "http://research.microsoft.com/en-us/projects/pex/msr-la.txt";
463+ free = false;
458464 };
459465
460466 ncsa = spdx {
nixos/modules/programs/npm.nix+3−1
@@ -1,4 +1,4 @@
1−{ config, lib, ... }:
1+{ config, lib, pkgs, ... }:
22
33with lib;
44
@@ -39,6 +39,8 @@ in
3939 environment.etc."npmrc".text = cfg.npmrc;
4040
4141 environment.variables.NPM_CONFIG_GLOBALCONFIG = "/etc/npmrc";
42+
43+ environment.systemPackages = [ pkgs.nodePackages.npm ];
4244 };
4345
4446}
nixos/modules/services/databases/pgmanage.nix+26−42
@@ -41,7 +41,9 @@ let
4141
4242 pgmanage = "pgmanage";
4343
44− pgmanageOptions = {
44+in {
45+
46+ options.services.pgmanage = {
4547 enable = mkEnableOption "PostgreSQL Administration for the web";
4648
4749 package = mkOption {
@@ -176,47 +178,29 @@ let
176178 };
177179 };
178180
179−
180−in {
181−
182− options.services.pgmanage = pgmanageOptions;
183−
184− # This is deprecated and should be removed for NixOS-18.03.
185− options.services.postage = pgmanageOptions;
186−
187− config = mkMerge [
188− { assertions = [
189− { assertion = !config.services.postage.enable;
190− message =
191− "services.postage is deprecated in favour of pgmanage. " +
192− "They have the same options so just substitute postage for pgmanage." ;
193− }
194− ];
195− }
196− (mkIf cfg.enable {
197− systemd.services.pgmanage = {
198− description = "pgmanage - PostgreSQL Administration for the web";
199− wants = [ "postgresql.service" ];
200− after = [ "postgresql.service" ];
201− wantedBy = [ "multi-user.target" ];
202− serviceConfig = {
203− User = pgmanage;
204− Group = pgmanage;
205− ExecStart = "${pkgs.pgmanage}/sbin/pgmanage -c ${confFile}" +
206− optionalString cfg.localOnly " --local-only=true";
207− };
181+ config = mkIf cfg.enable {
182+ systemd.services.pgmanage = {
183+ description = "pgmanage - PostgreSQL Administration for the web";
184+ wants = [ "postgresql.service" ];
185+ after = [ "postgresql.service" ];
186+ wantedBy = [ "multi-user.target" ];
187+ serviceConfig = {
188+ User = pgmanage;
189+ Group = pgmanage;
190+ ExecStart = "${pkgs.pgmanage}/sbin/pgmanage -c ${confFile}" +
191+ optionalString cfg.localOnly " --local-only=true";
208192 };
209− users = {
210− users."${pgmanage}" = {
211− name = pgmanage;
212− group = pgmanage;
213− home = cfg.sqlRoot;
214− createHome = true;
215− };
216− groups."${pgmanage}" = {
217− name = pgmanage;
218− };
193+ };
194+ users = {
195+ users."${pgmanage}" = {
196+ name = pgmanage;
197+ group = pgmanage;
198+ home = cfg.sqlRoot;
199+ createHome = true;
219200 };
220− })
221− ];
201+ groups."${pgmanage}" = {
202+ name = pgmanage;
203+ };
204+ };
205+ };
222206}
nixos/modules/services/networking/chrony.nix+1−1
@@ -109,7 +109,7 @@ in
109109 home = stateDir;
110110 };
111111
112− systemd.services.timesyncd.enable = mkForce false;
112+ services.timesyncd.enable = mkForce false;
113113
114114 systemd.services.chronyd =
115115 { description = "chrony NTP daemon";
nixos/release.nix+1
@@ -314,6 +314,7 @@ in rec {
314314 tests.influxdb = callTest tests/influxdb.nix {};
315315 tests.ipv6 = callTest tests/ipv6.nix {};
316316 tests.jenkins = callTest tests/jenkins.nix {};
317+ tests.ostree = callTest tests/ostree.nix {};
317318 tests.osquery = callTest tests/osquery.nix {};
318319 tests.plasma5 = callTest tests/plasma5.nix {};
319320 tests.plotinus = callTest tests/plotinus.nix {};
nixos/tests/ostree.nixnew file+21
@@ -0,0 +1,21 @@
1+# run installed tests
2+import ./make-test.nix ({ pkgs, lib, ... }: {
3+ name = "ostree";
4+
5+ meta = {
6+ maintainers = pkgs.ostree.meta.maintainers;
7+ };
8+
9+ # TODO: Wrap/patch the tests directly in the package
10+ machine = { pkgs, ... }: {
11+ environment.systemPackages = with pkgs; [
12+ gnome-desktop-testing ostree gnupg (python3.withPackages (p: with p; [ pyyaml ]))
13+ ];
14+
15+ environment.variables.GI_TYPELIB_PATH = lib.makeSearchPath "lib/girepository-1.0" (with pkgs; [ gtk3 pango.out ostree gdk_pixbuf atk ]); # for GJS tests
16+ };
17+
18+ testScript = ''
19+ $machine->succeed("gnome-desktop-testing-runner -d ${pkgs.ostree.installedTests}/share");
20+ '';
21+})
pkgs/applications/audio/amarok/kf5.nix+2
@@ -21,6 +21,8 @@ in mkDerivation {
2121 sha256 = "05w7kl6qfmkjz0y1bhgkkbmsqdll30bkjd6npkzvivrvp7dplmbh";
2222 };
2323
24+ patches = [ ./qt5_11.patch ];
25+
2426 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
2527 propagatedBuildInputs = [
2628 qca-qt5 qjson qtscript qtwebkit
pkgs/applications/audio/amarok/qt5_11.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/src/aboutdialog/ExtendedAboutDialog.cpp
2++++ b/src/aboutdialog/ExtendedAboutDialog.cpp
3+@@ -30,6 +30,7 @@
4+ #include <QLayout>
5+ #include <QPushButton>
6+ #include <QScrollBar>
7++#include <QStyle>
8+ #include <QTabWidget>
9+
10+ #include <qapplication.h>
11+
pkgs/applications/audio/fldigi/default.nix+2−2
@@ -2,13 +2,13 @@
22 libsamplerate, libpulseaudio, libXinerama, gettext, pkgconfig, alsaLib }:
33
44stdenv.mkDerivation rec {
5− version = "4.0.16";
5+ version = "4.0.17";
66 pname = "fldigi";
77 name = "${pname}-${version}";
88
99 src = fetchurl {
1010 url = "mirror://sourceforge/${pname}/${name}.tar.gz";
11− sha256 = "1gcahm1lv3yfscaxanrx6q7dydxjznw98vdc0f8zgdb15na3f0g7";
11+ sha256 = "1z8w0dxfc2nm1iy1vv18s5s88ys9vvbqawjvhsymxj56jqjzzp4q";
1212 };
1313
1414 buildInputs = [ libXinerama gettext hamlib fltk13 libjpeg libpng portaudio
pkgs/applications/audio/gpodder/default.nix+2−3
@@ -5,15 +5,14 @@
55
66python3Packages.buildPythonApplication rec {
77 pname = "gpodder";
8− version = "3.10.2";
9−
8+ version = "3.10.3";
109 format = "other";
1110
1211 src = fetchFromGitHub {
1312 owner = "gpodder";
1413 repo = "gpodder";
1514 rev = version;
16− sha256 = "0nbhyh44cympslcf4miwc2n1gccm5ghjf9slg0r8xnpvg921jv04";
15+ sha256 = "0j0amjq1wvr5p10vckg900a8xfnxw6z028qw72ayh58216m5jb5l";
1716 };
1817
1918 postPatch = with stdenv.lib; ''
pkgs/applications/audio/snapcast/default.nixnew file+54
@@ -0,0 +1,54 @@
1+{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
2+, asio, alsaLib, avahi, libogg, libvorbis, flac }:
3+
4+let
5+
6+ popl = stdenv.mkDerivation rec {
7+ name = "popl-${version}";
8+ version = "1.1.0";
9+
10+ src = fetchFromGitHub {
11+ owner = "badaix";
12+ repo = "popl";
13+ rev = "v${version}";
14+ sha256 = "1zgjgcingyi1xw61azxxasaidbgqidncml5c2y2cj90mz23yam1i";
15+ };
16+ nativeBuildInputs = [ cmake ];
17+ };
18+
19+ aixlog = stdenv.mkDerivation rec {
20+ name = "aixlog-${version}";
21+ version = "1.2.1";
22+
23+ src = fetchFromGitHub {
24+ owner = "badaix";
25+ repo = "aixlog";
26+ rev = "v${version}";
27+ sha256 = "1rh4jib5g41b85bqrxkl5g74hk5ryf187y9fw0am76g59xlymfpr";
28+ };
29+ nativeBuildInputs = [ cmake ];
30+ };
31+
32+in
33+
34+stdenv.mkDerivation rec {
35+ name = "snapcast-${version}";
36+ version = "0.14.0";
37+
38+ src = fetchFromGitHub {
39+ owner = "badaix";
40+ repo = "snapcast";
41+ rev = "v${version}";
42+ sha256 = "14f5jrsarjdk2mixmznmighrh22j6flp7y47r9j3qzxycmm1mcf6";
43+ };
44+
45+ nativeBuildInputs = [ cmake pkgconfig ];
46+ buildInputs = [ asio popl aixlog alsaLib avahi libogg libvorbis flac ];
47+
48+ meta = with lib; {
49+ description = "Synchronous multi-room audio player";
50+ homepage = https://github.com/badaix/snapcast;
51+ maintainers = with maintainers; [ fpletz ];
52+ license = licenses.gpl3;
53+ };
54+}
pkgs/applications/graphics/ImageMagick/7.0.nix+2−2
@@ -14,8 +14,8 @@ let
1414 else throw "ImageMagick is not supported on this platform.";
1515
1616 cfg = {
17− version = "7.0.7-35";
18− sha256 = "1gn4frzxa1v712pcwwkmi0m2a6gbrg2564dbxxr7130zc66licpz";
17+ version = "7.0.8-2";
18+ sha256 = "06cpvvv8xikw5jm1pa2xxxlnsy743ham67yshpndn2x3fyf48267";
1919 patches = [];
2020 };
2121in
pkgs/applications/graphics/kipi-plugins/default.nix+1−1
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 meta = {
2828 description = "Plugins for KDE-based image applications";
2929 license = stdenv.lib.licenses.gpl2;
30− homepage = http://www.digikam.org;
30+ homepage = https://www.digikam.org;
3131 maintainers = with stdenv.lib.maintainers; [ ttuegel ];
3232 platforms = stdenv.lib.platforms.linux;
3333 };
pkgs/applications/misc/gnss-sdr/default.nix+1−1
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
6060
6161 meta = with stdenv.lib; {
6262 description = "An open source Global Navigation Satellite Systems software-defined receiver";
63− homepage = http://gnss-sdr.org/;
63+ homepage = https://gnss-sdr.org/;
6464 license = licenses.gpl3Plus;
6565 platforms = platforms.linux;
6666 };
pkgs/applications/misc/keepassx/community.nix+5−1
@@ -47,7 +47,11 @@ stdenv.mkDerivation rec {
4747 --replace "/usr/local/share/man" "../share/man"
4848 '';
4949 NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib";
50− patches = [ ./darwin.patch ];
50+
51+ patches = [
52+ ./darwin.patch
53+ ./qt511.patch
54+ ];
5155
5256 cmakeFlags = [
5357 "-DKEEPASSXC_BUILD_TYPE=Release"
pkgs/applications/misc/keepassx/qt511.patchnew file+15
@@ -0,0 +1,15 @@
1+diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp
2+index 6fd65c1a..e99275b0 100644
3+--- a/src/gui/entry/EditEntryWidget.cpp
4++++ b/src/gui/entry/EditEntryWidget.cpp
5+@@ -29,6 +29,7 @@
6+ #include <QMenu>
7+ #include <QSortFilterProxyModel>
8+ #include <QTemporaryFile>
9++#include <QButtonGroup>
10+ #include <QMimeData>
11+ #include <QEvent>
12+ #include <QColorDialog>
13+--
14+2.17.1
15+
pkgs/applications/misc/librecad/default.nix+1−1
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030
3131 meta = {
3232 description = "A 2D CAD package based upon Qt";
33− homepage = http://librecad.org;
33+ homepage = https://librecad.org;
3434 repositories.git = git://github.com/LibreCAD/LibreCAD.git;
3535 license = stdenv.lib.licenses.gpl2;
3636 maintainers = with stdenv.lib.maintainers; [viric];
pkgs/applications/misc/mupdf/default.nix+1−1
@@ -86,7 +86,7 @@ in stdenv.mkDerivation rec {
8686 enableParallelBuilding = true;
8787
8888 meta = with stdenv.lib; {
89− homepage = http://mupdf.com;
89+ homepage = https://mupdf.com;
9090 repositories.git = git://git.ghostscript.com/mupdf.git;
9191 description = "Lightweight PDF, XPS, and E-book viewer and toolkit written in portable C";
9292 license = licenses.agpl3Plus;
pkgs/applications/misc/pcmanx-gtk2/default.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121 '';
2222
2323 meta = with stdenv.lib; {
24− homepage = http://pcman.ptt.cc;
24+ homepage = https://pcman.ptt.cc;
2525 license = licenses.gpl2;
2626 description = "Telnet BBS browser with GTK+ interface";
2727 maintainers = [ maintainers.sifmelcara ];
pkgs/applications/misc/pgmanage/default.nix+2−2
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "pgmanage-${version}";
5− version = "10.1.1";
5+ version = "10.3.0";
66
77 src = fetchFromGitHub {
88 owner = "pgManage";
99 repo = "pgManage";
1010 rev = "v${version}";
11− sha256 = "1gv96an1ff9amh16lf71wknshmxl3l4hsl3ga7wb106c10i14zzc";
11+ sha256 = "105gmwkifq04qmp5kpgybwjyx01528r6m3x1pxbvnfyni8sf74qj";
1212 };
1313
1414 patchPhase = ''
pkgs/applications/networking/cluster/kubernetes/default.nix+2−2
@@ -16,13 +16,13 @@ with lib;
1616
1717stdenv.mkDerivation rec {
1818 name = "kubernetes-${version}";
19− version = "1.10.4";
19+ version = "1.10.5";
2020
2121 src = fetchFromGitHub {
2222 owner = "kubernetes";
2323 repo = "kubernetes";
2424 rev = "v${version}";
25− sha256 = "0q1llnqy83fkx3vhcfjyl3frd41h7g1cvl38lfhsz1z1v9av3bpd";
25+ sha256 = "1k6ayb43l68l0qw31cc4k1pwvm8aks3l2xm0gdxdxbbww1mnzix2";
2626 };
2727
2828 # Build using golang v1.9 in accordance with https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependencies
pkgs/applications/networking/cluster/minikube/default.nix+11−3
@@ -1,7 +1,15 @@
1−{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, libvirt, qemu, docker-machine-kvm,
2− gpgme, makeWrapper, hostPlatform, vmnet, python }:
1+{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, libvirt, qemu
2+, gpgme, makeWrapper, hostPlatform, vmnet, python, pkgconfig
3+, docker-machine-kvm, docker-machine-kvm2
4+, extraDrivers ? []
5+}:
36
4−let binPath = stdenv.lib.optionals stdenv.isLinux [ libvirt qemu docker-machine-kvm ];
7+let
8+ drivers = stdenv.lib.filter (d: d != null) (extraDrivers
9+ ++ stdenv.lib.optionals stdenv.isLinux [ docker-machine-kvm docker-machine-kvm2 ]);
10+
11+ binPath = drivers
12+ ++ stdenv.lib.optionals stdenv.isLinux ([ libvirt qemu ]);
513
614in buildGoPackage rec {
715 pname = "minikube";
pkgs/applications/networking/gmailieer/default.nix+2−2
@@ -2,13 +2,13 @@
22
33python3Packages.buildPythonApplication rec {
44 name = "gmailieer-${version}";
5− version = "0.6";
5+ version = "0.9";
66
77 src = fetchFromGitHub {
88 owner = "gauteh";
99 repo = "gmailieer";
1010 rev = "v${version}";
11− sha256 = "1z7r78ck81l8xdpjynjv8dfm4j0p6a1cbzgdckp41id27sq1vc76";
11+ sha256 = "1ixs5hip37hzcxwi2gsxp34r914f1wrl4r3swxqmzln3a15kngsk";
1212 };
1313
1414 propagatedBuildInputs = with python3Packages; [
pkgs/applications/networking/ids/daq/default.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 meta = {
1717 description = "Data AcQuisition library (DAQ), for packet I/O";
18− homepage = http://www.snort.org;
18+ homepage = https://www.snort.org;
1919 maintainers = with stdenv.lib.maintainers; [ aycanirican ];
2020 license = stdenv.lib.licenses.gpl2;
2121 platforms = with stdenv.lib.platforms; linux;
pkgs/applications/networking/irc/quassel/default.nix+2
@@ -71,6 +71,8 @@ in with stdenv; mkDerivation rec {
7171 --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
7272 '';
7373
74+ patches = [ ./qt5_11.patch ];
75+
7476 meta = with stdenv.lib; {
7577 homepage = https://quassel-irc.org/;
7678 description = "Qt/KDE distributed IRC client suppporting a remote daemon";
pkgs/applications/networking/irc/quassel/qt5_11.patchnew file+72
@@ -0,0 +1,72 @@
1+From 92f4dca367c3a6f0536a1e0f3fbb44bb6ed4da62 Mon Sep 17 00:00:00 2001
2+From: Manuel Nickschas <sputnick@quassel-irc.org>
3+Date: Thu, 3 May 2018 23:19:34 +0200
4+Subject: [PATCH] cmake: Fix build with Qt 5.11
5+
6+Qt 5.11 removes the qt5_use_modules function, so add a copy. If
7+present, the Qt-provided function will be used instead.
8+
9+Closes GH-355.
10+---
11+ cmake/QuasselMacros.cmake | 38 ++++++++++++++++++++++++++++++++++++++
12+ 1 file changed, 38 insertions(+)
13+
14+diff --git a/cmake/QuasselMacros.cmake b/cmake/QuasselMacros.cmake
15+index 652c0042..d77ba1cf 100644
16+--- a/cmake/QuasselMacros.cmake
17++++ b/cmake/QuasselMacros.cmake
18+@@ -5,6 +5,9 @@
19+ # The qt4_use_modules function was taken from CMake's Qt4Macros.cmake:
20+ # (C) 2005-2009 Kitware, Inc.
21+ #
22++# The qt5_use_modules function was taken from Qt 5.10.1 (and modified):
23++# (C) 2005-2011 Kitware, Inc.
24++#
25+ # Redistribution and use is allowed according to the terms of the BSD license.
26+ # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
27+
28+@@ -43,6 +46,41 @@ function(qt4_use_modules _target _link_type)
29+ endforeach()
30+ endfunction()
31+
32++# Qt 5.11 removed the qt5_use_modules function, so we need to provide it until we can switch to a modern CMake version.
33++# If present, the Qt-provided version will be used automatically instead.
34++function(qt5_use_modules _target _link_type)
35++ if (NOT TARGET ${_target})
36++ message(FATAL_ERROR "The first argument to qt5_use_modules must be an existing target.")
37++ endif()
38++ if ("${_link_type}" STREQUAL "LINK_PUBLIC" OR "${_link_type}" STREQUAL "LINK_PRIVATE" )
39++ set(_qt5_modules ${ARGN})
40++ set(_qt5_link_type ${_link_type})
41++ else()
42++ set(_qt5_modules ${_link_type} ${ARGN})
43++ endif()
44++
45++ if ("${_qt5_modules}" STREQUAL "")
46++ message(FATAL_ERROR "qt5_use_modules requires at least one Qt module to use.")
47++ endif()
48++ foreach(_module ${_qt5_modules})
49++ if (NOT Qt5${_module}_FOUND)
50++ find_package(Qt5${_module} PATHS "${_Qt5_COMPONENT_PATH}" NO_DEFAULT_PATH)
51++ if (NOT Qt5${_module}_FOUND)
52++ message(FATAL_ERROR "Can not use \"${_module}\" module which has not yet been found.")
53++ endif()
54++ endif()
55++ target_link_libraries(${_target} ${_qt5_link_type} ${Qt5${_module}_LIBRARIES})
56++ set_property(TARGET ${_target} APPEND PROPERTY INCLUDE_DIRECTORIES ${Qt5${_module}_INCLUDE_DIRS})
57++ set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS ${Qt5${_module}_COMPILE_DEFINITIONS})
58++ if (Qt5_POSITION_INDEPENDENT_CODE
59++ AND (CMAKE_VERSION VERSION_LESS 2.8.12
60++ AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
61++ OR CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)))
62++ set_property(TARGET ${_target} PROPERTY POSITION_INDEPENDENT_CODE ${Qt5_POSITION_INDEPENDENT_CODE})
63++ endif()
64++ endforeach()
65++endfunction()
66++
67+ # Some wrappers for simplifying dual-Qt support
68+
69+ function(qt_use_modules)
70+--
71+2.16.2
72+
pkgs/applications/networking/mailreaders/claws-mail/default.nix+1−1
@@ -108,7 +108,7 @@ stdenv.mkDerivation rec {
108108
109109 meta = {
110110 description = "The user-friendly, lightweight, and fast email client";
111− homepage = http://www.claws-mail.org/;
111+ homepage = https://www.claws-mail.org/;
112112 license = licenses.gpl3;
113113 platforms = platforms.linux;
114114 maintainers = with maintainers; [ fpletz globin ];
pkgs/applications/networking/ostinato/default.nix+1−1
@@ -60,7 +60,7 @@ stdenv.mkDerivation rec {
6060
6161 meta = with stdenv.lib; {
6262 description = "A packet traffic generator and analyzer";
63− homepage = http://ostinato.org;
63+ homepage = https://ostinato.org;
6464 license = licenses.gpl3;
6565 maintainers = with maintainers; [ rick68 ];
6666 platforms = with platforms; linux ++ darwin ++ cygwin;
pkgs/applications/networking/remote/x2goclient/default.nix+5−3
@@ -3,18 +3,20 @@ makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon }:
33
44stdenv.mkDerivation rec {
55 name = "x2goclient-${version}";
6− version = "4.1.1.1";
6+ version = "4.1.2.0";
77
88 src = fetchurl {
99 url = "http://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
10− sha256 = "0jzlwn0v8b123h5l7hrhs35x2z6mb98zg1s0shqb4yfp2g641yp3";
10+ sha256 = "1x1iiyszz6mbrnsqacxzclyx172djq865bw3y83ya7lc9j8a71zn";
1111 };
1212
1313 buildInputs = [ cups libssh libXpm nxproxy openldap openssh
1414 qtbase qtsvg qtx11extras qttools phonon ];
1515 nativeBuildInputs = [ makeWrapper ];
1616
17− patchPhase = ''
17+ patches = [ ./qt511.patch ];
18+
19+ postPatch = ''
1820 substituteInPlace Makefile \
1921 --replace "SHELL=/bin/bash" "SHELL=$SHELL" \
2022 --replace "lrelease-qt4" "${qttools.dev}/bin/lrelease" \
pkgs/applications/networking/remote/x2goclient/qt511.patchnew file+15
@@ -0,0 +1,15 @@
1+diff --git a/src/printwidget.cpp b/src/printwidget.cpp
2+index 58a8af7..131d340 100644
3+--- a/src/printwidget.cpp
4++++ b/src/printwidget.cpp
5+@@ -23,6 +23,7 @@
6+ #include "x2gosettings.h"
7+ #include "x2gologdebug.h"
8+ #include <QDir>
9++#include <QButtonGroup>
10+ #ifdef Q_OS_WIN
11+ #include "wapi.h"
12+ #endif
13+--
14+2.17.1
15+
pkgs/applications/office/autokey/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ lib, python3Packages, fetchFromGitHub, wrapGAppsHook, gobjectIntrospection
2+, gtksourceview, gnome3, libappindicator-gtk3, libnotify }:
3+
4+python3Packages.buildPythonApplication rec {
5+ name = "autokey-${version}";
6+ version = "0.94.1";
7+
8+ src = fetchFromGitHub {
9+ owner = "autokey";
10+ repo = "autokey";
11+ rev = "v${version}";
12+ sha256 = "1syxyciyxzs0khbfs9wjgj03q967p948kipw27j1031q0b5z3jxr";
13+ };
14+
15+ # Arch requires a similar work around—see
16+ # https://aur.archlinux.org/packages/autokey-py3/?comments=all
17+ patches = [ ./remove-requires-dbus-python.patch ];
18+
19+ # Tests appear to be broken with import errors within the project structure
20+ doCheck = false;
21+
22+ # Note: no dependencies included for Qt GUI because Qt ui is poorly
23+ # maintained—see https://github.com/autokey/autokey/issues/51
24+
25+ buildInputs = [ wrapGAppsHook gobjectIntrospection gnome3.gtksourceview
26+ libappindicator-gtk3 libnotify ];
27+
28+ propagatedBuildInputs = with python3Packages; [
29+ dbus-python pyinotify xlib pygobject3 ];
30+
31+ meta = {
32+ homepage = https://github.com/autokey/autokey;
33+ description = "Desktop automation utility for Linux and X11";
34+ license = with lib.licenses; [ gpl3 ];
35+ maintainers = with lib.maintainers; [ pneumaticat ];
36+ platforms = lib.platforms.linux;
37+ };
38+}
pkgs/applications/office/autokey/remove-requires-dbus-python.patchnew file+11
@@ -0,0 +1,11 @@
1+--- a/setup.py
2++++ b/setup.py
3+@@ -71,7 +71,7 @@
4+ 'console_scripts': ['autokey-gtk=autokey.gtkui.__main__:main']
5+ },
6+ scripts=['autokey-qt', 'autokey-run', 'autokey-shell'],
7+- install_requires=['dbus-python', 'pyinotify', 'python3-xlib'],
8++ install_requires=['pyinotify', 'python-xlib'],
9+ classifiers=[
10+ 'Development Status :: 4 - Beta',
11+ 'Intended Audience :: Developers',
pkgs/applications/office/calligra/default.nix+2
@@ -23,6 +23,8 @@ mkDerivation rec {
2323 sha256 = "0w782k0hprpb6viixnqz34sp0z5csv3prdby46z22qqkcipcs638";
2424 };
2525
26+ patches = [ ./qt5_11.patch ];
27+
2628 enableParallelBuilding = true;
2729
2830 nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
pkgs/applications/office/calligra/qt5_11.patchnew file+98
@@ -0,0 +1,98 @@
1+diff --git a/libs/widgets/KoCsvImportDialog.cpp b/libs/widgets/KoCsvImportDialog.cpp
2+index 0ffdcf6..cdca006 100644
3+--- a/libs/widgets/KoCsvImportDialog.cpp
4++++ b/libs/widgets/KoCsvImportDialog.cpp
5+@@ -21,6 +21,7 @@
6+ #include "KoCsvImportDialog.h"
7+
8+ // Qt
9++#include <QButtonGroup>
10+ #include <QTextCodec>
11+ #include <QTextStream>
12+
13+diff --git a/libs/widgets/KoPageLayoutWidget.cpp b/libs/widgets/KoPageLayoutWidget.cpp
14+index f91555c..a3816f9 100644
15+--- a/libs/widgets/KoPageLayoutWidget.cpp
16++++ b/libs/widgets/KoPageLayoutWidget.cpp
17+@@ -23,6 +23,8 @@
18+
19+ #include <KoUnit.h>
20+
21++#include <QButtonGroup>
22++
23+ class Q_DECL_HIDDEN KoPageLayoutWidget::Private
24+ {
25+ public:
26+diff --git a/plugins/chartshape/dialogs/TableEditorDialog.cpp b/plugins/chartshape/dialogs/TableEditorDialog.cpp
27+index c0d5136..d2a772e 100644
28+--- a/plugins/chartshape/dialogs/TableEditorDialog.cpp
29++++ b/plugins/chartshape/dialogs/TableEditorDialog.cpp
30+@@ -24,6 +24,7 @@
31+
32+ // Qt
33+ #include <QAbstractItemModel>
34++#include <QAction>
35+
36+ // Calligra
37+ #include <KoIcon.h>
38+diff --git a/plugins/formulashape/FormulaToolWidget.cpp b/plugins/formulashape/FormulaToolWidget.cpp
39+index ed10919..8f52177 100644
40+--- a/plugins/formulashape/FormulaToolWidget.cpp
41++++ b/plugins/formulashape/FormulaToolWidget.cpp
42+@@ -30,6 +30,7 @@
43+ #include <QWidgetAction>
44+ #include <QTableWidget>
45+ #include <QAction>
46++#include <QHeaderView>
47+ #include <QMenu>
48+
49+ FormulaToolWidget::FormulaToolWidget( KoFormulaTool* tool, QWidget* parent )
50+diff --git a/sheets/dialogs/LayoutDialog.cpp b/sheets/dialogs/LayoutDialog.cpp
51+index a0a9832..7d7db53 100644
52+--- a/sheets/dialogs/LayoutDialog.cpp
53++++ b/sheets/dialogs/LayoutDialog.cpp
54+@@ -36,6 +36,7 @@
55+ #include <math.h>
56+
57+ #include <QIntValidator>
58++#include <QButtonGroup>
59+ #include <QCheckBox>
60+ #include <QFrame>
61+ #include <QLabel>
62+diff --git a/words/part/dialogs/KWAnchoringProperties.cpp b/words/part/dialogs/KWAnchoringProperties.cpp
63+index d64208c..bfddb3a 100644
64+--- a/words/part/dialogs/KWAnchoringProperties.cpp
65++++ b/words/part/dialogs/KWAnchoringProperties.cpp
66+@@ -35,6 +35,7 @@
67+
68+ #include <kundo2command.h>
69+
70++#include <QButtonGroup>
71+ #include <QComboBox>
72+
73+ const int KWAnchoringProperties::vertRels[4][20] = {
74+diff --git a/words/part/dialogs/KWRunAroundProperties.cpp b/words/part/dialogs/KWRunAroundProperties.cpp
75+index e38599a..7e8b2d5 100644
76+--- a/words/part/dialogs/KWRunAroundProperties.cpp
77++++ b/words/part/dialogs/KWRunAroundProperties.cpp
78+@@ -28,6 +28,8 @@
79+
80+ #include <kundo2command.h>
81+
82++#include <QButtonGroup>
83++
84+ KWRunAroundProperties::KWRunAroundProperties(FrameConfigSharedState *state)
85+ : m_state(state)
86+ {
87+diff --git a/stage/part/KPrPresentationTool.cpp b/stage/part/KPrPresentationTool.cpp
88+index ae743da..3007f91 100644
89+--- a/stage/part/KPrPresentationTool.cpp
90++++ b/stage/part/KPrPresentationTool.cpp
91+@@ -32,6 +32,7 @@
92+ #include <QDesktopServices>
93+ #include <QUrl>
94+ #include <QDBusConnection>
95++#include <QFrame>
96+
97+ #include <KoShape.h>
98+ #include <KoShapeManager.h>
pkgs/applications/office/libreoffice/default-primary-src.nix+2−2
@@ -3,7 +3,7 @@
33rec {
44 major = "6";
55 minor = "0";
6− patch = "4";
6+ patch = "5";
77 tweak = "2";
88
99 subdir = "${major}.${minor}.${patch}";
@@ -12,6 +12,6 @@ rec {
1212
1313 src = fetchurl {
1414 url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
15− sha256 = "1xqh4l1nrvgara4ni9zk8pqywz3gbq4a8sw9v0ggxsch409zp0ch";
15+ sha256 = "16h60j7h9z48vfhhj22m64myksnrrgrnh0qc6i4bxgshmm8kkzdn";
1616 };
1717}
pkgs/applications/office/libreoffice/default.nix+3−4
@@ -42,14 +42,14 @@ let
4242
4343 translations = fetchSrc {
4444 name = "translations";
45− sha256 = "0bjl3hdckd5bcgskh46xqna1hpxjjx0ycgpnilyk7j8l6407hpw6";
45+ sha256 = "1p8gb9jxv4n8ggksbfsqzdw5amxg575grxifsabhgjllpisjzrlr";
4646 };
4747
4848 # TODO: dictionaries
4949
5050 help = fetchSrc {
5151 name = "help";
52− sha256 = "1z21bk5lwd5gxsyjdwh0fmgkys4lhnx7flbjd6dbn9d99paz1w6f";
52+ sha256 = "1dkzm766zi4msk6w35bvfk5b5bx1xyqg2wx58wklr5375kjv6ba9";
5353 };
5454
5555 };
@@ -264,10 +264,9 @@ in stdenv.mkDerivation rec {
264264 libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux
265265 librevenge libe-book libmwaw glm glew ncurses epoxy
266266 libodfgen CoinMP librdf_rasqal defaultIconTheme gettext
267− gdb
268267 ]
269268 ++ lib.optional kdeIntegration kdelibs4;
270− nativeBuildInputs = [ wrapGAppsHook ];
269+ nativeBuildInputs = [ wrapGAppsHook gdb ];
271270
272271 passthru = {
273272 inherit srcs jdk;
pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix+5−5
@@ -581,11 +581,11 @@
581581 md5name = "2c7b21892f84a4c67546f84611eccdad6259875c971e98ddb027da66ea0ac9c2-libodfgen-0.1.6.tar.bz2";
582582 }
583583 {
584− name = "odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar";
585− url = "http://dev-www.libreoffice.org/src/../extern/a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar";
586− sha256 = "a0bd3e0186e043223bfb231a888e2bfb06c78ee2e07c2f0eca434236d173cf34";
587− md5 = "a084cd548b586552cb7d3ee51f1af969";
588− md5name = "a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar";
584+ name = "odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
585+ url = "http://dev-www.libreoffice.org/src/../extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
586+ sha256 = "702413413a5d8076c17fe79c0808dfba145a7260020f6c8627ea529a0cf83769";
587+ md5 = "";
588+ md5name = "702413413a5d8076c17fe79c0808dfba145a7260020f6c8627ea529a0cf83769-odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
589589 }
590590 {
591591 name = "officeotron-0.7.4-master.jar";
pkgs/applications/office/libreoffice/libreoffice-srcs.nix+12−12
@@ -105,11 +105,11 @@
105105 md5name = "1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt";
106106 }
107107 {
108− name = "curl-7.58.0.tar.gz";
109− url = "http://dev-www.libreoffice.org/src/curl-7.58.0.tar.gz";
110− sha256 = "cc245bf9a1a42a45df491501d97d5593392a03f7b4f07b952793518d97666115";
108+ name = "curl-7.60.0.tar.gz";
109+ url = "http://dev-www.libreoffice.org/src/curl-7.60.0.tar.gz";
110+ sha256 = "e9c37986337743f37fd14fe8737f246e97aec94b39d1b71e8a5973f72a9fc4f5";
111111 md5 = "";
112− md5name = "cc245bf9a1a42a45df491501d97d5593392a03f7b4f07b952793518d97666115-curl-7.58.0.tar.gz";
112+ md5name = "e9c37986337743f37fd14fe8737f246e97aec94b39d1b71e8a5973f72a9fc4f5-curl-7.60.0.tar.gz";
113113 }
114114 {
115115 name = "libe-book-0.1.3.tar.xz";
@@ -455,11 +455,11 @@
455455 md5name = "9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528-libjpeg-turbo-1.5.2.tar.gz";
456456 }
457457 {
458− name = "language-subtag-registry-2017-12-14.tar.bz2";
459− url = "http://dev-www.libreoffice.org/src/language-subtag-registry-2017-12-14.tar.bz2";
460− sha256 = "0f87b9428cbc2d96d8e4f54a07e3858b4a428e5fec9396bc3b52fb9f248be362";
458+ name = "language-subtag-registry-2018-03-30.tar.bz2";
459+ url = "http://dev-www.libreoffice.org/src/language-subtag-registry-2018-03-30.tar.bz2";
460+ sha256 = "b7ad618b7db518155f00490a11b861496864f18b23b4b537eb80bfe84ca6f854";
461461 md5 = "";
462− md5name = "0f87b9428cbc2d96d8e4f54a07e3858b4a428e5fec9396bc3b52fb9f248be362-language-subtag-registry-2017-12-14.tar.bz2";
462+ md5name = "b7ad618b7db518155f00490a11b861496864f18b23b4b537eb80bfe84ca6f854-language-subtag-registry-2018-03-30.tar.bz2";
463463 }
464464 {
465465 name = "JLanguageTool-1.7.0.tar.bz2";
@@ -623,11 +623,11 @@
623623 md5name = "2c7b21892f84a4c67546f84611eccdad6259875c971e98ddb027da66ea0ac9c2-libodfgen-0.1.6.tar.bz2";
624624 }
625625 {
626− name = "odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-461.jar";
627− url = "http://dev-www.libreoffice.org/src/../extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-461.jar";
628− sha256 = "aa8896eef3adbd6b54d4ec1817c1bc3871cce99120faf26f93502077480233cf";
626+ name = "odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
627+ url = "http://dev-www.libreoffice.org/src/../extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
628+ sha256 = "702413413a5d8076c17fe79c0808dfba145a7260020f6c8627ea529a0cf83769";
629629 md5 = "";
630− md5name = "aa8896eef3adbd6b54d4ec1817c1bc3871cce99120faf26f93502077480233cf-odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-461.jar";
630+ md5name = "702413413a5d8076c17fe79c0808dfba145a7260020f6c8627ea529a0cf83769-odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
631631 }
632632 {
633633 name = "officeotron-0.7.4-master.jar";
pkgs/applications/office/libreoffice/still-primary-src.nix+2−2
@@ -3,7 +3,7 @@
33rec {
44 major = "5";
55 minor = "4";
6− patch = "6";
6+ patch = "7";
77 tweak = "2";
88
99 subdir = "${major}.${minor}.${patch}";
@@ -12,6 +12,6 @@ rec {
1212
1313 src = fetchurl {
1414 url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
15− sha256 = "0icd8h221gp2dsbn6d35flwhqhcfpx66cjc5dg8yifhhvrfam74i";
15+ sha256 = "0s9s4nhp2whwxis54jbxrf1dwpnpl95b9781d1pdj4xk5z9v90fv";
1616 };
1717}
pkgs/applications/office/libreoffice/still.nix+6−6
@@ -12,7 +12,7 @@
1212, libatomic_ops, graphite2, harfbuzz, libodfgen, libzmf
1313, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
1414, gdb, commonsLogging, librdf_rasqal, wrapGAppsHook
15−, defaultIconTheme, glib, ncurses, xmlsec, epoxy, gpgme
15+, defaultIconTheme, glib, ncurses, epoxy, gpgme
1616, langs ? [ "ca" "de" "en-GB" "en-US" "eo" "es" "fr" "hu" "it" "nl" "pl" "ru" "sl" ]
1717, withHelp ? true
1818, kdeIntegration ? false
@@ -42,14 +42,14 @@ let
4242
4343 translations = fetchSrc {
4444 name = "translations";
45− sha256 = "16g85bn6qkql81a0k9iv3nwrpg2kpvz5nk4r7lab5jzlcl20qplc";
45+ sha256 = "05ixmqbs3pkdpyqcwadz9i3wg797vimsm75rmfby7z71wc3frcyk";
4646 };
4747
4848 # TODO: dictionaries
4949
5050 help = fetchSrc {
5151 name = "help";
52− sha256 = "02382d09svcgmp5q2xglhbx1na9ycd77f5cbcj9jgs8lpkgwbxxc";
52+ sha256 = "0ifyh4m8mwpkb16g6883ivk2s2qybr4s4s7pdjzp4cpx1nalzibl";
5353 };
5454
5555 };
@@ -238,6 +238,7 @@ in stdenv.mkDerivation rec {
238238 "--without-system-libstaroffice"
239239 # https://github.com/NixOS/nixpkgs/commit/5c5362427a3fa9aefccfca9e531492a8735d4e6f
240240 "--without-system-orcus"
241+ "--without-system-xmlsec"
241242 ];
242243
243244 checkPhase = ''
@@ -258,12 +259,11 @@ in stdenv.mkDerivation rec {
258259 python3 sablotron sane-backends unzip vigra which zip zlib
259260 mdds bluez5 glibc libcmis libwps libabw libzmf libtool
260261 libxshmfence libatomic_ops graphite2 harfbuzz gpgme
261− librevenge libe-book libmwaw glm glew ncurses xmlsec epoxy
262+ librevenge libe-book libmwaw glm glew ncurses epoxy
262263 libodfgen CoinMP librdf_rasqal defaultIconTheme
263− gdb
264264 ]
265265 ++ lib.optional kdeIntegration kdelibs4;
266− nativeBuildInputs = [ wrapGAppsHook ];
266+ nativeBuildInputs = [ wrapGAppsHook gdb ];
267267
268268 passthru = {
269269 inherit srcs jdk;
pkgs/applications/science/astronomy/gravit/default.nix+2−1
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
44 name = "gravit-0.5.1";
55
66 src = fetchurl {
7− url = "http://gravit.slowchop.com/media/downloads/${name}.tgz";
7+ url = "https://gravit.slowchop.com/media/downloads/${name}.tgz";
88 sha256 = "14vf7zj2bgrl96wsl3f1knsggc8h9624354ajzd72l46y09x5ky7";
99 };
1010
@@ -37,5 +37,6 @@ stdenv.mkDerivation rec {
3737 '';
3838
3939 platforms = stdenv.lib.platforms.mesaPlatforms;
40+ hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out
4041 };
4142}
pkgs/applications/science/astronomy/stellarium/default.nix+14−7
@@ -1,25 +1,32 @@
1−{ mkDerivation, lib, fetchurl
1+{ mkDerivation, lib, fetchFromGitHub
22, cmake, freetype, libpng, libGLU_combined, gettext, openssl, perl, libiconv
33, qtscript, qtserialport, qttools
4−, qtmultimedia, qtlocation
4+, qtmultimedia, qtlocation, makeWrapper, qtbase
55}:
66
77mkDerivation rec {
88 name = "stellarium-${version}";
9− version = "0.16.1";
9+ version = "0.18.0";
1010
11− src = fetchurl {
12− url = "mirror://sourceforge/stellarium/${name}.tar.gz";
13− sha256 = "087x6mbcn2yj8d3qi382vfkzgdwmanxzqi5l1x3iranxmx9c40dh";
11+ src = fetchFromGitHub {
12+ owner = "Stellarium";
13+ repo = "stellarium";
14+ rev = "v${version}";
15+ sha256 = "11rh4gan8bhqb2n6a94g773drbq4ffii7aqjwxv97r036579azb2";
1416 };
1517
1618 nativeBuildInputs = [ cmake perl ];
1719
1820 buildInputs = [
1921 freetype libpng libGLU_combined openssl libiconv qtscript qtserialport qttools
20− qtmultimedia qtlocation
22+ qtmultimedia qtlocation qtbase makeWrapper
2123 ];
2224
25+ postInstall = ''
26+ wrapProgram $out/bin/stellarium \
27+ --prefix QT_PLUGIN_PATH : "${qtbase}/lib/qt-5.${lib.versions.minor qtbase.version}/plugins"
28+ '';
29+
2330 meta = with lib; {
2431 description = "Free open-source planetarium";
2532 homepage = http://stellarium.org/;
pkgs/applications/science/logic/celf/default.nix+1−1
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 meta = with stdenv.lib; {
3030 description = "Linear logic programming system";
31− homepage = http://github.com/clf/celf;
31+ homepage = https://github.com/clf/celf;
3232 license = licenses.gpl3;
3333 maintainers = with maintainers; [ bcdarwin ];
3434 platforms = platforms.unix;
pkgs/applications/science/logic/mcrl2/default.nix+1−1
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222 that can be used for modelling, validation and verification of
2323 concurrent systems and protocols
2424 '';
25− homepage = http://www.mcrl2.org/;
25+ homepage = https://www.mcrl2.org/;
2626 license = licenses.boost;
2727 maintainers = with maintainers; [ moretea ];
2828 platforms = platforms.unix;
pkgs/applications/version-management/git-and-tools/git/default.nix+3−13
@@ -18,7 +18,7 @@ assert sendEmailSupport -> perlSupport;
1818assert svnSupport -> perlSupport;
1919
2020let
21− version = "2.18.0";
21+ version = "2.17.1";
2222 svn = subversionClient.override { perlBindings = perlSupport; };
2323in
2424
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727
2828 src = fetchurl {
2929 url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
30− sha256 = "14hfwfkrci829a9316hnvkglnqqw1p03cw9k56p4fcb078wbwh4b";
30+ sha256 = "0pm6bdnrrm165k3krnazxcxadifk2gqi30awlbcf9fism1x6w4vr";
3131 };
3232
3333 outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";
@@ -40,6 +40,7 @@ stdenv.mkDerivation {
4040
4141 patches = [
4242 ./docbook2texi.patch
43+ ./symlinks-in-bin.patch
4344 ./git-sh-i18n.patch
4445 ./ssh-path.patch
4546 ./git-send-email-honor-PATH.patch
@@ -276,21 +277,10 @@ EOF
276277
277278 # XXX: I failed to understand why this one fails.
278279 # Could someone try to re-enable it on the next release ?
279− # Tested to fail: 2.18.0
280280 disable_test t1700-split-index "null sha1"
281−
282− # Tested to fail: 2.18.0
283− disable_test t7005-editor "editor with a space"
284− disable_test t7005-editor "core.editor with a space"
285−
286− # Tested to fail: 2.18.0
287− disable_test t9902-completion "sourcing the completion script clears cached --options"
288281 '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
289282 # Test fails (as of 2.17.0, musl 1.1.19)
290283 disable_test t3900-i18n-commit
291− # Fails largely due to assumptions about BOM
292− # Tested to fail: 2.18.0
293− disable_test t0028-working-tree-encoding
294284 '';
295285
296286
pkgs/applications/version-management/git-and-tools/git/symlinks-in-bin.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/Makefile b/Makefile
2+--- a/Makefile
3++++ b/Makefile
4+@@ -2609,8 +2609,7 @@
5+ { test "$$bindir/" = "$$execdir/" || \
6+ for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
7+ $(RM) "$$execdir/$$p" && \
8+- test -z "$(NO_INSTALL_HARDLINKS)$(NO_CROSS_DIRECTORY_HARDLINKS)" && \
9+- ln "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
10++ ln -s "$$bindir/$$p" "$$execdir/$$p" 2>/dev/null || \
11+ cp "$$bindir/$$p" "$$execdir/$$p" || exit; \
12+ done; \
13+ } && \
pkgs/applications/version-management/gitkraken/default.nix+2−2
@@ -12,11 +12,11 @@ let
1212in
1313stdenv.mkDerivation rec {
1414 name = "gitkraken-${version}";
15− version = "3.6.3";
15+ version = "3.6.4";
1616
1717 src = fetchurl {
1818 url = "https://release.gitkraken.com/linux/v${version}.deb";
19− sha256 = "1bl4zz4k9whv5q6bkf6hyki26dkjhm19rzx2800zzadbrdgs7iz4";
19+ sha256 = "0n14lwmga0hhi4m4pwgpzpxmsmfy6an7b2pk59afsydhxjj88z4x";
2020 };
2121
2222 libPath = makeLibraryPath [
pkgs/applications/video/streamlink/default.nix+10−4
@@ -1,19 +1,25 @@
11{ stdenv, pythonPackages, fetchFromGitHub, rtmpdump, ffmpeg }:
22
33pythonPackages.buildPythonApplication rec {
4− version = "0.12.1";
4+ version = "0.13.0";
55 name = "streamlink-${version}";
66
77 src = fetchFromGitHub {
88 owner = "streamlink";
99 repo = "streamlink";
1010 rev = "${version}";
11− sha256 = "0r63fjp5qhnbp5kr4w2nn3gnj0wr0ik1pw1gyry8jl9rp2jq9db5";
11+ sha256 = "17i5j5a69d28abg13md2r2ycxgmd5h1pjy0pgca1zcqaqfq4v05x";
1212 };
1313
14− checkInputs = with pythonPackages; [ pytest mock requests-mock ];
14+ postPatch = ''
15+ # Fix failing test. This can be removed after version 0.13.0, see:
16+ # https://github.com/streamlink/streamlink/commit/a27e1a2d8eec6eb23c6e1dc280c6afc1cd0b5b32
17+ substituteInPlace tests/test_plugin.py --replace "lambda: datetime" "datetime"
18+ '';
1519
16− propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client ]) ++ [ rtmpdump ffmpeg ];
20+ checkInputs = with pythonPackages; [ pytest mock requests-mock freezegun ];
21+
22+ propagatedBuildInputs = (with pythonPackages; [ pycryptodome requests iso-639 iso3166 websocket_client isodate ]) ++ [ rtmpdump ffmpeg ];
1723
1824 meta = with stdenv.lib; {
1925 homepage = https://github.com/streamlink/streamlink;
pkgs/applications/virtualization/spice-vdagent/default.nix+2−2
@@ -2,10 +2,10 @@
22 libpciaccess, libxcb, libXrandr, libXinerama, libXfixes, dbus,
33 systemd}:
44stdenv.mkDerivation rec {
5− name = "spice-vdagent-0.17.0";
5+ name = "spice-vdagent-0.18.0";
66 src = fetchurl {
77 url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
8− sha256 = "0gdkyylyg1hksg0i0anvznqfli2q39335fnrmcd6847frpc8njpi";
8+ sha256 = "1bmyvapwj1x0m6y8q0r1df2q37vsnb04qkgnnrfbnzf1qzipxvl0";
99 };
1010 postPatch = ''
1111 substituteInPlace data/spice-vdagent.desktop --replace /usr $out
pkgs/applications/window-managers/i3/lock-color.nix+1−1
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
5151 - clock: time/date with configurable format
5252 - keyboard-layout
5353 '';
54− homepage = http://github.com/PandorasFox/i3lock-color;
54+ homepage = https://github.com/PandorasFox/i3lock-color;
5555 maintainers = with maintainers; [ garbas malyn ];
5656 license = licenses.bsd3;
5757
pkgs/applications/window-managers/i3/status-rust.nix+4−4
@@ -2,16 +2,16 @@
22
33rustPlatform.buildRustPackage rec {
44 name = "i3status-rust-${version}";
5− version = "0.9.0.2018-03-31";
5+ version = "0.9.0.2018-06-22";
66
77 src = fetchFromGitHub {
88 owner = "greshake";
99 repo = "i3status-rust";
10− rev = "18f99299bcd5b63da4e315c8d78622c4bbf59c45";
11− sha256 = "1pfcq3f724ri6jzchkgf96zd7lb5mc882r64ffx634gqf3n8ch41";
10+ rev = "fdca01e88a7ce9bf4de0f58a922de5131e33dd00";
11+ sha256 = "12dfvamf9a13b3fa7mqrwhjk3rl53463h03arqd8pvbch006hhqd";
1212 };
1313
14− cargoSha256 = "1197hp6d4z14j0r22bvw9ly294li0ivg6yfql4lgi27hbvzag71h";
14+ cargoSha256 = "01pwknfzkv49cip6asqd4pzkh9l42v06abyd9lb09ip5pkcs60lq";
1515
1616 nativeBuildInputs = [ pkgconfig ];
1717
pkgs/build-support/cc-wrapper/default.nix+4
@@ -280,6 +280,10 @@ stdenv.mkDerivation {
280280 hardening_unsupported_flags+=" pic"
281281 ''
282282
283+ + optionalString targetPlatform.isMinGW ''
284+ hardening_unsupported_flags+=" stackprotector"
285+ ''
286+
283287 + ''
284288 substituteAll ${./add-flags.sh} $out/nix-support/add-flags.sh
285289 substituteAll ${./add-hardening.sh} $out/nix-support/add-hardening.sh
pkgs/data/misc/brise/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 to support various Chinese input methods, including those based on
3232 modern dialects or historical diasystems of the Chinese language.
3333 '';
34− homepage = http://rime.im;
34+ homepage = https://rime.im;
3535 # Note that individual packages in this collection
3636 # may be released under different licenses
3737 license = licenses.gpl3;
pkgs/desktops/mate/mate-desktop/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "mate-desktop-${version}";
5− version = "1.20.3";
5+ version = "1.21.0";
66
77 src = fetchurl {
88 url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
9− sha256 = "132z1wwmh5115cpgkx9w6hzkk87f1vh66paaf3b2d2qfci7myffs";
9+ sha256 = "0qd76p5zqgifiawkgv2casb9ll55j4qq4pfxgxj3j5zvjr3dgr47";
1010 };
1111
1212 nativeBuildInputs = [
pkgs/desktops/mate/mate-icon-theme/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "mate-icon-theme-${version}";
5− version = "1.20.0";
5+ version = "1.20.1";
66
77 src = fetchurl {
88 url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
9− sha256 = "0lmsmsamgg1s6qrk19qwa76ld7x1k3pwhy4vs1ixn1as4iaaddk5";
9+ sha256 = "1xzlwmwz1jnksa4rs0smkxhqv3j50y78cf9y5g6aki9iw4dvhvva";
1010 };
1111
1212 nativeBuildInputs = [ pkgconfig intltool iconnamingutils ];
pkgs/desktops/mate/mate-terminal/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "mate-terminal-${version}";
5− version = "1.20.0";
5+ version = "1.20.1";
66
77 src = fetchurl {
88 url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
9− sha256 = "03366hs7mxazn6m6y53ppkb1din4jywljg0lx8zw101qg6car0az";
9+ sha256 = "0yfr857mpxy35zzdmicvd7mpwka8s1h0rqagfjqc2p1gv4a7ka97";
1010 };
1111
1212 buildInputs = [
pkgs/development/compilers/fsharp/default.nix+1−1
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
4040
4141 meta = {
4242 description = "A functional CLI language";
43− homepage = http://fsharp.org/;
43+ homepage = https://fsharp.org/;
4444 license = stdenv.lib.licenses.asl20;
4545 maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ];
4646 platforms = with stdenv.lib.platforms; unix;
pkgs/development/compilers/fsharp41/default.nix+1−1
@@ -79,7 +79,7 @@ stdenv.mkDerivation rec {
7979
8080 meta = {
8181 description = "A functional CLI language";
82− homepage = http://fsharp.org/;
82+ homepage = https://fsharp.org/;
8383 license = stdenv.lib.licenses.asl20;
8484 maintainers = with stdenv.lib.maintainers; [ thoughtpolice raskin ];
8585 platforms = with stdenv.lib.platforms; unix;
pkgs/development/compilers/gcc/7/default.nix+3
@@ -254,6 +254,9 @@ stdenv.mkDerivation ({
254254 ++ (optional hostPlatform.isDarwin targetPackages.stdenv.cc.bintools)
255255 ;
256256
257+ # TODO: Use optionalString with next rebuild.
258+ ${if (stdenv.cc.isClang && langFortran) then "NIX_CFLAGS_COMPILE" else null} = "-Wno-unused-command-line-argument";
259+
257260 NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
258261
259262 preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) ''
pkgs/development/compilers/ghc/8.2.2.nix+1−1
@@ -8,7 +8,7 @@
88
99, libffi, libiconv ? null, ncurses
1010
11−, useLLVM ? !targetPlatform.isx86
11+, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
1212, # LLVM is conceptually a run-time-only depedendency, but for
1313 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
1414 # build-time dependency too.
pkgs/development/compilers/ghc/8.4.3.nix+1−1
@@ -7,7 +7,7 @@
77
88, libffi, libiconv ? null, ncurses
99
10−, useLLVM ? !targetPlatform.isx86
10+, useLLVM ? !targetPlatform.isx86 || targetPlatform.isMusl
1111, # LLVM is conceptually a run-time-only depedendency, but for
1212 # non-x86, we need LLVM to bootstrap later stages, so it becomes a
1313 # build-time dependency too.
pkgs/development/compilers/kotlin/default.nix+2−2
@@ -1,14 +1,14 @@
11{ stdenv, fetchurl, makeWrapper, jre, unzip }:
22
33let
4− version = "1.2.41";
4+ version = "1.2.50";
55in stdenv.mkDerivation rec {
66 inherit version;
77 name = "kotlin-${version}";
88
99 src = fetchurl {
1010 url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
11− sha256 = "0p16xl2qhm7913abd06vvmsx956ny51jjfr6knkmrnk8y9r2g1xg";
11+ sha256 = "1abis73ij334vfwn9k4s9rsa1va7h31a9g97g84i2rrp7cq2q1mw";
1212 };
1313
1414 propagatedBuildInputs = [ jre ] ;
pkgs/development/compilers/llvm/3.8/clang/default.nix+4−1
@@ -13,7 +13,8 @@ let
1313 mv clang-tools-extra-* $sourceRoot/tools/extra
1414 '';
1515
16− buildInputs = [ cmake libxml2 llvm python ];
16+ nativeBuildInputs = [ cmake ];
17+ buildInputs = [ libxml2 llvm python ];
1718
1819 cmakeFlags = [
1920 "-DCMAKE_CXX_FLAGS=-std=c++11"
@@ -27,6 +28,8 @@ let
2728 postPatch = ''
2829 sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
2930 sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/ToolChains.cpp
31+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
32+ sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/Tools.cpp
3033 '';
3134
3235 outputs = [ "out" "lib" "python" ];
pkgs/development/compilers/llvm/3.8/libc++/default.nix+10−3
@@ -17,15 +17,22 @@ stdenv.mkDerivation rec {
1717 patches = [
1818 # glibc 2.26 fix
1919 ../../3.9/libc++/xlocale-glibc-2.26.patch
20− ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
20+ ]
21+ ++ lib.optional stdenv.isDarwin ./darwin.patch
22+ ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
23+ ../../libcxx-0001-musl-hacks.patch
24+ ../../libcxx-max_align_t.patch
25+ ];
26+
27+ nativeBuildInputs = [ cmake ];
2128
22− buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
29+ buildInputs = [ libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
2330
2431 cmakeFlags = [
2532 "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
2633 "-DLIBCXX_LIBCPPABI_VERSION=2"
2734 "-DLIBCXX_CXX_ABI=libcxxabi"
28− ];
35+ ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1";
2936
3037 enableParallelBuilding = true;
3138
pkgs/development/compilers/llvm/3.8/libc++abi.nix+3
@@ -15,6 +15,9 @@ stdenv.mkDerivation {
1515 export cmakeFlags="-DLLVM_PATH=$PWD/$(ls -d llvm-*) -DLIBCXXABI_LIBCXX_INCLUDES=$PWD/$(ls -d libcxx-*)/include"
1616 '' + stdenv.lib.optionalString stdenv.isDarwin ''
1717 export TRIPLE=x86_64-apple-darwin
18+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
19+ patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
20+ patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-max_align_t.patch}
1821 '';
1922
2023 installPhase = if stdenv.isDarwin
pkgs/development/compilers/llvm/3.8/llvm.nix+15−3
@@ -36,8 +36,12 @@ in stdenv.mkDerivation rec {
3636
3737 # Fix a segfault in llc
3838 # See http://lists.llvm.org/pipermail/llvm-dev/2016-October/106500.html
39− patches = [ ./D17533-1.patch ] ++
40− stdenv.lib.optionals (!stdenv.isDarwin) [./fix-llvm-config.patch];
39+ patches = [ ./D17533-1.patch ]
40+ ++ stdenv.lib.optional (!stdenv.isDarwin) ./fix-llvm-config.patch
41+ ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
42+ ../TLI-musl.patch
43+ ../dynamiclibrary-musl.patch
44+ ];
4145
4246 # hacky fix: New LLVM releases require a newer macOS SDK than
4347 # 10.9. This is a temporary measure until nixpkgs darwin support is
@@ -49,7 +53,7 @@ in stdenv.mkDerivation rec {
4953 --replace 'set(CMAKE_INSTALL_NAME_DIR "@rpath")' "set(CMAKE_INSTALL_NAME_DIR "$out/lib")" \
5054 --replace 'set(CMAKE_INSTALL_RPATH "@executable_path/../lib")' ""
5155 ''
52− + stdenv.lib.optionalString (stdenv ? glibc) ''
56+ + ''
5357 (
5458 cd projects/compiler-rt
5559 patch -p1 < ${
@@ -81,6 +85,14 @@ in stdenv.mkDerivation rec {
8185 ++ stdenv.lib.optionals ( isDarwin) [
8286 "-DLLVM_ENABLE_LIBCXX=ON"
8387 "-DCAN_TARGET_i386=false"
88+ ] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
89+ "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"
90+ "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}"
91+ "-DTARGET_TRIPLE=${stdenv.targetPlatform.config}"
92+ # Not yet supported
93+ "-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
94+ "-DCOMPILER_RT_BUILD_XRAY=OFF"
95+
8496 ];
8597
8698 postBuild = ''
pkgs/development/compilers/llvm/3.9/clang/default.nix+2
@@ -29,6 +29,8 @@ let
2929 postPatch = ''
3030 sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
3131 sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/ToolChains.cpp
32+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
33+ sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/Tools.cpp
3234 '';
3335
3436 outputs = [ "out" "lib" "python" ];
pkgs/development/compilers/llvm/3.9/libc++/default.nix+12−6
@@ -17,15 +17,21 @@ stdenv.mkDerivation rec {
1717 patches = [
1818 # glibc 2.26 fix
1919 ./xlocale-glibc-2.26.patch
20− ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
20+ ]
21+ ++ lib.optional stdenv.isDarwin ./darwin.patch
22+ ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
23+ ../../libcxx-0001-musl-hacks.patch
24+ ../../libcxx-max_align_t.patch
25+ ];
2126
22− buildInputs = [ cmake libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
27+ nativeBuildInputs = [ cmake ];
28+ buildInputs = [ libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
2329
2430 cmakeFlags = [
25− "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
26− "-DLIBCXX_LIBCPPABI_VERSION=2"
27− "-DLIBCXX_CXX_ABI=libcxxabi"
28− ];
31+ "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
32+ "-DLIBCXX_LIBCPPABI_VERSION=2"
33+ "-DLIBCXX_CXX_ABI=libcxxabi"
34+ ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1";
2935
3036 enableParallelBuilding = true;
3137
pkgs/development/compilers/llvm/3.9/libc++abi.nix+3
@@ -15,6 +15,9 @@ stdenv.mkDerivation {
1515 export cmakeFlags="-DLLVM_PATH=$PWD/$(ls -d llvm-*) -DLIBCXXABI_LIBCXX_INCLUDES=$PWD/$(ls -d libcxx-*)/include"
1616 '' + stdenv.lib.optionalString stdenv.isDarwin ''
1717 export TRIPLE=x86_64-apple-darwin
18+ '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
19+ patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
20+ patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-max_align_t.patch}
1821 '';
1922
2023 installPhase = if stdenv.isDarwin
pkgs/development/compilers/llvm/3.9/llvm.nix+13−2
@@ -62,7 +62,10 @@ in stdenv.mkDerivation rec {
6262 url = https://github.com/llvm-mirror/llvm/commit/5340b5b3d970069aebf3dde49d8964583742e01a.patch;
6363 sha256 = "095f8knplwqbc2p7rad1kq8633i34qynni9jna93an7kyc80wdxl";
6464 })
65− ];
65+ ] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
66+ ../TLI-musl.patch
67+ ../dynamiclibrary-musl.patch
68+ ];
6669
6770 postPatch = ""
6871 + ''
@@ -91,7 +94,7 @@ in stdenv.mkDerivation rec {
9194 substitute '${./llvm-outputs.patch}' ./llvm-outputs.patch --subst-var lib
9295 patch -p1 < ./llvm-outputs.patch
9396 ''
94− + stdenv.lib.optionalString (stdenv ? glibc) ''
97+ + ''
9598 (
9699 cd projects/compiler-rt
97100 patch -p1 < ${
@@ -129,6 +132,14 @@ in stdenv.mkDerivation rec {
129132 ] ++ stdenv.lib.optionals (buildPlatform != hostPlatform) [
130133 "-DCMAKE_CROSSCOMPILING=True"
131134 "-DLLVM_TABLEGEN=${buildPackages.llvmPackages_39.llvm}/bin/llvm-tblgen"
135+ ] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
136+ "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"
137+ "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}"
138+ "-DTARGET_TRIPLE=${stdenv.targetPlatform.config}"
139+ # Not yet supported
140+ "-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
141+ "-DCOMPILER_RT_BUILD_XRAY=OFF"
142+
132143 ];
133144
134145 postBuild = ''
pkgs/development/compilers/llvm/4/libc++/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717 ./xlocale-glibc-2.26.patch
1818 ] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
1919 ../../libcxx-0001-musl-hacks.patch
20− ./max_align_t.patch
20+ ../../libcxx-max_align_t.patch
2121 ];
2222
2323 prePatch = ''
pkgs/development/compilers/llvm/4/libc++abi.nix+1−1
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616 export TRIPLE=x86_64-apple-darwin
1717 '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
1818 patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
19− patch -p1 -d $(ls -d libcxx-*) -i ${./libc++/max_align_t.patch}
19+ patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-max_align_t.patch}
2020 '';
2121
2222 installPhase = if stdenv.isDarwin
pkgs/development/compilers/llvm/4/llvm.nix+1−1
@@ -83,7 +83,7 @@ in stdenv.mkDerivation (rec {
8383 patch -p0 < ${../aarch64.patch}
8484 '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
8585 patch -p1 -i ${../TLI-musl.patch}
86− patch -p1 -i ${./dynamiclibrary-musl.patch}
86+ patch -p1 -i ${../dynamiclibrary-musl.patch}
8787 patch -p1 -i ${./sanitizers-nongnu.patch} -d projects/compiler-rt
8888 '';
8989
pkgs/development/compilers/llvm/4/dynamiclibrary-musl.patch → pkgs/development/compilers/llvm/dynamiclibrary-musl.patchrenamed

The content is the same.

pkgs/development/compilers/llvm/4/libc++/max_align_t.patch → pkgs/development/compilers/llvm/libcxx-max_align_t.patchrenamed

The content is the same.

pkgs/development/compilers/nasm/default.nix+1−1
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
1818 '';
1919
2020 meta = with stdenv.lib; {
21− homepage = http://www.nasm.us/;
21+ homepage = https://www.nasm.us/;
2222 description = "An 80x86 and x86-64 assembler designed for portability and modularity";
2323 platforms = platforms.unix;
2424 maintainers = with maintainers; [ pSub willibutz ];
pkgs/development/compilers/neko/default.nix+1−1
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
3030
3131 meta = with stdenv.lib; {
3232 description = "A high-level dynamically typed programming language";
33− homepage = http://nekovm.org;
33+ homepage = https://nekovm.org;
3434 license = licenses.lgpl21;
3535 maintainers = [ maintainers.marcweber ];
3636 platforms = platforms.linux ++ platforms.darwin;
pkgs/development/compilers/nim/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111 sha256 = "45c74adb35f08dfa9add1112ae17330e5d902ebb4a36e7046caee8b79e6f3bd0";
1212 };
1313
14− doCheck = true;
14+ doCheck = !stdenv.isDarwin;
1515
1616 enableParallelBuilding = true;
1717
pkgs/development/compilers/ocaml/4.07.nix+2−2
@@ -1,8 +1,8 @@
11import ./generic.nix {
22 major_version = "4";
33 minor_version = "07";
4− patch_version = "0+beta2";
5− sha256 = "0rrvl47kq982z2ns7cnasmlbj60mpmza2zyhl1kh45c5a3n7692n";
4+ patch_version = "0+rc1";
5+ sha256 = "0ggzh078k68na2mahj3nrqkl57i1iv9aymlz8mmlcd8hbvp1fcn8";
66
77 # If the executable is stripped it does not work
88 dontStrip = true;
pkgs/development/compilers/opendylan/bin.nix+1−1
@@ -34,7 +34,7 @@ stdenv.mkDerivation {
3434 '';
3535
3636 meta = {
37− homepage = http://opendylan.org;
37+ homepage = https://opendylan.org;
3838 description = "A multi-paradigm functional and object-oriented programming language";
3939 license = stdenv.lib.licenses.mit;
4040 platforms = stdenv.lib.platforms.linux;
pkgs/development/compilers/opendylan/default.nix+1−1
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
3030 postInstall = "wrapProgram $out/bin/dylan-compiler --suffix PATH : ${gcc}/bin";
3131
3232 meta = {
33− homepage = http://opendylan.org;
33+ homepage = https://opendylan.org;
3434 description = "A multi-paradigm functional and object-oriented programming language";
3535 license = stdenv.lib.licenses.mit;
3636 platforms = stdenv.lib.platforms.linux;
pkgs/development/interpreters/php/default.nix+2−2
@@ -353,7 +353,7 @@ in {
353353 };
354354
355355 php72 = generic {
356− version = "7.2.6";
357− sha256 = "1hzj1z6v1ij4f4zjl1giix9qinf20wyn9gf8s29x5fc0va53wpdf";
356+ version = "7.2.7";
357+ sha256 = "18ymjqy8vpmwlzzfrxvaz2nsn8n66rmg40pwiy6x2kdgjrd6g0fc";
358358 };
359359}
pkgs/development/interpreters/picolisp/default.nix+1
@@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
4242 homepage = https://picolisp.com/;
4343 license = licenses.mit;
4444 platforms = platforms.all;
45+ broken = stdenv.isDarwin; # times out
4546 maintainers = with maintainers; [ raskin tohl ];
4647 };
4748
pkgs/development/interpreters/python/cpython/3.7/default.nixnew file+178
@@ -0,0 +1,178 @@
1+{ stdenv, fetchurl, fetchpatch
2+, glibc
3+, bzip2
4+, expat
5+, libffi
6+, gdbm
7+, lzma
8+, ncurses
9+, openssl
10+, readline
11+, sqlite
12+, tcl ? null, tk ? null, tix ? null, libX11 ? null, xproto ? null, x11Support ? false
13+, zlib
14+, callPackage
15+, self
16+, CF, configd
17+, python-setup-hook
18+# For the Python package set
19+, pkgs, packageOverrides ? (self: super: {})
20+}:
21+
22+assert x11Support -> tcl != null
23+ && tk != null
24+ && xproto != null
25+ && libX11 != null;
26+with stdenv.lib;
27+
28+let
29+ majorVersion = "3.7";
30+ minorVersion = "0";
31+ minorVersionSuffix = "rc1";
32+ pythonVersion = majorVersion;
33+ version = "${majorVersion}.${minorVersion}${minorVersionSuffix}";
34+ libPrefix = "python${majorVersion}";
35+ sitePackages = "lib/${libPrefix}/site-packages";
36+
37+ buildInputs = filter (p: p != null) [
38+ zlib bzip2 expat lzma libffi gdbm sqlite readline ncurses openssl ]
39+ ++ optionals x11Support [ tcl tk libX11 xproto ]
40+ ++ optionals stdenv.isDarwin [ CF configd ];
41+
42+in stdenv.mkDerivation {
43+ name = "python3-${version}";
44+ pythonVersion = majorVersion;
45+ inherit majorVersion version;
46+
47+ inherit buildInputs;
48+
49+ src = fetchurl {
50+ url = "https://www.python.org/ftp/python/${majorVersion}.${minorVersion}/Python-${version}.tar.xz";
51+ sha256 = "1dqb1in7xlvq7959pvvxpm50nz5jk7ifxza2x4hfvqr31jvbkky9";
52+ };
53+
54+ NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s";
55+
56+ # Determinism: We fix the hashes of str, bytes and datetime objects.
57+ PYTHONHASHSEED=0;
58+
59+ prePatch = optionalString stdenv.isDarwin ''
60+ substituteInPlace configure --replace '`/usr/bin/arch`' '"i386"'
61+ substituteInPlace configure --replace '-Wl,-stack_size,1000000' ' '
62+ '';
63+
64+ patches = [
65+ ./no-ldconfig.patch
66+ ];
67+
68+ postPatch = ''
69+ '' + optionalString (x11Support && (tix != null)) ''
70+ substituteInPlace "Lib/tkinter/tix.py" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'"
71+ '';
72+
73+ CPPFLAGS="${concatStringsSep " " (map (p: "-I${getDev p}/include") buildInputs)}";
74+ LDFLAGS="${concatStringsSep " " (map (p: "-L${getLib p}/lib") buildInputs)}";
75+ LIBS="${optionalString (!stdenv.isDarwin) "-lcrypt"} ${optionalString (ncurses != null) "-lncurses"}";
76+
77+ configureFlags = [
78+ "--enable-shared"
79+ "--with-threads"
80+ "--without-ensurepip"
81+ "--with-system-expat"
82+ "--with-system-ffi"
83+ ];
84+
85+ preConfigure = ''
86+ for i in /usr /sw /opt /pkg; do # improve purity
87+ substituteInPlace ./setup.py --replace $i /no-such-path
88+ done
89+ ${optionalString stdenv.isDarwin ''
90+ export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -msse2"
91+ export MACOSX_DEPLOYMENT_TARGET=10.6
92+ ''}
93+ '';
94+
95+ setupHook = python-setup-hook sitePackages;
96+
97+ postInstall = ''
98+ # needed for some packages, especially packages that backport functionality
99+ # to 2.x from 3.x
100+ for item in $out/lib/python${majorVersion}/test/*; do
101+ if [[ "$item" != */test_support.py*
102+ && "$item" != */test/support
103+ && "$item" != */test/libregrtest
104+ && "$item" != */test/regrtest.py* ]]; then
105+ rm -rf "$item"
106+ else
107+ echo $item
108+ fi
109+ done
110+ touch $out/lib/python${majorVersion}/test/__init__.py
111+
112+ ln -s "$out/include/python${majorVersion}m" "$out/include/python${majorVersion}"
113+ paxmark E $out/bin/python${majorVersion}
114+
115+ # Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484
116+ echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py
117+
118+ # Determinism: Windows installers were not deterministic.
119+ # We're also not interested in building Windows installers.
120+ find "$out" -name 'wininst*.exe' | xargs -r rm -f
121+
122+ # Use Python3 as default python
123+ ln -s "$out/bin/idle3" "$out/bin/idle"
124+ ln -s "$out/bin/pydoc3" "$out/bin/pydoc"
125+ ln -s "$out/bin/python3" "$out/bin/python"
126+ ln -s "$out/bin/python3-config" "$out/bin/python-config"
127+ ln -s "$out/lib/pkgconfig/python3.pc" "$out/lib/pkgconfig/python.pc"
128+
129+ # Get rid of retained dependencies on -dev packages, and remove
130+ # some $TMPDIR references to improve binary reproducibility.
131+ # Note that the .pyc file of _sysconfigdata.py should be regenerated!
132+ for i in $out/lib/python${majorVersion}/_sysconfigdata*.py $out/lib/python${majorVersion}/config-${majorVersion}m*/Makefile; do
133+ sed -i $i -e "s|-I/nix/store/[^ ']*||g" -e "s|-L/nix/store/[^ ']*||g" -e "s|$TMPDIR|/no-such-path|g"
134+ done
135+
136+ # Determinism: rebuild all bytecode
137+ # We exclude lib2to3 because that's Python 2 code which fails
138+ # We rebuild three times, once for each optimization level
139+ # Python 3.7 implements PEP 552, introducing support for deterministic bytecode.
140+ # This is automatically used when `SOURCE_DATE_EPOCH` is set.
141+ find $out -name "*.py" | $out/bin/python -m compileall -q -f -x "lib2to3" -i -
142+ find $out -name "*.py" | $out/bin/python -O -m compileall -q -f -x "lib2to3" -i -
143+ find $out -name "*.py" | $out/bin/python -OO -m compileall -q -f -x "lib2to3" -i -
144+ '';
145+
146+ passthru = let
147+ pythonPackages = callPackage ../../../../../top-level/python-packages.nix {python=self; overrides=packageOverrides;};
148+ in rec {
149+ inherit libPrefix sitePackages x11Support;
150+ executable = "${libPrefix}m";
151+ buildEnv = callPackage ../../wrapper.nix { python = self; inherit (pythonPackages) requiredPythonModules; };
152+ withPackages = import ../../with-packages.nix { inherit buildEnv pythonPackages;};
153+ pkgs = pythonPackages;
154+ isPy3 = true;
155+ isPy37 = true;
156+ is_py3k = true; # deprecated
157+ interpreter = "${self}/bin/${executable}";
158+ };
159+
160+ enableParallelBuilding = true;
161+
162+ meta = {
163+ homepage = http://python.org;
164+ description = "A high-level dynamically-typed programming language";
165+ longDescription = ''
166+ Python is a remarkably powerful dynamic programming language that
167+ is used in a wide variety of application domains. Some of its key
168+ distinguishing features include: clear, readable syntax; strong
169+ introspection capabilities; intuitive object orientation; natural
170+ expression of procedural code; full modularity, supporting
171+ hierarchical packages; exception-based error handling; and very
172+ high level dynamic data types.
173+ '';
174+ license = licenses.psfl;
175+ platforms = with platforms; linux ++ darwin;
176+ maintainers = with maintainers; [ fridh kragniz ];
177+ };
178+}
pkgs/development/interpreters/python/cpython/3.7/no-ldconfig.patchnew file+100
@@ -0,0 +1,100 @@
1+From 597e73f2a4b2f0b508127931b36d5540d6941823 Mon Sep 17 00:00:00 2001
2+From: Frederik Rietdijk <fridh@fridh.nl>
3+Date: Mon, 28 Aug 2017 09:24:06 +0200
4+Subject: [PATCH] Don't use ldconfig
5+
6+---
7+ Lib/ctypes/util.py | 70 ++----------------------------------------------------
8+ 1 file changed, 2 insertions(+), 68 deletions(-)
9+
10+diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
11+index 5e8b31a854..7b45ce6c15 100644
12+--- a/Lib/ctypes/util.py
13++++ b/Lib/ctypes/util.py
14+@@ -94,46 +94,7 @@ elif os.name == "posix":
15+ import re, tempfile
16+
17+ def _findLib_gcc(name):
18+- # Run GCC's linker with the -t (aka --trace) option and examine the
19+- # library name it prints out. The GCC command will fail because we
20+- # haven't supplied a proper program with main(), but that does not
21+- # matter.
22+- expr = os.fsencode(r'[^\(\)\s]*lib%s\.[^\(\)\s]*' % re.escape(name))
23+-
24+- c_compiler = shutil.which('gcc')
25+- if not c_compiler:
26+- c_compiler = shutil.which('cc')
27+- if not c_compiler:
28+- # No C compiler available, give up
29+- return None
30+-
31+- temp = tempfile.NamedTemporaryFile()
32+- try:
33+- args = [c_compiler, '-Wl,-t', '-o', temp.name, '-l' + name]
34+-
35+- env = dict(os.environ)
36+- env['LC_ALL'] = 'C'
37+- env['LANG'] = 'C'
38+- try:
39+- proc = subprocess.Popen(args,
40+- stdout=subprocess.PIPE,
41+- stderr=subprocess.STDOUT,
42+- env=env)
43+- except OSError: # E.g. bad executable
44+- return None
45+- with proc:
46+- trace = proc.stdout.read()
47+- finally:
48+- try:
49+- temp.close()
50+- except FileNotFoundError:
51+- # Raised if the file was already removed, which is the normal
52+- # behaviour of GCC if linking fails
53+- pass
54+- res = re.search(expr, trace)
55+- if not res:
56+- return None
57+- return os.fsdecode(res.group(0))
58++ return None
59+
60+
61+ if sys.platform == "sunos5":
62+@@ -255,34 +216,7 @@ elif os.name == "posix":
63+ else:
64+
65+ def _findSoname_ldconfig(name):
66+- import struct
67+- if struct.calcsize('l') == 4:
68+- machine = os.uname().machine + '-32'
69+- else:
70+- machine = os.uname().machine + '-64'
71+- mach_map = {
72+- 'x86_64-64': 'libc6,x86-64',
73+- 'ppc64-64': 'libc6,64bit',
74+- 'sparc64-64': 'libc6,64bit',
75+- 's390x-64': 'libc6,64bit',
76+- 'ia64-64': 'libc6,IA-64',
77+- }
78+- abi_type = mach_map.get(machine, 'libc6')
79+-
80+- # XXX assuming GLIBC's ldconfig (with option -p)
81+- regex = r'\s+(lib%s\.[^\s]+)\s+\(%s'
82+- regex = os.fsencode(regex % (re.escape(name), abi_type))
83+- try:
84+- with subprocess.Popen(['/sbin/ldconfig', '-p'],
85+- stdin=subprocess.DEVNULL,
86+- stderr=subprocess.DEVNULL,
87+- stdout=subprocess.PIPE,
88+- env={'LC_ALL': 'C', 'LANG': 'C'}) as p:
89+- res = re.search(regex, p.stdout.read())
90+- if res:
91+- return os.fsdecode(res.group(1))
92+- except OSError:
93+- pass
94++ return None
95+
96+ def _findLib_ld(name):
97+ # See issue #9998 for why this is needed
98+--
99+2.15.0
100+
pkgs/development/libraries/Xaw3d/default.nix+3−3
@@ -1,10 +1,10 @@
11{stdenv, fetchurl, xlibsWrapper, imake, gccmakedep, libXmu, libXpm, libXp, bison, flex, pkgconfig}:
22
33stdenv.mkDerivation {
4− name = "Xaw3d-1.6.2";
4+ name = "Xaw3d-1.6.3";
55 src = fetchurl {
6− url = https://www.x.org/releases/individual/lib/libXaw3d-1.6.2.tar.bz2;
7− sha256 = "0awplv1nf53ywv01yxphga3v6dcniwqnxgnb0cn4khb121l12kxp";
6+ url = https://www.x.org/releases/individual/lib/libXaw3d-1.6.3.tar.bz2;
7+ sha256 = "0i653s8g25cc0mimkwid9366bqkbyhdyjhckx7bw77j20hzrkfid";
88 };
99 nativeBuildInputs = [ pkgconfig ];
1010 buildInputs = [imake gccmakedep libXpm libXp bison flex];
pkgs/development/libraries/agda/agda-stdlib/default.nix+1
@@ -23,6 +23,7 @@ agda.mkDerivation (self: rec {
2323 description = "A standard library for use with the Agda compiler";
2424 license = stdenv.lib.licenses.mit;
2525 platforms = stdenv.lib.platforms.unix;
26+ broken = stdenv.isDarwin;
2627 maintainers = with maintainers; [ jwiegley fuuzetsu mudri ];
2728 };
2829})
pkgs/development/libraries/allegro/5.nix+1−1
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 meta = with stdenv.lib; {
3838 description = "A game programming library";
39− homepage = http://liballeg.org/;
39+ homepage = https://liballeg.org/;
4040 license = licenses.zlib;
4141 maintainers = [ maintainers.raskin ];
4242 platforms = platforms.linux;
pkgs/development/libraries/allegro/default.nix+1−1
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
2828
2929 meta = with stdenv.lib; {
3030 description = "A game programming library";
31− homepage = http://liballeg.org/;
31+ homepage = https://liballeg.org/;
3232 license = licenses.free; # giftware
3333 maintainers = [ maintainers.raskin ];
3434 platforms = platforms.linux;
pkgs/development/libraries/aws-sdk-cpp/default.nix+2−2
@@ -15,13 +15,13 @@ let
1515 else throw "Unsupported system!";
1616in stdenv.mkDerivation rec {
1717 name = "aws-sdk-cpp-${version}";
18− version = "1.4.65";
18+ version = "1.4.70";
1919
2020 src = fetchFromGitHub {
2121 owner = "awslabs";
2222 repo = "aws-sdk-cpp";
2323 rev = version;
24− sha256 = "0266d2gar9wi0p4plapcp4bms93nn61rdvpd8ik5h6hgqvdb3fl2";
24+ sha256 = "09yybp1nh3w6m3cychx44vvplsy27rxjs948g5gs5qdcgdyx0yx0";
2525 };
2626
2727 # FIXME: might be nice to put different APIs in different outputs
pkgs/development/libraries/boost/1.66.nix−2
@@ -8,6 +8,4 @@ callPackage ./generic.nix (args // rec {
88 # SHA256 from http://www.boost.org/users/history/version_1_66_0.html
99 sha256 = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9";
1010 };
11−
12− toolset = if stdenv.cc.isClang then "clang" else null;
1311})
pkgs/development/libraries/boost/1.67.nix−2
@@ -8,6 +8,4 @@ callPackage ./generic.nix (args // rec {
88 # SHA256 from http://www.boost.org/users/history/version_1_66_0.html
99 sha256 = "2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba";
1010 };
11−
12− toolset = if stdenv.cc.isClang then "clang" else null;
1311})
pkgs/development/libraries/boost/generic.nix+15−6
@@ -1,8 +1,7 @@
11{ stdenv, fetchurl, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, libiconv
22, which
33, buildPackages, buildPlatform, hostPlatform
4−, toolset ? /**/ if stdenv.cc.isClang then "clang"
5− else if stdenv.cc.isGNU && hostPlatform != buildPlatform then "gcc-cross"
4+, toolset ? /**/ if stdenv.cc.isClang then "clang"
65 else null
76, enableRelease ? true
87, enableDebug ? false
@@ -58,16 +57,26 @@ let
5857 "link=${link}"
5958 "-sEXPAT_INCLUDE=${expat.dev}/include"
6059 "-sEXPAT_LIBPATH=${expat.out}/lib"
60+
61+ # TODO: make this unconditional
62+ ] ++ optionals (hostPlatform != buildPlatform) [
63+ "address-model=${toString hostPlatform.parsed.cpu.bits}"
64+ "architecture=${toString hostPlatform.parsed.cpu.family}"
65+ "binary-format=${toString hostPlatform.parsed.kernel.execFormat.name}"
66+ "target-os=${toString hostPlatform.parsed.kernel.name}"
67+
68+ # adapted from table in boost manual
69+ # https://www.boost.org/doc/libs/1_66_0/libs/context/doc/html/context/architectures.html
70+ "abi=${if hostPlatform.parsed.cpu.family == "arm" then "aapcs"
71+ else if hostPlatform.isWindows then "ms"
72+ else if hostPlatform.isMips then "o32"
73+ else "sysv"}"
6174 ] ++ optional (link != "static") "runtime-link=${runtime-link}"
6275 ++ optional (variant == "release") "debug-symbols=off"
6376 ++ optional (toolset != null) "toolset=${toolset}"
6477 ++ optional (mpi != null || hostPlatform != buildPlatform) "--user-config=user-config.jam"
6578 ++ optionals (hostPlatform.libc == "msvcrt") [
66− "target-os=windows"
6779 "threadapi=win32"
68− "binary-format=pe"
69− "address-model=${toString hostPlatform.parsed.cpu.bits}"
70− "architecture=x86"
7180 ]);
7281
7382in
pkgs/development/libraries/cpp-netlib/default.nix+1−1
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 meta = with stdenv.lib; {
2424 description =
2525 "Collection of open-source libraries for high level network programming";
26− homepage = http://cpp-netlib.org;
26+ homepage = https://cpp-netlib.org;
2727 license = licenses.boost;
2828 platforms = platforms.all;
2929 };
pkgs/development/libraries/dleyna-connector-dbus/default.nix+1−1
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
1717
1818 meta = with stdenv.lib; {
1919 description = "A D-Bus API for the dLeyna services";
20− homepage = http://01.org/dleyna;
20+ homepage = https://01.org/dleyna;
2121 maintainers = [ maintainers.jtojnar ];
2222 platforms = platforms.linux;
2323 license = licenses.lgpl21;
pkgs/development/libraries/dleyna-core/default.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 meta = with stdenv.lib; {
2323 description = "Library of utility functions that are used by the higher level dLeyna";
24− homepage = http://01.org/dleyna;
24+ homepage = https://01.org/dleyna;
2525 maintainers = [ maintainers.jtojnar ];
2626 platforms = platforms.linux;
2727 license = licenses.lgpl21;
pkgs/development/libraries/dleyna-renderer/default.nix+1−1
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 meta = with stdenv.lib; {
2424 description = "Library to discover and manipulate Digital Media Renderers";
25− homepage = http://01.org/dleyna;
25+ homepage = https://01.org/dleyna;
2626 maintainers = [ maintainers.jtojnar ];
2727 platforms = platforms.linux;
2828 license = licenses.lgpl21;
pkgs/development/libraries/dleyna-server/default.nix+1−1
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 meta = with stdenv.lib; {
2424 description = "Library to discover, browse and manipulate Digital Media Servers";
25− homepage = http://01.org/dleyna;
25+ homepage = https://01.org/dleyna;
2626 maintainers = [ maintainers.jtojnar ];
2727 platforms = platforms.linux;
2828 license = licenses.lgpl21;
pkgs/development/libraries/flatpak/default.nix+2−2
@@ -4,7 +4,7 @@
44, libsoup, lzma, ostree, polkit, python3, systemd, xlibs, valgrind, glib_networking, makeWrapper, gnome3 }:
55
66let
7− version = "0.11.8.3";
7+ version = "0.99.1";
88 desktop_schemas = gnome3.gsettings_desktop_schemas;
99in stdenv.mkDerivation rec {
1010 name = "flatpak-${version}";
@@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
1313
1414 src = fetchurl {
1515 url = "https://github.com/flatpak/flatpak/releases/download/${version}/${name}.tar.xz";
16− sha256 = "1dgkr1kr00111vsrql2ng2sw2b2j9axmay0fl6p540j952v3yimy";
16+ sha256 = "0f0mfmnc531pifrpkp1qv20wvbvi4la41rwyb3m8lnh1q5bmrch0";
1717 };
1818
1919 patches = [
pkgs/development/libraries/ldb/default.nix+1−1
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
3232
3333 meta = with stdenv.lib; {
3434 description = "A LDAP-like embedded database";
35− homepage = http://ldb.samba.org/;
35+ homepage = https://ldb.samba.org/;
3636 license = licenses.lgpl3Plus;
3737 maintainers = with maintainers; [ wkennington ];
3838 platforms = platforms.all;
pkgs/development/libraries/libgsystem/default.nixdeleted−31
@@ -1,31 +0,0 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, gobjectIntrospection
2−, glib, attr, systemd
3−}:
4−
5−stdenv.mkDerivation {
6− name = "libgsystem-2015.1";
7−
8− meta = with stdenv.lib; {
9− description = "GIO-based library with Unix/Linux specific API";
10− homepage = "https://wiki.gnome.org/Projects/LibGSystem";
11− license = licenses.lgpl2Plus;
12− platforms = platforms.linux;
13− };
14−
15− src = fetchFromGitHub {
16− owner = "GNOME";
17− repo = "libgsystem";
18− rev = "v2015.1";
19− sha256 = "0j5dqn1pnspfxifklw4wkikqlbxr4faib07550n5gi58m89gg68n";
20− };
21−
22− nativeBuildInputs = [
23− autoreconfHook pkgconfig gtk-doc gobjectIntrospection
24− ];
25−
26− propagatedBuildInputs = [ glib attr systemd ];
27−
28− preAutoreconf = ''
29− mkdir m4
30− '';
31−}
pkgs/development/libraries/librime/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 enableParallelBuilding = true;
2020
2121 meta = with stdenv.lib; {
22− homepage = http://rime.im/;
22+ homepage = https://rime.im/;
2323 description = "Rime Input Method Engine, the core library";
2424 license = licenses.bsd3;
2525 maintainers = with maintainers; [ sifmelcara ];
pkgs/development/libraries/libsolv/default.nix+10−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, cmake, zlib, expat, rpm, db }:
1+{ stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
22
33stdenv.mkDerivation rec {
44 rev = "0.6.34";
@@ -11,9 +11,16 @@ stdenv.mkDerivation rec {
1111 sha256 = "1knr48dilg8kscbmpjvd7m2krvgcdq0f9vpbqcgmxxa969mzrcy7";
1212 };
1313
14− cmakeFlags = "-DENABLE_RPMMD=true -DENABLE_RPMDB=true -DENABLE_PUBKEY=true -DENABLE_RPMDB_BYRPMHEADER=true";
14+ cmakeFlags = [
15+ "-DENABLE_COMPLEX_DEPS=true"
16+ "-DENABLE_RPMMD=true"
17+ "-DENABLE_RPMDB=true"
18+ "-DENABLE_PUBKEY=true"
19+ "-DENABLE_RPMDB_BYRPMHEADER=true"
20+ ];
1521
16− buildInputs = [ cmake zlib expat rpm db ];
22+ nativeBuildInputs = [ cmake ninja ];
23+ buildInputs = [ zlib expat rpm db ];
1724
1825 meta = with stdenv.lib; {
1926 description = "A free package dependency solver";
pkgs/development/libraries/libtomcrypt/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626 enableParallelBuilding = true;
2727
2828 meta = with stdenv.lib; {
29− homepage = http://www.libtom.net/LibTomCrypt/;
29+ homepage = https://www.libtom.net/LibTomCrypt/;
3030 description = "A fairly comprehensive, modular and portable cryptographic toolkit";
3131 license = with licenses; [ publicDomain wtfpl ];
3232 platforms = platforms.linux;
pkgs/development/libraries/libtommath/default.nix+1−1
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
2727 enableParallelBuilding = true;
2828
2929 meta = with stdenv.lib; {
30− homepage = http://www.libtom.net/LibTomMath/;
30+ homepage = https://www.libtom.net/LibTomMath/;
3131 description = "A library for integer-based number-theoretic applications";
3232 license = with licenses; [ publicDomain wtfpl ];
3333 platforms = platforms.unix;
pkgs/development/libraries/libtorrent-rasterbar/default.nix+24−21
@@ -1,26 +1,33 @@
1−{ stdenv, fetchurl, fetchpatch, automake, autoconf, boost, openssl, lib, libtool, pkgconfig, zlib, python, libiconv, geoip, ... }:
1+{ stdenv, lib, fetchFromGitHub, fetchpatch, pkgconfig, automake, autoconf, zlib
2+, boost, openssl, libtool, python, libiconv, geoip }:
23
3−stdenv.mkDerivation rec {
4− name = "libtorrent-rasterbar-${version}";
4+let
55 version = "1.1.7";
6+ formattedVersion = lib.replaceChars ["."] ["_"] version;
7+in stdenv.mkDerivation {
8+ name = "libtorrent-rasterbar-${version}";
69
7− src =
8− let formattedVersion = lib.replaceChars ["."] ["_"] version;
9− in fetchurl {
10− url = "https://github.com/arvidn/libtorrent/archive/libtorrent-${formattedVersion}.tar.gz";
11− sha256 = "0vbw7wcw8x9787rq5fwaibpvvspm3237l8ahbf20gjpzxhn4yfwc";
12− };
10+ src = fetchFromGitHub {
11+ owner = "arvidn";
12+ repo = "libtorrent";
13+ rev = "libtorrent-${formattedVersion}";
14+ sha256 = "073nb7yca5jg1i8z5h76qrmddl2hdy8fc1pnchkg574087an31r3";
15+ };
1316
14−patches = [
15− (fetchpatch {
16− url = "https://github.com/arvidn/libtorrent/commit/64d6b4900448097b0157abb328621dd211e2947d.patch";
17− sha256 = "0d4h0g129rsgm8xikybxypgv6nnya7ap7kskl7q78p4h6y2a0fhc";
18− })
19−];
17+ patches = [
18+ (fetchpatch {
19+ url = "https://github.com/arvidn/libtorrent/commit/64d6b4900448097b0157abb328621dd211e2947d.patch";
20+ sha256 = "1bdv0icqzbg1il60sckcly4y22lkdbkkwdjadwdzxv7cdj586bzd";
21+ })
22+ (fetchpatch {
23+ url = "https://github.com/arvidn/libtorrent/commit/9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81.patch";
24+ sha256 = "1cscqpc6fq9iwspww930dsxf0yb01bgrghzf5hdhl09a87r6q2zg";
25+ })
26+ ];
2027
28+ enableParallelBuilding = true;
2129 nativeBuildInputs = [ automake autoconf libtool pkgconfig ];
2230 buildInputs = [ boost openssl zlib python libiconv geoip ];
23−
2431 preConfigure = "./autotool.sh";
2532
2633 configureFlags = [
@@ -32,12 +39,8 @@ patches = [
3239 "--with-libiconv=yes"
3340 ];
3441
35− enableParallelBuilding = true;
36−
37− doCheck = false; # fails to link
38−
3942 meta = with stdenv.lib; {
40− homepage = http://www.rasterbar.com/products/libtorrent/;
43+ homepage = "https://libtorrent.org/";
4144 description = "A C++ BitTorrent implementation focusing on efficiency and scalability";
4245 license = licenses.bsd3;
4346 maintainers = [ maintainers.phreedom ];
pkgs/development/libraries/libxml2/default.nix+7−2
@@ -3,6 +3,7 @@
33, buildPlatform, hostPlatform
44, pythonSupport ? buildPlatform == hostPlatform
55, icuSupport ? false, icu ? null
6+, enableStatic ? false
67}:
78
89let
@@ -18,7 +19,8 @@ in stdenv.mkDerivation rec {
1819 };
1920
2021 outputs = [ "bin" "dev" "out" "man" "doc" ]
21− ++ lib.optional pythonSupport "py";
22+ ++ lib.optional pythonSupport "py"
23+ ++ lib.optional enableStatic "static";
2224 propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";
2325
2426 buildInputs = lib.optional pythonSupport python
@@ -32,7 +34,8 @@ in stdenv.mkDerivation rec {
3234 configureFlags =
3335 lib.optional pythonSupport "--with-python=${python}"
3436 ++ lib.optional icuSupport "--with-icu"
35− ++ [ "--exec_prefix=$dev" ];
37+ ++ [ "--exec_prefix=$dev" ]
38+ ++ lib.optional enableStatic "--enable-static";
3639
3740 enableParallelBuilding = true;
3841
@@ -57,6 +60,8 @@ in stdenv.mkDerivation rec {
5760 moveToOutput bin/xml2-config "$dev"
5861 moveToOutput lib/xml2Conf.sh "$dev"
5962 moveToOutput share/man/man1 "$bin"
63+ '' + lib.optionalString enableStatic ''
64+ moveToOutput lib/libxml2.a "$static"
6065 '';
6166
6267 passthru = { inherit version; pythonSupport = pythonSupport; };
pkgs/development/libraries/minixml/default.nix+1−1
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
1111
1212 meta = with stdenv.lib; {
1313 description = "A small XML library";
14− homepage = http://www.minixml.org;
14+ homepage = https://www.msweet.org/mxml/;
1515 license = licenses.lgpl2;
1616 platforms = platforms.linux;
1717 maintainers = [ maintainers.goibhniu ];
pkgs/development/libraries/mpfr/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
2525 enableParallelBuilding = true;
2626
2727 meta = {
28− homepage = http://www.mpfr.org/;
28+ homepage = https://www.mpfr.org/;
2929 description = "Library for multiple-precision floating-point arithmetic";
3030
3131 longDescription = ''
pkgs/development/libraries/nanomsg/default.nix+1−1
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
1515
1616 meta = with stdenv.lib; {
1717 description= "Socket library that provides several common communication patterns";
18− homepage = http://nanomsg.org/;
18+ homepage = https://nanomsg.org/;
1919 license = licenses.mit;
2020 platforms = platforms.unix;
2121 };
pkgs/development/libraries/pango/default.nix+1−1
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
4949 Pango forms the core of text and font handling for GTK+-2.x.
5050 '';
5151
52− homepage = http://www.pango.org/;
52+ homepage = https://www.pango.org/;
5353 license = licenses.lgpl2Plus;
5454
5555 maintainers = with maintainers; [ raskin ];
pkgs/development/libraries/pangomm/default.nix+1−1
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 meta = with stdenv.lib; {
2626 description = "C++ interface to the Pango text rendering library";
27− homepage = http://www.pango.org/;
27+ homepage = https://www.pango.org/;
2828 license = with licenses; [ lgpl2 lgpl21 ];
2929 maintainers = with maintainers; [ lovek323 raskin ];
3030 platforms = platforms.unix;
pkgs/development/libraries/pangox-compat/default.nix+1−1
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 meta = {
1515 description = "A compatibility library for pango>1.30.*";
1616
17− homepage = http://www.pango.org/;
17+ homepage = https://www.pango.org/;
1818 license = stdenv.lib.licenses.lgpl2Plus;
1919 platforms = stdenv.lib.platforms.unix;
2020 };
pkgs/development/libraries/tbb/default.nix+2−2
@@ -2,13 +2,13 @@
22
33with stdenv.lib; stdenv.mkDerivation rec {
44 name = "tbb-${version}";
5− version = "2018_U4";
5+ version = "2018_U5";
66
77 src = fetchFromGitHub {
88 owner = "01org";
99 repo = "tbb";
1010 rev = version;
11− sha256 = "00y7b4x0blkn0cymnrbh6fw7kp4xcdp4bi14rj33sl1lypawa1j6";
11+ sha256 = "080df8h2whnly6n9pslpg07dc9vr0p45gqgy9qijpjvxkjwfkdkp";
1212 };
1313
1414 makeFlags = concatStringsSep " " (
pkgs/development/libraries/uri/default.nix+1−1
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
2525
2626 meta = {
2727 description = "C++ URI library";
28− homepage = http://cpp-netlib.org;
28+ homepage = https://cpp-netlib.org;
2929 license = stdenv.lib.licenses.boost;
3030 platforms = stdenv.lib.platforms.all;
3131 };
pkgs/development/libraries/xmlsec/default.nix+2−2
@@ -2,14 +2,14 @@
22, openssl, nss, makeWrapper }:
33
44let
5− version = "1.2.25";
5+ version = "1.2.26";
66in
77stdenv.mkDerivation rec {
88 name = "xmlsec-${version}";
99
1010 src = fetchurl {
1111 url = "http://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz";
12− sha256 = "1lpwj8dxwhha54sby0v5axjk79h56jnhjjiwiasbbk15vwzahz4n";
12+ sha256 = "0l1dk344rn3j2vnj13daz72xd8j1msvzhg82n2il5ji0qz4pd0ld";
1313 };
1414
1515 outputs = [ "out" "dev" ];
pkgs/development/python-modules/click-log/default.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "click-log";
5− version = "0.3.2";
5+ version = "0.2.1";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "16fd1ca3fc6b16c98cea63acf1ab474ea8e676849dc669d86afafb0ed7003124";
9+ sha256 = "1r1x85023cslb2pwldd089jjk573mk3w78cnashs77wrx7yz8fj9";
1010 };
1111
1212 propagatedBuildInputs = [ click ];
pkgs/development/python-modules/clustershell/default.nixnew file+89
@@ -0,0 +1,89 @@
1+{ stdenv, buildPythonPackage, fetchPypi, pyyaml, openssh
2+, nose, bc, hostname, coreutils, bash, gnused
3+}:
4+
5+buildPythonPackage rec {
6+ pname = "ClusterShell";
7+ version = "1.8";
8+
9+ src = fetchPypi {
10+ inherit pname version;
11+ sha256 = "1bm0pq8w2rql9q9i2bhs865rqvb6zck3h3gkb1d0mh59arrr7p4m";
12+ };
13+
14+ propagatedBuildInputs = [ pyyaml ];
15+
16+ postPatch = ''
17+ substituteInPlace lib/ClusterShell/Worker/Ssh.py \
18+ --replace '"ssh"' '"${openssh}/bin/ssh"' \
19+ --replace '"scp"' '"${openssh}/bin/scp"'
20+
21+ substituteInPlace lib/ClusterShell/Worker/fastsubprocess.py \
22+ --replace '"/bin/sh"' '"${bash}/bin/sh"'
23+ '';
24+
25+ checkInputs = [ nose bc hostname coreutils gnused ];
26+
27+ # Many tests want to open network connections
28+ # https://github.com/cea-hpc/clustershell#test-suite
29+ #
30+ # Several tests fail on Darwin
31+ checkPhase = ''
32+ for f in tests/*; do
33+ substituteInPlace $f \
34+ --replace '/bin/hostname' '${hostname}/bin/hostname' \
35+ --replace '/bin/sleep' '${coreutils}/bin/sleep' \
36+ --replace '"sleep' '"${coreutils}/bin/sleep' \
37+ --replace '/bin/echo' '${coreutils}/bin/echo' \
38+ --replace '/bin/uname' '${coreutils}/bin/uname' \
39+ --replace '/bin/false' '${coreutils}/bin/false' \
40+ --replace '/bin/true' '${coreutils}/bin/true' \
41+ --replace '/usr/bin/printf' '${coreutils}/bin/printf' \
42+ --replace '"sed' '"${gnused}/bin/sed' \
43+ --replace ' sed ' ' ${gnused}/bin/sed '
44+ done
45+
46+ rm tests/CLIClushTest.py
47+ rm tests/TreeWorkerTest.py
48+ rm tests/TaskDistantMixin.py
49+ rm tests/TaskDistantTest.py
50+ rm tests/TaskDistantPdshMixin.py
51+ rm tests/TaskDistantPdshTest.py
52+ rm tests/TaskRLimitsTest.py
53+
54+ nosetests -v \
55+ -e test_channel_ctl_shell_remote1 \
56+ -e test_channel_ctl_shell_remote2 \
57+ -e test_fromall_grouplist \
58+ -e test_rank_placeholder \
59+ -e test_engine_on_the_fly_launch \
60+ -e test_ev_pickup_fanout \
61+ -e test_ev_pickup_fanout_legacy \
62+ -e test_timeout \
63+ -e test_008_broken_pipe_on_write \
64+ -e testLocalBufferRCGathering \
65+ -e testLocalBuffers \
66+ -e testLocalErrorBuffers \
67+ -e testLocalFanout \
68+ -e testLocalRetcodes \
69+ -e testLocalRCBufferGathering \
70+ -e testLocalSingleLineBuffers \
71+ -e testLocalWorkerFanout \
72+ -e testSimpleMultipleCommands \
73+ -e testClushConfigSetRlimit \
74+ -e testTimerInvalidateInHandler \
75+ -e testTimerSetNextFireInHandler \
76+ -e test_channel_ctl_shell_mlocal1 \
77+ -e test_channel_ctl_shell_mlocal2 \
78+ -e test_channel_ctl_shell_mlocal3 \
79+ -e test_node_placeholder \
80+ tests/*.py
81+ '';
82+
83+ meta = with stdenv.lib; {
84+ description = "Scalable Python framework for cluster administration";
85+ homepage = https://cea-hpc.github.io/clustershell;
86+ license = licenses.lgpl21;
87+ maintainers = [ maintainers.alexvorobiev ];
88+ };
89+}
pkgs/development/python-modules/hbmqtt/default.nix+8−1
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi, isPy3k
1+{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, isPy3k
22, transitions, websockets, passlib, docopt, pyyaml, nose }:
33
44buildPythonPackage rec {
@@ -12,6 +12,13 @@ buildPythonPackage rec {
1212 sha256 = "6f61e05007648a4f33e300fafcf42776ca95508ba1141799f94169427ce5018c";
1313 };
1414
15+ patches = [
16+ (fetchpatch {
17+ url = "https://github.com/beerfactory/hbmqtt/commit/75a85d1ea4cb41f2a15f2681d3114da7158942ae.patch";
18+ sha256 = "0bl4v5zxp4kz2w7riwrx48f7yqmp7pxg79g9qavkda0i85lxswnp";
19+ })
20+ ];
21+
1522 propagatedBuildInputs = [ transitions websockets passlib docopt pyyaml ];
1623
1724 checkInputs = [ nose ];
pkgs/development/python-modules/netdisco/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildPythonPackage rec {
44 pname = "netdisco";
5− version = "1.4.0";
5+ version = "1.5.0";
66
77 disabled = !isPy3k;
88
@@ -11,7 +11,7 @@ buildPythonPackage rec {
1111 owner = "home-assistant";
1212 repo = pname;
1313 rev = version;
14− sha256 = "0q1cl76a0fwxm80lkk7cpd4p23r2bvf1a45nb7n61cgzrqcv43q1";
14+ sha256 = "1lr0zpzdjkhcaihyxq8wv7c1wjm7xgx2sl8xmwp1kyivkgybk6n9";
1515 };
1616
1717 propagatedBuildInputs = [ requests zeroconf netifaces ];
pkgs/development/python-modules/pyserial/default.nix+2−1
@@ -1,4 +1,4 @@
1−{ lib, fetchPypi, buildPythonPackage }:
1+{ lib, fetchPypi, buildPythonPackage, hostPlatform }:
22
33buildPythonPackage rec {
44 pname = "pyserial";
@@ -10,6 +10,7 @@ buildPythonPackage rec {
1010 };
1111
1212 checkPhase = "python -m unittest discover -s test";
13+ doInstallCheck = !hostPlatform.isDarwin; # broken on darwin
1314
1415 meta = with lib; {
1516 homepage = "https://github.com/pyserial/pyserial";
pkgs/development/python-modules/user-agents/default.nix+2
@@ -14,6 +14,8 @@ buildPythonPackage rec {
1414
1515 propagatedBuildInputs = [ ua-parser ];
1616
17+ doCheck = false; # some tests fail due to ua-parser bump to 0.8.0
18+
1719 meta = with stdenv.lib; {
1820 description = "A Python library to identify devices by parsing user agent strings";
1921 homepage = https://github.com/selwin/python-user-agents;
pkgs/development/tools/build-managers/bazel/default.nix+10−7
@@ -8,13 +8,13 @@
88
99stdenv.mkDerivation rec {
1010
11− version = "0.12.0";
11+ version = "0.13.0";
1212
1313 meta = with stdenv.lib; {
1414 homepage = "https://github.com/bazelbuild/bazel/";
1515 description = "Build tool that builds code quickly and reliably";
1616 license = licenses.asl20;
17− maintainers = [ maintainers.philandstuff ];
17+ maintainers = [ maintainers.mboes ];
1818 platforms = platforms.linux ++ platforms.darwin;
1919 };
2020
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 src = fetchurl {
2424 url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip";
25− sha256 = "3b3e7dc76d145046fdc78db7cac9a82bc8939d3b291e53a7ce85315feb827754";
25+ sha256 = "143nd9dmw2x88azf8spinl2qnvw9m8lqlqc765l9q2v6hi807sc2";
2626 };
2727
2828 sourceRoot = ".";
@@ -64,14 +64,17 @@ stdenv.mkDerivation rec {
6464 --replace /bin/bash ${customBash}/bin/bash \
6565 --replace /usr/bin/env ${coreutils}/bin/env
6666 done
67+ # Fixup scripts that generate scripts. Not fixed up by patchShebangs below.
68+ substituteInPlace scripts/bootstrap/compile.sh \
69+ --replace /bin/sh ${customBash}/bin/bash
6770 echo "build --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\"" >> .bazelrc
6871 echo "build --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\"" >> .bazelrc
6972 echo "build --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\"" >> .bazelrc
7073 echo "build --host_linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt=\"-Wl,/g')\"" >> .bazelrc
71− sed -i -e "348 a --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\" \\\\" scripts/bootstrap/compile.sh
72− sed -i -e "348 a --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\" \\\\" scripts/bootstrap/compile.sh
73− sed -i -e "348 a --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\" \\\\" scripts/bootstrap/compile.sh
74− sed -i -e "348 a --host_linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt=\"-Wl,/g')\" \\\\" scripts/bootstrap/compile.sh
74+ sed -i -e "366 a --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\" \\\\" scripts/bootstrap/compile.sh
75+ sed -i -e "366 a --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\" \\\\" scripts/bootstrap/compile.sh
76+ sed -i -e "366 a --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\" \\\\" scripts/bootstrap/compile.sh
77+ sed -i -e "366 a --host_linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt=\"-Wl,/g')\" \\\\" scripts/bootstrap/compile.sh
7578 patchShebangs .
7679 '';
7780
pkgs/development/tools/build-managers/conan/default.nix+2−2
@@ -20,12 +20,12 @@ let newPython = python.override {
2020};
2121
2222in newPython.pkgs.buildPythonApplication rec {
23− version = "1.4.4";
23+ version = "1.4.5";
2424 pname = "conan";
2525
2626 src = newPython.pkgs.fetchPypi {
2727 inherit pname version;
28− sha256 = "1g03f8rw9l198w9ph0gi0q3g84ilp1dxxc9nmj0dgnymcfgpf89n";
28+ sha256 = "1mjakrv1d7la3lrxsv6jjqprqwmslpjmfxkw3z7pk56rzlp99nv2";
2929 };
3030
3131 postPatch = ''
pkgs/development/tools/build-managers/shards/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "shards-${version}";
5− version = "0.8.0";
5+ version = "0.8.1";
66
77 src = fetchurl {
88 url = "https://github.com/crystal-lang/shards/archive/v${version}.tar.gz";
9− sha256 = "02v69xl7x6sn0ddn29mjx3srwk4fyz0hz2pwaqa25fwwyhxvyn3p";
9+ sha256 = "198768izbsqqp063847r2x9ddcf4qfxx7vx7c6gwbmgjmjv4mivm";
1010 };
1111
1212 buildInputs = [ crystal libyaml which ];
pkgs/development/tools/continuous-integration/gitlab-runner/default.nix+4−4
@@ -1,16 +1,16 @@
11{ lib, buildGoPackage, fetchFromGitLab, fetchurl, go-bindata }:
22
33let
4− version = "10.8.0";
4+ version = "11.0.0";
55 # Gitlab runner embeds some docker images these are prebuilt for arm and x86_64
66 docker_x86_64 = fetchurl {
77 url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz";
8− sha256 = "1cdc0p3gq6q324p087qv335y224bv61fbr8xar4kza7lcqblb41d";
8+ sha256 = "1wi2wza991hhys60c8f3rhad8dqargnb6i7xwfsxrjd26dsbif2b";
99 };
1010
1111 docker_arm = fetchurl {
1212 url = "https://gitlab-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz";
13− sha256 = "0xj0ym6mprrknxqrxqj3ydgabqgfdxrw3h1r0q8sggfxqrrs8y08";
13+ sha256 = "1y67zxxad2jy1rvfhdlp194fi0qgwrnlcs24zh5lzwvsnwvc13bg";
1414 };
1515in
1616buildGoPackage rec {
@@ -29,7 +29,7 @@ buildGoPackage rec {
2929 owner = "gitlab-org";
3030 repo = "gitlab-runner";
3131 rev = "v${version}";
32− sha256 = "0j8xkwfxvmg1bqrmalqvl6k45yn54m16r3af5ckgr717xylywqb6";
32+ sha256 = "06p8fggnxn2afy0k4wjh44d1qby9n2j0mq6cl206cckzh2gfsknp";
3333 };
3434
3535 patches = [ ./fix-shell-path.patch ];
pkgs/development/tools/flatpak-builder/default.nix+4−2
@@ -19,6 +19,7 @@
1919, bzip2
2020, coreutils
2121, cpio
22+, curl
2223, elfutils
2324, flatpak
2425, gitMinimal
@@ -35,7 +36,7 @@
3536}:
3637
3738let
38− version = "0.10.10";
39+ version = "0.99.1";
3940in stdenv.mkDerivation rec {
4041 name = "flatpak-builder-${version}";
4142
@@ -43,7 +44,7 @@ in stdenv.mkDerivation rec {
4344
4445 src = fetchurl {
4546 url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${name}.tar.xz";
46− sha256 = "0b0c2rmf2vj596600blbhsiv2dg7qwpr33lgdcn0bnqc4ddri6f2";
47+ sha256 = "0xgywl4qsxq7lw1v7hmvczzv3pl12bzz3jv59y8s5gbk54rzbyi5";
4748 };
4849
4950 nativeBuildInputs = [
@@ -62,6 +63,7 @@ in stdenv.mkDerivation rec {
6263 buildInputs = [
6364 acl
6465 bzip2
66+ curl
6567 elfutils
6668 flatpak
6769 glib
pkgs/development/tools/godot/default.nix+2−2
@@ -10,13 +10,13 @@ let
1010 };
1111in stdenv.mkDerivation rec {
1212 name = "godot-${version}";
13− version = "3.0.3";
13+ version = "3.0.4";
1414
1515 src = fetchFromGitHub {
1616 owner = "godotengine";
1717 repo = "godot";
1818 rev = "${version}-stable";
19− sha256 = "060jb5jip1si32a0sm1mmkvy3nldl1cjb82kjh5wihzllph93sxd";
19+ sha256 = "0i4ssfb6igga9zwvsmahrnasx9cyqrsd6mlmssjgc482fy9q2kz4";
2020 };
2121
2222 nativeBuildInputs = [ pkgconfig ];
pkgs/development/tools/hcloud/default.nix+3−3
@@ -2,17 +2,17 @@
22
33buildGoPackage rec {
44 name = "hcloud-${version}";
5− version = "1.4.0";
5+ version = "1.5.0";
66 goPackagePath = "github.com/hetznercloud/cli";
77
88 src = fetchFromGitHub {
99 owner = "hetznercloud";
1010 repo = "cli";
1111 rev = "v${version}";
12− sha256 = "1mysw091ddi3abijvciyy73ff31vqq7zb37w30sp3vhm5vq38nn2";
12+ sha256 = "1pbfa977ihqn7j3ynyqghxjw0wmq0vgha4lsshdpf5xr2n3w0r8l";
1313 };
1414
15− buildFlagsArray = [ "-ldflags=" "-X github.com/hetznercloud/cli.Version=${version}" ];
15+ buildFlagsArray = [ "-ldflags=" "-w -X github.com/hetznercloud/cli/cli.Version=${version}" ];
1616
1717 meta = {
1818 description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers";
pkgs/development/tools/java/cfr/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "cfr-${version}";
5− version = "0.128";
5+ version = "0.130";
66
77 src = fetchurl {
88 url = "http://www.benf.org/other/cfr/cfr_${version}.jar";
9− sha256 = "09mx1f6d1p57q5r05nvgm1xrhqv34n7v7rwq875whb441h1dnsix";
9+ sha256 = "0zy63jxl05f0wm9s344y846hzqn0zk34w6qpbf48a98si5ciwsmn";
1010 };
1111
1212 buildInputs = [ makeWrapper ];
pkgs/development/tools/jira_cli/default.nix+1−1
@@ -25,7 +25,7 @@ in
2525
2626 meta = with stdenv.lib; {
2727 description = "A command line interface to Jira";
28− homepage = http://github.com/alisaifee/jira-cli;
28+ homepage = https://github.com/alisaifee/jira-cli;
2929 maintainers = with maintainers; [ nyarly ];
3030 license = licenses.mit;
3131 };
pkgs/development/tools/misc/editorconfig-core-c/default.nix+1−1
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
1919 enableParallelBuilding = false;
2020
2121 meta = with stdenv.lib; {
22− homepage = http://editorconfig.org/;
22+ homepage = https://editorconfig.org/;
2323 description = "EditorConfig core library written in C";
2424 longDescription = ''
2525 EditorConfig makes it easy to maintain the correct coding style when
pkgs/development/tools/node-webkit/nw12.nix+1−1
@@ -24,7 +24,7 @@ in stdenv.mkDerivation rec {
2424 version = "0.12.3";
2525
2626 src = fetchurl {
27− url = "http://dl.nwjs.io/v${version}/nwjs-v${version}-linux-${bits}.tar.gz";
27+ url = "https://dl.nwjs.io/v${version}/nwjs-v${version}-linux-${bits}.tar.gz";
2828 sha256 = if bits == "x64" then
2929 "1i5ipn5x188cx54pbbmjj1bz89vvcfx5z1c7pqy2xzglkyb2xsyg" else
3030 "117gx6yjbcya64yg2vybcfyp591sid209pg8a33k9afbsmgz684c";
pkgs/development/tools/nwjs/default.nix+1−1
@@ -79,7 +79,7 @@ in stdenv.mkDerivation rec {
7979
8080 meta = with stdenv.lib; {
8181 description = "An app runtime based on Chromium and node.js";
82− homepage = http://nwjs.io/;
82+ homepage = https://nwjs.io/;
8383 platforms = ["i686-linux" "x86_64-linux"];
8484 maintainers = [ maintainers.offline ];
8585 license = licenses.bsd3;
pkgs/development/tools/ocaml/cppo/default.nix+29−16
@@ -1,30 +1,43 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
1+{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, jbuilder }:
22let
33 pname = "cppo";
4− version = "1.5.0";
54 webpage = "http://mjambon.com/${pname}.html";
65in
76assert stdenv.lib.versionAtLeast ocaml.version "3.12";
8−stdenv.mkDerivation rec {
97
10− name = "${pname}-${version}";
8+let param =
9+ if stdenv.lib.versionAtLeast ocaml.version "4.02" then {
10+ version = "1.6.4";
11+ sha256 = "16mlwck0wngr5pmlr8dxc471zzhhcja3mv4xf4n8jm9nhb3iikvh";
12+ buildInputs = [ jbuilder ];
13+ extra = {
14+ inherit (jbuilder) installPhase;
15+ };
16+ } else {
17+ version = "1.5.0";
18+ sha256 = "1xqldjz9risndnabvadw41fdbi5sa2hl4fnqls7j9xfbby1izbg8";
19+ extra = {
20+ createFindlibDestdir = true;
21+ makeFlags = "PREFIX=$(out)";
22+ preBuild = ''
23+ mkdir $out/bin
24+ '';
25+ };
26+ }
27+; in
28+
29+stdenv.mkDerivation (rec {
30+
31+ name = "${pname}-${param.version}";
1132
1233 src = fetchFromGitHub {
1334 owner = "mjambon";
1435 repo = pname;
15− rev = "v${version}";
16− sha256 = "1xqldjz9risndnabvadw41fdbi5sa2hl4fnqls7j9xfbby1izbg8";
36+ rev = "v${param.version}";
37+ inherit (param) sha256;
1738 };
1839
19− buildInputs = [ ocaml findlib ocamlbuild ];
20−
21− createFindlibDestdir = true;
22−
23− makeFlags = "PREFIX=$(out)";
24−
25− preBuild = ''
26− mkdir $out/bin
27− '';
40+ buildInputs = [ ocaml findlib ocamlbuild ] ++ (param.buildInputs or []);
2841
2942 meta = with stdenv.lib; {
3043 description = "The C preprocessor for OCaml";
@@ -35,4 +48,4 @@ stdenv.mkDerivation rec {
3548 maintainers = [ maintainers.vbgl ];
3649 license = licenses.bsd3;
3750 };
38−}
51+} // param.extra)
pkgs/development/tools/ocaml/merlin/default.nix+2−2
@@ -4,7 +4,7 @@
44assert stdenv.lib.versionAtLeast ocaml.version "4.02";
55
66let
7− version = "3.0.5";
7+ version = "3.1.0";
88in
99
1010stdenv.mkDerivation {
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313
1414 src = fetchzip {
1515 url = "https://github.com/ocaml/merlin/archive/v${version}.tar.gz";
16− sha256 = "06h0klzzvb62rzb6m0pq8aa207fz7z54mjr05vky4wv8195bbjiy";
16+ sha256 = "1vf0c2mmflp94r8hshb44lsvnfdy03ld6mld2n79cdxr3zl24ci2";
1717 };
1818
1919 buildInputs = [ ocaml findlib yojson ]
pkgs/development/web/kcgi/default.nix+2−2
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 pname = "kcgi";
5− version = "0.10.5";
5+ version = "0.10.6";
66 underscoreVersion = stdenv.lib.replaceChars ["."] ["_"] version;
77 name = "${pname}-${version}";
88
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 owner = "kristapsdz";
1111 repo = pname;
1212 rev = "VERSION_${underscoreVersion}";
13− sha256 = "0ksdjqibkj7h1a99i84i6y0949c0vwx789q0sslzdkkgqvjnw3xw";
13+ sha256 = "0vaqz7krlvkjlc0189pkcj1al1p5ic577dn6bb4ivca1bss1i3m2";
1414 };
1515 patchPhase = ''substituteInPlace configure \
1616 --replace /usr/local /
pkgs/games/astromenace/default.nix+1−1
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929
3030 meta = {
3131 description = "Hardcore 3D space shooter with spaceship upgrade possibilities";
32− homepage = http://www.viewizard.com/;
32+ homepage = https://www.viewizard.com/;
3333 license = stdenv.lib.licenses.gpl3;
3434 platforms = stdenv.lib.platforms.linux;
3535 };
pkgs/games/ball-and-paddle/default.nix+2
@@ -38,5 +38,7 @@ stdenv.mkDerivation rec {
3838 maintainers = [ ];
3939
4040 platforms = stdenv.lib.platforms.unix;
41+
42+ hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
4143 };
4244}
pkgs/games/chocolate-doom/default.nix+1
@@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
1919 description = "A Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s";
2020 license = stdenv.lib.licenses.gpl2Plus;
2121 platforms = stdenv.lib.platforms.unix;
22+ hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out
2223 maintainers = with stdenv.lib.maintainers; [ MP2E ];
2324 };
2425}
pkgs/games/exult/default.nix+1
@@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
4545 description = "A reimplementation of the Ultima VII game engine";
4646 maintainers = [ stdenv.lib.maintainers.eelco ];
4747 platforms = stdenv.lib.platforms.unix;
48+ hydraPlatforms = stdenv.lib.platforms.linux; # darwin times out
4849 };
4950}
pkgs/games/freeciv/default.nix+1
@@ -51,5 +51,6 @@ stdenv.mkDerivation {
5151
5252 maintainers = with maintainers; [ pierron ];
5353 platforms = platforms.unix;
54+ hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
5455 };
5556}
pkgs/games/freedink/default.nix+1
@@ -54,5 +54,6 @@ in stdenv.mkDerivation rec {
5454
5555 maintainers = [ stdenv.lib.maintainers.bjg ];
5656 platforms = stdenv.lib.platforms.all;
57+ hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
5758 };
5859}
pkgs/games/ivan/default.nix+2−2
@@ -3,13 +3,13 @@
33stdenv.mkDerivation rec {
44
55 name = "ivan-${version}";
6− version = "052";
6+ version = "053";
77
88 src = fetchFromGitHub {
99 owner = "Attnam";
1010 repo = "ivan";
1111 rev = "v${version}";
12− sha256 = "1vvwb33jw4ppwsqlvaxq3b8npdzh9j9jfangyzszp5sfnnd7fj5b";
12+ sha256 = "1r3fcccgpjmzzkg0lfmq76igjapr01kh97vz671z60jg7gyh301b";
1313 };
1414
1515 buildInputs = [SDL2 SDL2_mixer libpng pcre];
pkgs/games/lbreakout2/default.nix+1
@@ -16,5 +16,6 @@ stdenv.mkDerivation rec {
1616 license = licenses.gpl2;
1717 maintainers = [ maintainers.ciil ];
1818 platforms = platforms.unix;
19+ hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
1920 };
2021}
pkgs/games/openxcom/default.nix+1−1
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616
1717 meta = {
1818 description = "Open source clone of UFO: Enemy Unknown";
19− homepage = http://openxcom.org;
19+ homepage = https://openxcom.org;
2020 repositories.git = https://github.com/SupSuper/OpenXcom.git;
2121 maintainers = [ stdenv.lib.maintainers.cpages ];
2222 platforms = stdenv.lib.platforms.linux;
pkgs/games/unvanquished/default.nixdeleted−69
@@ -1,69 +0,0 @@
1−{ stdenv, fetchurl, cmake, libGLU_combined, SDL, libjpeg, libpng, glew, libwebp, ncurses
2−, gmp, curl, nettle, openal, speex, libogg, libvorbis, libtheora, xvidcore
3−, makeWrapper }:
4−stdenv.mkDerivation rec {
5− name = "unvanquished-${version}";
6− version = "0.13.1";
7− src = fetchurl {
8− url = "https://github.com/Unvanquished/Unvanquished/archive/v${version}.tar.gz";
9− sha256 = "1k7mlpwalimn6xb2s760f124xncpg455qvls6z3x0ii5x0wc1mp2";
10− };
11− buildInputs = [ cmake libGLU_combined SDL libjpeg libpng glew libwebp ncurses gmp curl
12− nettle openal speex libogg libvorbis libtheora xvidcore
13− makeWrapper ];
14− preConfigure = ''prefix="$prefix/opt"'';
15− postInstall = ''
16− # cp -r ../main "$prefix/Unvanquished/"
17− mkdir -p "$out/bin"
18− substituteInPlace download-pk3.sh --replace /bin/bash ${stdenv.shell}
19− cp -v download-pk3.sh "$out/bin/unvanquished-download-pk3"
20− makeWrapper "$prefix/Unvanquished/daemon" "$out/bin/unvanquished" \
21− --run '[ -f ~/.Unvanquished/main/md5sums ] &&
22− cd ~/.Unvanquished/main/ &&
23− md5sum --quiet -c md5sums ||
24− unvanquished-download-pk3' \
25− --run "cd '$prefix/Unvanquished'"
26− makeWrapper "$prefix/Unvanquished/daemonded" "$out/bin/unvanquished-ded" \
27− --run '[ -f ~/.Unvanquished/main/md5sums ] &&
28− cd ~/.Unvanquished/main/ &&
29− md5sum --quiet -c md5sums ||
30− unvanquished-download-pk3' \
31− --run "cd '$prefix/Unvanquished'"
32− '';
33−
34− meta = {
35− description = "FPS game set in a futuristic, sci-fi setting";
36− longDescription = ''
37− Unvanquished is a free, open-source first-person shooter
38− combining real-time strategy elements with a futuristic, sci-fi
39− setting. It is available for Windows, Linux, and macOS.
40−
41− Features:
42−
43− * Two teams
44− Play as either the technologically advanced humans or the highly
45− adaptable aliens, with a fresh gameplay experience on both
46− sides.
47−
48− * Build a base
49− Construct and maintain your base with a variety of useful
50− structures, or group up with teammates to take on the other
51− team.
52−
53− * Level up
54− Earn rewards for victories against the other team, whether it's
55− a deadly new weapon or access to a whole new alien form.
56−
57− * Customize
58− Compatibility with Quake 3 file formats and modification tools
59− allows for extensive customization of the game and its
60− setting.
61− '';
62− homepage = http://unvanquished.net;
63− #license = "unknown";
64− maintainers = with stdenv.lib.maintainers; [ astsmtl ];
65− platforms = stdenv.lib.platforms.linux;
66− # This package can take a lot of disk space, so unavailable from channel
67− hydraPlatforms = [];
68− };
69−}
pkgs/misc/emulators/fs-uae/default.nix+1−1
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424 create customized Amigas.
2525 '';
2626 license = licenses.gpl2Plus;
27− homepage = http://fs-uae.net;
27+ homepage = https://fs-uae.net;
2828 maintainers = with stdenv.lib; [ maintainers.AndersonTorres ];
2929 platforms = [ "i686-linux" "x86_64-linux" ];
3030 };
pkgs/misc/emulators/pcsx2/default.nix+1−1
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
6161 states and PS2 system memory. This allows you to play PS2 games on your
6262 PC, with many additional features and benefits.
6363 '';
64− homepage = http://pcsx2.net;
64+ homepage = https://pcsx2.net;
6565 maintainers = with maintainers; [ hrdinka ];
6666
6767 # PCSX2's source code is released under LGPLv3+. It However ships
pkgs/misc/screensavers/electricsheep/default.nix+1−1
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
3636
3737 meta = with stdenv.lib; {
3838 description = "Electric Sheep, a distributed screen saver for evolving artificial organisms";
39− homepage = http://electricsheep.org/;
39+ homepage = https://electricsheep.org/;
4040 maintainers = with maintainers; [ nand0p fpletz ];
4141 platforms = platforms.linux;
4242 license = licenses.gpl1;
pkgs/os-specific/linux/dmraid/default.nix+6
@@ -16,6 +16,12 @@ stdenv.mkDerivation rec {
1616 stripLen = 2;
1717 extraPrefix = "1.0.0.rc16/";
1818 })
19+ (fetchpatch {
20+ url = "https://raw.githubusercontent.com/void-linux/void-packages/fceed4b8e96b3c1da07babf6f67b6ed1588a28b2/srcpkgs/dmraid/patches/007-fix-loff_t-musl.patch";
21+ sha256 = "0msnq39qnzg3b1pdksnz1dgqwa3ak03g41pqh0lw3h7w5rjc016k";
22+ stripLen = 2;
23+ extraPrefix = "1.0.0.rc16/";
24+ })
1925 ];
2026
2127 postPatch = ''
pkgs/os-specific/linux/odp-dpdk/default.nix+1−1
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
2626
2727 meta = with stdenv.lib; {
2828 description = "Open Data Plane optimized for DPDK";
29− homepage = http://www.opendataplane.org;
29+ homepage = https://www.opendataplane.org;
3030 license = licenses.bsd3;
3131 platforms = [ "x86_64-linux" ];
3232 maintainers = [ maintainers.abuibrahim ];
pkgs/servers/home-assistant/component-packages.nix+49−5
@@ -2,7 +2,7 @@
22# Do not edit!
33
44{
5− version = "0.69.1";
5+ version = "0.72.0";
66 components = {
77 "abode" = ps: with ps; [ ];
88 "ads" = ps: with ps; [ ];
@@ -91,11 +91,14 @@
9191 "binary_sensor.hikvision" = ps: with ps; [ ];
9292 "binary_sensor.hive" = ps: with ps; [ ];
9393 "binary_sensor.homematic" = ps: with ps; [ pyhomematic ];
94+ "binary_sensor.homematicip_cloud" = ps: with ps; [ ];
95+ "binary_sensor.hydrawise" = ps: with ps; [ ];
9496 "binary_sensor.ihc" = ps: with ps; [ ];
9597 "binary_sensor.insteon_plm" = ps: with ps; [ ];
9698 "binary_sensor.iss" = ps: with ps; [ ];
9799 "binary_sensor.isy994" = ps: with ps; [ ];
98100 "binary_sensor.knx" = ps: with ps; [ ];
101+ "binary_sensor.konnected" = ps: with ps; [ aiohttp-cors netdisco ];
99102 "binary_sensor.linode" = ps: with ps; [ linode-api ];
100103 "binary_sensor.maxcube" = ps: with ps; [ ];
101104 "binary_sensor.modbus" = ps: with ps; [ ];
@@ -111,6 +114,7 @@
111114 "binary_sensor.ping" = ps: with ps; [ ];
112115 "binary_sensor.qwikswitch" = ps: with ps; [ ];
113116 "binary_sensor.raincloud" = ps: with ps; [ ];
117+ "binary_sensor.rainmachine" = ps: with ps; [ ];
114118 "binary_sensor.random" = ps: with ps; [ ];
115119 "binary_sensor.raspihats" = ps: with ps; [ ];
116120 "binary_sensor.rest" = ps: with ps; [ ];
@@ -130,6 +134,7 @@
130134 "binary_sensor.threshold" = ps: with ps; [ ];
131135 "binary_sensor.trend" = ps: with ps; [ numpy ];
132136 "binary_sensor.upcloud" = ps: with ps; [ ];
137+ "binary_sensor.uptimerobot" = ps: with ps; [ ];
133138 "binary_sensor.velbus" = ps: with ps; [ ];
134139 "binary_sensor.vera" = ps: with ps; [ ];
135140 "binary_sensor.verisure" = ps: with ps; [ ];
@@ -137,6 +142,7 @@
137142 "binary_sensor.vultr" = ps: with ps; [ vultr ];
138143 "binary_sensor.wemo" = ps: with ps; [ ];
139144 "binary_sensor.wink" = ps: with ps; [ ];
145+ "binary_sensor.wirelesstag" = ps: with ps; [ ];
140146 "binary_sensor.workday" = ps: with ps; [ ];
141147 "binary_sensor.xiaomi_aqara" = ps: with ps; [ ];
142148 "binary_sensor.zha" = ps: with ps; [ ];
@@ -146,7 +152,7 @@
146152 "bloomsky" = ps: with ps; [ ];
147153 "bmw_connected_drive" = ps: with ps; [ ];
148154 "browser" = ps: with ps; [ ];
149− "calendar" = ps: with ps; [ ];
155+ "calendar" = ps: with ps; [ aiohttp-cors ];
150156 "calendar.caldav" = ps: with ps; [ ];
151157 "calendar.demo" = ps: with ps; [ ];
152158 "calendar.google" = ps: with ps; [ ];
@@ -162,6 +168,7 @@
162168 "camera.canary" = ps: with ps; [ ha-ffmpeg ];
163169 "camera.demo" = ps: with ps; [ ];
164170 "camera.doorbird" = ps: with ps; [ ];
171+ "camera.familyhub" = ps: with ps; [ ];
165172 "camera.ffmpeg" = ps: with ps; [ ha-ffmpeg ];
166173 "camera.foscam" = ps: with ps; [ ];
167174 "camera.generic" = ps: with ps; [ ];
@@ -181,9 +188,11 @@
181188 "camera.uvc" = ps: with ps; [ ];
182189 "camera.verisure" = ps: with ps; [ ];
183190 "camera.xeoma" = ps: with ps; [ ];
191+ "camera.xiaomi" = ps: with ps; [ ha-ffmpeg ];
184192 "camera.yi" = ps: with ps; [ ha-ffmpeg ];
185193 "camera.zoneminder" = ps: with ps; [ ];
186194 "canary" = ps: with ps; [ ];
195+ "cast" = ps: with ps; [ PyChromecast ];
187196 "climate" = ps: with ps; [ ];
188197 "climate.daikin" = ps: with ps; [ ];
189198 "climate.demo" = ps: with ps; [ ];
@@ -197,6 +206,7 @@
197206 "climate.heatmiser" = ps: with ps; [ ];
198207 "climate.hive" = ps: with ps; [ ];
199208 "climate.homematic" = ps: with ps; [ pyhomematic ];
209+ "climate.homematicip_cloud" = ps: with ps; [ ];
200210 "climate.honeywell" = ps: with ps; [ ];
201211 "climate.knx" = ps: with ps; [ ];
202212 "climate.maxcube" = ps: with ps; [ ];
@@ -218,6 +228,7 @@
218228 "climate.venstar" = ps: with ps; [ ];
219229 "climate.vera" = ps: with ps; [ ];
220230 "climate.wink" = ps: with ps; [ ];
231+ "climate.zhong_hong" = ps: with ps; [ ];
221232 "climate.zwave" = ps: with ps; [ ];
222233 "cloud" = ps: with ps; [ aiohttp-cors warrant ];
223234 "cloud.auth_api" = ps: with ps; [ ];
@@ -231,7 +242,7 @@
231242 "config.config_entries" = ps: with ps; [ voluptuous-serialize ];
232243 "config.core" = ps: with ps; [ ];
233244 "config.customize" = ps: with ps; [ ];
234− "config.entity_registry" = ps: with ps; [ ];
245+ "config.entity_registry" = ps: with ps; [ aiohttp-cors ];
235246 "config.group" = ps: with ps; [ ];
236247 "config.hassbian" = ps: with ps; [ ];
237248 "config.script" = ps: with ps; [ ];
@@ -258,6 +269,7 @@
258269 "cover.rflink" = ps: with ps; [ ];
259270 "cover.rfxtrx" = ps: with ps; [ ];
260271 "cover.rpi_gpio" = ps: with ps; [ ];
272+ "cover.ryobi_gdo" = ps: with ps; [ ];
261273 "cover.scsgate" = ps: with ps; [ ];
262274 "cover.tahoma" = ps: with ps; [ ];
263275 "cover.tellduslive" = ps: with ps; [ ];
@@ -288,6 +300,7 @@
288300 "device_tracker.cisco_ios" = ps: with ps; [ pexpect ];
289301 "device_tracker.ddwrt" = ps: with ps; [ ];
290302 "device_tracker.demo" = ps: with ps; [ ];
303+ "device_tracker.freebox" = ps: with ps; [ ];
291304 "device_tracker.fritz" = ps: with ps; [ fritzconnection ];
292305 "device_tracker.geofency" = ps: with ps; [ aiohttp-cors ];
293306 "device_tracker.google_maps" = ps: with ps; [ ];
@@ -407,6 +420,7 @@
407420 "hue.config_flow" = ps: with ps; [ ];
408421 "hue.const" = ps: with ps; [ ];
409422 "hue.errors" = ps: with ps; [ ];
423+ "hydrawise" = ps: with ps; [ ];
410424 "ifttt" = ps: with ps; [ ];
411425 "ihc" = ps: with ps; [ ];
412426 "ihc.const" = ps: with ps; [ ];
@@ -415,6 +429,7 @@
415429 "image_processing.demo" = ps: with ps; [ ];
416430 "image_processing.dlib_face_detect" = ps: with ps; [ face_recognition ];
417431 "image_processing.dlib_face_identify" = ps: with ps; [ face_recognition ];
432+ "image_processing.facebox" = ps: with ps; [ ];
418433 "image_processing.microsoft_face_detect" = ps: with ps; [ aiohttp-cors ];
419434 "image_processing.microsoft_face_identify" = ps: with ps; [ aiohttp-cors ];
420435 "image_processing.openalpr_cloud" = ps: with ps; [ ];
@@ -440,6 +455,7 @@
440455 "keyboard_remote" = ps: with ps; [ evdev ];
441456 "kira" = ps: with ps; [ ];
442457 "knx" = ps: with ps; [ ];
458+ "konnected" = ps: with ps; [ aiohttp-cors netdisco ];
443459 "lametric" = ps: with ps; [ ];
444460 "light" = ps: with ps; [ ];
445461 "light.abode" = ps: with ps; [ ];
@@ -459,6 +475,7 @@
459475 "light.hive" = ps: with ps; [ ];
460476 "light.homekit_controller" = ps: with ps; [ ];
461477 "light.homematic" = ps: with ps; [ pyhomematic ];
478+ "light.homematicip_cloud" = ps: with ps; [ ];
462479 "light.hue" = ps: with ps; [ aiohue ];
463480 "light.hyperion" = ps: with ps; [ ];
464481 "light.iglo" = ps: with ps; [ ];
@@ -473,6 +490,7 @@
473490 "light.litejet" = ps: with ps; [ ];
474491 "light.lutron" = ps: with ps; [ ];
475492 "light.lutron_caseta" = ps: with ps; [ ];
493+ "light.lw12wifi" = ps: with ps; [ ];
476494 "light.mochad" = ps: with ps; [ ];
477495 "light.mqtt" = ps: with ps; [ paho-mqtt ];
478496 "light.mqtt_json" = ps: with ps; [ paho-mqtt ];
@@ -518,6 +536,7 @@
518536 "lock.demo" = ps: with ps; [ ];
519537 "lock.homematic" = ps: with ps; [ pyhomematic ];
520538 "lock.isy994" = ps: with ps; [ ];
539+ "lock.kiwi" = ps: with ps; [ ];
521540 "lock.lockitron" = ps: with ps; [ ];
522541 "lock.mqtt" = ps: with ps; [ paho-mqtt ];
523542 "lock.nello" = ps: with ps; [ ];
@@ -528,6 +547,7 @@
528547 "lock.verisure" = ps: with ps; [ ];
529548 "lock.volvooncall" = ps: with ps; [ ];
530549 "lock.wink" = ps: with ps; [ ];
550+ "lock.xiaomi_aqara" = ps: with ps; [ ];
531551 "lock.zwave" = ps: with ps; [ ];
532552 "logbook" = ps: with ps; [ aiohttp-cors sqlalchemy ];
533553 "logentries" = ps: with ps; [ ];
@@ -559,11 +579,13 @@
559579 "media_player.directv" = ps: with ps; [ ];
560580 "media_player.dunehd" = ps: with ps; [ ];
561581 "media_player.emby" = ps: with ps; [ ];
582+ "media_player.epson" = ps: with ps; [ ];
562583 "media_player.firetv" = ps: with ps; [ ];
563584 "media_player.frontier_silicon" = ps: with ps; [ ];
564585 "media_player.gpmdp" = ps: with ps; [ websocket_client ];
565586 "media_player.gstreamer" = ps: with ps; [ ];
566587 "media_player.hdmi_cec" = ps: with ps; [ ];
588+ "media_player.horizon" = ps: with ps; [ ];
567589 "media_player.itunes" = ps: with ps; [ ];
568590 "media_player.kodi" = ps: with ps; [ jsonrpc-async jsonrpc-websocket ];
569591 "media_player.lg_netcast" = ps: with ps; [ ];
@@ -589,7 +611,7 @@
589611 "media_player.songpal" = ps: with ps; [ ];
590612 "media_player.sonos" = ps: with ps; [ ];
591613 "media_player.soundtouch" = ps: with ps; [ libsoundtouch ];
592− "media_player.spotify" = ps: with ps; [ aiohttp-cors spotipy ];
614+ "media_player.spotify" = ps: with ps; [ aiohttp-cors ];
593615 "media_player.squeezebox" = ps: with ps; [ ];
594616 "media_player.ue_smart_radio" = ps: with ps; [ ];
595617 "media_player.universal" = ps: with ps; [ ];
@@ -616,7 +638,11 @@
616638 "namecheapdns" = ps: with ps; [ ];
617639 "neato" = ps: with ps; [ ];
618640 "nest" = ps: with ps; [ ];
641+ "nest.config_flow" = ps: with ps; [ ];
642+ "nest.const" = ps: with ps; [ ];
643+ "nest.local_auth" = ps: with ps; [ ];
619644 "netatmo" = ps: with ps; [ ];
645+ "netgear_lte" = ps: with ps; [ ];
620646 "no_ip" = ps: with ps; [ ];
621647 "notify" = ps: with ps; [ ];
622648 "notify.apns" = ps: with ps; [ ];
@@ -633,6 +659,7 @@
633659 "notify.ecobee" = ps: with ps; [ ];
634660 "notify.facebook" = ps: with ps; [ ];
635661 "notify.file" = ps: with ps; [ ];
662+ "notify.flock" = ps: with ps; [ ];
636663 "notify.free_mobile" = ps: with ps; [ ];
637664 "notify.gntp" = ps: with ps; [ ];
638665 "notify.group" = ps: with ps; [ ];
@@ -652,8 +679,8 @@
652679 "notify.message_bird" = ps: with ps; [ ];
653680 "notify.mycroft" = ps: with ps; [ ];
654681 "notify.mysensors" = ps: with ps; [ ];
682+ "notify.netgear_lte" = ps: with ps; [ ];
655683 "notify.nfandroidtv" = ps: with ps; [ ];
656− "notify.nma" = ps: with ps; [ ];
657684 "notify.prowl" = ps: with ps; [ ];
658685 "notify.pushbullet" = ps: with ps; [ pushbullet ];
659686 "notify.pushetta" = ps: with ps; [ ];
@@ -712,6 +739,7 @@
712739 "rpi_gpio" = ps: with ps; [ ];
713740 "rpi_pfio" = ps: with ps; [ ];
714741 "rss_feed_template" = ps: with ps; [ aiohttp-cors ];
742+ "sabnzbd" = ps: with ps; [ ];
715743 "satel_integra" = ps: with ps; [ ];
716744 "scene" = ps: with ps; [ ];
717745 "scene.deconz" = ps: with ps; [ ];
@@ -799,6 +827,7 @@
799827 "sensor.file" = ps: with ps; [ ];
800828 "sensor.filesize" = ps: with ps; [ ];
801829 "sensor.filter" = ps: with ps; [ ];
830+ "sensor.fints" = ps: with ps; [ ];
802831 "sensor.fitbit" = ps: with ps; [ aiohttp-cors ];
803832 "sensor.fixer" = ps: with ps; [ ];
804833 "sensor.folder" = ps: with ps; [ ];
@@ -822,6 +851,7 @@
822851 "sensor.homematicip_cloud" = ps: with ps; [ ];
823852 "sensor.hp_ilo" = ps: with ps; [ ];
824853 "sensor.htu21d" = ps: with ps; [ ];
854+ "sensor.hydrawise" = ps: with ps; [ ];
825855 "sensor.hydroquebec" = ps: with ps; [ ];
826856 "sensor.ihc" = ps: with ps; [ ];
827857 "sensor.imap" = ps: with ps; [ aioimaplib ];
@@ -830,6 +860,7 @@
830860 "sensor.insteon_plm" = ps: with ps; [ ];
831861 "sensor.ios" = ps: with ps; [ aiohttp-cors zeroconf ];
832862 "sensor.iota" = ps: with ps; [ ];
863+ "sensor.iperf3" = ps: with ps; [ ];
833864 "sensor.irish_rail_transport" = ps: with ps; [ ];
834865 "sensor.isy994" = ps: with ps; [ ];
835866 "sensor.juicenet" = ps: with ps; [ ];
@@ -865,7 +896,9 @@
865896 "sensor.nest" = ps: with ps; [ ];
866897 "sensor.netatmo" = ps: with ps; [ ];
867898 "sensor.netdata" = ps: with ps; [ ];
899+ "sensor.netgear_lte" = ps: with ps; [ ];
868900 "sensor.neurio_energy" = ps: with ps; [ ];
901+ "sensor.nsw_fuel_station" = ps: with ps; [ ];
869902 "sensor.nut" = ps: with ps; [ ];
870903 "sensor.nzbget" = ps: with ps; [ ];
871904 "sensor.octoprint" = ps: with ps; [ ];
@@ -891,6 +924,7 @@
891924 "sensor.radarr" = ps: with ps; [ ];
892925 "sensor.rainbird" = ps: with ps; [ ];
893926 "sensor.raincloud" = ps: with ps; [ ];
927+ "sensor.rainmachine" = ps: with ps; [ ];
894928 "sensor.random" = ps: with ps; [ ];
895929 "sensor.rest" = ps: with ps; [ ];
896930 "sensor.rflink" = ps: with ps; [ ];
@@ -971,6 +1005,7 @@
9711005 "sensor.waze_travel_time" = ps: with ps; [ ];
9721006 "sensor.whois" = ps: with ps; [ ];
9731007 "sensor.wink" = ps: with ps; [ ];
1008+ "sensor.wirelesstag" = ps: with ps; [ ];
9741009 "sensor.worldclock" = ps: with ps; [ ];
9751010 "sensor.worldtidesinfo" = ps: with ps; [ ];
9761011 "sensor.worxlandroid" = ps: with ps; [ ];
@@ -996,6 +1031,8 @@
9961031 "sleepiq" = ps: with ps; [ ];
9971032 "smappee" = ps: with ps; [ ];
9981033 "snips" = ps: with ps; [ paho-mqtt ];
1034+ "sonos" = ps: with ps; [ ];
1035+ "spaceapi" = ps: with ps; [ aiohttp-cors ];
9991036 "spc" = ps: with ps; [ websockets ];
10001037 "splunk" = ps: with ps; [ ];
10011038 "statsd" = ps: with ps; [ statsd ];
@@ -1030,13 +1067,16 @@
10301067 "switch.hive" = ps: with ps; [ ];
10311068 "switch.homekit_controller" = ps: with ps; [ ];
10321069 "switch.homematic" = ps: with ps; [ pyhomematic ];
1070+ "switch.homematicip_cloud" = ps: with ps; [ ];
10331071 "switch.hook" = ps: with ps; [ ];
1072+ "switch.hydrawise" = ps: with ps; [ ];
10341073 "switch.ihc" = ps: with ps; [ ];
10351074 "switch.insteon_local" = ps: with ps; [ ];
10361075 "switch.insteon_plm" = ps: with ps; [ ];
10371076 "switch.isy994" = ps: with ps; [ ];
10381077 "switch.kankun" = ps: with ps; [ ];
10391078 "switch.knx" = ps: with ps; [ ];
1079+ "switch.konnected" = ps: with ps; [ aiohttp-cors netdisco ];
10401080 "switch.linode" = ps: with ps; [ linode-api ];
10411081 "switch.litejet" = ps: with ps; [ ];
10421082 "switch.lutron_caseta" = ps: with ps; [ ];
@@ -1087,6 +1127,7 @@
10871127 "switch.wake_on_lan" = ps: with ps; [ wakeonlan ];
10881128 "switch.wemo" = ps: with ps; [ ];
10891129 "switch.wink" = ps: with ps; [ ];
1130+ "switch.wirelesstag" = ps: with ps; [ ];
10901131 "switch.xiaomi_aqara" = ps: with ps; [ ];
10911132 "switch.xiaomi_miio" = ps: with ps; [ construct ];
10921133 "switch.zha" = ps: with ps; [ ];
@@ -1138,12 +1179,14 @@
11381179 "vultr" = ps: with ps; [ vultr ];
11391180 "wake_on_lan" = ps: with ps; [ wakeonlan ];
11401181 "waterfurnace" = ps: with ps; [ ];
1182+ "watson_iot" = ps: with ps; [ ];
11411183 "weather" = ps: with ps; [ ];
11421184 "weather.bom" = ps: with ps; [ ];
11431185 "weather.buienradar" = ps: with ps; [ ];
11441186 "weather.darksky" = ps: with ps; [ ];
11451187 "weather.demo" = ps: with ps; [ ];
11461188 "weather.ecobee" = ps: with ps; [ ];
1189+ "weather.ipma" = ps: with ps; [ ];
11471190 "weather.metoffice" = ps: with ps; [ ];
11481191 "weather.openweathermap" = ps: with ps; [ pyowm ];
11491192 "weather.yweather" = ps: with ps; [ yahooweather ];
@@ -1152,6 +1195,7 @@
11521195 "websocket_api" = ps: with ps; [ aiohttp-cors ];
11531196 "wemo" = ps: with ps; [ ];
11541197 "wink" = ps: with ps; [ ];
1198+ "wirelesstag" = ps: with ps; [ ];
11551199 "xiaomi_aqara" = ps: with ps; [ ];
11561200 "zabbix" = ps: with ps; [ ];
11571201 "zeroconf" = ps: with ps; [ aiohttp-cors zeroconf ];
pkgs/servers/home-assistant/default.nix+16−16
@@ -7,18 +7,25 @@ let
77
88 py = python3.override {
99 packageOverrides = self: super: {
10− aiohttp = super.aiohttp.overridePythonAttrs (oldAttrs: rec {
11− version = "3.1.3";
10+ requests = super.requests.overridePythonAttrs (oldAttrs: rec {
11+ version = "2.18.4";
1212 src = oldAttrs.src.override {
1313 inherit version;
14− sha256 = "9fcef0489e3335b200d31a9c1fb6ba80fdafe14cd82b971168c2f9fa1e4508ad";
14+ sha256 = "0zi3v9nsmv9j27d0c0m1dvqyvaxz53g8m0aa1h3qanxs4irkwi4w";
1515 };
1616 });
17− pytest = super.pytest.overridePythonAttrs (oldAttrs: rec {
18− version = "3.4.2";
17+ urllib3 = super.urllib3.overridePythonAttrs (oldAttrs: rec {
18+ version = "1.22";
1919 src = oldAttrs.src.override {
2020 inherit version;
21− sha256 = "117bad36c1a787e1a8a659df35de53ba05f9f3398fb9e4ac17e80ad5903eb8c5";
21+ sha256 = "0kyvc9zdlxr5r96bng5rhm9a6sfqidrbvvkz64s76qs5267dli6c";
22+ };
23+ });
24+ idna = super.idna.overridePythonAttrs (oldAttrs: rec {
25+ version = "2.6";
26+ src = oldAttrs.src.override {
27+ inherit version;
28+ sha256 = "13qaab6d0s15gknz8v3zbcfmbj6v86hn9pjxgkdf62ch13imssic";
2229 };
2330 });
2431 voluptuous = super.voluptuous.overridePythonAttrs (oldAttrs: rec {
@@ -42,13 +49,6 @@ let
4249 sha256 = "ab0c08f2467d35fcaeb7bad15274743d3ac1ad18b5391f64a0058a9cd192d37d";
4350 };
4451 });
45− async-timeout = super.async-timeout.overridePythonAttrs (oldAttrs: rec {
46− version = "2.0.1";
47− src = oldAttrs.src.override {
48− inherit version;
49− sha256 = "00cff4d2dce744607335cba84e9929c3165632da2d27970dbc55802a0c7873d0";
50− };
51− });
5252 # used by check_config script
5353 # can be unpinned once https://github.com/home-assistant/home-assistant/issues/11917 is resolved
5454 colorlog = super.colorlog.overridePythonAttrs (oldAttrs: rec {
@@ -74,7 +74,7 @@ let
7474 extraBuildInputs = extraPackages py.pkgs;
7575
7676 # Don't forget to run parse-requirements.py after updating
77− hassVersion = "0.69.1";
77+ hassVersion = "0.72.0";
7878
7979in with py.pkgs; buildPythonApplication rec {
8080 pname = "homeassistant";
@@ -89,7 +89,7 @@ in with py.pkgs; buildPythonApplication rec {
8989 owner = "home-assistant";
9090 repo = "home-assistant";
9191 rev = version;
92− sha256 = "1y74zq1nah9k6rif8k384ri11h1f23ggr613f7qnn0107b23asr4";
92+ sha256 = "1jz16ikxdh8bkscjs5pczvjqbfllz8avs11gkw8a97c2lds8la76";
9393 };
9494
9595 propagatedBuildInputs = [
@@ -109,7 +109,7 @@ in with py.pkgs; buildPythonApplication rec {
109109 # Some basic components should be tested however
110110 py.test \
111111 tests/components/{group,http} \
112− tests/components/test_{api,configurator,demo,discovery,frontend,init,introduction,logger,script,shell_command,system_log,websocket_api}.py
112+ tests/components/test_{api,configurator,demo,discovery,init,introduction,logger,script,shell_command,system_log,websocket_api}.py
113113 '';
114114
115115 makeWrapperArgs = lib.optional skipPip "--add-flags --skip-pip";
pkgs/servers/home-assistant/frontend.nix+2−2
@@ -2,11 +2,11 @@
22
33buildPythonPackage rec {
44 pname = "home-assistant-frontend";
5− version = "20180607.0";
5+ version = "20180622.1";
66
77 src = fetchPypi {
88 inherit pname version;
9− sha256 = "22ac0b7615c9c7e6700db250079d8a1041c8d40788375402701adaace8b21889";
9+ sha256 = "1kzz1cmnpmsnrbc9amjcg8rb4a544xx2mpq4g23si6rk46b7n0x7";
1010 };
1111
1212 propagatedBuildInputs = [ user-agents ];
pkgs/servers/irc/ngircd/default.nix+1−1
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
2121
2222 meta = {
2323 description = "Next Generation IRC Daemon";
24− homepage = http://ngircd.barton.de;
24+ homepage = https://ngircd.barton.de;
2525 license = stdenv.lib.licenses.gpl2;
2626 platforms = stdenv.lib.platforms.all;
2727 };
pkgs/servers/sql/mariadb/default.nix+5−2
@@ -25,7 +25,10 @@ common = rec { # attributes common to both builds
2525 version = "10.2.15";
2626
2727 src = fetchurl {
28− url = "https://downloads.mariadb.org/f/mariadb-${version}/source/mariadb-${version}.tar.gz";
28+ urls = [
29+ "https://downloads.mariadb.org/f/mariadb-${version}/source/mariadb-${version}.tar.gz"
30+ "https://downloads.mariadb.com/MariaDB/mariadb-${version}/source/mariadb-${version}.tar.gz"
31+ ];
2932 sha256 = "04ds6vkb7k2lqpcdz663z4ll1jx1zz2hqxz5nj7gs8pwb18j1pik";
3033 name = "mariadb-${version}.tar.gz";
3134 };
@@ -180,7 +183,7 @@ connector-c = stdenv.mkDerivation rec {
180183 version = "2.3.6";
181184
182185 src = fetchurl {
183− url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve";
186+ url = "https://downloads.mariadb.org/interstitial/connector-c-${version}/mariadb-connector-c-${version}-src.tar.gz/from/http%3A//nyc2.mirrors.digitalocean.com/mariadb/";
184187 sha256 = "15iy5iqp0njbwbn086x2dq8qnbkaci7ydvi84cf5z8fxvljis9vb";
185188 name = "mariadb-connector-c-${version}-src.tar.gz";
186189 };
pkgs/tools/X11/keynav/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131
3232 meta = with stdenv.lib; {
3333 description = "Generate X11 mouse clicks from keyboard";
34− homepage = http://www.semicomplete.com/projects/keynav/;
34+ homepage = https://www.semicomplete.com/projects/keynav/;
3535 license = licenses.bsd3;
3636 maintainers = with maintainers; [ pSub ];
3737 platforms = platforms.linux;
pkgs/tools/backup/partclone/default.nix+1−1
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
4242 using existing libraries, e.g. e2fslibs is used to read and write the
4343 ext2 partition.
4444 '';
45− homepage = http://partclone.org;
45+ homepage = https://partclone.org;
4646 license = stdenv.lib.licenses.gpl2;
4747 maintainers = [stdenv.lib.maintainers.marcweber];
4848 platforms = stdenv.lib.platforms.linux;
pkgs/tools/backup/restic/default.nix+2−2
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "restic-${version}";
5− version = "0.9.0";
5+ version = "0.9.1";
66
77 goPackagePath = "github.com/restic/restic";
88
@@ -10,7 +10,7 @@ buildGoPackage rec {
1010 owner = "restic";
1111 repo = "restic";
1212 rev = "v${version}";
13− sha256 = "09520ggr98w7nn6kl3yx0nrx4f79q4vhg4q1hiv2nlwxd0jz1p6y";
13+ sha256 = "116dc86fjmflmk0n2nywvv2f6z1jig3czqxz0cx0z77n8rmj9npv";
1414 };
1515
1616 buildPhase = ''
pkgs/tools/misc/debootstrap/default.nix+2−2
@@ -4,13 +4,13 @@
44# There is also cdebootstrap now. Is that easier to maintain?
55stdenv.mkDerivation rec {
66 name = "debootstrap-${version}";
7− version = "1.0.102";
7+ version = "1.0.103";
88
99 src = fetchurl {
1010 # git clone git://git.debian.org/d-i/debootstrap.git
1111 # I'd like to use the source. However it's lacking the lanny script ? (still true?)
1212 url = "mirror://debian/pool/main/d/debootstrap/debootstrap_${version}.tar.gz";
13− sha256 = "1i8fnxyf073dqywcvj6n32k1crzl7bwlmn373n5342pz71rmqrq9";
13+ sha256 = "07qqbm50ji1j04hgv1fmy7y1jwl4rjh8q57znh9g3rr4j6fmax7q";
1414 };
1515
1616 buildInputs = [ dpkg gettext gawk perl ];
pkgs/tools/misc/ostree/default.nix+47−23
@@ -1,40 +1,56 @@
1−{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-doc, gobjectIntrospection
2−, libgsystem, xz, e2fsprogs, libsoup, gpgme, which, autoconf, automake, libtool, fuse
3−, libarchive, libcap, bzip2, yacc, libxslt, docbook_xsl, docbook_xml_dtd_42
1+{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, gtk-doc, gobjectIntrospection, gnome3
2+, glib, systemd, xz, e2fsprogs, libsoup, gpgme, which, autoconf, automake, libtool, fuse, utillinuxMinimal, libselinux
3+, libarchive, libcap, bzip2, yacc, libxslt, docbook_xsl, docbook_xml_dtd_42, python3
44}:
55
66let
7+ version = "2018.6";
8+
79 libglnx-src = fetchFromGitHub {
8− owner = "GNOME";
9− repo = "libglnx";
10− rev = "0c82203cd459a35cc3f471e3205355e9fb79160f";
11− sha256 = "0xbrv7q6b2ygrbr0yr7p01zpryw45643qfwnlw0z2yv515qs7isc";
10+ owner = "GNOME";
11+ repo = "libglnx";
12+ rev = "e1a78cf2f5351d5394ccfb79f3f5a7b4917f73f3";
13+ sha256 = "10kzyjbrmr98i65hlz8jc1v5bijyqwwfp6qqjbd5g3y0n520iaxc";
1214 };
1315
1416 bsdiff-src = fetchFromGitHub {
15− owner = "mendsley";
16− repo = "bsdiff";
17− rev = "1edf9f656850c0c64dae260960fabd8249ea9c60";
17+ owner = "mendsley";
18+ repo = "bsdiff";
19+ rev = "1edf9f656850c0c64dae260960fabd8249ea9c60";
1820 sha256 = "1h71d2h2d3anp4msvpaff445rnzdxii3id2yglqk7af9i43kdsn1";
1921 };
20−
21− version = "2018.4";
2222in stdenv.mkDerivation {
2323 name = "ostree-${version}";
2424
25+ outputs = [ "out" "dev" "man" "installedTests" ];
26+
2527 src = fetchFromGitHub {
26− rev = "v${version}";
27− owner = "ostreedev";
28− repo = "ostree";
29− sha256 = "00jgj6vcjpz1akfbmf82q1bcs3njrmvdgy4c2gnn24vkmh9yr0lr";
28+ rev = "v${version}";
29+ owner = "ostreedev";
30+ repo = "ostree";
31+ sha256 = "0kk04pznk6m6fqdz609m2zcnkalcw9q8fsx8wm42k6dhf6cw7l3g";
3032 };
3133
34+ patches = [
35+ # Tests access the helper using relative path
36+ # https://github.com/ostreedev/ostree/issues/1593
37+ (fetchpatch {
38+ url = https://github.com/ostreedev/ostree/pull/1633.patch;
39+ sha256 = "07xiw1dr7j4yw3w92qhw37f9crlglibflcqj2kf0v5gfrl9i6g4j";
40+ })
41+ ];
42+
3243 nativeBuildInputs = [
3344 autoconf automake libtool pkgconfig gtk-doc gobjectIntrospection which yacc
3445 libxslt docbook_xsl docbook_xml_dtd_42
3546 ];
3647
37− buildInputs = [ libgsystem xz e2fsprogs libsoup gpgme fuse libarchive libcap bzip2 ];
48+ buildInputs = [
49+ glib systemd e2fsprogs libsoup gpgme fuse libselinux libcap
50+ libarchive bzip2 xz
51+ utillinuxMinimal # for libmount
52+ (python3.withPackages (p: with p; [ pyyaml ])) gnome3.gjs # for tests
53+ ];
3854
3955 prePatch = ''
4056 rmdir libglnx bsdiff
@@ -44,16 +60,24 @@ in stdenv.mkDerivation {
4460
4561 preConfigure = ''
4662 env NOCONFIGURE=1 ./autogen.sh
47−
48− configureFlags+="--with-systemdsystemunitdir=$out/lib/systemd/system"
4963 '';
5064
65+ configureFlags = [
66+ "--with-systemdsystemunitdir=$(out)/lib/systemd/system"
67+ "--with-systemdsystemgeneratordir=$(out)/lib/systemd/system-generators"
68+ "--enable-installed-tests"
69+ ];
70+
71+ makeFlags = [
72+ "installed_testdir=$(installedTests)/libexec/installed-tests/libostree"
73+ "installed_test_metadir=$(installedTests)/share/installed-tests/libostree"
74+ ];
75+
5176 meta = with stdenv.lib; {
5277 description = "Git for operating system binaries";
53− homepage = https://ostree.readthedocs.io/en/latest/;
54− license = licenses.lgpl2Plus;
55− platforms = platforms.linux;
78+ homepage = https://ostree.readthedocs.io/en/latest/;
79+ license = licenses.lgpl2Plus;
80+ platforms = platforms.linux;
5681 maintainers = with maintainers; [ copumpkin ];
5782 };
5883}
59−
pkgs/tools/misc/rpm-ostree/default.nix+43−29
@@ -1,40 +1,57 @@
1−{ stdenv, fetchFromGitHub, ostree, rpm, which, autoconf, automake, libtool, pkgconfig,
2− libcap, glib, libgsystem, json-glib, libarchive, libsolv, librepo, gtk-doc, elfutils,
3− gperf, cmake, pcre, check, python, libxslt, docbook_xsl, docbook_xml_dtd_42, acl }:
1+{ stdenv, fetchpatch, fetchFromGitHub, ostree, rpm, which, autoconf, automake, libtool, pkgconfig,
2+ gobjectIntrospection, gtk-doc, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_42, gperf, cmake,
3+ libcap, glib, systemd, json-glib, libarchive, libsolv, librepo, polkit,
4+ bubblewrap, pcre, check, python }:
45
56let
67 libglnx-src = fetchFromGitHub {
7− owner = "GNOME";
8− repo = "libglnx";
9− rev = "4ae5e3beaaa674abfabf7404ab6fafcc4ec547db";
10− sha256 = "1npb9zbyb4bl0nxqf0pcqankcwzs3k1x8i2wkdwhgak4qcvxvfqn";
8+ owner = "GNOME";
9+ repo = "libglnx";
10+ rev = "97b5c08d2f93dc93ba296a84bbd2a5ab9bd8fc97";
11+ sha256 = "0cz4x63f6ys7dln54g6mrr7hksvqwz78wdc8qb7zr1h2cp1azcvs";
1112 };
1213
1314 libdnf-src = fetchFromGitHub {
14− owner = "rpm-software-management";
15− repo = "libhif";
16− rev = "b69552b3b3a42fd41698a925d5f5f623667bac63";
17− sha256 = "0h6k09rb4imzbmsn7mspwl0js2awqdpb4ysdqq550vw2nr0dzszr";
15+ owner = "rpm-software-management";
16+ repo = "libdnf";
17+ rev = "b3fcc53f6f3baf4f51f836f5e1eb54eb82d5df49";
18+ sha256 = "15nl9x4blyc9922rvz7iq56yy8hxhpsf31cs3ag7aypqpfx3czci";
1819 };
1920
20− version = "2016.10";
21+ version = "2018.5";
2122in stdenv.mkDerivation {
2223 name = "rpm-ostree-${version}";
2324
25+ outputs = [ "out" "dev" "man" "devdoc" ];
26+
2427 src = fetchFromGitHub {
25− rev = "v${version}";
26− owner = "projectatomic";
27− repo = "rpm-ostree";
28− sha256 = "0a0wwklzk1kvk3bbxxfvxgk4ck5dn7a7v32shqidb674fr2d5pvb";
28+ rev = "v${version}";
29+ owner = "projectatomic";
30+ repo = "rpm-ostree";
31+ sha256 = "0y37hr8mmrsww4ka2hlqmz7wp57ibzhah4j87yg8q8dks5hxcbsx";
2932 };
3033
31− nativeBuildInputs = [ pkgconfig ];
34+ nativeBuildInputs = [
35+ pkgconfig which autoconf automake libtool cmake gperf
36+ gobjectIntrospection gtk-doc libxml2 libxslt docbook_xsl docbook_xml_dtd_42
37+ ];
3238 buildInputs = [
33− which autoconf automake libtool libcap ostree rpm glib libgsystem gperf
34− json-glib libarchive libsolv librepo gtk-doc libxslt docbook_xsl docbook_xml_dtd_42
35− cmake pcre check python
36− # FIXME: get rid of this once libarchive properly propagates this
37− acl
39+ libcap ostree rpm glib systemd polkit bubblewrap
40+ json-glib libarchive libsolv librepo
41+ pcre check python
42+ ];
43+
44+ patches = [
45+ # Use gdbus-codegen from PATH
46+ (fetchpatch {
47+ url = https://github.com/projectatomic/rpm-ostree/commit/315406d8cd0937e786723986e88d376c88806c60.patch;
48+ sha256 = "073yfa62515kyf58s0sz56w0a40062lh761y2y4assqipybwxbvp";
49+ })
50+ ];
51+
52+ configureFlags = [
53+ "--enable-gtk-doc"
54+ "--with-bubblewrap=${bubblewrap}/bin/bwrap"
3855 ];
3956
4057 dontUseCmakeConfigure = true;
@@ -47,14 +64,11 @@ in stdenv.mkDerivation {
4764 # According to #cmake on freenode, libdnf should bundle the FindLibSolv.cmake module
4865 cp ${libsolv}/share/cmake/Modules/FindLibSolv.cmake libdnf/cmake/modules/
4966
50− # See https://github.com/projectatomic/rpm-ostree/issues/480
51− substituteInPlace src/libpriv/rpmostree-unpacker.c --replace 'include <selinux/selinux.h>' ""
52−
5367 # libdnf normally wants sphinx to build its hawkey manpages, but we don't care about those manpages since we don't use hawkey
5468 substituteInPlace configure.ac --replace 'cmake \' 'cmake -DWITH_MAN=off \'
5569
5670 # Let's not hardcode the rpm-gpg path...
57− substituteInPlace libdnf/libdnf/dnf-keyring.c \
71+ substituteInPlace libdnf/libdnf/dnf-keyring.cpp \
5872 --replace '"/etc/pki/rpm-gpg"' 'getenv("LIBDNF_RPM_GPG_PATH_OVERRIDE") ? getenv("LIBDNF_RPM_GPG_PATH_OVERRIDE") : "/etc/pki/rpm-gpg"'
5973 '';
6074
@@ -64,10 +78,10 @@ in stdenv.mkDerivation {
6478
6579 meta = with stdenv.lib; {
6680 description = "A hybrid image/package system. It uses OSTree as an image format, and uses RPM as a component model";
67− homepage = "https://rpm-ostree.readthedocs.io/en/latest/";
68− license = licenses.lgpl2Plus;
69− platforms = platforms.linux;
81+ homepage = https://rpm-ostree.readthedocs.io/en/latest/;
82+ license = licenses.lgpl2Plus;
7083 maintainers = with maintainers; [ copumpkin ];
84+ platforms = platforms.linux;
7185 };
7286}
7387
pkgs/tools/misc/tmuxinator/default.nix+2−2
@@ -8,8 +8,8 @@ buildRubyGem rec {
88 inherit ruby;
99 name = "${gemName}-${version}";
1010 gemName = "tmuxinator";
11− version = "0.10.1";
12− source.sha256 = "0rjy2glqwbz07ci0snycq19myfczd2pry2iw4g0nqsw37wclm1vi";
11+ version = "0.11.3";
12+ source.sha256 = "1l9pnfmfxjrszzqbw8w2r6akdi7g52q9iga01bxmy2nm27mbv2q1";
1313
1414 erubis = buildRubyGem rec {
1515 inherit ruby;
pkgs/tools/networking/hans/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 the situation that your Internet access is firewalled, but pings are
3232 allowed.
3333 '';
34− homepage = http://code.gerade.org/hans/;
34+ homepage = https://code.gerade.org/hans/;
3535 license = licenses.gpl3Plus;
3636 platforms = platforms.linux;
3737 };
pkgs/tools/security/gopass/default.nix+3
@@ -26,6 +26,9 @@ buildGoPackage rec {
2626 $bin/share/bash-completion/completions \
2727 $bin/share/zsh/site-functions \
2828 $bin/share/fish/vendor_completions.d
29+ # by default, gopass tries to write configuration to /homeless-shelter
30+ # during startup, which lands in stdout
31+ export GOPASS_CONFIG=/dev/null
2932 $bin/bin/gopass completion bash > $bin/share/bash-completion/completions/_gopass
3033 $bin/bin/gopass completion zsh > $bin/share/zsh/site-functions/_gopass
3134 $bin/bin/gopass completion fish > $bin/share/fish/vendor_completions.d/gopass.fish
pkgs/tools/security/libacr38u/default.nix+1−1
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
3333
3434 The package is based on the debian package libacr38u.
3535 '';
36− homepage = http://www.acs.com.hk;
36+ homepage = https://www.acs.com.hk;
3737 license = licenses.lgpl2Plus;
3838 maintainers = with maintainers; [ berce ];
3939 platforms = with platforms; unix;
pkgs/tools/security/pcsc-cyberjack/default.nix+1−1
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222
2323 meta = with stdenv.lib; {
2424 description = "REINER SCT cyberJack USB chipcard reader user space driver";
25− homepage = http://www.reiner-sct.com/;
25+ homepage = https://www.reiner-sct.com/;
2626 license = licenses.gpl2Plus;
2727 platforms = platforms.linux;
2828 maintainers = with maintainers; [ aszlig ];
pkgs/tools/system/efivar/default.nix+2−2
@@ -2,7 +2,7 @@
22
33stdenv.mkDerivation rec {
44 name = "efivar-${version}";
5− version = "35";
5+ version = "36";
66
77 outputs = [ "bin" "out" "dev" "man" ];
88
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 owner = "rhinstaller";
1111 repo = "efivar";
1212 rev = version;
13− sha256 = "0hc7l5z0hw5472bm6p4d9n24bbggv9lgw7px1hqrdkfjghqfnlxh";
13+ sha256 = "0r39kx6sqgpk8rz19g1sil4dp7r82d5g1wlkbw1czwas95s50y7n";
1414 };
1515
1616 nativeBuildInputs = [ pkgconfig ];
pkgs/tools/text/mpage/default.nix+2−2
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 name = "mpage-2.5.6";
55 src = fetchurl {
6− url = "http://www.libGLU_combined.nl/pub/mpage/${name}.tgz";
6+ url = "http://www.mesa.nl/pub/mpage/${name}.tgz";
77 sha256 = "016w9sm06sn1d2lim4p8fzl6wbmad3wigxhflsybzi7p4zy6vrjg";
88 };
99
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 '';
2424
2525 license = "liberal"; # a non-copyleft license, see `Copyright' file
26− homepage = http://www.libGLU_combined.nl/pub/mpage/;
26+ homepage = http://www.mesa.nl/pub/mpage/;
2727 platforms = stdenv.lib.platforms.linux;
2828 };
2929}
pkgs/tools/virtualization/aws/default.nix+1−1
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
2020 '';
2121
2222 meta = {
23− homepage = http://www.timkay.com/aws/;
23+ homepage = https://www.timkay.com/aws/;
2424 description = "Command-line utility for working with Amazon EC2, S3, SQS, ELB, IAM and SDB";
2525 license = stdenv.lib.licenses.gpl3Plus;
2626 platforms = stdenv.lib.platforms.unix;
pkgs/top-level/aliases.nix−1
@@ -219,7 +219,6 @@ mapAliases ({
219219 pltScheme = racket; # just to be sure
220220 polarssl = mbedtls; # added 2018-04-25
221221 poppler_qt5 = libsForQt5.poppler; # added 2015-12-19
222− postage = pgmanage; # added 2017-11-03
223222 procps = procps-ng; # added 2018-04-25
224223 prometheus-statsd-bridge = prometheus-statsd-exporter; # added 2017-08-27
225224 pulseaudioLight = pulseaudio; # added 2018-04-25
pkgs/top-level/all-packages.nix+23−9
@@ -5056,6 +5056,8 @@ with pkgs;
50565056
50575057 snabb = callPackage ../tools/networking/snabb { } ;
50585058
5059+ snapcast = callPackage ../applications/audio/snapcast { };
5060+
50595061 sng = callPackage ../tools/graphics/sng {
50605062 libpng = libpng12;
50615063 };
@@ -7410,6 +7412,7 @@ with pkgs;
74107412 python34Full = python34.override{x11Support=true;};
74117413 python35Full = python35.override{x11Support=true;};
74127414 python36Full = python36.override{x11Support=true;};
7415+ python37Full = python37.override{x11Support=true;};
74137416
74147417 # pythonPackages further below, but assigned here because they need to be in sync
74157418 pythonPackages = python.pkgs;
@@ -7432,6 +7435,10 @@ with pkgs;
74327435 inherit (darwin) CF configd;
74337436 self = python36;
74347437 };
7438+ python37 = callPackage ../development/interpreters/python/cpython/3.7 {
7439+ inherit (darwin) CF configd;
7440+ self = python37;
7441+ };
74357442
74367443 pypy27 = callPackage ../development/interpreters/python/pypy/2.7 {
74377444 self = pypy27;
@@ -7444,6 +7451,7 @@ with pkgs;
74447451 python34Packages = python34.pkgs;
74457452 python35Packages = python35.pkgs;
74467453 python36Packages = recurseIntoAttrs python36.pkgs;
7454+ python37Packages = python37.pkgs;
74477455 pypyPackages = pypy.pkgs;
74487456
74497457 # Should eventually be moved inside Python interpreters.
@@ -10141,8 +10149,6 @@ with pkgs;
1014110149
1014210150 libgssglue = callPackage ../development/libraries/libgssglue { };
1014310151
10144− libgsystem = callPackage ../development/libraries/libgsystem { };
10145−
1014610152 libgudev = callPackage ../development/libraries/libgudev { };
1014710153
1014810154 libguestfs-appliance = callPackage ../development/libraries/libguestfs/appliance.nix {};
@@ -15009,6 +15015,8 @@ with pkgs;
1500915015
1501015016 audio-recorder = callPackage ../applications/audio/audio-recorder { };
1501115017
15018+ autokey = callPackage ../applications/office/autokey { };
15019+
1501215020 autotrace = callPackage ../applications/graphics/autotrace {};
1501315021
1501415022 avocode = callPackage ../applications/graphics/avocode {};
@@ -16795,7 +16803,7 @@ with pkgs;
1679516803
1679616804 libreoffice = hiPrio libreoffice-still;
1679716805
16798− libreoffice-unwrapped =callPackage ../applications/office/libreoffice {
16806+ libreoffice-args = {
1679916807 inherit (perlPackages) ArchiveZip CompressZlib;
1680016808 inherit (gnome2) GConf ORBit2 gnome_vfs;
1680116809 inherit (gnome3) defaultIconTheme;
@@ -16818,12 +16826,20 @@ with pkgs;
1681816826 stdenv = overrideCC stdenv gcc5;
1681916827 };
1682016828
16821− libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix { libreoffice = libreoffice-unwrapped; });
16829+ libreoffice-unwrapped =callPackage ../applications/office/libreoffice
16830+ (libreoffice-args // {
16831+ });
16832+ libreoffice-still-unwrapped =callPackage ../applications/office/libreoffice/still.nix
16833+ (libreoffice-args // {
16834+ poppler = poppler_0_61;
16835+ });
16836+
16837+ libreoffice-fresh = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix {
16838+ libreoffice = libreoffice-unwrapped;
16839+ });
1682216840
1682316841 libreoffice-still = lowPrio (callPackage ../applications/office/libreoffice/wrapper.nix {
16824− libreoffice = libreoffice-unwrapped.override {
16825− poppler = poppler_0_61;
16826− };
16842+ libreoffice = libreoffice-still-unwrapped;
1682716843 });
1682816844
1682916845 liferea = callPackage ../applications/networking/newsreaders/liferea {
@@ -19749,8 +19765,6 @@ with pkgs;
1974919765
1975019766 unnethack = callPackage ../games/unnethack { };
1975119767
19752− unvanquished = callPackage ../games/unvanquished { };
19753−
1975419768 uqm = callPackage ../games/uqm { };
1975519769
1975619770 urbanterror = callPackage ../games/urbanterror { };
pkgs/top-level/php-packages.nix+32−6
@@ -12,14 +12,14 @@ let
1212 apcu = if isPhp7 then apcu51 else apcu40;
1313
1414 apcu40 = assert !isPhp7; buildPecl {
15− name = "apcu-4.0.7";
16− sha256 = "1mhbz56mbnq7dryf2d64l84lj3fpr5ilmg2424glans3wcg772hp";
15+ name = "apcu-4.0.11";
16+ sha256 = "002d1gklkf0z170wkbhmm2z1p9p5ghhq3q1r9k54fq1sq4p30ks5";
1717 buildInputs = [ pkgs.pcre ];
1818 };
1919
2020 apcu51 = assert isPhp7; buildPecl {
21− name = "apcu-5.1.8";
22− sha256 = "01dfbf0245d8cc0f51ba16467a60b5fad08e30b28df7846e0dd213da1143ecce";
21+ name = "apcu-5.1.11";
22+ sha256 = "0nz9m3fbxgyc2ij63yqmxm06a1f51g8rkxk85f85ziqdin66q2f1";
2323 buildInputs = [ pkgs.pcre ];
2424 doCheck = true;
2525 checkTarget = "test";
@@ -107,8 +107,8 @@ let
107107 };
108108
109109 imagick = buildPecl {
110− name = "imagick-3.4.3RC1";
111− sha256 = "0siyxpszjz6s095s2g2854bhprjq49rf22v6syjiwvndg1pc9fsh";
110+ name = "imagick-3.4.3";
111+ sha256 = "0z2nc92xfc5axa9f2dy95rmsd2c81q8cs1pm4anh0a50x9g5ng0z";
112112 configureFlags = "--with-imagick=${pkgs.imagemagick.dev}";
113113 nativeBuildInputs = [ pkgs.pkgconfig ];
114114 buildInputs = [ pkgs.pcre ];
@@ -494,4 +494,30 @@ let
494494 maintainers = with maintainers; [ cmcdragonkai etu ];
495495 };
496496 };
497+
498+ psysh = pkgs.stdenv.mkDerivation rec {
499+ name = "psysh-${version}";
500+ version = "0.9.6";
501+
502+ src = pkgs.fetchurl {
503+ url = "https://github.com/bobthecow/psysh/releases/download/v${version}/psysh-v${version}.tar.gz";
504+ sha256 = "06icmyn7v229mpfplqj76kjnp1gh4ns0nrxa7bsckyqhzi425kc6";
505+ };
506+
507+ phases = [ "installPhase" ];
508+ nativeBuildInputs = [ pkgs.makeWrapper ];
509+
510+ installPhase = ''
511+ mkdir -p $out/bin
512+ tar -xzf $src -C $out/bin
513+ wrapProgram $out/bin/psysh
514+ '';
515+
516+ meta = with pkgs.lib; {
517+ description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP.";
518+ license = licenses.mit;
519+ homepage = https://psysh.org/;
520+ maintainers = with maintainers; [ caugner ];
521+ };
522+ };
497523}; in self
pkgs/top-level/python-packages.nix+9−6
@@ -25,6 +25,7 @@ let
2525 isPy34 = python.pythonVersion == "3.4";
2626 isPy35 = python.pythonVersion == "3.5";
2727 isPy36 = python.pythonVersion == "3.6";
28+ isPy37 = python.pythonVersion == "3.7";
2829 isPyPy = python.executable == "pypy";
2930 isPy3k = strings.substring 0 1 python.pythonVersion == "3";
3031
@@ -131,7 +132,7 @@ let
131132
132133in {
133134
134− inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy27 isPy33 isPy34 isPy35 isPy36 isPyPy isPy3k buildPythonPackage buildPythonApplication;
135+ inherit python bootstrapped-pip pythonAtLeast pythonOlder isPy27 isPy33 isPy34 isPy35 isPy36 isPy37 isPyPy isPy3k buildPythonPackage buildPythonApplication;
135136 inherit fetchPypi callPackage;
136137 inherit hasPythonModule requiredPythonModules makePythonPath disabledIf;
137138 inherit toPythonModule toPythonApplication;
@@ -231,6 +232,8 @@ in {
231232
232233 cdecimal = callPackage ../development/python-modules/cdecimal { };
233234
235+ clustershell = callPackage ../development/python-modules/clustershell { };
236+
234237 dendropy = callPackage ../development/python-modules/dendropy { };
235238
236239 dbf = callPackage ../development/python-modules/dbf { };
@@ -2289,7 +2292,7 @@ in {
22892292 '';
22902293
22912294 meta = {
2292− homepage = "http://editorconfig.org";
2295+ homepage = https://editorconfig.org;
22932296 description = "EditorConfig File Locator and Interpreter for Python";
22942297 license = stdenv.lib.licenses.psfl;
22952298 };
@@ -7768,7 +7771,7 @@ in {
77687771
77697772 meta = {
77707773 description = "EditorConfig File Locator and Interpreter for Python";
7771− homepage = "http://editorconfig.org/";
7774+ homepage = https://editorconfig.org/;
77727775 license = licenses.psfl;
77737776 };
77747777 };
@@ -9142,7 +9145,7 @@ in {
91429145 ];
91439146
91449147 meta = with stdenv.lib; {
9145− homepage = "http://github.com/bcwaldon/warlock";
9148+ homepage = https://github.com/bcwaldon/warlock;
91469149 };
91479150 };
91489151
@@ -11586,7 +11589,7 @@ in {
1158611589 doCheck = false;
1158711590
1158811591 meta = {
11589− homepage = "http://github.com/mongodb/mongo-python-driver";
11592+ homepage = https://github.com/mongodb/mongo-python-driver;
1159011593 license = licenses.asl20;
1159111594 description = "Python driver for MongoDB ";
1159211595 };
@@ -12789,7 +12792,7 @@ in {
1278912792
1279012793 meta = {
1279112794 description = "sqlite-backed dictionary";
12792− homepage = "http://github.com/Yelp/sqlite3dbm";
12795+ homepage = https://github.com/Yelp/sqlite3dbm;
1279312796 license = licenses.asl20;
1279412797 };
1279512798 };