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, 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 it’s 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;
|
||||
|
||||
Reference in New Issue
Block a user