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