Merge pull request #103809 from cyplo/add-cmark-gfm
cmark-gfm: init at 0.29.0.gfm.0
This commit is contained in:
commit
d230a5b5f3
24
pkgs/development/libraries/cmark-gfm/default.nix
Normal file
24
pkgs/development/libraries/cmark-gfm/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue