nixpkgs/pkgs/development/libraries/cmark/default.nix

20 lines
506 B
Nix
Raw Normal View History

2016-01-04 10:06:37 +01:00
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
version = "0.23.0";
name = "cmark-${version}";
src = fetchurl {
url = "https://github.com/jgm/cmark/archive/${version}.tar.gz";
sha256 = "87d289965066fce7be247d44c0304af1b20817dcc1b563702302ae33f2be0596";
};
buildInputs = [ cmake ];
meta = {
description = "CommonMark parsing and rendering library and program in C";
homepage = https://github.com/jgm/cmark;
maintainers = [ stdenv.lib.maintainers.michelk ];
};
}