about summary refs log tree commit diff
path: root/pkgs/development/libraries/cmark-gfm
diff options
context:
space:
mode:
authorCyryl PÅ‚otnicki <cyplo@cyplo.net>2020-11-14 13:04:39 +0000
committerCyryl PÅ‚otnicki <cyplo@cyplo.net>2020-11-28 13:07:39 +0000
commitb20fa360b0b69491977d547200d47912d8b674a6 (patch)
treefe157cc0769f0d82a191056651b731b822aec8dc /pkgs/development/libraries/cmark-gfm
parent2d50a1f09ea140965aa41716f50cc1d4cb8d1fe1 (diff)
cmark-gfm: init at 0.29.0.gfm.0
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/libraries/cmark-gfm')
-rw-r--r--pkgs/development/libraries/cmark-gfm/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/cmark-gfm/default.nix b/pkgs/development/libraries/cmark-gfm/default.nix
new file mode 100644
index 0000000000000..52a02772268b1
--- /dev/null
+++ b/pkgs/development/libraries/cmark-gfm/default.nix
@@ -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;
+  };
+}