about summary refs log tree commit diff
path: root/pkgs/development/python-modules/stringtemplate/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/stringtemplate/default.nix')
-rw-r--r--pkgs/development/python-modules/stringtemplate/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/stringtemplate/default.nix b/pkgs/development/python-modules/stringtemplate/default.nix
index 1d3438032af74..3d2b2337be4c3 100644
--- a/pkgs/development/python-modules/stringtemplate/default.nix
+++ b/pkgs/development/python-modules/stringtemplate/default.nix
@@ -2,11 +2,10 @@
 
 buildPythonPackage rec {
   pname = "PyStringTemplate";
-  name = "${pname}-${version}";
   version = "3.2b1";
 
   src = fetchurl {
-    url = "http://www.stringtemplate.org/download/${name}.tar.gz";
+    url = "http://www.stringtemplate.org/download/${pname}-${version}.tar.gz";
     sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml";
   };