nixpkgs/pkgs/tools/text/mmdoc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
731 B
Nix
Raw Normal View History

2021-01-26 15:22:00 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cmark-gfm
, xxd
, fastJson
, libzip
, ninja
, meson
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "mmdoc";
version = "0.9.1";
src = fetchFromGitHub {
owner = "ryantm";
repo = "mmdoc";
rev = version;
hash = "sha256-Lz2+vsXjz9BVOCI1vIrNTvZgh19OuvXEhnMw2QBZr1w=";
};
nativeBuildInputs = [ ninja meson pkg-config xxd ];
buildInputs = [ cmark-gfm fastJson libzip ];
doCheck = stdenv.isx86_64;
meta = with lib; {
broken = stdenv.isDarwin;
2021-01-26 15:22:00 +00:00
description = "Minimal Markdown Documentation";
homepage = "https://github.com/ryantm/mmdoc";
license = licenses.cc0;
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}