Skip to content

Commit

Permalink
fix: apply suggestions from review
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-thevenet committed Sep 10, 2024
1 parent 277f16a commit d5b81bd
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions pkgs/by-name/se/see-cat/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,39 @@
rustPlatform,
pkg-config,
openssl,
perl,
}:
rustPlatform.buildRustPackage rec {
pname = "see";
pname = "see-cat";
version = "0.5.0";

src = fetchFromGitHub {
owner = "guilhermeprokisch";
repo = pname;
repo = "see";
rev = "v${version}";
hash = "sha256-4BVnM3SYDHsfjMsrzdFNuQ2jF5nQKa1+QH4Jf4HsXvg=";
};

cargoHash = "sha256-kQkrn7s5UuNSHkAM+hk8mFWDpnHtt8UcyyXGr1m4xkg=";
cargoHash = "sha256-qdV8v8Zcy3v3hPoPGZjvyEHFuP+j7V5YGOKqAPphcmo=";

env.OPENSSL_NO_VENDOR = 1;

nativeBuildInputs = [
pkg-config
perl
];

buildInputs = [
openssl
];

meta = {
description = "Cute cat(1) for the terminal with advanced code viewing, Markdown rendering, 🌳 tree-sitter syntax highlighting, and more.";
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.";
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";
Expand Down

0 comments on commit d5b81bd

Please sign in to comment.