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

This commit is contained in:
Ben Siraphob
2021-01-22 00:00:13 +07:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, zlib, windows }:
{ lib, stdenv, fetchurl, openssl, zlib, windows }:
stdenv.mkDerivation rec {
pname = "libssh2";
@@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ];
buildInputs = [ openssl zlib ]
++ stdenv.lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
++ lib.optional stdenv.hostPlatform.isMinGW windows.mingw_w64;
patches = [
# Not able to use fetchpatch here: infinite recursion
./CVE-2019-17498.patch
];
meta = with stdenv.lib; {
meta = with lib; {
description = "A client-side C library implementing the SSH2 protocol";
homepage = "https://www.libssh2.org";
platforms = platforms.all;