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
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
{ lib, stdenv, fetchurl, gmp, gwenhywfar, libtool, libxml2, libxslt
, pkg-config, gettext, xmlsec, zlib
}:
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config gettext ];
meta = with stdenv.lib; {
meta = with lib; {
description = "An interface to banking tasks, file formats and country information";
homepage = "https://www.aquamaniac.de/";
hydraPlatforms = [];
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpgerror, pkg-config, gettext
{ lib, stdenv, fetchurl, gnutls, openssl, libgcrypt, libgpgerror, pkg-config, gettext
, which
# GUI support
@@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
isRelative = path: builtins.substring 0 1 path != "/";
mkSearchPath = path: ''
p; g; s,\<PLUGINDIR\>,"${path}",g;
'' + stdenv.lib.optionalString (isRelative path) ''
'' + lib.optionalString (isRelative path) ''
s/AddPath(\(.*\));/AddRelPath(\1, GWEN_PathManager_RelModeHome);/g
'';
@@ -42,7 +42,7 @@ in stdenv.mkDerivation rec {
sed -i -e '/GWEN_PathManager_DefinePath.*GWEN_PM_PLUGINDIR/,/^#endif/ {
/^#if/,/^#endif/ {
H; /^#endif/ {
${stdenv.lib.concatMapStrings mkSearchPath pluginSearchPaths}
${lib.concatMapStrings mkSearchPath pluginSearchPaths}
}
}
}' src/gwenhywfar.c
@@ -57,7 +57,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ gtk2 gtk3 qt5.qtbase gnutls openssl libgcrypt libgpgerror ];
meta = with stdenv.lib; {
meta = with lib; {
description = "OS abstraction functions used by aqbanking and related tools";
homepage = "http://www2.aquamaniac.de/sites/download/packages.php?package=01&showall=1";
license = licenses.lgpl21;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
{ lib, stdenv, fetchurl, pkg-config, gwenhywfar, pcsclite, zlib }:
let
inherit ((import ./sources.nix).libchipcard) sha256 releaseId version;
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
configureFlags = [ "--with-gwen-dir=${gwenhywfar}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Library for access to chipcards";
homepage = "https://www.aquamaniac.de/rdm/projects/libchipcard";
license = licenses.lgpl21;