at master 748 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 pytest-cov-stub, 8}: 9 10buildPythonPackage rec { 11 pname = "texsoup"; 12 version = "0.3.1"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "alvinwan"; 17 repo = "TexSoup"; 18 tag = version; 19 hash = "sha256-XKYJycYivtrszU46B3Bd4JLrvckBpQu9gKDMdr6MyZU="; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 pythonImportsCheck = [ "TexSoup" ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 pytest-cov-stub 29 ]; 30 31 meta = with lib; { 32 description = "Fault-tolerant Python3 package for searching, navigating, and modifying LaTeX documents"; 33 homepage = "https://github.com/alvinwan/TexSoup"; 34 license = licenses.bsd2; 35 maintainers = [ ]; 36 }; 37}