mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:14:10 +00:00
25 lines
706 B
Nix
25 lines
706 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|