sqlite: 3.35.2 -> 3.35.5

This commit is contained in:
Konstantin Alekseev 2021-05-24 12:46:46 +03:00 committed by Jonathan Ringer
parent 1194bfcc03
commit 14a274763e
2 changed files with 9 additions and 4 deletions

View File

@ -12,12 +12,12 @@ in
stdenv.mkDerivation rec {
pname = "sqlite";
version = "3.35.2";
version = "3.35.5";
# NB! Make sure to update ./tools.nix src (in the same directory).
src = fetchurl {
url = "https://sqlite.org/2021/sqlite-autoconf-${archiveVersion version}.tar.gz";
sha256 = "1bfczv5006ycwr1vw7xbq7cmys0jvfr8awmx7wi1b40zyj0yss8j";
sha256 = "9StypcMZw+UW7XqS4SMTmm6Hrwii3EPXdXck9hMubbA=";
};
outputs = [ "bin" "dev" "out" ];
@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ] ++ optionals interactive [ readline ncurses ];
# required for aarch64 but applied for all arches for simplicity
preConfigure = ''
patchShebangs configure
'';
configureFlags = [ "--enable-threadsafe" ] ++ optional interactive "--enable-readline";
NIX_CFLAGS_COMPILE = toString [

View File

@ -4,11 +4,11 @@ let
archiveVersion = import ./archive-version.nix lib;
mkTool = { pname, makeTarget, description, homepage }: stdenv.mkDerivation rec {
inherit pname;
version = "3.35.2";
version = "3.35.5";
src = assert version == sqlite.version; fetchurl {
url = "https://sqlite.org/2021/sqlite-src-${archiveVersion version}.zip";
sha256 = "00w7qggrdxpcrs4rfpqkjhcghi8pcx6zzjim9wlz6vsrxlr9dwva";
sha256 = "9StypcMZw+UW7XqS4SMTmm6Hrwii3EPXdXck9hMubbA=";
};
nativeBuildInputs = [ unzip ];