forked from mirrors/nixpkgs
python.pkgs.blessed: fix tests
This commit is contained in:
parent
a3b84e03a0
commit
6c12e66388
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue