nixpkgs/pkgs/development/python-modules/babelfish/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

26 lines
630 B
Nix

{ lib, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "babelfish";
version = "0.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "2dadfadd1b205ca5fa5dc9fa637f5b7933160a0418684c7c46a7a664033208a2";
};
propagatedBuildInputs = [ setuptools ];
# no tests executed
doCheck = false;
pythonImportsCheck = [ "babelfish" ];
meta = with lib; {
homepage = "https://pypi.python.org/pypi/babelfish";
description = "A module to work with countries and languages";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}