Skip to content

Commit

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

src = fetchFromGitHub {
owner = "guilhermeprokisch";
repo = pname;
rev = "v${version}";
hash = "sha256-9mfyYSrpuhq373QP6qOczuIKqi3j/AQNzNhJMXdHsNA";
};

cargoHash = "sha256-OefQpMUiWLHQvvV0uCDAEl92XXHFS1RKvtR9FaFuRv0=";

nativeBuildInputs = [
pkg-config
perl
];

buildInputs = [
openssl
];

meta = {
description = "Minimalistic Markdown renderer for the terminal with syntax highlighting, emoji support, and image rendering";
homepage = "https://github.com/guilhermeprokisch/smd";
license = lib.licenses.mit;
mainProgram = "smd";
maintainers = with lib.maintainers; [ louis-thevenet ];
};
}

0 comments on commit cbe9a29

Please sign in to comment.