3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pylatexenc/default.nix

29 lines
756 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
2020-04-21 13:35:35 +01:00
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pylatexenc";
2020-05-12 14:06:27 +01:00
version = "2.4";
src = fetchFromGitHub {
owner = "phfaist";
2020-04-21 13:35:35 +01:00
repo = "pylatexenc";
rev = "v${version}";
2020-05-12 14:06:27 +01:00
sha256 = "0i4frypbv90mjir8bkp03cwkvwhgvc9p3fw6q2jz1dn7fw94v2rv";
};
pythonImportsCheck = [ "pylatexenc" ];
2020-04-21 13:35:35 +01: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 13:35:35 +01:00
downloadPage = "https://www.github.com/phfaist/pylatexenc/releases";
license = licenses.mit;
maintainers = with maintainers; [ drewrisinger ];
};
}