Commit graph

667 commits

Author SHA1 Message Date
Frederik Rietdijk b0d54e00f9 Merge pull request #13078 from FRidh/matplotlib
pythonPackages: update matplotlib and cycler
2016-02-17 21:15:25 +01:00
Frederik Rietdijk ddec19c823 pythonPackages.matplotlib: 1.5.0 -> 1.5.1 2016-02-17 21:02:15 +01:00
Vladimír Čunát e9520e81b3 Merge branch 'master' into staging 2016-02-17 10:06:31 +01:00
Vladimír Čunát d039c87984 Merge branch 'master' into closure-size 2016-02-14 08:33:51 +01:00
Frederik Rietdijk 7ddd3a0d30 python bootstrapped-pip: wheel 0.26.0 -> 0.29.0 2016-02-08 20:47:23 +01:00
Frederik Rietdijk e552ad11e3 python bootstrapped-pip: pip 7.1.2 -> 8.0.2 2016-02-08 20:41:54 +01:00
Frederik Rietdijk 63cf61e8d3 pythonPackages: new functions to build numpy and scipy 2016-02-08 20:33:15 +01:00
Alexander V. Nikolaev b13e44e094 cairocffi: Add missing dependencies on gdk_pixbuf
Rewrite dlopening stuff in hacky way (due ctypes.util totally brokennes:
it attempt to use /sbin/ldconfig, gcc from PATH and other tricks to
detect sonames, I replaced it with simple table lookup)

Also I add patch to bypass another rounding regression in tests
(this patch submitted upstream as well)
2016-02-07 18:15:46 +02:00
Vladimír Čunát a115bff08c Merge branch 'master' into staging 2016-02-07 13:52:42 +01:00
Vladimír Čunát 824c8dfa95 add ensureNewerSourcesHook and apply to all python
Fixes #12663: problems in python stuff due to old timestamps in sources.
- Files in sources older than a certain year are set to that year.
- Applied with 1980 for all python packages due to the way it often uses zip.

(cherry picked from staging commit e4ab8aee62)
2016-02-03 17:11:17 +01:00
Vladimír Čunát ae74c356d9 Merge recent 'staging' into closure-size
Let's get rid of those merge conflicts.
2016-02-03 16:57:19 +01:00
Vladimír Čunát e4ab8aee62 add ensureNewerSourcesHook and apply to all python
Fixes #12663: problems in python stuff due to old timestamps in sources.
- Files in sources older than a certain year are set to that year.
- Applied with 1980 for all python packages due to the way it often uses zip.
2016-02-03 10:21:16 +01:00
Domen Kožar 0b3becb269 Merge pull request #12701 from mayflower/builder-def-cleanup
builderDefsPackage cleanup
2016-02-01 21:09:34 +00:00
Robin Gloster 629b5a88cd pythonSexy: use mkDerivation 2016-01-30 20:31:01 +00:00
Robin Gloster ef4ff7a799 graph-tool: cleanup
fucked up adding the changes

see #12647
2016-01-30 20:27:16 +00:00
Joel Moberg 6d92029239 graph-tool: 2.2.42 -> 2.12
Closes #12647

Signed-off-by: Robin Gloster <mail@glob.in>
2016-01-30 20:25:13 +00:00
Vincent Laporte c67c27dc82 pycairo: add darwin to meta.platforms 2016-01-28 11:02:26 +01:00
Frederik Rietdijk e366168d22 Merge pull request #12552 from NixOS/python-wip
pythonPackages: update setuptools, many updates and fixes
2016-01-27 13:19:00 +01:00
Domen Kožar 07049a7edf python generic builder: fix typos 2016-01-27 13:11:20 +01:00
Tobias Geerinckx-Rice d39f16fee6 pythonPackages.pelican: fix tests with Pygments 2.1
Broken in 38c83e2916.
I'll open an upstream PR with this patch as well.
2016-01-24 19:43:54 +01:00
Frederik Rietdijk 9441311e93 pythonPackages.pylint: 1.4.1 -> 1.5.4 2016-01-24 14:34:06 +01:00
Frederik Rietdijk e0d0f8dbd2 pythonPackages.setuptools and bootstrapped-pip: 18.2 -> 19.4
Update to latest setuptools. Latest setuptools will always try to run tests.
This can cause some very vague errors. We now need to fix all packages where we do not
invoke the correct test runner.
2016-01-24 14:34:01 +01:00
aszlig c92d7481a5
multipath_tools: Rename to multipath-tools
See http://nixos.org/nixpkgs/manual/#sec-package-naming

