anchor.diff:  , fetchFromGitHub
   , Babel
   , gruut-ipa
  +, dateparser
   , jsonlines
   , num2words
   , python-crfsuite
   , dataclasses
   , python
  +, networkx
  +, glibcLocales
  +, pytestCheckHook
   }:
   
   let
  
positive.code:     jsonlines
      num2words
      python-crfsuite
    ] ++ lib.optionals (pythonOlder "3.7") [
      dataclasses
    ] ++ (map (lang: callPackage ./language-pack.nix {
      inherit lang version format src;
    }) langPkgs);
  
    checkPhase = ''
      runHook preCheck
      ${python.interpreter} -m unittest discover
      runHook postCheck
    '';
  
    pythonImportsCheck = [
  
negative.code: in
  buildPythonPackage rec {
    pname = "gruut";
    version = "2.2.0";
    format = "setuptools";
  
    src = fetchFromGitHub {
      owner = "rhasspy";
      repo = pname;
      rev = "v${version}";
      sha256 = "sha256-9vj3x2IjTso8ksN1cqe5frwg0Y3GhOB6bPWvaBSBOf8=";
    };
  
    postPatch = ''
      substituteInPlace requirements.txt \
        --replace "Babel~=2.8.0" "Babel" \
        --replace "dateparser~=1.0.0" "dateparser" \
        --replace "gruut_lang_en~=2.0.0" "gruut_lang_en"
    '';
  
    propagatedBuildInputs = [
  