Commit Graph

31 Commits

Author SHA1 Message Date
Pavol Rusnak
a4bbfba80d
pkgs/development/python-modules: stdenv.lib -> lib 2021-01-24 01:29:22 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
ajs124
dff1df7c21 python: Twisted: 19.10.0 -> 20.3.0 2020-03-23 20:11:47 +01:00
Frederik Rietdijk
c25c1bd662 python: Twisted: 19.7.0 -> 19.10.0 2019-12-30 16:46:48 +01:00
Frederik Rietdijk
767c0b74fe Revert "pythonPackages.twisted: disable python2"
Builds fine now.

This reverts commit a1a8c96d8f.
2019-10-23 12:49:45 +02:00
Frederik Rietdijk
e70c0170df python.pkgs.twisted: move twisted cache generation to postFixup
The Python 2 build of twisted would fail when generating the cache. This
failure started occuring since the change was introduced that builds
setuptools as a wheel instead of as an egg,
90be4c2c78.

Turns out moving this step to postFixup solves the issue. I suppose it
is related to the order of site packages being evaluated, where
PYTHONPATH introduced additional ones.
2019-10-23 12:48:16 +02:00
Jonathan Ringer
a1a8c96d8f pythonPackages.twisted: disable python2
ruamel* dependencies no longer have correct namespacing for python2
2019-10-18 09:54:04 +02:00
Frederik Rietdijk
039f36ac55 python: Twisted: 18.9.0 -> 19.7.0 2019-10-18 09:54:04 +02:00
Samuel Leathers
3491d523b3
pythonPackages.twisted: add setuptools dependency
* required for buildbot test to pass
2019-09-13 23:51:56 -04:00
Frederik Rietdijk
0c7eec26c6 python: Twisted: 18.7.0 -> 18.9.0 2018-12-03 16:50:36 +01:00
Robert Schütz
9de15d502f python.pkgs.twisted: update propagatedBuildInputs 2018-07-26 12:43:14 +02:00
Frederik Rietdijk
720a357455 python: Twisted: 18.4.0 -> 18.7.0 2018-07-26 12:43:12 +02:00
aszlig
c15e6fd3fd
python/twisted: Fix fetching source
In ced21f5e1a, fetchurl has changed into
fetchPypi, but the upstream tarball is actually a tar.bz2 archive but by
default fetchPypi uses "tar.gz" as its extension.

The sha256 however is still the same.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @FRidh
2018-06-29 23:23:32 +02:00
Vladimír Čunát
2059bf9e39
Merge older staging with added firefox-related updates 2018-06-29 21:06:39 +02:00
Ryan Mulligan
fce8f26af6 treewide: http -> https (#42665) 2018-06-27 22:12:57 +02:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Frederik Rietdijk
587c2bd264 python: Twisted: 17.9.0 -> 18.4.0 2018-06-22 13:09:33 +02:00
Frederik Rietdijk
7ce848309e python.pkgs: updates 2017-10-27 21:34:42 +02:00
Frederik Rietdijk
67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00
Albert Peschar
de575055be twisted: update to 17.5.0 2017-08-15 15:11:00 +02:00
Frederik Rietdijk
959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00
Lancelot SIX
528a452043
pythonPackages.twisted: 16.4.1 -> 17.1.0 2017-05-02 09:28:34 +02:00
Ludovic Courtès
5b7525c631 Move Twisted to `buildPythonPackage'.
svn path=/nixpkgs/trunk/; revision=15709
2009-05-24 21:25:29 +00:00
Peter Simons
05d7c131d1 Re-apply Eelco's "installCommand --> installPhase" patch.
svn path=/nixpkgs/trunk/; revision=12892
2008-09-19 10:07:57 +00:00
Peter Simons
f3ae22fa5f Install wrappers for Twisted binaries to ensure a correct ${PYTHONPATH}.
svn path=/nixpkgs/trunk/; revision=12891
2008-09-19 10:07:36 +00:00
Eelco Dolstra
5d9dfc1e60 * Removed $installCommand, it's no longer needed since we split the
install and fixup phases.  You can just override installPhase.

svn path=/nixpkgs/trunk/; revision=12787
2008-09-02 13:51:32 +00:00
Peter Simons
85546a8e31 Updated scons and twisted; added buildbot.
* Updated scons to version 1.0.0. Also added appropriate makeWrapper calls to
   ensure that the python binary finds its library files.

 * Updated Twisted from 2.5 to 8.1.

 * Added an expression for buildbot.

svn path=/nixpkgs/trunk/; revision=12782
2008-09-01 15:11:09 +00:00
Eelco Dolstra
a5e0e39cdb * makeWrapper: option --run <CMD> to run a command from the wrapper.
This is so that the Unison wrapper can be generated with
  makeWrapper.
* Use makeWrapper as a buildInput everywhere.
* Updated BitTorrent, cvs2svn.

svn path=/nixpkgs/trunk/; revision=10213
2008-01-18 11:28:41 +00:00
Eelco Dolstra
9ea7038c51 * BitTorrent 5.0.3.
* wxPython 2.6.3.

svn path=/nixpkgs/trunk/; revision=7341
2006-12-13 20:30:09 +00:00
Eelco Dolstra
e6f589d4bf * Some Python packages.
svn path=/nixpkgs/trunk/; revision=7339
2006-12-13 18:04:03 +00:00