2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2021-06-28 23:13:55 +00:00
|
|
|
pname = "sqlite-zandronum";
|
|
|
|
version = "3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-01-02 11:29:13 +00:00
|
|
|
url = "https://www.sqlite.org/2021/sqlite-autoconf-3360000.tar.gz";
|
|
|
|
sha256 = "1qxwkfvd185dfcqbakrzikrsw6ffr5jp1gl3dch9dsdyjvmw745x";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp sqlite3.c $out/
|
|
|
|
cp sqlite3.h $out/
|
|
|
|
cp sqlite3ext.h $out/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.sqlite.org/";
|
|
|
|
description = "A single C code file, named sqlite3.c, that contains all C code for the core SQLite library and the FTS3 and RTREE extensions";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ lib.maintainers.lassulus ];
|
|
|
|
};
|
|
|
|
}
|