Merge pull request #192296 from matthiasbeyer/add-mdbook-man

mdbook-man: init at unstable-2021-08-26
This commit is contained in:
figsoda 2022-09-23 09:36:03 -04:00 committed by GitHub
commit 51f30c2cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "mdbook-man";
version = "unstable-2021-08-26";
src = fetchFromGitHub {
owner = "vv9k";
repo = pname;
rev = "419c91db0fcfcce65a6006ed9ec8415a8b705186";
sha256 = "sha256-NOPyDPQms/YJzjkXjVAFR60gLK4zqOuFSdRvFkZRRxQ=";
};
cargoSha256 = "sha256-NyeB2vI9Za5T1SKrjqwTi8LXX7A+M+2r/n1u2qtnK5g=";
meta = with lib; {
description = "Generate manual pages from mdBooks";
homepage = "https://github.com/vv9k/mdbook-man";
license = licenses.mit;
maintainers = with maintainers; [ matthiasbeyer ];
};
}

View File

@ -8343,6 +8343,8 @@ with pkgs;
mdbook-open-on-gh = callPackage ../tools/text/mdbook-open-on-gh { };
mdbook-man = callPackage ../tools/text/mdbook-man { };
mdbook-mermaid = callPackage ../tools/text/mdbook-mermaid {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};