mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
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:
commit
261be4717f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user