1{ lib, fetchurl, buildPythonPackage, antlr2, isPy3k }: 2 3buildPythonPackage rec { 4 pname = "PyStringTemplate"; 5 version = "3.2b1"; 6 7 src = fetchurl { 8 url = "https://www.stringtemplate.org/download/${pname}-${version}.tar.gz"; 9 sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml"; 10 }; 11 12 propagatedBuildInputs = [ antlr2 ]; 13 14 disabled = isPy3k; 15 16 # No tests included in archive 17 doCheck = false; 18 19 meta = with lib; { 20 homepage = "https://www.stringtemplate.org/"; 21 description = "Text Templating Library"; 22 platforms = platforms.linux; 23 }; 24}