3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/Babel/default.nix

27 lines
657 B
Nix
Raw Normal View History

2018-06-12 17:24:41 +01:00
{ lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }:
2018-04-05 20:58:14 +01:00
buildPythonPackage rec {
pname = "Babel";
2018-06-12 17:24:41 +01:00
version = "2.6.0";
2018-04-05 20:58:14 +01:00
src = fetchPypi {
inherit pname version;
2018-06-12 17:24:41 +01:00
sha256 = "8cba50f48c529ca3fa18cf81fa9403be176d374ac4d60738b839122dfaaa3d23";
2018-04-05 20:58:14 +01:00
};
propagatedBuildInputs = [ pytz ];
2018-06-12 17:24:41 +01:00
checkInputs = [ pytest freezegun glibcLocales ];
preCheck = ''
export LC_ALL="en_US.UTF-8"
'';
2018-04-05 20:58:14 +01:00
meta = with lib; {
homepage = http://babel.edgewall.org;
description = "A collection of tools for internationalizing Python applications";
license = licenses.bsd3;
maintainers = with maintainers; [ garbas ];
};
}