Skip to content

Commit

Permalink
python.pkgs.blessed: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Dec 14, 2017
1 parent a3b84e0 commit 6c12e66
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 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}";
Expand All @@ -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; {
Expand Down

0 comments on commit 6c12e66

Please sign in to comment.