Commit Graph

10 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
Jonathan Ringer
38ab53776e pythonPackages.freezegun: disable python2
```
  Processing ./freezegun-1.0.0-py2.py3-none-any.whl
  ERROR: Package 'freezegun' requires a different Python: 2.7.18 not in '>=3.5'
```
2020-12-01 08:14:10 -08:00
Frederik Rietdijk
60ed7d3580 python3Packages.freezegun: 0.3.15 -> 1.0.0 2020-12-01 14:44:11 +01:00
Jonathan Ringer
393f5fc5f1 python2Packages.freezegun: disable tests for python2
Contains python3 exclusive code
2020-06-16 13:02:59 -07:00
Frederik Rietdijk
5429699b5e python3Packages.freezegun: 0.3.12 -> 0.3.15 2020-05-11 22:12:11 +02:00
Frederik Rietdijk
0274fcd1c6 freezegun: fix build 2019-06-15 08:44:06 +02:00
Frederik Rietdijk
6a317953e5 python: freezegun: 0.3.11 -> 0.3.12 2019-06-15 08:44:04 +02:00
Frederik Rietdijk
26626ac9f0 python.pkgs.freezegun: use correct inputs 2019-02-17 14:40:48 +01:00
Frederik Rietdijk
285f3363e6 python: freezegun: 0.3.8 -> 0.3.11 2018-12-03 16:50:30 +01:00
Chris Ostrouchov
f80a8fe3ec
pythonPackages.freezegun: refactor move to python-modules 2018-10-30 00:50:52 -04:00