Commit Graph

15 Commits

Author SHA1 Message Date
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
R. RyanTM
a8049ded49 python37Packages.treq: 20.4.1 -> 20.9.0 2020-10-17 10:03:00 -07:00
R. RyanTM
bd8488b774 python27Packages.treq: 18.6.0 -> 20.4.1 2020-05-10 09:30:17 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster
760e23136a
treewide: *inputs are lists 2019-12-31 01:09:25 +01:00
Frederik Rietdijk
a0e3bd18e0 python: treq: 17.8.0 -> 18.6.0 2018-07-26 12:43:11 +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
Pascal Wittmann
24e87b49b6
Change many homepage urls from http to https #30636 2017-11-10 22:13:46 +01:00
Frederik Rietdijk
67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00
Frederik Rietdijk
d58e1f1c7b python.pkgs: many updates 2017-08-25 19:36:14 +02:00
Jörg Thalheim
bef0b67a84
pythonPackages.treq: fix build 2017-05-31 23:46:19 +01:00
Fernando J Pando
50b0e5bfa1 treq: 17.3.1
- enables and fixes tests
- makes docs properly
- used fetchpypi
- tested nixos python 27/34
2017-05-30 14:51:57 -04:00
Frederik Rietdijk
6b999f3c42 Python: many package updates
Did not test all packages. Likely we'll have some breakage.
2017-05-27 14:25:08 +02:00
Frederik Rietdijk
ef4442e827 Python: replace requests2 with requests tree-wide
See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
2017-05-07 12:56:09 +02:00
Fernando J Pando
6fc34fd48a treq: init 16.12.1
Tested on NixOS unstable
2017-02-09 10:10:51 -05:00