mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
36 lines
672 B
Nix
36 lines
672 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmark-gfm
|
|
, xxd
|
|
, fastJson
|
|
, libzip
|
|
, ninja
|
|
, meson
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mmdoc";
|
|
version = "0.14.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ryantm";
|
|
repo = "mmdoc";
|
|
rev = version;
|
|
hash = "sha256-1e6TS4TjshicUdT7wuvLsDpotr2LUxbn15r+eNXMo2M=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|