1 { lib, stdenv, fetchFromGitHub, cmake }:
2 stdenv.mkDerivation rec {
4 version = "0.29.0.gfm.13";
6 src = fetchFromGitHub {
10 sha256 = "sha256-HiSGtRsSbW03R6aKoMVVFOLrwP5aXtpeXUC/bE5M/qo=";
13 nativeBuildInputs = [ cmake ];
18 description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
19 mainProgram = "cmark-gfm";
20 homepage = "https://github.com/github/cmark-gfm";
21 changelog = "https://github.com/github/cmark-gfm/raw/${version}/changelog.txt";
22 maintainers = with maintainers; [ cyplo ];
23 platforms = platforms.unix;
24 license = licenses.bsd2;