01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
38 lines
732 B
Nix
38 lines
732 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmark-gfm
|
|
, xxd
|
|
, fastJson
|
|
, libzip
|
|
, ninja
|
|
, meson
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mmdoc";
|
|
version = "0.13.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ryantm";
|
|
repo = "mmdoc";
|
|
rev = version;
|
|
hash = "sha256-ZPdAMlKGwEO54hxHcQh1xgu6eUGsoX12xD/9JehzRdw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ ninja meson pkg-config xxd ];
|
|
|
|
buildInputs = [ cmark-gfm fastJson libzip ];
|
|
|
|
doCheck = stdenv.isx86_64;
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.isDarwin;
|
|
description = "Minimal Markdown Documentation";
|
|
homepage = "https://github.com/ryantm/mmdoc";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ ryantm ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|