nixpkgs/pkgs/tools/text/mmdoc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
732 B
Nix
Raw Normal View History

2021-01-26 18:22:00 +03:00
{ lib
, stdenv
, fetchFromGitHub
, cmark-gfm
, xxd
, fastJson
, libzip
, ninja
, meson
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "mmdoc";
2022-11-10 04:36:33 +03:00
version = "0.13.0";
2021-01-26 18:22:00 +03:00
src = fetchFromGitHub {
owner = "ryantm";
repo = "mmdoc";
rev = version;
2022-11-10 04:36:33 +03:00
hash = "sha256-ZPdAMlKGwEO54hxHcQh1xgu6eUGsoX12xD/9JehzRdw=";
2021-01-26 18:22:00 +03:00
};
nativeBuildInputs = [ ninja meson pkg-config xxd ];
buildInputs = [ cmark-gfm fastJson libzip ];
doCheck = stdenv.isx86_64;
meta = with lib; {
broken = stdenv.isDarwin;
2021-01-26 18:22:00 +03:00
description = "Minimal Markdown Documentation";
homepage = "https://github.com/ryantm/mmdoc";
license = licenses.cc0;
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}