diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-12-14 16:32:26 -0600 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-12-14 16:33:54 -0600 |
commit | 6c12e66388693427d271bae49f889e0ecb12124c (patch) | |
tree | 325ab49feaec54c968f42bc5141cfc823a7e08d0 /pkgs/development/python-modules/blessed | |
parent | a3b84e03a0a1edc9810d54dc816eb34f3e78a43f (diff) | |
download | nixlib-6c12e66388693427d271bae49f889e0ecb12124c.tar nixlib-6c12e66388693427d271bae49f889e0ecb12124c.tar.gz nixlib-6c12e66388693427d271bae49f889e0ecb12124c.tar.bz2 nixlib-6c12e66388693427d271bae49f889e0ecb12124c.tar.lz nixlib-6c12e66388693427d271bae49f889e0ecb12124c.tar.xz nixlib-6c12e66388693427d271bae49f889e0ecb12124c.tar.zst nixlib-6c12e66388693427d271bae49f889e0ecb12124c.zip |
python.pkgs.blessed: fix tests
Diffstat (limited to 'pkgs/development/python-modules/blessed')
-rw-r--r-- | pkgs/development/python-modules/blessed/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/blessed/default.nix b/pkgs/development/python-modules/blessed/default.nix index 2d1ac11f3b54..d3ea1f151d34 100644 --- a/pkgs/development/python-modules/blessed/default.nix +++ b/pkgs/development/python-modules/blessed/default.nix @@ -1,4 +1,5 @@ -{ stdenv, buildPythonPackage, fetchPypi, six, wcwidth }: +{ stdenv, buildPythonPackage, fetchPypi, six, wcwidth, pytest, mock +, glibcLocales }: buildPythonPackage rec { name = "${pname}-${version}"; @@ -10,6 +11,12 @@ buildPythonPackage rec { sha256 = "0fv9f0074kxy1849h0kwwxw12sifpq3bv63pcz900zzjsigi4hi3"; }; + checkInputs = [ pytest mock glibcLocales ]; + + checkPhase = '' + LANG=en_US.utf-8 py.test blessed/tests + ''; + propagatedBuildInputs = [ wcwidth six ]; meta = with stdenv.lib; { |