1 { lib, rustPlatform, fetchFromGitHub }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-aBX3RXfDhlXVMV8aPO0pu3527nDoYrUDUbH6crWO/W8=";
14 cargoHash = "sha256-/t5dsDOokuUC0ZG8hPzsUoAvteLHWby6eKZNtnL/XUw=";
16 postPatch = "patchShebangs moduletests/run";
19 description = "Corrective bash syntax highlighter";
20 mainProgram = "shellharden";
22 Shellharden is a syntax highlighter and a tool to semi-automate the
23 rewriting of scripts to ShellCheck conformance, mainly focused on quoting.
25 homepage = "https://github.com/anordal/shellharden";
26 license = licenses.mpl20;
27 maintainers = with maintainers; [ oxzi ];