Commit Graph

18 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
Frederik Rietdijk
a043299992 python: cachetools: 4.1.0 -> 4.1.1 2020-08-04 21:54:42 +02:00
Frederik Rietdijk
6c3b1571ed python: cachetools: 4.0.0 -> 4.1.0 2020-06-11 09:59:54 +02:00
Frederik Rietdijk
444a6b8d9e python2Packages.cachetools: restore 3.1.1 for python2 2020-01-05 15:41:35 +01:00
Frederik Rietdijk
dc911b165b Revert "python-google_auth: build this package with on older version of cachetools"
This reverts commit 177ab0e01e.
2020-01-05 15:41:35 +01:00
Peter Simons
177ab0e01e python-google_auth: build this package with on older version of cachetools
Fixes https://github.com/NixOS/nixpkgs/issues/76978.
2020-01-05 14:47:56 +01:00
Jonathan Ringer
62094862af pythonPackages.cachetools: disable py2, abandoned upstream 2019-12-30 16:46:50 +01:00
Frederik Rietdijk
5296ad0cb5 python: cachetools: 3.1.1 -> 4.0.0 2019-12-30 16:46:40 +01:00
Frederik Rietdijk
3eb05dabd0 python: cachetools: 3.1.0 -> 3.1.1 2019-06-15 08:44:04 +02:00
Frederik Rietdijk
e0abf7c956 python: cachetools: 2.1.0 -> 3.1.0 2019-02-17 14:40:16 +01:00
Robert Schütz
862e16117c python.pkgs.cachetools_1: remove
It is not used anywhere and was pointing to version 2.1.0 anyway.
2019-01-21 17:54:31 +01:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00: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
65054b86ab python: cachetools: 2.0.1 -> 2.1.0 2018-06-21 07:49:04 +02:00
Frederik Rietdijk
d78f4eb87f python: cachetools: 2.0.1 -> 2.1.0 2018-06-21 07:49:04 +02:00
Frederik Rietdijk
4aaab4bd15 python: cachetools: 1.1.3 -> 2.0.1 2018-02-26 18:44:42 +01:00
Rodney Lorrimar
31037bab49 pythonPackages.cachetools: Add version 2.0.1
Textacy requires a later version.

v2.0.0 introduced breaking changes, so keep two versions for other
packages.
2017-09-16 09:23:15 +01:00