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