depot/third_party/nixpkgs/pkgs/development/python-modules/babel/default.nix

25 lines
633 B
Nix
Raw Normal View History

{ stdenv, lib, buildPythonPackage, fetchPypi, pythonOlder, pytz, pytestCheckHook, freezegun }:
buildPythonPackage rec {
pname = "babel";
version = "2.11.0";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Babel";
inherit version;
sha256 = "sha256-XvSzImsBgN7d7UIpZRyLDho6aig31FoHMnLzE+TPl/Y=";
};
propagatedBuildInputs = [ pytz ];
checkInputs = [ pytestCheckHook freezegun ];
meta = with lib; {
homepage = "https://babel.pocoo.org/";
description = "Collection of internationalizing tools";
license = licenses.bsd3;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}