Files
nixpkgs/pkgs/by-name/md/mdbook-man/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

28 lines
659 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage {
pname = "mdbook-man";
version = "0-unstable-2022-11-05";
src = fetchFromGitHub {
owner = "vv9k";
repo = "mdbook-man";
rev = "b9537dfbb241d7456835ed7e9d27ab8c8184e5f6";
hash = "sha256-ssAk60jnwYzAjseL26/3FaDv1vBAylgdE+vLhWZ8It4=";
};
cargoHash = "sha256-+CD7+pYAoKRmkMZPpEru6lug9sBakrL0rLXs78e3tqk=";
meta = {
description = "Generate manual pages from mdBooks";
mainProgram = "mdbook-man";
homepage = "https://github.com/vv9k/mdbook-man";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ matthiasbeyer ];
};
}