pythonPackages.wurlitzer: add missing python2 dependencies

This commit is contained in:
Jonathan Ringer 2019-11-06 11:28:15 -08:00 committed by Jon
parent e9453fc878
commit 920faee436

View File

@ -1,8 +1,10 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, mock , mock
, pytest , pytest
, selectors2
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -14,6 +16,8 @@ buildPythonPackage rec {
sha256 = "0xndv47iwc9k8cp5r9r1z3r0xww0r5x5b7qsmn39gk2gsg0119c6"; sha256 = "0xndv47iwc9k8cp5r9r1z3r0xww0r5x5b7qsmn39gk2gsg0119c6";
}; };
propagatedBuildInputs = lib.optionals isPy27 [ selectors2 ];
checkInputs = [ mock pytest ]; checkInputs = [ mock pytest ];
checkPhase = '' checkPhase = ''
@ -25,4 +29,4 @@ buildPythonPackage rec {
homepage = https://github.com/minrk/wurlitzer; homepage = https://github.com/minrk/wurlitzer;
license = lib.licenses.mit; license = lib.licenses.mit;
}; };
} }