Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 29 lines 757 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pylatexenc"; 9 version = "2.7"; 10 11 src = fetchFromGitHub { 12 owner = "phfaist"; 13 repo = "pylatexenc"; 14 rev = "v${version}"; 15 sha256 = "1hpcwbknfah3mky2m4asw15b9qdvv4k5ni0js764n1jpi83m1zgk"; 16 }; 17 18 pythonImportsCheck = [ "pylatexenc" ]; 19 dontUseSetuptoolsCheck = true; 20 checkInputs = [ pytestCheckHook ]; 21 22 meta = with lib; { 23 description = "Simple LaTeX parser providing latex-to-unicode and unicode-to-latex conversion"; 24 homepage = "https://pylatexenc.readthedocs.io"; 25 downloadPage = "https://www.github.com/phfaist/pylatexenc/releases"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ drewrisinger ]; 28 }; 29}