forked from mirrors/nixpkgs
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
25 lines
639 B
Nix
25 lines
639 B
Nix
{ 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 ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook freezegun ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://babel.pocoo.org/";
|
|
description = "Collection of internationalizing tools";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|