Commit Graph

40326 Commits

Author SHA1 Message Date
Michael Raskin
b2d7d177e8
Merge pull request #50482 from c0bw3b/pkg/mdds
mdds: drop 0.7.x and 0.12.x
2018-11-17 07:00:01 +00: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
c0bw3b
18f95bd6ba mdds: drop 0.7.x and 0.12.x 2018-11-17 00:02:48 +01:00
Jörg Thalheim
25d6dc99bb
nodePackages: 8_x -> 10_x 2018-11-16 21:31:44 +00:00
Jörg Thalheim
d688cedce1
create-cycle-app: unpin nodePackages version 2018-11-16 21:24:26 +00:00
Linus Heckemann
d1eb06cb18
Merge pull request #50434 from bcdarwin/nifty_reg
niftyreg: init at 1.3.9; niftyseg: init at 1.0.0
2018-11-16 20:13:12 +01:00
Ben Darwin
cb6d819b93 niftyseg: init at 1.0.0 2018-11-16 12:29:29 -05:00
Ben Darwin
6aa3deeb50 niftyreg: init at 1.3.9 2018-11-16 12:24:53 -05:00
Jörg Thalheim
64f66db499
Merge pull request #49791 from Gerschtli/add/apcu-bc
php72Packages.apcu_bc: init at 1.0.4
2018-11-16 15:18:01 +00:00
Jörg Thalheim
56a0533128
valauncher: remove
I no longer use/maintain this software.
see: https://github.com/Mic92/valauncher
2018-11-16 00:36:33 +00:00
Sebastien Maret
bc64d58866 astroquery: init at 0.3.8 (#50360)
Co-Authored-By: smaret <sebastien.maret@icloud.com>
2018-11-15 23:11:41 +00:00
Jörg Thalheim
9d53806ef3
Merge pull request #50379 from ptrhlm/anki
anki: 2.0.52 -> 2.1.6-beta1, fixes #46599, fixes #45726
2018-11-15 22:37:15 +00:00
Piotr Halama
a30e30432d anki: 2.0.52 -> 2.1.6-beta1 2018-11-15 23:17:31 +01:00
Piotr Bogdan
2c60a41d0a gnumake3: remove 2018-11-15 17:41:25 +00:00
Piotr Bogdan
5d0eeeee38 coq2html: switch to default make 2018-11-15 17:41:25 +00:00
Jörg Thalheim
8d275f6d17
Merge pull request #50314 from dywedir/wl-clipboard
wl-clipboard: init at 1.0.0
2018-11-15 15:59:15 +00:00
Orivej Desh
101133deae fasm: init at 1.73.04 (#50378) 2018-11-15 13:20:00 +00:00
Jörg Thalheim
e922a458ca
Merge pull request #50243 from tathougies/travis/hash-diff
perlPackages.HashDiff: init at 0.010
2018-11-15 11:30:13 +00:00
Jörg Thalheim
9afa6f74e5
Merge pull request #50381 from kalbasit/nixpkgs_vim-go-use-go-motion
vimPlugins.vim-go: use the correct motion derivation for the dependency
2018-11-15 11:14:48 +00:00
Travis Athougies
bdb03ef4e8 Add description and license to HashDiff 2018-11-14 21:59:44 -08:00
Will Dietz
b1e5910a7d elfinfo: init at 0.7.4 2018-11-14 23:33:10 -06:00
Wael M. Nasreddine
a9e2b3853f
go-motion: init unstable at 2018-04-09 2018-11-14 18:28:10 -08:00
Jörg Thalheim
552c223625
nodePackages.statsd: remove
The package/service is broken. Upstream is dead
2018-11-14 18:32:44 +00:00
Matthew Bauer
0874ee8f05
Merge pull request #47684 from roberth/nixpkgs-nixosTest
Add pkgs.nixosTest
2018-11-14 11:20:46 -06:00
Jörg Thalheim
4c3e9a7d06
Merge pull request #50354 from pbogdan/miro-remove
miro: remove
2018-11-14 17:09:10 +00:00
Piotr Bogdan
b8d0810e98 miro: remove 2018-11-14 15:59:18 +00:00
Matthew Bauer
2e18ba6c5a
Merge pull request #49776 from matthewbauer/atlas-remove
atlas: remove
2018-11-13 19:18:35 -06:00
markuskowa
2823b5e698
Merge pull request #46667 from costrouc/costrouc/lammps-update
lammps: update, hoomd-blue, dl_poly: init
2018-11-13 21:00:02 +01:00
Vladyslav Mykhailichenko
1c26439bab
wl-clipboard: init at 1.0.0 2018-11-13 17:20:13 +02: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
Robert Hensing
5a8bddf16c pkgs.nixosTest: Emphasize propagation of pkgs 2018-11-13 10:47:17 +01:00
Robert Hensing
d82e1528f8 pkgs.nixosTest: format 2018-11-13 10:47:16 +01:00
Robert Hensing
cdca66d7e8 Add pkgs.nixosTest 2018-11-13 10:43:05 +01:00
Robert Hensing
dd3aca2d0b
Merge pull request #49256 from roberth/nixos-nixpkgs-pkgs-use-overlays
NixOS: use overlays when nixpkgs.pkgs is set
2018-11-13 09:55:24 +01:00
lewo
5189877d34
Merge pull request #50247 from romildo/upd.jxrlib
jxrlib: init at 1.1
2018-11-13 08:59:32 +01:00
Orivej Desh
2372852957 flex_2_5_35: replace with flex 2.6.4 in coprthr, gradm, maude, scotch 2018-11-13 03:40:53 +00:00
Peter Hoeg
d7691e0c0b pythonPackages.bt_proximity: init at 0.0.20180217 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
Samuel Dionne-Riel
9c86aca362
Merge pull request #48738 from Amar1729/init/argp-standalone
argp-standalone: init at 1.3
2018-11-12 23:52:01 +00:00
Samuel Dionne-Riel
c99cb8fe83
Merge pull request #47197 from tg-x/ltc-tools-0.6.4
ltc-tools: init at 0.6.4
2018-11-12 23:39:12 +00:00
Samuel Dionne-Riel
8e2a9dae82
Merge pull request #47987 from erictapen/scribus-unstable
scribusUnstable: init at 2018-10-13
2018-11-12 23:29:53 +00:00
Samuel Dionne-Riel
0c38e68d39
Merge pull request #49356 from gnidorah/qtcurve
qtcurve: init at 1.9
2018-11-12 23:28:19 +00:00
Samuel Dionne-Riel
5b606cc60a
Merge pull request #47511 from nlewo/pr-gremlin
gremlin-console: init at 3.3.3
2018-11-12 23:25:29 +00:00
John Ericson
ffa75ae405
Merge pull request #50282 from vincrusher/master
Cross-Compiling: alpha-embedded Support Added
2018-11-12 15:57:23 -05:00
Vincent Weisner
04fe84d239
Cross-Compiling: alpha-embedded Support Added
This commit adds support for Embedded systems with DEC Alpha CPUs.
2018-11-12 15:00:50 -05:00
Chris Ostrouchov
c618667bd3 pythonPackages.ovito: init at 3.0.0 2018-11-12 20:06:02 +01:00
Antoine Eiche
28e08aa254 gremlin-console: init at 3.3.4 2018-11-12 18:12:20 +01:00
Peter Hoeg
4bdd7496ba pythonPackages.WazeRouteCalculator: init 0.6 2018-11-12 21:49:02 +08:00
Peter Hoeg
ff795bd45f pythonPackages.pyfttt: init at 0.3.2 2018-11-12 20:55:33 +08: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