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

29 lines
689 B
Nix
Raw Normal View History

{ stdenv, lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }:
2018-04-05 20:58:14 +01:00
buildPythonPackage rec {
pname = "Babel";
2019-10-24 07:47:22 +01:00
version = "2.7.0";
2018-04-05 20:58:14 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:22 +01:00
sha256 = "e86135ae101e31e2c8ec20a4e0c5220f4eed12487d5cf3f78be7e98d3a57fc28";
2018-04-05 20:58:14 +01:00
};
propagatedBuildInputs = [ pytz ];
2018-06-12 17:24:41 +01:00
checkInputs = [ pytest freezegun glibcLocales ];
doCheck = !stdenv.isDarwin;
2018-06-12 17:24:41 +01:00
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; [ ];
2018-04-05 20:58:14 +01:00
};
}