I've added an alias for multipath_tools to make sure that we don't break
existing configurations referencing the old name.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-01-21 16:18:38 +01:00
Tobias Geerinckx-Rice 9f6ca0fe15 pythonPackages.sphinx: fix tests with Pygments 2.1
Close #12511.
2016-01-21 04:11:57 +01:00
Tobias Geerinckx-Rice 67c487f243 pythonPackages.sphinx: 1.3.1 -> 1.3.4
Mainly bugfixes. Far too many to summarise here:
http://www.sphinx-doc.org/en/stable/changes.html#release-1-3-4-released-jan-12-2016
2016-01-21 04:11:05 +01:00
Vladimír Čunát 716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
Tobias Geerinckx-Rice f0cc8f9ec5 4suite: remove dead package
Project abandoned in 2006. Broken since June 2014.
2016-01-18 01:41:57 +01:00
Frederik Rietdijk e99005382e Merge pull request #12214 from FRidh/numpy
pythonPackages.numpy: 1.10.2 -> 1.10.4
2016-01-15 17:23:03 +01:00
Frederik Rietdijk 83bf145075 pythonPackages.numpy: 1.10.2 -> 1.10.4 2016-01-08 09:01:22 +01:00
Gabriel Ebner 7c28451287 pyqt5: 5.4.2 -> 5.5.1 2016-01-07 18:46:50 +01:00
Vladimír Čunát f9f6f41bff Merge branch 'master' into closure-size
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01:00
Thomas Tuegel 05dbd07cd1 pyqt5: Qt 5 infrastructure update 2015-12-20 07:56:39 -06:00
Frederik Rietdijk 2d07d00856 python scipy: run correct tests, fix/remove failing tests 2015-12-17 10:46:55 +01:00
Asko Soukka b6776d41dd zc.buildout-nix: 2.4.3 -> 2.5.0 2015-12-12 21:40:29 +02:00
Luca Bruno 5b0352a6a4 Merge branch 'master' into closure-size 2015-12-11 18:31:00 +01:00
Sou Bunnbu c03b26ee08 Merge pull request #11491 from bjornfor/pitivi-0.95
gstreamer 1.4 -> 1.6 and pitivi 0.94 -> 0.95
2015-12-11 21:00:31 +08:00
Frederik Rietdijk 515a13b1f5 python pyside: move callPackage to python-packages.nix
This should make pyside available for all Python versions.
2015-12-11 11:28:32 +01:00
Frederik Rietdijk 2ed93d74d5 python pyside shiboken: 1.2.2 -> 1.2.4 2015-12-11 11:28:32 +01:00
Frederik Rietdijk a11c7584ca python pyside: 1.2.2 -> 1.2.4 2015-12-11 11:28:32 +01:00
Frederik Rietdijk 7d08a9c877 python pyqt: add python.libPrefix 2015-12-11 11:28:31 +01:00
Frederik Rietdijk 2aa37ad8a2 python pycangjie: add python.libPrefix 2015-12-11 11:28:31 +01:00
Frederik Rietdijk 1d84bff14c python pycairo: add python.libPrefix 2015-12-11 11:28:31 +01:00
Frederik Rietdijk 8a61d3699f python pycangjie: call package from python-packages.nix 2015-12-11 11:28:31 +01:00
Frederik Rietdijk 9186d3169a python irclib: move expression to python-packages.nix
- Use external paver instead of built-in
- Only works with Python 2.x
2015-12-11 11:28:30 +01:00
Frederik Rietdijk d2b7b5660b python mygpoclient: move expression to python-packages.nix 2015-12-11 11:28:30 +01:00
Frederik Rietdijk 3c5e03d8c0 python xmpppy: move expression to python-packages.nix 2015-12-11 10:45:24 +01:00
Frederik Rietdijk e60da70c3b python slowaes: move expression to python-packages.nix 2015-12-11 10:45:24 +01:00
Frederik Rietdijk f9acc95a09 python rbtools: move expression to python-packages.nix
cc @domenkozar
2015-12-11 10:45:20 +01:00
Frederik Rietdijk 3e75b475f8 python pyx: 0.10 -> 0.14.1 rewrite expression
- Update version
- Rewrite expression using buildPythonPackage
- Current version only works of PyX only works with Python >= 3.2
2015-12-11 10:41:38 +01:00
Frederik Rietdijk bc97b365d3 python pygame: move callPackage to python-packages.nix 2015-12-11 10:41:38 +01:00
Frederik Rietdijk 88bcfa6441 python pycups: 1.9.68 -> 1.9.73 and move expression 2015-12-11 10:41:37 +01:00
Frederik Rietdijk fa45088ae9 python bsddb3: move and update expression
The updated expression uses buildPythonPackage and thus installs a
wheel. Unfortunately, setting the --berkeley-db flag seems to fail.
2015-12-11 10:41:37 +01:00
Frederik Rietdijk aa4777c45b python: remove psyco 2015-12-11 10:41:29 +01:00
Frederik Rietdijk 0b83f71486 python ecdsa: remove duplicate
ecdsa was specified in python-modules/ and in python-packages.nix.
2015-12-11 10:36:29 +01:00
Frederik Rietdijk 39b8e3808d python numeric: remove package
numeric was superseded by numpy about 10 years ago. I think we can
remove it...
2015-12-11 10:36:29 +01:00
Bjørn Forsman aad87c4cd0 pygobject3: 3.12.1 -> 3.18.2
pitivi-0.95 needs pygobject >= 3.14.
2015-12-05 21:52:35 +01:00
Domen Kožar eca688c6d8 Merge pull request #7170 from risicle/djangogis
django: add a django_gis variant which patches django to properly point ...
2015-12-03 14:29:18 +01:00
Domen Kožar 6cf4e29c4f Fix build for python3Packages.spyder
pylint (using Python 2.7) got propagated into python3Packages.spyder
so Python 2.7 setup-hook was used instead of python34.

