pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv }:
{ lib, stdenv, fetchurl, pkg-config, SDL2, libpng, libiconv }:
stdenv.mkDerivation rec {
pname = "qrencode";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ SDL2 libpng ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
buildInputs = [ SDL2 libpng ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
configureFlags = [
"--with-tests"
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
runHook postCheck
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://fukuchi.org/works/qrencode/";
description = "C library for encoding data in a QR Code symbol";