Commit a6a80ca9 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.latexify-py: 0.2.0 -> 0.3.1

Diff: google/latexify_py@refs/tags/v0.2.0...v0.3.1

Changelog: https://github.com/google/latexify_py/releases/tag/v0.3.1
parent 03f04550
Loading
Loading
Loading
Loading
+21 −9
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, dill
, fetchFromGitHub
, hatchling
, dill
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "latexify-py";
  version = "0.2.0";
  version = "0.3.1";
  format = "pyproject";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "google";
    repo = "latexify_py";
    rev = "refs/tags/v${version}";
    hash = "sha256-b0/cKMfIONVd6A5AYRyLx/qsFVpUjeAsadQyu/mPYxo=";
    hash = "sha256-uWSLs7Dem+cj93RWIincCXzPkjZUwQskpDac/L+fgjQ=";
  };

  nativeBuildInputs = [ hatchling ];
  nativeBuildInputs = [
    hatchling
  ];

  propagatedBuildInputs = [
    dill
  ];

  propagatedBuildInputs = [ dill ];
  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "latexify"
  ];

  preCheck = ''
    cd src
  '';

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "latexify" ];

  meta = with lib; {
    description = "Generates LaTeX math description from Python functions";
    homepage = "https://github.com/google/latexify_py";
    changelog = "https://github.com/google/latexify_py/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ prusnak ];
  };