25 lines
703 B
Nix
25 lines
703 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "cmark-gfm";
|
|
version = "0.29.0.gfm.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "github";
|
|
repo = "cmark-gfm";
|
|
rev = version;
|
|
sha256 = "sha256-GxWA5CjdXPBh1BJzENIijPDCoth0BTNu5ayX0cXT5z0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
# tests load the library dynamically which for unknown reason failed
|
|
doCheck = false;
|
|
|
|
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";
|
|
maintainers = with maintainers; [ cyplo ];
|
|
platforms = platforms.unix;
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|