10 buildPythonPackage rec {
15 src = fetchFromGitHub {
17 repo = "yasi-sexp-indenter";
19 hash = "sha256-xKhVTmh/vrtBkatxtk8R4yqbGroH0I+xTKNYUpuikt4=";
22 nativeBuildInputs = [ setuptools ];
24 propagatedBuildInputs = [ colorama ];
26 nativeCheckInputs = [ pytestCheckHook ];
29 substituteInPlace setup.py \
30 --replace "test.test_yasi" "tests.test_yasi"
33 pythonImportsCheck = [ "yasi" ];
36 description = "Dialect-aware s-expression indenter written in Python and newLISP";
38 homepage = "https://github.com/nkmathew/yasi-sexp-indenter";
39 changelog = "https://github.com/nkmathew/yasi-sexp-indenter/blob/${src.rev}/CHANGELOG.md";
40 license = licenses.mit;
41 maintainers = with maintainers; [ kranzes ];