summary refs log tree commit diff
path: root/pkgs/development/libraries/pysqlite/builder.sh
blob: aab781eb55ccdcd0aa7c976481d19facc366b4a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
source $stdenv/setup
source $substitute

configurePhase() {
	substituteInPlace "setup.cfg" \
		--replace "/usr/local/include" "$sqlite/include" \
		--replace "/usr/local/lib" "$sqlite/lib"
	cp setup.cfg /tmp
}
configurePhase=configurePhase

buildPhase() {
	$python/bin/python setup.py build
}
buildPhase=buildPhase

installPhase() {
	$python/bin/python setup.py install --prefix=$out
}
installPhase=installPhase

genericBuild