Skip to content

Commit

Permalink
see-cat: init at 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-thevenet committed Sep 10, 2024
1 parent e497edb commit f5be31d
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/by-name/se/see-cat/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "see-cat";
version = "0.5.0";

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

cargoHash = "sha256-qdV8v8Zcy3v3hPoPGZjvyEHFuP+j7V5YGOKqAPphcmo=";

env.OPENSSL_NO_VENDOR = 1;

nativeBuildInputs = [
pkg-config
];

buildInputs = [
openssl
];

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 ];
};
}

0 comments on commit f5be31d

Please sign in to comment.