blob: 929aa31124279bdc0b949bf6532e36fb482fee9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgs: attrs: with pkgs; with attrs; rec {
version = "3.40.1";
src = fetchFromGitHub {
owner = "sqlite";
repo = "sqlite";
rev = "version-${version}";
hash = "sha256-4f5+Xe4X4GVoBlSQ7lc3OedQmTYxcFEXShZ0YX40GNY=";
};
nativeBuildInputs = [ tcl ];
postConfigure = ''
make sqlite3.c
cp ./src/test_multiplex.* ./
'';
preBuild = "";
CFLAGS = "-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT -DHAVE_USLEEP";
LDFLAGS = "-lm";
patches = [];
}
|