{
  buildPythonPackage,
  lib,
  fetchPypi,
}:

buildPythonPackage rec {
  pname = "infix";
  version = "1.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a1bfdcf875bc072f41e426d0673f2e3017750743bb90cc725fffb292eb09648c";
  };

  # No tests
  doCheck = false;

  meta = {
    homepage = "https://github.com/borntyping/python-infix";
    description = "Decorator that allows functions to be used as infix functions";
    license = lib.licenses.mit;
  };
}
