about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/cmark-gfm
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/cmark-gfm')
-rw-r--r--nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix13
1 files changed, 4 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix b/nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix
index ecfdda3192f4..4cf7dec674f3 100644
--- a/nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix
+++ b/nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix
@@ -1,28 +1,23 @@
 { lib, stdenv, fetchFromGitHub, cmake }:
 stdenv.mkDerivation rec {
   pname = "cmark-gfm";
-  version = "0.29.0.gfm.4";
+  version = "0.29.0.gfm.11";
 
   src = fetchFromGitHub {
     owner = "github";
     repo = "cmark-gfm";
     rev = version;
-    sha256 = "sha256-touFLrxVQvX75JXYLADq84yIuQ1kl43fVUvZ4qGYoMM=";
+    sha256 = "sha256-2jkMJcfcOH5qYP13qS5Hutbyhhzq9WlqlkthmQoJoCM=";
   };
 
   nativeBuildInputs = [ cmake ];
-  # tests load the library dynamically which for unknown reason failed
-  doCheck = false;
 
-  # 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>'
-  '';
+  doCheck = true;
 
   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;