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";
|
2023-02-27 05:38:55 +00:00
|
|
|
version = "0.14.0";
|
2021-01-26 15:22:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ryantm";
|
|
|
|
repo = "mmdoc";
|
|
|
|
rev = version;
|
2023-02-27 05:38:55 +00:00
|
|
|
hash = "sha256-1e6TS4TjshicUdT7wuvLsDpotr2LUxbn15r+eNXMo2M=";
|
2021-01-26 15:22:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ ninja meson pkg-config xxd ];
|
|
|
|
|
|
|
|
buildInputs = [ cmark-gfm fastJson libzip ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Minimal Markdown Documentation";
|
|
|
|
homepage = "https://github.com/ryantm/mmdoc";
|
|
|
|
license = licenses.cc0;
|
|
|
|
maintainers = with maintainers; [ ryantm ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|