Commit graph

8 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 5e8be2fb84 mypy: add missing dep, rename mypy_extensions to mypy-extensions 2019-10-27 16:26:55 +01:00
Frederik Rietdijk e70f0a4cc2 python: mypy_extensions: 0.4.2 -> 0.4.3 2019-10-27 16:26:47 +01:00
Frederik Rietdijk 03f3b6d1f1 python: mypy_extensions: 0.4.1 -> 0.4.2 2019-10-18 09:53:59 +02:00
Spencer Baugh fd9d45c7c1 pythonPackages.mypy_extensions: use typing from stdlib on >=3.5
It's not necessary to depend on the "typing" backport since it's in
the standard library; I also observed serious breakage in anything
using the typing module (including) when the backport was in the
closure on >=3.5.
2018-10-13 10:13:03 +02:00
Jörg Thalheim 080b3ef0b5 python2.pkgs.mypy_extensions: also enable python2 2018-09-18 08:05:02 +01:00
Matthieu Coudron 676ceb81b7 python3Packages.mypy: 0.620 -> 0.630
Now requires mypy_extensions so added it as well.
2018-09-18 00:31:41 +09:00