at 23.05-pre 557 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5}: 6 7buildPythonPackage rec { 8 pname = "six"; 9 version = "1.16.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"; 14 }; 15 16 checkInputs = [ pytest ]; 17 18 checkPhase = '' 19 py.test test_six.py 20 ''; 21 22 # To prevent infinite recursion with pytest 23 doCheck = false; 24 25 meta = { 26 description = "A Python 2 and 3 compatibility library"; 27 homepage = "https://pypi.python.org/pypi/six/"; 28 license = lib.licenses.mit; 29 }; 30}