nixpkgs/pkgs/development/python-modules/texsoup/default.nix
2026-07-05 13:16:11 -04:00

37 lines
763 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage (finalAttrs: {
pname = "texsoup";
version = "0.3.3";
pyproject = true;
src = fetchFromGitHub {
owner = "alvinwan";
repo = "TexSoup";
tag = finalAttrs.version;
hash = "sha256-CKUDDq+97kktQnsdwOkwLILdsE7CkQMxId30fbWX90c=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "TexSoup" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
meta = {
description = "Fault-tolerant Python3 package for searching, navigating, and modifying LaTeX documents";
homepage = "https://github.com/alvinwan/TexSoup";
license = lib.licenses.bsd2;
maintainers = [ ];
};
})