nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 poetry-core,
6}:
7
8buildPythonPackage rec {
9 pname = "babelfish";
10 version = "0.6.1";
11 pyproject = true;
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-3stnpGYIiNSEgKtpmDCYNxdBWNDxqmO+uxwuEaq5eqs=";
16 };
17
18 build-system = [ poetry-core ];
19
20 # no tests executed
21 doCheck = false;
22
23 pythonImportsCheck = [ "babelfish" ];
24
25 meta = {
26 homepage = "https://github.com/Diaoul/babelfish";
27 description = "Module to work with countries and languages";
28 license = lib.licenses.bsd3;
29 maintainers = [ ];
30 };
31}