3
0
Fork 0
forked from mirrors/nixpkgs

python.pkgs.blessed: fix tests

This commit is contained in:
Jörg Thalheim 2017-12-14 16:32:26 -06:00
parent a3b84e03a0
commit 6c12e66388

View file

@ -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; {