Merge pull request #225665 from r-ryantm/auto-update/cmark-gfm

cmark-gfm: 0.29.0.gfm.10 -> 0.29.0.gfm.11
This commit is contained in:
Mario Rodas 2023-04-10 22:24:42 -05:00 committed by GitHub
commit 261be4717f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,23 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cmark-gfm";
version = "0.29.0.gfm.10";
version = "0.29.0.gfm.11";
src = fetchFromGitHub {
owner = "github";
repo = "cmark-gfm";
rev = version;
sha256 = "sha256-8TGwxZB/sT+VmQ0eIwK8rHJrCZXvpG69t+HA3aFz5h8=";
sha256 = "sha256-2jkMJcfcOH5qYP13qS5Hutbyhhzq9WlqlkthmQoJoCM=";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
# remove when https://github.com/github/cmark-gfm/pull/248 merged and released
postInstall = ''
substituteInPlace $out/include/cmark-gfm-core-extensions.h \
--replace '#include "config.h"' '#include <stdbool.h>'
'';
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;