Merge pull request #265721 from fabaff/latexify-py-bump
python311Packages.latexify-py: 0.2.0 -> 0.3.1
This commit is contained in:
@@ -1,38 +1,50 @@
|
||||
{ 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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user