mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
cd3c25616d
All packages that were failing on x86_64-darwin are marked broken. I'm assuming here that these are also broken on aarch64-darwin.
39 lines
731 B
Nix
39 lines
731 B
Nix
{ 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; {
|
|
broken = stdenv.isDarwin;
|
|
description = "Minimal Markdown Documentation";
|
|
homepage = "https://github.com/ryantm/mmdoc";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ ryantm ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|