mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
37 lines
699 B
Nix
37 lines
699 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmark-gfm
|
|
, xxd
|
|
, fastJson
|
|
, libzip
|
|
, ninja
|
|
, meson
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mmdoc";
|
|
version = "0.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ryantm";
|
|
repo = "mmdoc";
|
|
rev = version;
|
|
hash = "sha256-NS8i5xvCwq0pSdfxnaxnpuwmDAkfH6Tkc4N2F6aGvWY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ ninja meson pkg-config xxd ];
|
|
|
|
buildInputs = [ cmark-gfm fastJson libzip ];
|
|
|
|
meta = with lib; {
|
|
description = "Minimal Markdown Documentation";
|
|
mainProgram = "mmdoc";
|
|
homepage = "https://github.com/ryantm/mmdoc";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ ryantm ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|