git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.wcwidth: run tests
commit3b698b537c506eeb1e50edc87bb990f84d6eccc7 authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateSat 2 Feb 2019, 16:15 (8 years ago) parent8de375b
1 file changed+6−3
pkgs/development/python-modules/wcwidth/default.nix+6−3
pkgs/development/python-modules/wcwidth/default.nix+6−3
@@ -1,4 +1,4 @@
1−{ lib, fetchPypi, buildPythonPackage }:
1+{ lib, fetchPypi, buildPythonPackage, pytest }:
22
33buildPythonPackage rec {
44 pname = "wcwidth";
@@ -9,8 +9,11 @@ buildPythonPackage rec {
99 sha256 = "0pn6dflzm609m4r3i8ik5ni9ijjbb5fa3vg1n7hn6vkd49r77wrx";
1010 };
1111
12− # Checks fail due to missing tox.ini file:
13− doCheck = false;
12+ checkInputs = [ pytest ];
13+
14+ checkPhase = ''
15+ pytest
16+ '';
1417
1518 meta = with lib; {
1619 description = "Measures number of Terminal column cells of wide-character codes";