nixpkgs/pkgs/development/python-modules/babel/default.nix
Vladimír Čunát 3607a73700
python3Packages.babel: revert test fixes for now
This reverts commits 86fc053269 and cebf6aa8fd.
The intention is to delay the huge rebuild, as we do have binaries
for the non-reproducible builds already.
2023-03-13 09:28:38 +01:00

25 lines
666 B
Nix

{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, pytz, pytestCheckHook, freezegun }:
buildPythonPackage rec {
pname = "babel";
version = "2.12.1";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Babel";
inherit version;
hash = "sha256-zC2ZmZzQHURCCuclohyeNxGzqtx5dtYUf2IthYGWNFU=";
};
propagatedBuildInputs = lib.optional (pythonOlder "3.9") pytz;
nativeCheckInputs = [ pytestCheckHook freezegun ];
meta = with lib; {
homepage = "https://babel.pocoo.org/";
description = "Collection of internationalizing tools";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}