Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
703 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ lib, buildPythonPackage, fetchPypi, pythonOlder, poetry-core, importlib-metadata,}:
buildPythonPackage rec { pname = "babelfish"; version = "0.6.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-3stnpGYIiNSEgKtpmDCYNxdBWNDxqmO+uxwuEaq5eqs="; };
build-system = [ poetry-core ];
dependencies = lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
# no tests executed doCheck = false;
pythonImportsCheck = [ "babelfish" ];
meta = with lib; { homepage = "https://github.com/Diaoul/babelfish"; description = "Module to work with countries and languages"; license = licenses.bsd3; maintainers = [ ]; };}