2022-03-30 09:31:56 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmark-gfm
|
|
|
|
, xxd
|
|
|
|
, fastJson
|
|
|
|
, libzip
|
|
|
|
, ninja
|
|
|
|
, meson
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mmdoc";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "0.12.0";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ryantm";
|
|
|
|
repo = "mmdoc";
|
|
|
|
rev = version;
|
2022-09-30 11:47:45 +00:00
|
|
|
hash = "sha256-wg0wFZMijwTWU6B3PuQ785F98JqObDMvltHaI5ltpx8=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ ninja meson pkg-config xxd ];
|
|
|
|
|
|
|
|
buildInputs = [ cmark-gfm fastJson libzip ];
|
|
|
|
|
|
|
|
doCheck = stdenv.isx86_64;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-06-16 17:23:12 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2022-03-30 09:31:56 +00:00
|
|
|
description = "Minimal Markdown Documentation";
|
|
|
|
homepage = "https://github.com/ryantm/mmdoc";
|
|
|
|
license = licenses.cc0;
|
|
|
|
maintainers = with maintainers; [ ryantm ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|