depot/third_party/nixpkgs/pkgs/development/libraries/cmark-gfm/default.nix
Default email d9e13ed064 Project import generated by Copybara.
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
2021-09-22 23:38:15 +08:00

24 lines
703 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cmark-gfm";
version = "0.29.0.gfm.2";
src = fetchFromGitHub {
owner = "github";
repo = "cmark-gfm";
rev = version;
sha256 = "sha256-8PjG87hR66ozKx+PSuKi0vHIoKICHSLdl2cKUYf+5m8=";
};
nativeBuildInputs = [ cmake ];
# tests load the library dynamically which for unknown reason failed
doCheck = false;
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";
maintainers = with maintainers; [ cyplo ];
platforms = platforms.unix;
license = licenses.bsd2;
};
}