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, ... } @ args:
|
||||
{ lib, stdenv, fetchurl, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // {
|
||||
version = "4.8.30";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ... } @ args:
|
||||
{ lib, stdenv, fetchurl, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // {
|
||||
version = "5.3.28";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, ... } @ args:
|
||||
{ lib, stdenv, fetchurl, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // {
|
||||
version = "6.0.20";
|
||||
sha256 = "00r2aaglq625y8r9xd5vw2y070plp88f1mb2gbq3kqsl7128lsl0";
|
||||
license = stdenv.lib.licenses.agpl3;
|
||||
license = lib.licenses.agpl3;
|
||||
extraPatches = [ ./clang-6.0.patch ./CVE-2017-10140-cwd-db_config.patch ];
|
||||
})
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, ... } @ args:
|
||||
{ lib, stdenv, fetchurl, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // {
|
||||
version = "6.2.23";
|
||||
sha256 = "1isxx4jfmnh913jzhp8hhfngbk6dsg46f4kjpvvc56maj64jqqa7";
|
||||
license = stdenv.lib.licenses.agpl3;
|
||||
license = lib.licenses.agpl3;
|
||||
extraPatches = [ ./clang-6.0.patch ./CVE-2017-10140-cwd-db_config.patch ];
|
||||
})
|
||||
|
||||
@@ -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