nixpkgs/pkgs/tools/text/comrak/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
711 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "comrak";
version = "0.23.0";
src = fetchFromGitHub {
owner = "kivikakk";
repo = pname;
rev = version;
sha256 = "sha256-RUwJxoD6H0CgS7xyfzMLdoy19p/FuOg82EbocZh7vWs=";
};
cargoHash = "sha256-rbGl7jQABZu4aMpzlv49uMuKmw7U+9zLS6pAJIJajR8=";
meta = with lib; {
description = "CommonMark-compatible GitHub Flavored Markdown parser and formatter";
mainProgram = "comrak";
homepage = "https://github.com/kivikakk/comrak";
changelog = "https://github.com/kivikakk/comrak/blob/${version}/changelog.txt";
license = licenses.bsd2;
maintainers = with maintainers; [ figsoda ];
};
}