Commit Graph

17 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +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
Martin Weinelt
d72a58a684 python3Packages.requests: 2.24.0 -> 2.25.0 2020-11-17 09:18:12 -08:00
Frederik Rietdijk
d35f2cfe60 python: requests: 2.23.0 -> 2.24.0 2020-08-16 19:31:14 +02:00
Daiderd Jordan
b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Frederik Rietdijk
f14d4b45b8 pythonPackages.requests: 2.22.0 -> 2.23.0 2020-05-11 22:12:09 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Pierre Bourdon
abc9221996 pythonPackages.requests: 2.21.0 -> 2.22.0 2019-07-21 08:38:22 +02:00
Frederik Rietdijk
62021bb3cd python: requests: 2.20.1 -> 2.21.0 2019-02-17 14:40:40 +01:00
Frederik Rietdijk
1fa6b1340a python: requests: 2.20.0 -> 2.20.1 2018-12-03 16:50:39 +01:00
Frederik Rietdijk
f43b64cf57 python: requests: 2.19.1 -> 2.20.0 2018-12-03 16:50:35 +01:00
Jan Malakhovski
60ba7d233e pythonPackages.requests: disable multiple outputs
The `dev` output is empty anyway.

The problem is that it interacts badly with other parts of python and
stdenv infrastructure. In particular, before this patch it installs
code into `out` output (with only generated `nix-support` in `dev`),
but `makePythonPath` then uses `propagatedBuildInputs` to generate
`PYTHONPATH` while stdenv selects `dev` outputs for
`propagatedBuiltInputs`. This results in `makePythonPath` linking to
the empty `dev` output in `PYTHONPATH`.

This reverts a piece of commit 28299f669a.
2018-11-18 11:19:20 +01:00
Frederik Rietdijk
57efe1a657 python: requests: 2.19.0 -> 2.19.1 2018-06-22 13:09:45 +02:00
Frederik Rietdijk
a99873e851 python: requests: 2.18.4 -> 2.19.0 2018-06-22 13:09:29 +02:00
Robert Schütz
12c71b3dbe python: remove name from some expressions 2018-02-28 10:10:05 +10:30
Eelco Dolstra
28299f669a Add even more dev outputs 2017-09-27 12:08:48 +02:00
Frederik Rietdijk
67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00