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
|
||||
, cxxSupport ? true
|
||||
, compat185 ? true
|
||||
, dbmSupport ? false
|
||||
@@ -6,7 +6,7 @@
|
||||
# Options from inherited versions
|
||||
, version, sha256
|
||||
, extraPatches ? [ ]
|
||||
, license ? stdenv.lib.licenses.sleepycat
|
||||
, license ? lib.licenses.sleepycat
|
||||
, drvArgs ? {}
|
||||
}:
|
||||
|
||||
@@ -27,8 +27,8 @@ stdenv.mkDerivation (rec {
|
||||
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
||||
(if compat185 then "--enable-compat185" else "--disable-compat185")
|
||||
]
|
||||
++ stdenv.lib.optional dbmSupport "--enable-dbm"
|
||||
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
|
||||
++ lib.optional dbmSupport "--enable-dbm"
|
||||
++ lib.optional stdenv.isFreeBSD "--with-pic";
|
||||
|
||||
preConfigure = ''
|
||||
cd build_unix
|
||||
@@ -47,7 +47,7 @@ stdenv.mkDerivation (rec {
|
||||
make examples_c examples_cxx
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/index.html";
|
||||
description = "Berkeley DB";
|
||||
license = license;
|
||||
|
||||
Reference in New Issue
Block a user