mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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 New Issue
Block a user