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
|
||||
{ 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;
|
||||
|
||||
Reference in New Issue
Block a user