2016-01-04 09:06:37 +00:00
|
|
|
{ stdenv, fetchurl, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-05-10 20:56:45 +01:00
|
|
|
version = "0.27.1";
|
2016-01-04 09:06:37 +00:00
|
|
|
name = "cmark-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/jgm/cmark/archive/${version}.tar.gz";
|
2017-05-10 20:56:45 +01:00
|
|
|
sha256 = "1da62ispca9aal2a36gaj87175rv5013pl7x740vk32y6lclr6v6";
|
2016-01-04 09:06:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "CommonMark parsing and rendering library and program in C";
|
|
|
|
homepage = https://github.com/jgm/cmark;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.michelk ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-01-04 09:06:37 +00:00
|
|
|
};
|
|
|
|
}
|