My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/text/mmdoc/default.nix

37 lines
701 B

{ 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; {
description = "Minimal Markdown Documentation";
homepage = "https://github.com/ryantm/mmdoc";
license = licenses.cc0;
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}