pythonPackages.clize: fix tests

This commit is contained in:
Jonathan Ringer 2019-12-22 15:39:00 -08:00 committed by Frederik Rietdijk
parent fddccdd834
commit 8f9348d6ca

View File

@ -8,8 +8,9 @@
, od , od
, docutils , docutils
, repeated_test , repeated_test
, unittest2
, pygments , pygments
, unittest2
, pytest
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -21,14 +22,15 @@ buildPythonPackage rec {
sha256 = "f54dedcf6fea90a3e75c30cb65e0ab1e832760121f393b8d68edd711dbaf7187"; sha256 = "f54dedcf6fea90a3e75c30cb65e0ab1e832760121f393b8d68edd711dbaf7187";
}; };
checkInputs = [ checkInputs = [
dateutil dateutil
pygments pygments
repeated_test repeated_test
unittest2 unittest2
pytest
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
attrs attrs
docutils docutils
od od
@ -36,6 +38,10 @@ buildPythonPackage rec {
six six
]; ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Command-line argument parsing for Python"; description = "Command-line argument parsing for Python";
homepage = "https://github.com/epsy/clize"; homepage = "https://github.com/epsy/clize";