shellharden: init at 4.1.2
This commit is contained in:
parent
7f46b19d76
commit
673d561cd2
28
pkgs/development/tools/shellharden/default.nix
Normal file
28
pkgs/development/tools/shellharden/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "shellharden";
|
||||||
|
version = "4.1.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "anordal";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1003kgnql0z158d3rzz8s3i7s7rx9hjqqvp3li8xhzrgszvkgqk4";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "1h4wp9xs9nq90ml2km9gd0afrzri6fbgskz6d15jqykm2fw72l88";
|
||||||
|
|
||||||
|
postPatch = "patchShebangs moduletests/run";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "The corrective bash syntax highlighter";
|
||||||
|
longDescription = ''
|
||||||
|
Shellharden is a syntax highlighter and a tool to semi-automate the
|
||||||
|
rewriting of scripts to ShellCheck conformance, mainly focused on quoting.
|
||||||
|
'';
|
||||||
|
homepage = "https://github.com/anordal/shellharden";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
maintainers = with maintainers; [ oxzi ];
|
||||||
|
};
|
||||||
|
}
|
@ -13228,6 +13228,8 @@ in
|
|||||||
|
|
||||||
shellcheck = callPackage ../development/tools/shellcheck {};
|
shellcheck = callPackage ../development/tools/shellcheck {};
|
||||||
|
|
||||||
|
shellharden = callPackage ../development/tools/shellharden {};
|
||||||
|
|
||||||
schemaspy = callPackage ../development/tools/database/schemaspy { };
|
schemaspy = callPackage ../development/tools/database/schemaspy { };
|
||||||
|
|
||||||
shncpd = callPackage ../tools/networking/shncpd { };
|
shncpd = callPackage ../tools/networking/shncpd { };
|
||||||
|
Loading…
Reference in New Issue
Block a user