From f8c360148e582baa6d30413c8f0d3434330f9377 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 9 Mar 2009 10:46:42 +0000 Subject: [PATCH] Moved python stringtemplate library from tools/text/py-string-template to development/python-modules/stringtemplate. svn path=/nixpkgs/trunk/; revision=14455 --- .../python-modules/stringtemplate}/default.nix | 2 +- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename pkgs/{tools/text/py-string-template => development/python-modules/stringtemplate}/default.nix (85%) diff --git a/pkgs/tools/text/py-string-template/default.nix b/pkgs/development/python-modules/stringtemplate/default.nix similarity index 85% rename from pkgs/tools/text/py-string-template/default.nix rename to pkgs/development/python-modules/stringtemplate/default.nix index 0ca503a16ac..650edc7dab5 100644 --- a/pkgs/tools/text/py-string-template/default.nix +++ b/pkgs/development/python-modules/stringtemplate/default.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { description = "Text Templating Library"; }; src = fetchurl { - url = "http://www.stringtemplate.org/download/PyStringTemplate-3.2b1.tar.gz"; + url = "http://www.stringtemplate.org/download/${name}.tar.gz"; sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml"; }; propagatedBuildInputs = [python]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3711d260be2..2a8506a0678 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1075,7 +1075,7 @@ let inherit stdenv fetchurl; }; - pystringtemplate = import ../tools/text/py-string-template { + pystringtemplate = import ../development/python-modules/stringtemplate { inherit stdenv fetchurl python; /* TODO: Some parts of this package depend on the ANTLR run-time library * for Python. We have a package for ANTLR3, too, but that one is