pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user