nix/pkgs: remove stdenv.lib from non-generated code

This commit is contained in:
Luke Granger-Brown 2021-02-13 13:56:02 +00:00
parent 0b865c968e
commit d8c29b0113
6 changed files with 9 additions and 8 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
{ lib, buildPythonPackage, fetchFromGitHub, requests, requests_oauthlib
, django, python3-openid, mock, coverage, pyjwt }:
buildPythonPackage rec {
@ -23,7 +23,7 @@ buildPythonPackage rec {
coverage run manage.py test allauth
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication";
homepage = "https://www.intenct.nl/projects/django-allauth";
license = licenses.mit;

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, django }:
{ lib, buildPythonPackage, fetchPypi, django }:
buildPythonPackage rec {
pname = "django-tailwind";
@ -13,7 +13,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "Integration of Tailwind CSS with Django";
homepage = "https://github.com/timonweb/django-tailwind";
license = licenses.mit;

View file

@ -18,7 +18,7 @@ with pkgs.python3Packages;
propagatedBuildInputs = [ dulwich ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Push and pull from a Git server using Mercurial";
homepage = "http://hg-git.github.com/";
license = licenses.gpl2;

View file

@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0
{ stdenv
, lib
, fetchFromGitHub
, autoreconfHook
, makeWrapper
@ -43,7 +44,7 @@ stdenv.mkDerivation rec {
--replace pbmtodp "$out/bin/pbmtodp"
wrapProgram $out/bin/intermec-dp-drv \
--prefix PATH ":" ${stdenv.lib.makeBinPath [
--prefix PATH ":" ${lib.makeBinPath [
# cat cp cut head
coreutils

View file

@ -61,7 +61,7 @@ buildGoModule rec {
zip --adjust-sfx $out/bin/pomerium
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://pomerium.io";
description = "Authenticating reverse proxy";
license = licenses.asl20;

View file

@ -30,7 +30,7 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace '"argparse",' ""
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/russss/python-emv";
description = "A Python implementation of the EMV smartcard protocol, used for chip-and-PIN payments";
license = licenses.mit;