Merge pull request #103809 from cyplo/add-cmark-gfm

cmark-gfm: init at 0.29.0.gfm.0
This commit is contained in:
Sandro 2020-12-07 20:16:51 +01:00 committed by GitHub
commit d230a5b5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cmark-gfm";
version = "0.29.0.gfm.0";
src = fetchFromGitHub {
owner = "github";
repo = "cmark-gfm";
rev = version;
sha256 = "0wfr3xwl4wria8vld71flv6vpsdj9aj81yqvj0azidyb8p229a1l";
};
nativeBuildInputs = [ cmake ];
# tests load the library dynamically which for unknown reason failed
doCheck = false;
meta = with stdenv.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;
};
}

View File

@ -182,6 +182,8 @@ in
cmark = callPackage ../development/libraries/cmark { };
cmark-gfm = callPackage ../development/libraries/cmark-gfm { };
cm256cc = callPackage ../development/libraries/cm256cc { };
conftest = callPackage ../development/tools/conftest { };