1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "shellclear";
9 version = "0.4.8";
10
11 src = fetchFromGitHub {
12 owner = "rusty-ferris-club";
13 repo = "shellclear";
14 tag = "v${version}";
15 hash = "sha256-/0pqegVxrqqxaQ2JiUfkkFK9hp+Vuq7eTap052HEcJs=";
16 };
17
18 cargoHash = "sha256-Q6F7cqs+d1LqYaZkcpCBTOB9Z0qxuGz9zRDK2Yg10CU=";
19
20 buildAndTestSubdir = "shellclear";
21
22 meta = {
23 description = "Secure shell history commands by finding sensitive data";
24 homepage = "https://github.com/rusty-ferris-club/shellclear";
25 changelog = "https://github.com/rusty-ferris-club/shellclear/releases/tag/v${version}";
26 license = lib.licenses.asl20;
27 maintainers = with lib.maintainers; [ fab ];
28 };
29}