* Added ClearSilver 0.10.3.
* 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
This commit is contained in:
9
pkgs/development/libraries/clearsilver/builder.sh
Normal file
9
pkgs/development/libraries/clearsilver/builder.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
source $stdenv/setup
|
||||
|
||||
mkdir -p $out
|
||||
mkdir -p $out/site-packages
|
||||
|
||||
export PYTHON_SITE=$out/site-packages
|
||||
configureFlags="--with-python=$python/bin/python --disable-apache --disable-perl --disable-ruby --disable-java --disable-csharp"
|
||||
|
||||
genericBuild
|
||||
12
pkgs/development/libraries/clearsilver/default.nix
Normal file
12
pkgs/development/libraries/clearsilver/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, python}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name="clearsilver-0.10.3";
|
||||
src = fetchurl {
|
||||
url = "http://www.clearsilver.net/downloads/clearsilver-0.10.3.tar.gz";
|
||||
md5 = "ff4104b0e58bca1b61d528edbd902769";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
|
||||
inherit stdenv python;
|
||||
}
|
||||
22
pkgs/development/libraries/pysqlite/builder.sh
Normal file
22
pkgs/development/libraries/pysqlite/builder.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
||||
12
pkgs/development/libraries/pysqlite/default.nix
Normal file
12
pkgs/development/libraries/pysqlite/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{stdenv, fetchurl, python, sqlite, substituter}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "pysqlite-2.2.2";
|
||||
src = fetchurl {
|
||||
url = "http://initd.org/pub/software/pysqlite/releases/2.2/2.2.2/pysqlite-2.2.2.tar.gz";
|
||||
md5 = "3260547d3f11c85613b2de8ed529a4fc";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
|
||||
inherit stdenv python sqlite substituter;
|
||||
}
|
||||
11
pkgs/development/libraries/sqlite-3.3/default.nix
Normal file
11
pkgs/development/libraries/sqlite-3.3/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "sqlite-3.3.5";
|
||||
src = fetchurl {
|
||||
url = "http://www.sqlite.org/sqlite-3.3.5.tar.gz";
|
||||
md5 = "dd2a7b6f2a07a4403a0b5e17e8ed5b88";
|
||||
};
|
||||
configureFlags = "--enable-threadsafe";
|
||||
inherit stdenv;
|
||||
}
|
||||
Reference in New Issue
Block a user