nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, lib, buildPythonPackage, fetchPypi, pytz, pytestCheckHook, freezegun }:
2
3buildPythonPackage rec {
4 pname = "babel";
5 version = "2.10.1";
6
7 src = fetchPypi {
8 pname = "Babel";
9 inherit version;
10 sha256 = "sha256-mK6soIYTPvs+HiqtA5aYdJDIQlkp3bz+BVAYT9xUzRM=";
11 };
12
13 propagatedBuildInputs = [ pytz ];
14
15 checkInputs = [ pytestCheckHook freezegun ];
16
17 doCheck = !stdenv.isDarwin;
18
19 meta = with lib; {
20 homepage = "https://babel.pocoo.org/";
21 description = "Collection of internationalizing tools";
22 license = licenses.bsd3;
23 maintainers = with maintainers; [ SuperSandro2000 ];
24 };
25}