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
+4 -4
View File
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, sqlite, tcl, Foundation }:
{ lib, stdenv, fetchurl, unzip, sqlite, tcl, Foundation }:
let
archiveVersion = import ./archive-version.nix stdenv.lib;
archiveVersion = import ./archive-version.nix lib;
mkTool = { pname, makeTarget, description, homepage }: stdenv.mkDerivation rec {
inherit pname;
version = "3.34.0";
@@ -12,13 +12,13 @@ let
};
nativeBuildInputs = [ unzip ];
buildInputs = [ tcl ] ++ stdenv.lib.optional stdenv.isDarwin Foundation;
buildInputs = [ tcl ] ++ lib.optional stdenv.isDarwin Foundation;
makeFlags = [ makeTarget ];
installPhase = "install -Dt $out/bin ${makeTarget}";
meta = with stdenv.lib; {
meta = with lib; {
inherit description homepage;
downloadPage = http://sqlite.org/download.html;
license = licenses.publicDomain;