From 6d75651e8fbef0a41f34577bb44bbdd600a1ddeb Mon Sep 17 00:00:00 2001 From: Louis Thevenet Date: Thu, 12 Sep 2024 12:59:49 +0200 Subject: [PATCH] see-cat: init at 0.5.2 --- pkgs/by-name/se/see-cat/package.nix | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/se/see-cat/package.nix diff --git a/pkgs/by-name/se/see-cat/package.nix b/pkgs/by-name/se/see-cat/package.nix new file mode 100644 index 000000000000000..2524748ee45f90f --- /dev/null +++ b/pkgs/by-name/se/see-cat/package.nix @@ -0,0 +1,38 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, + pkg-config, +}: +rustPlatform.buildRustPackage rec { + pname = "see-cat"; + version = "0.5.2"; + + src = fetchFromGitHub { + owner = "guilhermeprokisch"; + repo = "see"; + rev = "v${version}"; + hash = "sha256-cvWppG4TYmR/01W/VP+w3uzRDWWUJe7qBnEFlHBy+Gs="; + }; + + cargoHash = "sha256-+G7bLkRKI4bKrZYly1KHS2Jo7lzOjsewQXI5Hht+w8g="; + + nativeBuildInputs = [ + pkg-config + ]; + + meta = { + description = "Cute cat(1) for the terminal"; + longDescription = '' + see is a powerful file visualization tool for the terminal, offering + advanced code viewing capabilities, Markdown rendering, and + more. It provides syntax highlighting, emoji support, and image + rendering capabilities, offering a visually appealing way to view + various file types directly in your console. + ''; + homepage = "https://github.com/guilhermeprokisch/see"; + license = lib.licenses.mit; + mainProgram = "see"; + maintainers = with lib.maintainers; [ louis-thevenet ]; + }; +}