Commit graph

6392 commits

Author SHA1 Message Date
Austin Seipp 8d4f8a6d26 foundationdb60: 6.0.11pre2716 -> 6.0.15
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-16 20:34:20 -06:00
Austin Seipp 6054dabc11 foundationdb: rework python bindings, build system
FoundationDB uses Python at build time for some code generation.
However, it also has the official python bindings inside the source code
too, and the code for the Python bindings has some of it auto-generated
at compile time.

This made building python packages unattractive: we want to use the
source code generated from the FoundationDB build, but we don't want to
rebuild it. Previously we would override the 'python' input to the
FoundationDB module, but this meant we would do a complete rebuild, as
it was a necessary build time dependency, even though the resulting
generated code itself would not change. Furthermore, FoundationDB
versions < 6.0 don't properly support Python 3 *for the build system*,
though the bindings supported it, so that caused build failures. But the
first effect is the worst: it meant building separate python2 and
python3 packages implied two complete rebuilds of a single FoundationDB
version. This meant rather than 3 FDB builds, we'd do 3*N where N = the
number of major Python versions we support.

Finally, because we did not use pip to generate a wheel that we install
with metadata recorded for the installation, the FoundationDB python
package couldn't be used as an input to other setup.py-based packages:
there would be no recorded metadata in the dist-info folder which would
say this is the foundationdb package. This greatly limits its utility.

To fix all this, we do a few things:

  - Apply some patches to fix the build system with Python 3.x for
    older FoundationDB versions. (This is nice if end-users have
    overridden the global Python version for some reason.)
  - Move python directly into nativeBuildInputs, so it is only a
    build time dependency.
  - Take the python source code from the ./bindings directory and
    tar it up use later after the build is done, so we get to keep
    the generated code. This is the new 'pythonsrc' output from the
    build. This code doesn't change based on whether or not the input
    or resulting package is using Python 2 or 3, it's totally
    deterministic.
  - The build system also patches up the python source code a little,
    so it can be installed directly with setup.py (it needs a little
    stuff that it normally expects the build system to do.)
  - Rework the python package to a separate file that uses
    buildPythonPackage directly. Because the source code is already
    prepared, it needs almost nothing else. Furthermore, this kills
    the override itself for the foundationdb package, meaning rebuilds
    are no longer needed.
  - This package is very simple and just uses foundationdb.pythonsrc
    as its source input. It also ensures a link to libfdb_c.so can
    be found by ctypes (using substituteInPlace)
  - python-packages.nix now just uses callPackage directly.

The net effect of this is, most importantly, that python packages do not
imply a full rebuild of the server source code: building python2 and
python3 packages from a version of FoundationDB now does not need to
override the foundationdb python input, reducing the number of needless
builds. They instead just run setup.py with the given version as input.

