summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/babelfish/default.nix
blob: 50f310f47ee33c32bfbf46ce9ad6b1db58a3d848 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "babelfish";
  version = "0.6.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-3stnpGYIiNSEgKtpmDCYNxdBWNDxqmO+uxwuEaq5eqs=";
  };

  build-system = [ poetry-core ];

  # no tests executed
  doCheck = false;

  pythonImportsCheck = [ "babelfish" ];

  meta = {
    homepage = "https://github.com/Diaoul/babelfish";
    description = "Module to work with countries and languages";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}