nixpkgs/pkgs/development/python-modules/Babel/default.nix

27 lines
650 B
Nix
Raw Normal View History

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