nixpkgs/pkgs/development/python-modules/Babel/default.nix
Frederik Rietdijk 296b2ab3c4 pythonPackages.Babel: remove glibcLocales and don't set LC_ALL
as we already set

    LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8";

in `buildPythonPackage`.

This is related to issue https://github.com/NixOS/nixpkgs/issues/74904
2019-12-30 16:46:55 +01:00

25 lines
621 B
Nix

{ stdenv, lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }:
buildPythonPackage rec {
pname = "Babel";
version = "2.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "e86135ae101e31e2c8ec20a4e0c5220f4eed12487d5cf3f78be7e98d3a57fc28";
};
propagatedBuildInputs = [ pytz ];
checkInputs = [ pytest freezegun ];
doCheck = !stdenv.isDarwin;
meta = with lib; {
homepage = http://babel.edgewall.org;
description = "A collection of tools for internationalizing Python applications";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}