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

30 lines
757 B
Nix
Raw Normal View History

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