depot/third_party/nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

25 lines
717 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cmark-gfm";
version = "0.29.0.gfm.11";
src = fetchFromGitHub {
owner = "github";
repo = "cmark-gfm";
rev = version;
sha256 = "sha256-2jkMJcfcOH5qYP13qS5Hutbyhhzq9WlqlkthmQoJoCM=";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
meta = with lib; {
description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
homepage = "https://github.com/github/cmark-gfm";
changelog = "https://github.com/github/cmark-gfm/raw/${version}/changelog.txt";
maintainers = with maintainers; [ cyplo ];
platforms = platforms.unix;
license = licenses.bsd2;
};
}