The second biggest effect is that wheel metadata is recorded correctly,
meaning dependent-python-packages that want to use the FoundationDB
bindings e.g. from PyPi should now work fine with buildPythonPackage.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-16 20:34:19 -06:00
Austin Seipp 32948a6f3d foundationdb: include fdb.options in .dev for binding generators
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-11-16 20:22:40 -06:00
Michael Weiss 939bb2189b monetdb: 11.29.7 -> 11.31.11 2018-11-16 23:33:26 +01:00
Robert Schütz 62fc9e2526
appdaemon: 3.0.1 -> 3.0.2 (#49581) 2018-11-16 15:06:01 +01:00
Robert Schütz 5e0e2e252c home-assistant: 0.82.0 -> 0.82.1 2018-11-16 14:52:05 +01:00
Alyssa Ross de9026de6e
nginxMainline: 1.15.5 -> 1.15.6
CVE-2018-16843, CVE-2018-16844

https://nginx.org/en/security_advisories.html
2018-11-15 17:52:05 +00:00
Alyssa Ross 1908322d10
nginxStable: 1.14.0 -> 1.14.1
CVE-2018-16843, CVE-2018-16844

https://nginx.org/en/security_advisories.html
2018-11-15 17:51:51 +00:00
Jörg Thalheim cb7fcd0a7c
Merge pull request #50202 from r-ryantm/auto-update/arangodb
arangodb: 3.3.16 -> 3.3.19
2018-11-15 15:51:24 +00:00
Markus Kowalewski d76c275605
pyIRCt,pyMAILt: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski 7d279b4780
virtuoso-opensource: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski 41c619a191
pgtap: add license 2018-11-15 00:13:52 +01:00
Markus Kowalewski b9c5598b3c
mysql: add licenses 2018-11-15 00:13:46 +01:00
Markus Kowalewski b868f24475
samba3: add license 2018-11-14 22:58:39 +01:00
Vladimír Čunát e229065842
Merge #50280: xorg: init xf86-video-vboxvideo ...
Based on reports X wouldn't start out of the box and seems OK now.
In case there are still some problems, we can improve later.
I checked that nixos.tests.virtualbox.* still succeed.
2018-11-14 20:34:48 +01:00
Renaud f0f0ec0734
Merge pull request #50104 from r-ryantm/auto-update/hiawatha
hiawatha: 10.8.1 -> 10.8.3
2018-11-14 15:15:09 +01:00
Renaud 7a9967583c
Merge pull request #50204 from r-ryantm/auto-update/mod_wsgi
mod_wsgi: 4.6.4 -> 4.6.5
2018-11-14 10:26:13 +01:00
Peter Hoeg 7c2babf84c
Merge pull request #50258 from peterhoeg/f/mqtt
mosquitto: enable websockets support
2018-11-14 09:09:23 +08:00
Jörg Thalheim fd66e543ae
Merge pull request #50306 from nyanloutre/jackett-update-10-434
jackett: 0.10.420 -> 0.10.434
2018-11-13 17:34:07 +00:00
Francesco Gazzetta ab4b7452cb isso: 0.10.6 -> 0.11.1 (#50310) 2018-11-13 16:52:33 +01:00
WilliButz d837beb57c grafana: 5.3.2 -> 5.3.4 (#50311) 2018-11-13 16:49:53 +01:00
Robert Schütz 66ba870c7f
Merge pull request #50274 from peterhoeg/f/ha
home-assistant: add support for waze, bluetooth tracker and  IFTTT
2018-11-13 14:31:40 +01:00
nyanloutre 2ae0b2e19d jackett: 0.10.420 -> 0.10.434 2018-11-13 14:12:50 +01:00
Peter Hoeg 74b63f26f0 home-assistant: use bt_proximity 2018-11-13 10:49:13 +08:00
Orivej Desh 5b4044ab55 flex_2_6_1: delete in favor of flex 2.6.4 (#50292) 2018-11-13 01:59:55 +00:00
Vladimír Čunát 9108b24253
xorg: init xf86-video-vboxvideo at 1.0.0
... and switch to it by default in virtualbox guests
2018-11-12 20:29:14 +01:00
Peter Hoeg e1298bc9f0 home-assistant: use WazeRouteCalculator 2018-11-12 21:49:08 +08:00
Peter Hoeg f535f7e2a1 home-assistant: use pyfttt 2018-11-12 20:57:46 +08:00
Gabriel Ebner adb5b610bd
Merge pull request #50022 from Ekleog/opensmtpd-extras-6.4.0
opensmtpd-extras: 5.7.1 -> 6.4.0
2018-11-12 12:30:21 +01:00
Robert Schütz b9494ac352
Merge pull request #50166 from dotlambda/home-assistant-0.82
home-assistant: 0.81.5 -> 0.82.0
2018-11-12 11:37:06 +01:00
Robert Schütz dbceff85b9 home-assistant: 0.81.5 -> 0.82.0 2018-11-12 11:21:41 +01:00
Peter Hoeg 195ba2136e mosquitto: enable websockets support 2018-11-12 15:47:26 +08:00
Léo Gaspard 2986ce16a8
meta.tests: rename into passthru.tests
Nix currently rejects derivations in `meta` values. This works around
that limitation by using `passthru` instead.

Closes https://github.com/NixOS/nixpkgs/issues/50230
2018-11-11 23:11:46 +09:00
Peter Simons 4fc8527697 dovecot, opensmtpd: comment out invalid meta.tests attribute
See https://github.com/NixOS/nixpkgs/issues/50230 for details.
2018-11-11 14:02:20 +01:00
R. RyanTM e658a7a549 mod_wsgi: 4.6.4 -> 4.6.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/mod_wsgi/versions
2018-11-10 10:57:08 -08:00
R. RyanTM c2dee88601 arangodb: 3.3.16 -> 3.3.19
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/arangodb/versions
2018-11-10 10:42:24 -08:00
Peter Simons eba2033c47
Merge pull request #50189 from r-ryantm/auto-update/bind
bind: 9.12.2-P2 -> 9.12.3
2018-11-10 19:16:21 +01:00
Renaud 7d96c33bbd
Merge pull request #50178 from c0bw3b/pkg/pdnsrec
pdns-recursor: 4.1.4 -> 4.1.7
2018-11-10 18:38:11 +01:00
Renaud 377c5b74d5
Merge pull request #50013 from r-ryantm/auto-update/powerdns
powerdns: 4.1.4 -> 4.1.5
2018-11-10 18:37:51 +01:00
Jörg Thalheim c70dc32d72
Merge pull request #50188 from r-ryantm/auto-update/bftpd
bftpd: 4.9 -> 5.0
2018-11-10 16:57:32 +00:00
R. RyanTM 21fbc6140e bind: 9.12.2-P2 -> 9.12.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bind/versions
2018-11-10 08:26:03 -08:00
R. RyanTM 1e17b4b2dc bftpd: 4.9 -> 5.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bftpd/versions
2018-11-10 08:19:17 -08:00
Renaud 02693e327a
pdns-recursor: 4.1.4 -> 4.1.7
PowerDNS Security Advisory 2018-04 (CVE-2018-10851)
PowerDNS Security Advisory 2018-06 (CVE-2018-14626)
PowerDNS Security Advisory 2018-07 (CVE-2018-14644)
2018-11-10 15:20:54 +01:00
Silvan Mosberger 9c984b06c4
Merge pull request #38514 from disassembler/grafana-reporter
grafana-reporter: init at 2.0.1
2018-11-10 15:15:21 +01:00
Jörg Thalheim eb6337b3e3
Merge pull request #50146 from r-ryantm/auto-update/check_ssl_cert
checkSSLCert: 1.73.0 -> 1.76.0
2018-11-10 12:30:09 +00:00
Jörg Thalheim e19299a8e4
Merge pull request #50147 from r-ryantm/auto-update/clickhouse
clickhouse: 18.12.17 -> 18.14.9
2018-11-10 12:03:29 +00:00
Jörg Thalheim a8517f25c9
Merge pull request #50107 from r-ryantm/auto-update/groonga
groonga: 8.0.7 -> 8.0.8
2018-11-10 10:09:47 +00:00
Jörg Thalheim 9ce3f518c6
Merge pull request #50077 from r-ryantm/auto-update/jackett
jackett: 0.10.365 -> 0.10.420
2018-11-10 09:41:32 +00:00
R. RyanTM cb622a0dd7 clickhouse: 18.12.17 -> 18.14.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2018-11-10 01:02:57 -08:00
R. RyanTM e9081d9329 checkSSLCert: 1.73.0 -> 1.76.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/check_ssl_cert/versions
2018-11-09 23:59:12 -08:00