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, fetchFromGitHub, cmake, pkg-config, python3
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, python3
, zlib, libssh2, openssl, pcre, http-parser
, libiconv, Security
}:
@@ -23,16 +23,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake python3 pkg-config ];
buildInputs = [ zlib libssh2 openssl pcre http-parser ]
++ stdenv.lib.optional stdenv.isDarwin Security;
++ lib.optional stdenv.isDarwin Security;
propagatedBuildInputs = stdenv.lib.optional (!stdenv.isLinux) libiconv;
propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv;
doCheck = false; # hangs. or very expensive?
meta = {
description = "The Git linkable library";
homepage = "https://libgit2.github.com/";
license = stdenv.lib.licenses.gpl2;
platforms = with stdenv.lib.platforms; all;
license = lib.licenses.gpl2;
platforms = with lib.platforms; all;
};
}