mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #192296 from matthiasbeyer/add-mdbook-man
mdbook-man: init at unstable-2021-08-26
This commit is contained in:
commit
51f30c2cf4
23
pkgs/tools/text/mdbook-man/default.nix
Normal file
23
pkgs/tools/text/mdbook-man/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user