about summary refs log tree commit diff
path: root/pkgs/development/python-modules/l18n/default.nix
blob: 76491a4699ca2d226e26ea3dc97a7f24a76e9749 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  buildPythonPackage,
  fetchPypi,
  lib,
  pytz,
  six,
}:

buildPythonPackage rec {
  pname = "l18n";
  version = "2021.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-GVbokNZz0XE1zCCRMlPBVPa8HAAmbCK31QPMGlpC2Eg=";
  };

  propagatedBuildInputs = [
    pytz
    six
  ];

  # tests are not included in sdist and building from source is none trivial
  doCheck = false;

  pythonImportsCheck = [ "l18n" ];

  meta = with lib; {
    description = "Locale internationalization package";
    homepage = "https://github.com/tkhyn/l18n";
    changelog = "https://github.com/tkhyn/l18n/blob/${version}/CHANGES.rst";
    license = licenses.mit;
    maintainers = with maintainers; [ sephi ];
  };
}