From e497edbfa007ec476c46f805840dfb22617faeb3 Mon Sep 17 00:00:00 2001 From: Louis Thevenet Date: Mon, 9 Sep 2024 08:12:37 +0200 Subject: [PATCH 1/2] maintainers: add louis-thevenet --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 405c23369992d0e..09c7d0186bd18a9 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12073,6 +12073,11 @@ githubId = 4969294; name = "Louis Tim Larsen"; }; + louis-thevenet = { + name = "Louis Thevenet"; + github = "louis-thevenet"; + githubId = 55986107; + }; lovek323 = { email = "jason@oconal.id.au"; github = "lovek323"; From a1ba031cd54bca31de3448742e7bca042889c019 Mon Sep 17 00:00:00 2001 From: Louis Thevenet Date: Sat, 14 Sep 2024 23:08:41 +0200 Subject: [PATCH 2/2] see-cat: init at 0.8.1 --- 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..c8c213272a52165 --- /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.8.1"; + + src = fetchFromGitHub { + owner = "guilhermeprokisch"; + repo = "see"; + rev = "v${version}"; + hash = "sha256-VCUrPCaG2fKp9vpFLzNLcfCBu2NiwdY2+bo1pd7anZY="; + }; + + cargoHash = "sha256-lfpJ40QpZ9eQhDFJjLwiDU5DmaYAqCh5iJSjZ+jj+kk="; + + 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 ]; + }; +}