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
{ lib, stdenv, fetchurl, pkg-config
# Optional Dependencies
, openssl ? null, zlib ? null
@@ -23,7 +23,7 @@ assert enableGetAssets -> libxml2 != null;
assert enableJemalloc -> jemalloc != null;
assert enablePython -> python != null && cython != null && ncurses != null && setuptools != null;
let inherit (stdenv.lib) optional optionals optionalString; in
let inherit (lib) optional optionals optionalString; in
stdenv.mkDerivation rec {
pname = "nghttp2";
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-spdylay=no"
"--disable-examples"
(stdenv.lib.enableFeature enableApp "app")
(lib.enableFeature enableApp "app")
] ++ optional enableAsioLib "--enable-asio-lib --with-boost-libdir=${boost}/lib"
++ (if enablePython then [
"--with-cython=${cython}/bin/cython"
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
#doCheck = true; # requires CUnit ; currently failing at test_util_localtime_date in util_test.cc
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://nghttp2.org/";
description = "A C implementation of HTTP/2";
license = licenses.mit;