Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / cmark-gfm / default.nix
blob650913fc3888215cf86b193a74b172db7e39d38e
1 { lib, stdenv, fetchFromGitHub, cmake }:
2 stdenv.mkDerivation rec {
3   pname = "cmark-gfm";
4   version = "0.29.0.gfm.13";
6   src = fetchFromGitHub {
7     owner = "github";
8     repo = "cmark-gfm";
9     rev = version;
10     sha256 = "sha256-HiSGtRsSbW03R6aKoMVVFOLrwP5aXtpeXUC/bE5M/qo=";
11   };
13   nativeBuildInputs = [ cmake ];
15   doCheck = true;
17   meta = with lib; {
18     description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C";
19     homepage = "https://github.com/github/cmark-gfm";
20     changelog = "https://github.com/github/cmark-gfm/raw/${version}/changelog.txt";
21     maintainers = with maintainers; [ cyplo ];
22     platforms = platforms.unix;
23     license = licenses.bsd2;
24   };