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

30 lines
796 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
2020-04-21 13:35:35 +01:00
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylatexenc";
2020-11-04 17:28:56 +00:00
version = "2.8";
src = fetchFromGitHub {
owner = "phfaist";
2020-04-21 13:35:35 +01:00
repo = "pylatexenc";
rev = "v${version}";
2020-11-04 17:28:56 +00:00
sha256 = "0m9vrbh1gmbgq6dqm7xzklar3accadw0pn896rqsdi5jbgd3w0mh";
};
pythonImportsCheck = [ "pylatexenc" ];
2020-04-21 13:35:35 +01:00
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 13:35:35 +01:00
downloadPage = "https://www.github.com/phfaist/pylatexenc/releases";
2020-11-04 17:28:56 +00:00
changelog = "https://pylatexenc.readthedocs.io/en/latest/changes/";
license = licenses.mit;
maintainers = with maintainers; [ drewrisinger ];
};
2020-08-13 14:47:01 +01:00
}