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
+4 -4
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
, withShishi ? !stdenv.isDarwin, shishi ? null
}:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "1syyvh3k659xf1hdv9pilnnhbbhs6vfapayp4xgdcc8mfgf9v4gz";
};
buildInputs = stdenv.lib.optional withShishi shishi;
buildInputs = lib.optional withShishi shishi;
configureFlags = [
"--${if withShishi != null then "enable" else "disable"}-kereberos5"
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
doCheck = true;
# Fixup .la files
postInstall = stdenv.lib.optionalString withShishi ''
postInstall = lib.optionalString withShishi ''
sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/gss/";
description = "Generic Security Service";
license = licenses.gpl3Plus;