python310Packages.typogrify: reduce dependencies
This commit is contained in:
parent
d2952941ba
commit
f727b0bfef
|
@ -1,32 +1,33 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPyPy
|
|
||||||
, django
|
|
||||||
, smartypants
|
, smartypants
|
||||||
, jinja2
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "typogrify";
|
pname = "typogrify";
|
||||||
version = "2.0.7";
|
version = "2.0.7";
|
||||||
disabled = isPyPy;
|
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38";
|
sha256 = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ django smartypants jinja2 ];
|
propagatedBuildInputs = [
|
||||||
|
smartypants
|
||||||
|
];
|
||||||
|
|
||||||
# Wants to set up Django
|
# Wants to set up Django
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "typogrify.filters" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Filters to enhance web typography, including support for Django & Jinja templates";
|
description = "Filters to enhance web typography, including support for Django & Jinja templates";
|
||||||
homepage = "https://github.com/mintchaos/typogrify";
|
homepage = "https://github.com/mintchaos/typogrify";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ dotlambda ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue