mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
3c8a7d98b0
* Added SQLite 3.3. * Added PySQLite 2.2.2. * Added Trac 0.9.5. To get you started; a new project environment is created by executing: $ trac-admin /path/to/trac_project_env initenv Running the server can be done by executing: $ tracd --port 8000 /path/to/projectenv Trac is then available at http://localhost:8000/projectenv. More information available at http://www.edgewall.com/trac/. svn path=/nixpkgs/trunk/; revision=5195
23 lines
427 B
Bash
23 lines
427 B
Bash
source $stdenv/setup
|
|
source $substituter
|
|
|
|
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
|