Commit Graph

7 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
Malte Brandy
7fee1c664c
pythonPackages.qrcode: Fix "No module named pkg_resources" error 2019-11-10 14:17:06 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
nyanloutre
4fc689635a pythonPackages.qrcode: 6.0 -> 6.1
This update fixes checks with python 3
2019-01-14 09:54:18 +01:00
Orivej Desh
483b87ba09 pythonPackages.qrcode: disable tests with Python 3
They fail since qrcode 6.0:
https://hydra.nixos.org/job/nixpkgs/trunk/python37Packages.qrcode.x86_64-linux

Upstream issue: https://github.com/lincolnloop/python-qrcode/issues/163
2018-12-26 02:54:26 +00:00
Frederik Rietdijk
dfb1d404c7 python: qrcode: 5.3 -> 6.0 2018-12-03 16:50:34 +01:00
Chris Ostrouchov
4ed0fd0b12
pythonPackages.qrcode: refactor move to python-modules 2018-10-30 00:50:53 -04:00