summary refs log tree commit diff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2008-06-12 10:08:10 +0000
committerMichael Raskin <7c6f434c@mail.ru>2008-06-12 10:08:10 +0000
commitbcc44390eb146f5bac5783dfcfb524ab023fb606 (patch)
tree85b8800faa42ace284e4c7c6155395442d6d0a09 /pkgs/tools/text
parentb0100826059689a61bbcaf0d7a434f7e222826b0 (diff)
downloadnixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.tar
nixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.tar.gz
nixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.tar.bz2
nixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.tar.lz
nixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.tar.xz
nixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.tar.zst
nixlib-bcc44390eb146f5bac5783dfcfb524ab023fb606.zip
Added cheetah-template templating engine
svn path=/nixpkgs/trunk/; revision=12054
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/cheetah-template/2.0.1.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/tools/text/cheetah-template/2.0.1.nix b/pkgs/tools/text/cheetah-template/2.0.1.nix
new file mode 100644
index 000000000000..117e0f88a8be
--- /dev/null
+++ b/pkgs/tools/text/cheetah-template/2.0.1.nix
@@ -0,0 +1,18 @@
+args : with args; 
+rec {
+  src = fetchurl {
+    url = http://downloads.sourceforge.net/cheetahtemplate/Cheetah-2.0.1.tar.gz;
+    sha256 = "134k4s5f116k23vb7wf9bynlx3gf0wwl7y0zp9ciz0q66nh1idkh";
+  };
+
+  buildInputs = [python makeWrapper];
+  configureFlags = [];
+
+  /* doConfigure should be specified separately */
+  phaseNames = ["installPythonPackage" (makeManyWrappers ''$out/bin/*'' ''--prefix PYTHONPATH : $(toPythonPath $out)'')];
+      
+  name = "cheetah-template-" + version;
+  meta = {
+    description = "Templating engine";
+  };
+}