forked from mirrors/nixpkgs
mmdoc: init at 0.9.1
This commit is contained in:
parent
819debc357
commit
ddf002c0ac
37
pkgs/tools/text/mmdoc/default.nix
Normal file
37
pkgs/tools/text/mmdoc/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
|
@ -23681,6 +23681,8 @@ with pkgs;
|
|||
|
||||
documentation-highlighter = callPackage ../misc/documentation-highlighter { };
|
||||
|
||||
mmdoc = callPackage ../tools/text/mmdoc { };
|
||||
|
||||
documize-community = callPackage ../servers/documize-community { };
|
||||
|
||||
doge = callPackage ../misc/doge { };
|
||||
|
|
Loading…
Reference in a new issue