python.pkgs.latexcodec: run tests

This commit is contained in:
Robert Schütz 2020-05-15 12:21:38 +02:00
parent 8007a72a80
commit 9774e87ef1

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
{ stdenv, buildPythonPackage, fetchPypi, six, pytest }:
buildPythonPackage rec {
pname = "latexcodec";
@ -11,6 +11,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
homepage = "https://github.com/mcmtroffaes/latexcodec";
description = "Lexer and codec to work with LaTeX code in Python";