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