Commit graph

10 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 9d04b89380 python3Packages.sphinxcontrib-openapi: disable py2
```
builder for '/nix/store/jz41wvwvkc6q55972ysdajm6k3vnv6r8-python2.7-sphinxcontrib-openapi-0.7.0.drv' failed with exit code 1; last 10 log lines:
  configuring
  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 10, in <module>
      with open(os.path.join(here, "README.rst"), "r", encoding="utf-8") as f:
  TypeError: 'encoding' is an invalid keyword argument for this function
```
2020-11-05 15:47:10 -08:00
Jonathan Ringer 75291e223f python3Packages.sphinxcontrib-openapi: fix build 2020-08-30 09:11:03 +02:00
Frederik Rietdijk db113a302b python: sphinxcontrib-openapi: 0.6.0 -> 0.7.0 2020-06-11 10:00:22 +02:00
R. RyanTM 97f8808b87 python27Packages.sphinxcontrib-openapi: 0.5.0 -> 0.6.0 2020-03-25 10:19:23 -07:00
Frederik Rietdijk f6054ea58c python: sphinxcontrib-openapi: 0.4.0 -> 0.5.0 2019-10-27 16:26:53 +01:00
Frederik Rietdijk ce50e0f8d7 python: sphinxcontrib-openapi: 0.3.2 -> 0.4.0 2019-02-17 14:40:42 +01:00
Frederik Rietdijk 55a5d15ddb python: sphinxcontrib-openapi: 0.3.0 -> 0.3.2 2018-12-03 16:50:35 +01:00
Chris Ostrouchov f2a6838ff1
pythonPackages.sphinxcontrib-openapi: refactor move to python-modules 2018-10-30 00:50:48 -04:00