nixpkgs/pkgs/development/python-modules/pylatexenc/default.nix

29 lines
756 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
2020-04-21 05:35:35 -07:00
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylatexenc";
2020-04-21 05:35:35 -07:00
version = "2.2";
src = fetchFromGitHub {
owner = "phfaist";
2020-04-21 05:35:35 -07:00
repo = "pylatexenc";
rev = "v${version}";
2020-04-21 05:35:35 -07:00
sha256 = "0icwd7iipz3sv4jdh9iam7h4xslvdqg16rwsmczrna3mmjbwccdk";
};
pythonImportsCheck = [ "pylatexenc" ];
2020-04-21 05:35:35 -07:00
dontUseSetuptoolsCheck = true;
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion";
homepage = "https://pylatexenc.readthedocs.io";
2020-04-21 05:35:35 -07:00
downloadPage = "https://www.github.com/phfaist/pylatexenc/releases";
license = licenses.mit;
maintainers = with maintainers; [ drewrisinger ];
};
}