Now that pylint is part of pythonPackages attribute set, pylint is
used with python3.4 as a base.
2015-12-02 19:07:46 +01:00
Eelco Dolstra cae5bfb991 statsd: Don't use <nixpkgs>
This was preventing the Nixpkgs channel from updating, since the
program indexer barfed on:

  error: anonymous function at /nix/store/wdnwbh3kmf68nhqqp0khcyxbdbp43vg5-nixos-14.12.626.b0d594c/nixos/nixpkgs/pkgs/top-level/node-packages.nix:1:1 called without required argument ‘neededNatives’, at /data/releases/nixos/unstable-small/.tmp-nixos-16.03pre72946.c50d013-787/unpack/nixos-16.03pre72946.c50d013/lib/customisation.nix:56:12

because Nixpkgs 16.03 was importing files from Nixpkgs 14.12.

Also added some half-assed checks to detect this issue in the future.
2015-12-02 15:58:30 +01:00
Luca Bruno 920b1d3591 Merge branch 'master' into closure-size 2015-11-29 16:50:26 +01:00
Robert Scott 7d3dacbdab django: add a django_gis variant which patches django to properly point at its gis libs but therefore also has them as dependencies (gdal for one can be quite big)
Conflicts:
	pkgs/top-level/python-packages.nix
