14 buildPythonPackage rec {
19 src = fetchFromGitHub {
20 owner = "lovesegfault";
23 hash = "sha256-rPeGRcyNK45Y7OvtzaIH93IIzexBf/jM1SzYP0phQ1o=";
27 # https://github.com/lovesegfault/beautysh/pull/247
29 name = "poetry-to-poetry-core.patch";
30 url = "https://github.com/lovesegfault/beautysh/commit/5f4fcac083fa68568a50f3c2bcee3ead0f3ca7c5.patch";
31 hash = "sha256-H/kIJKww5ouWu8rmRkaMOXcsq2daZWDdwxBqbc99x0s=";
36 substituteInPlace pyproject.toml \
37 --replace 'types-setuptools = "^57.4.0"' 'types-setuptools = "*"'
40 nativeBuildInputs = [ poetry-core ];
42 propagatedBuildInputs = [
49 nativeCheckInputs = [ pytest7CheckHook ];
51 pythonImportsCheck = [ "beautysh" ];
54 description = "Tool for beautifying Bash scripts";
55 homepage = "https://github.com/lovesegfault/beautysh";
56 license = with licenses; [ asl20 ];
57 maintainers = with maintainers; [ fab ];
58 mainProgram = "beautysh";