mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00:00
3607a73700
This reverts commits86fc053269
andcebf6aa8fd
. The intention is to delay the huge rebuild, as we do have binaries for the non-reproducible builds already.
25 lines
666 B
Nix
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 ];
|
|
};
|
|
}
|