1{ lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }: 2 3buildPythonPackage rec { 4 pname = "Babel"; 5 version = "2.6.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "8cba50f48c529ca3fa18cf81fa9403be176d374ac4d60738b839122dfaaa3d23"; 10 }; 11 12 propagatedBuildInputs = [ pytz ]; 13 14 checkInputs = [ pytest freezegun glibcLocales ]; 15 16 preCheck = '' 17 export LC_ALL="en_US.UTF-8" 18 ''; 19 20 meta = with lib; { 21 homepage = http://babel.edgewall.org; 22 description = "A collection of tools for internationalizing Python applications"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ garbas ]; 25 }; 26}