diff options
author | Robert Schütz <dev@schuetz-co.de> | 2020-05-15 12:21:38 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2020-05-15 12:21:38 +0200 |
commit | 9774e87ef152857aa7aad95f31879abab9082782 (patch) | |
tree | d4e1c708ebb45f84c792686f8ed4b2f2da75e1b2 /pkgs/development/python-modules | |
parent | 8007a72a80f02d4409575d033c91ae53a46fc724 (diff) | |
download | nixlib-9774e87ef152857aa7aad95f31879abab9082782.tar nixlib-9774e87ef152857aa7aad95f31879abab9082782.tar.gz nixlib-9774e87ef152857aa7aad95f31879abab9082782.tar.bz2 nixlib-9774e87ef152857aa7aad95f31879abab9082782.tar.lz nixlib-9774e87ef152857aa7aad95f31879abab9082782.tar.xz nixlib-9774e87ef152857aa7aad95f31879abab9082782.tar.zst nixlib-9774e87ef152857aa7aad95f31879abab9082782.zip |
python.pkgs.latexcodec: run tests
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/latexcodec/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/latexcodec/default.nix b/pkgs/development/python-modules/latexcodec/default.nix index 25a266b3dc26..3514d5da9a23 100644 --- a/pkgs/development/python-modules/latexcodec/default.nix +++ b/pkgs/development/python-modules/latexcodec/default.nix @@ -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"; |