2015-11-28 11:49:22 +00:00
Domen Kožar 403d088b5c Merge pull request #10542 from datakurre/datakurre-matplotlib
darwin: matplotlib: add needed inputs and set framework flag for darwin
2015-11-27 12:00:27 +01:00
Domen Kožar 7a3b518d62 buildPythonPackage: fix a regression #11303 2015-11-27 11:44:34 +01:00
Domen Kožar 67e03d0c50 Merge branch 'buildPythonPackage+wheels' 2015-11-26 17:38:35 +01:00
Domen Kožar 0c772699ba buildPythonPackage: write some comments 2015-11-26 17:31:10 +01:00
Luca Bruno a412927924 Merge remote-tracking branch 'origin/master' into closure-size 2015-11-25 21:37:30 +01:00
Joachim Fasting 502d21a835 xmpppy: reimplement using buildPythonPackage 2015-11-24 14:45:15 +01:00
Joachim Fasting 809b3803b9 pythonIRClib: reimplement using buildPythonPackage 2015-11-24 14:45:15 +01:00
Domen Kožar cf5984e4bf buildPythonPackage: fix support for pypy 2015-11-23 17:47:35 +01:00
Rok Garbas d82f55aead pythonPackages: shellHook of buildPythonPackages needs tmp_path to have lib/pythonX.Y/site-packages folder 2015-11-23 17:43:32 +01:00
Domen Kožar fc611fe634 buildPythonPackage: fix --prefix also for pip install -e 2015-11-23 17:21:46 +01:00
Domen Kožar 90f97c125d buildPythonPackage: use pip for development also 2015-11-21 22:17:04 +01:00
Domen Kožar 704c8bab41 buildPythonPackage: fix standalone applications using it 2015-11-21 21:44:12 +01:00
Domen Kožar 99a64da600 fix wxPython 2015-11-21 21:44:12 +01:00
Domen Kožar c6c58dc92d release-python.nix: automatically detect buildPythonPackage 2015-11-21 21:44:12 +01:00
Domen Kožar 686dae7c50 matplotlib: disable a flaky test 2015-11-21 21:44:12 +01:00
Domen Kožar 9bf99a5a4d buildPythonPackage: don't do build_ext if not needed 2015-11-21 21:44:12 +01:00
Domen Kožar 7e57e59ddd buildPythonPackage: fix numpy 2015-11-21 21:44:12 +01:00
Domen Kožar 127a20f8da buildPythonPackage: sadly, checkPhase is too often installPhase in python 2015-11-21 21:44:12 +01:00
Domen Kožar 6ba529277a buildPythonPackage: catch_conflicts should ignore pip 2015-11-21 21:44:12 +01:00
Domen Kožar 1029db9024 buildPythonPackage: fix do_conflict.py on python 3 2015-11-21 21:44:12 +01:00
Domen Kožar a912c45ee2 buildPythonPackage: get rid of setupPyInstallFlags since there is no such thing 2015-11-21 21:44:12 +01:00
Domen Kožar 42acb5dc55 buildPythonPackage: fix pypy 2015-11-21 21:44:12 +01:00
Domen Kožar d0809c2925 setuptools: cleanup expression 2015-11-21 21:44:12 +01:00
Domen Kožar f900231042 buildPythonPackage: fail if two packages with the same name are in closure 2015-11-21 21:44:12 +01:00
Domen Kožar f3092d6446 buildPythonPackage: use a separate file to fire off setup.py 2015-11-21 21:44:12 +01:00
Domen Kožar 960274fc7c wrapPython: use $out/bin also for $PATH (fixes pyramid pserve --reload) 2015-11-21 21:44:12 +01:00
Domen Kožar a2a6f60b5a WIP: buildPythonPackages now uses wheels internally 2015-11-21 21:44:12 +01:00
Vladimír Čunát 333d69a5f0 Merge staging into closure-size
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Domen Kožar 5ca01c71d1 Merge pull request #10814 from NarrativeScience/no_large_file_test
numpy: patch to remove large file test
2015-11-16 12:55:13 +01:00
Domen Kožar b666ac3e9f Revert "python: skip build at install phase"
This reverts commit d34f5b6570.

PIL and NumPy don't like this change and I'd rather spend time on
bringing wheels to Nix than fixing old infrastructure.
2015-11-15 13:50:04 +01:00
Domen Kožar 5a16c0e6e4 buildPythonPackage: clean up shellHook 2015-11-15 13:50:04 +01:00
Domen Kožar 505117f3fb Merge branch 'master' into staging 2015-11-11 12:53:36 +01:00
Domen Kožar 792fcd9f70 pycairo: disable on py35 2015-11-08 08:22:04 +01:00
William A. Kennington III 2837a5e091 Merge branch 'master.upstream' into staging.upstream 2015-11-05 10:07:28 -08:00
Domen Kožar d34f5b6570 python: skip build at install phase
"python setup.py install" will also run "python setup.py build"
which we've already done in buildPhase.
2015-11-04 11:40:09 +01:00
Domen Kožar ce4657b769 pythonPackages.sphinx: apply a patch to support py35 2015-11-04 10:40:28 +01:00
Allen Nelson b8c784f061 patch to remove large file test in numpy 2015-11-03 16:26:29 -06:00
Benno Fünfstück a027470a69 python-dubs: set pythonPath for wrapper
The python.buildEnv wrapper expects that all pythonPackages
have a pythonPath set, so we set to a dummy value here.
2015-11-01 17:56:18 +01:00
Asko Soukka 80fd9e96be darwin: matplotlib: update darwin patch for 1.5.0 2015-11-01 14:58:45 +02:00