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, boost, sqlite }:
{ lib, stdenv, fetchurl, boost, sqlite }:
stdenv.mkDerivation rec {
pname = "vsqlite";
@@ -11,14 +11,14 @@ stdenv.mkDerivation rec {
buildInputs = [ boost sqlite ];
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
prePatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile.in \
--replace '-Wl,--as-needed' "" \
--replace '-Wl,-soname -Wl,libvsqlitepp.so.3' \
"-Wl,-install_name,$out/lib/libvsqlitepp.3.dylib"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://vsqlite.virtuosic-bytes.com/";
description = "C++ wrapper library for sqlite";
license = licenses.bsd3;