10 buildPythonPackage rec {
13 format = "setuptools";
15 src = fetchFromGitHub {
16 owner = "chakki-works";
19 sha256 = "0qv05gn54kc4wpmwnflmfqw4gwwb8lxqhkiihl0pvl7s2i7qzx2j";
23 substituteInPlace setup.py \
24 --replace "use_scm_version=True," "version='${version}'," \
25 --replace "setup_requires=['setuptools_scm']," "setup_requires=[],"
28 propagatedBuildInputs = [
33 nativeCheckInputs = [ pytestCheckHook ];
36 # tests call perl script and get stuck in there
37 "test_statistical_tests"
38 "test_by_ground_truth"
42 description = "Python framework for sequence labeling evaluation";
43 homepage = "https://github.com/chakki-works/seqeval";
44 license = licenses.mit;