3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/stringtemplate/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

26 lines
593 B
Nix

{stdenv, fetchurl, buildPythonPackage, antlr, isPy3k}:
buildPythonPackage rec {
pname = "PyStringTemplate";
name = "${pname}-${version}";
version = "3.2b1";
src = fetchurl {
url = "http://www.stringtemplate.org/download/${name}.tar.gz";
sha256 = "0lbib0l8c1q7i1j610rwcdagymr1idahrql4dkgnm5rzyg2vk3ml";
};
propagatedBuildInputs = [ antlr ];
disabled = isPy3k;
# No tests included in archive
doCheck = false;
meta = {
homepage = http://www.stringtemplate.org/;
description = "Text Templating Library";
platforms = stdenv.lib.platforms.linux;
};
}