mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
34 lines
701 B
Nix
34 lines
701 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, smartypants
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "typogrify";
|
|
version = "2.0.7";
|
|
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
smartypants
|
|
];
|
|
|
|
# Wants to set up Django
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "typogrify.filters" ];
|
|
|
|
meta = with lib; {
|
|
description = "Filters to enhance web typography, including support for Django & Jinja templates";
|
|
homepage = "https://github.com/mintchaos/typogrify";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|