Commit Graph

8045 Commits

Author SHA1 Message Date
Chris Ostrouchov
53a196bea8
pythonPackages.google_cloud_kms: init at 0.2.0 2018-11-20 14:12:09 -05:00
Chris Ostrouchov
855f9d02e5
pythonPackages.grpc_google_iam_v1: init at 0.11.4 2018-11-20 14:12:09 -05:00
Chris Ostrouchov
f5af8bf5f1
pythonPackages.google_resumeable_media: init at 0.3.1 2018-11-20 14:12:09 -05:00
Frederik Rietdijk
e343a85cfb Merge master into staging-next 2018-11-19 09:55:32 +01:00
Matthew Bauer
2c1d3a9a82 Merge remote-tracking branch 'upstream/master' into staging 2018-11-18 19:02:09 -06:00
xeji
a292829e58
Merge pull request #50491 from oxij/pkgs/tiny-fixes
trivial: random fixes
2018-11-18 16:58:55 +01:00
Frederik Rietdijk
0d0d7dcd06 Merge staging-next into staging 2018-11-18 10:41:34 +01:00
Frederik Rietdijk
63c6875f26 Merge master into staging-next 2018-11-18 10:32:12 +01:00
Jan Malakhovski
ac09051cf5 pythonPackages.gpgme: inherit python
else building via e.g. `python3Packages.gpgme` produces the wrong result.
2018-11-18 09:08:06 +00:00
Jörg Thalheim
31adf33217
Merge pull request #50473 from Ma27/package-python-nose-cov
pythonPackages.nose-cov: init at 1.6
2018-11-17 11:55:19 +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
Maximilian Bosch
c59c9a3737
pythonPackages.nose-cov: init at 1.6
Module for coverage reports with Python using nosetests.
2018-11-16 21:41:06 +01: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
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
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
Peter Hoeg
d7691e0c0b pythonPackages.bt_proximity: init at 0.0.20180217 2018-11-13 10:49:13 +08:00
Chris Ostrouchov
c618667bd3 pythonPackages.ovito: init at 3.0.0 2018-11-12 20:06:02 +01:00
Frederik Rietdijk
3b052406ea Merge staging-next into staging 2018-11-12 19:01:36 +01:00
Frederik Rietdijk
daf3297cb4 Merge master into staging-next 2018-11-12 18:59:08 +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
Jörg Thalheim
92c478babd
Merge pull request #50176 from Mic92/docker-componse
docker-compose: rename from docker_compose, python3 by default
2018-11-12 10:14:53 +00:00
Robert Schütz
92148ea5a0 python3.pkgs.homeassistant-pyozw: init at 0.1.0 2018-11-12 11:10:12 +01:00
Chris Ostrouchov
484a5c6152 pythonPackages.ruamel_yaml: refactor move to python-modules 2018-11-12 11:10:02 +01:00
Robert Schütz
b230ad0e29 python.pkgs.protobuf3_1: drop
Using the specific version of protobuf can be achieved by a simple
`python.pkgs.protobuf.override { protobuf = protobuf3_1; }`.
2018-11-12 11:10:02 +01:00
Samuel Dionne-Riel
242282d92d
Merge pull request #47887 from mmlb/python-dpath
pythonPackages.dpath: init at 1.4.2
2018-11-12 03:51:56 +00:00
Samuel Dionne-Riel
d746c53e2e
Merge pull request #46845 from Twey/plyplus
python2Packages.plyplus: init at 0.7.5
2018-11-12 03:31:26 +00:00
Frederik Rietdijk
1d3bff25db Merge staging-next into staging 2018-11-11 14:28:08 +01:00
Jörg Thalheim
7a86bc32cb
docker-compose: rename from docker_compose, python3 by default
The command is called docker-compose hence the package should be called the same.
Also prefer python3.
2018-11-11 11:16:44 +00:00
Sebastien Maret
880fae6a08 matplotlib: 2.2.3 -> 3.0.2
Python 3 will use the new matplotlib 3.x while Python 2
will use 2.x.

matplotlib: keep 2.2.3 for Python2k
2018-11-11 10:14:25 +01:00
Frederik Rietdijk
961180afc8 scour: call via python-packages.nix 2018-11-11 09:54:28 +01:00
Frederik Rietdijk
7863aae5b2 Merge master into staging-next 2018-11-11 08:59:44 +01:00
Jethro Kuan
baeb8bd5a7 gin-config: init 2018-11-11 08:39:19 +01:00
Maximilian Bosch
fbc02d6ce4
Merge pull request #49853 from marsam/feature/update-pgcli
pythonPackages.prompt_toolkit: init at 2.0.7
pgcli: 1.11.0 -> 2.0.0
xonsh: 0.6.8 -> 0.8.3
pythonPackages.ptpython: 0.41 -> 2.0.4
2018-11-11 00:39:38 +01:00
Mario Rodas
e15ef48c80
pythonPackages.ptpython: 0.41 -> 2.0.4 2018-11-10 23:45:52 +01:00
Jörg Thalheim
0c9b49dfe2
Merge pull request #49841 from makefu/pkgs/hovercraft/update
hovercraft: 2.0 -> 2.6
2018-11-10 21:37:53 +00:00
Mario Rodas
0270dda6b4 pythonPackages.prompt_toolkit: init at 2.0.7 2018-11-10 10:06:56 -05:00
Silvan Mosberger
d5c5c5c4d1
Merge pull request #49827 from Twey/click-repl
pythonPackages.click-repl: init at 0.1.6
2018-11-10 15:03:48 +01:00
Frederik Rietdijk
53d00c3351 Merge master into staging-next 2018-11-10 11:08:54 +01:00
Sander van der Burg
1ac07c82e1 alerta: init at 6.3.2 2018-11-08 22:32:31 +01:00
James Kay
c3668db824
python2Packages.plyplus: init at 0.7.5 2018-11-07 17:56:52 +00:00
Maximilian Bosch
8c68a7d41d
Merge pull request #49828 from Twey/autologging
pythonPackages.autologging: init at 1.2.1
2018-11-07 17:30:17 +01:00
James Kay
a7c122bd65
pythonPackages.click-repl: init at 0.1.6 2018-11-07 15:29:04 +00:00
James Kay
5fdbec1417
pythonPackages.autologging: init at 1.2.1 2018-11-07 15:28:06 +00:00
makefu
75f5fbe945
hovercraft: 2.0 -> 2.6
move to top-level, use buildPythonApplication
2018-11-07 16:25:48 +01:00
Robert Schütz
ae50efe353
Merge pull request #49591 from peterhoeg/p/snap
pythonPackages.snapcast: init at 2.0.9
2018-11-07 14:10:35 +01:00
Lancelot SIX
1aed180d73
Merge pull request #48914 from lsix/add_pythonPackages_owslib
pythonPackages.owslib: init at 0.17.0
2018-11-06 15:37:53 +01:00
nagato.pain
6a31bbbe8f pythonPackages.libmr: init at 0.1.9 2018-11-06 05:43:20 -08:00
Patrick Hilhorst
9ec40cc3bf
treewide: Fix overrides having wrong versions 2018-11-06 00:06:21 +01:00
John Ericson
48caae5045 Merge remote-tracking branch 'upstream/master' into HEAD 2018-11-05 15:19:33 -05:00
Peter Hoeg
dfbf6213b4 pythonPackages.snapcast: init at 2.0.9 2018-11-05 20:45:08 +08:00
Robert Schütz
6a73df797c
Merge pull request #49744 from nyanloutre/python-gitlab
pythonPackages.python-gitlab: init at 1.6.0
2018-11-04 18:38:21 +01:00
Austin Seipp
be39781058 Merge branch 'master' into staging 2018-11-04 08:38:30 -06:00
Jonathan Queiroz
05f368b60a pythonPackages.sslib: init at 0.2.0 (#47985) 2018-11-04 15:00:21 +01:00
nyanloutre
2e49503dfe pythonPackages.python-gitlab: init at 1.6.0 2018-11-04 12:47:46 +01:00
nyanloutre
1ee4c64511 pythonPackages.httmock: init at 1.2.6 2018-11-04 12:47:22 +01:00
Frederik Rietdijk
cb4ff927a1 Merge master into staging-next 2018-11-04 08:49:24 +01:00
Austin Seipp
c55fa1e122 Merge branch 'master' into staging 2018-11-03 19:57:25 -05:00
Jonathan Queiroz
4b095c6c05 pythonPackages.fastpbkdf2: init at 0.2 (#47988) 2018-11-03 15:41:16 +01:00
Robert Schütz
4870522f87
Merge pull request #49645 from peterhoeg/p/broadlink
pythonPackages.broadlink: init at 0.9
2018-11-03 15:37:02 +01:00
Robert Helgesson
2db8372554
pythonPackages.PyICU: 2.0.3 -> 2.2 2018-11-02 23:19:18 +01:00
Vladimír Čunát
a92a2c8e15
Merge branch 'master' into staging
Conflict: rename of pythondaemon -> python-daemon.
2018-11-02 14:40:14 +01:00
Peter Hoeg
1ccafe56f9 pythonPackages.broadlink: init at 0.9 2018-11-02 18:12:07 +08:00
Edmund Wu
b3bff5c249 pythonPackages.trueskill: init at 0.4.5 (#49342) 2018-11-01 10:56:56 +01:00
Edmund Wu
0111c7d851 pythonPackages.zstd: init at 1.3.5.1 (#49339) 2018-11-01 10:41:28 +01:00
Robert Schütz
f6107effa4
Merge pull request #49158 from alyssais/doh-proxy
doh-proxy: init at 0.0.8
2018-10-31 23:16:03 +01:00
Frederik Rietdijk
8db4814e8e
Merge pull request #49476 from Synthetica9/cuda-update
cudatoolkit, cudnn: many updates
2018-10-31 19:26:41 +01:00
Alyssa Ross
1f1bd5c8e8
python3Packages.aioh2: init at 0.2.2
Tests skipped due to https://github.com/decentfox/aioh2/issues/17.
2018-10-31 17:47:24 +00:00
Robert Schütz
e0772e6ef8
Merge pull request #48183 from costrouc/costrouc/python-atomman
pythonPackages.atomman: init at 1.2.3
2018-10-31 17:23:30 +01:00
Alyssa Ross
cd1ff3bede
python3Packages.aiohttp_remotes: init at 0.1.2 2018-10-31 13:08:40 +00:00
Patrick Hilhorst
43f6d9ada4
pytorch: remove pre-cuda92 hack 2018-10-31 10:43:00 +01:00
Benjamin Hipple
baf0703010 pythonPackages.pythondaemon: rename to pythonPackages.python-daemon
This commit renames the pythondaemon module to match its module name, github
name, and pypi name, which makes it easier to find and reference. In order to
avoid breaking any external users, I've left an alias with a deprecated warning.
2018-10-30 21:09:34 +01:00
Frederik Rietdijk
1d196d99be Merge staging-next into staging 2018-10-30 20:35:15 +01:00
Chris Ostrouchov
ae66a9244b
hoomd-blue: init at 2.3.4 2018-10-30 14:20:31 -04:00
Chris Ostrouchov
1ac9d8ea40
pythonPackages.atomman: init at 1.2.3 2018-10-30 13:38:59 -04:00
Chris Ostrouchov
7dd7190a57
pythonPackages.DataModelDict: init at 0.9.4 2018-10-30 13:38:59 -04:00
Chris Ostrouchov
0cf2c6fcfe
pythonPackages.numericalunits: init at 1.16 2018-10-30 13:38:59 -04:00
Chris Ostrouchov
fa7d1d8bfb
pythonPackages.smugline: refactor move to python-modules 2018-10-30 00:51:23 -04:00
Chris Ostrouchov
c33c576212
pythonPackages.pivy: refactor move to python-modules 2018-10-30 00:51:23 -04:00
Chris Ostrouchov
f54484f527
pythonPackages.telegram: refactor move to python-modules 2018-10-30 00:51:23 -04:00
Chris Ostrouchov
a36ce69f6c
pythonPAckages.pygments-markdown-lexer: refactor move to python-modules 2018-10-30 00:51:23 -04:00
Chris Ostrouchov
c0e09bef5a
pythonPAckages.yapsy: refactor move to python-modules 2018-10-30 00:51:23 -04:00
Chris Ostrouchov
6afd56f61a
pythonPackages.threadpool: refactor move to python-modules 2018-10-30 00:51:23 -04:00
Chris Ostrouchov
6fd3323d26
pythonPackages.tvnamer: refactor move to python-modules 2018-10-30 00:51:22 -04:00
Chris Ostrouchov
97b2d6790a
pythonPAckages.tvdb_api: refactor move to python-modules 2018-10-30 00:51:22 -04:00
Chris Ostrouchov
173793c63f
pythonPackages.word2vec: refactor move to python-modules 2018-10-30 00:51:22 -04:00
Chris Ostrouchov
f0e62b79fc
pythonPAckages.simpleai: refactor move to python-modules 2018-10-30 00:51:22 -04:00
Chris Ostrouchov
1a4f32c3f7
pythonPackages.zerobin: refactor move to python-modules 2018-10-30 00:51:22 -04:00
Chris Ostrouchov
19a50012dc
pythonPackages.clize: refactor move to python-modules 2018-10-30 00:51:21 -04:00
Chris Ostrouchov
b42e1d1b1e
pythonPackages.sigtools: refactor move to python-modules 2018-10-30 00:51:21 -04:00
Chris Ostrouchov
b1dbddd584
pythonPackages.Lasagne: refactor move to python-modules 2018-10-30 00:51:21 -04:00
Chris Ostrouchov
8e22218220
pythonPAckages.repeated_test: refactor move to python-modules 2018-10-30 00:51:21 -04:00
Chris Ostrouchov
f310c74cfd
pythonPackages.pandocfilters: refactor move to python-modules 2018-10-30 00:51:21 -04:00
Chris Ostrouchov
89623a675e
pythonPackages.queuelib: refactor move to python-modules 2018-10-30 00:51:20 -04:00
Chris Ostrouchov
3ae4a36ae3
pythonPackages.w3lib: refactor move to python-modules 2018-10-30 00:51:20 -04:00
Chris Ostrouchov
b794f35441
pythonPackages.x11_hash: refactor move to python-modules 2018-10-30 00:51:20 -04:00
Chris Ostrouchov
0851a181f0
pythonPackages.trezor_agent: refactor move to python-modules 2018-10-30 00:51:20 -04:00
Chris Ostrouchov
6ca3651766
pythonPackages.xlsx2csv: refactor move to python-modules 2018-10-30 00:51:19 -04:00
Chris Ostrouchov
82878eaade
pythonPackages.xkcdpass: refactor move to python-modules 2018-10-30 00:51:19 -04:00