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, autoreconfHook
{ lib, stdenv, fetchurl, autoreconfHook
, libuuid, zlib }:
let
@@ -20,16 +20,16 @@ let
doCheck = true;
AUTOMATED_TESTING = true; # https://trac.xapian.org/changeset/8be35f5e1/git
patches = stdenv.lib.optionals stdenv.isDarwin [ ./skip-flaky-darwin-test.patch ];
patches = lib.optionals stdenv.isDarwin [ ./skip-flaky-darwin-test.patch ];
# the configure script thinks that Darwin has ___exp10
# but its not available on my systems (or hydra apparently)
postConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
postConfigure = lib.optionalString stdenv.isDarwin ''
substituteInPlace config.h \
--replace "#define HAVE___EXP10 1" "#undef HAVE___EXP10"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Search engine library";
homepage = "https://xapian.org/";
license = licenses.gpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkg-config, xapian, perl, pcre, zlib, libmagic }:
{ lib, stdenv, fetchurl, pkg-config, xapian, perl, pcre, zlib, libmagic }:
stdenv.mkDerivation rec {
pname = "xapian-omega";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ xapian perl pcre zlib libmagic ];
nativeBuildInputs = [ pkg-config ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Indexer and CGI search front-end built on Xapian library";
homepage = "https://xapian.org/";
license = licenses.gpl2Plus;