nixpkgs/pkgs/development/python-modules/Babel/default.nix
Max Hausch 4a931be543 python3Packages.Babel: 2.7.0 -> 2.9.0
Update babel as the current release is over a year old and some packages
need >=2.8.0.

Also migrate to pytestCheckHook.
2021-04-24 02:12:33 +02:00

25 lines
615 B
Nix

{ stdenv, lib, buildPythonPackage, fetchPypi, pytz, pytestCheckHook, freezegun }:
buildPythonPackage rec {
pname = "Babel";
version = "2.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "018yg7g2pa6vjixx1nx41cfispgfi0azzp0a1chlycbj8jsil0ys";
};
propagatedBuildInputs = [ pytz ];
checkInputs = [ pytestCheckHook freezegun ];
doCheck = !stdenv.isDarwin;
meta = with lib; {
homepage = "http://babel.edgewall.org";
description = "A collection of tools for internationalizing Python applications";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}