Commit Graph

7 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
Jonathan Ringer
92c7a40856 python3Packages.update_checker: disable py2
```
builder for '/nix/store/2qwl0rkdm2gx2byhpmw7lxyg5rprwqqk-python2.7-update_checker-0.18.0.drv' failed with exit code 1; last 10 log lines:
  no configure script, doing nothing
  building
  Executing setuptoolsBuildPhase
  Traceback (most recent call last):
    File "nix_run_setup", line 8, in <module>
      exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
    File "setup.py", line 9
      with open(f"{MODULE_NAME}.py") as fp:
                                  ^
  SyntaxError: invalid syntax
```
2020-11-05 15:47:10 -08:00
Frederik Rietdijk
9303357718 python: update_checker: 0.17 -> 0.18.0 2020-08-16 19:31:19 +02:00
R. RyanTM
2be266cc0f python27Packages.update_checker: 0.16 -> 0.17 2020-05-26 22:48:42 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Joerg Thalheim
8fb1ec1af4 python.pkgs.update_checker: 0.11 -> 0.16 2017-11-07 13:15:49 +00:00