Fernando Rodrigues 05580f4b44
treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00

40 lines
747 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
cython,
}:
buildPythonPackage rec {
pname = "python-crfsuite";
version = "0.9.11";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "python_crfsuite";
hash = "sha256-bv+WXKcFZzltgiyaNep0sPftsn2UcVJJl72r56baX1o=";
};
preCheck = ''
# make sure import the built version, not the source one
rm -r pycrfsuite
'';
build-system = [
cython
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pycrfsuite" ];
meta = with lib; {
description = "Python binding for CRFsuite";
homepage = "https://github.com/scrapinghub/python-crfsuite";
license = licenses.mit;
teams = [ teams.tts ];
};
}