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
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, cmake, pkg-config, qt, darwin }:
{ lib, stdenv, fetchurl, openssl, cmake, pkg-config, qt, darwin }:
stdenv.mkDerivation rec {
pname = "qca";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ openssl qt ]
++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
# tells CMake to use this CA bundle file if it is accessible
preConfigure = ''
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
sed -i -e '1i cmake_policy(SET CMP0025 NEW)' CMakeLists.txt
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Qt Cryptographic Architecture";
license = "LGPL";
homepage = "http://delta.affinix.com/qca";