Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pylatexenc / default.nix
blob496e7e6af2c3b32687b837dfe8e935bef918224d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "pylatexenc";
9   version = "2.10";
11   src = fetchFromGitHub {
12     owner = "phfaist";
13     repo = "pylatexenc";
14     rev = "v${version}";
15     hash = "sha256-3Ho04qrmCtmmrR+BUJNbtdCZcK7lXhUGJjm4yfCTUkM=";
16   };
18   pythonImportsCheck = [ "pylatexenc" ];
19   checkInputs = [ pytestCheckHook ];
21   meta = with lib; {
22     description = "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion";
23     homepage = "https://pylatexenc.readthedocs.io";
24     downloadPage = "https://www.github.com/phfaist/pylatexenc/releases";
25     changelog = "https://pylatexenc.readthedocs.io/en/latest/changes/";
26     license = licenses.mit;
27     maintainers = with maintainers; [ drewrisinger ];
28   };