Commit 5c346742 authored by Iwan's avatar Iwan
Browse files

python-crfsuite: 0.9.10 -> 0.9.11

Fixes build with GCC 14 thanks to https://github.com/scrapinghub/python-crfsuite/pull/159
Requires building with Cython due to https://github.com/scrapinghub/python-crfsuite/pull/165
parent d84661fc
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -3,16 +3,18 @@
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
  cython,
}:

buildPythonPackage rec {
  pname = "python-crfsuite";
  version = "0.9.10";
  version = "0.9.11";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-84UkYx4rUzNB8Q8sd2iScNxuzVmFSV3M96o3sQRbwuU=";
    inherit version;
    pname = "python_crfsuite";
    hash = "sha256-bv+WXKcFZzltgiyaNep0sPftsn2UcVJJl72r56baX1o=";
  };

  preCheck = ''
@@ -20,6 +22,10 @@ buildPythonPackage rec {
    rm -r pycrfsuite
  '';

  build-system = [
    cython
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "pycrfsuite" ];