diff --git a/pkgs/cli/bonk.nix b/pkgs/cli/bonk.nix new file mode 100644 index 000000000..42606b0ea --- /dev/null +++ b/pkgs/cli/bonk.nix @@ -0,0 +1,25 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage rec { + pname = "bonk"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "elliot40404"; + repo = "bonk"; + rev = "v${version}"; + hash = "sha256-Y6Hia+B7kIvdvpuZwWGJBsn+pOBmMynXai4KWkNs4ck="; + }; + + cargoHash = "sha256-XphSjB49zFB3zXYpdjjcVRdTAW2Bvg91aZkxDLvFy3M="; + + meta = with lib; { + description = "The blazingly fast touch alternative with a sprinkle of mkdir written in rust"; + homepage = "https://github.com/elliot40404/bonk"; + license = licenses.mit; + maintainers = with maintainers; [ jpetrucciani ]; + }; +}