depot/third_party/nixpkgs/pkgs/development/python-modules/latexcodec/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

26 lines
540 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, six, pytest }:
buildPythonPackage rec {
pname = "latexcodec";
version = "2.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "16pynfnn8y8xp55yp06i721fccv5dlx9ba6k5bzcwq9j6wf5b8ia";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
homepage = "https://github.com/mcmtroffaes/latexcodec";
description = "Lexer and codec to work with LaTeX code in Python";
license = stdenv.lib.licenses.mit;
};
}