2022-09-21 19:40:16 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "mdbook-man";
|
2022-10-05 19:39:24 +00:00
|
|
|
version = "unstable-2022-11-05";
|
2022-09-21 19:40:16 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vv9k";
|
|
|
|
repo = pname;
|
2022-10-05 19:39:24 +00:00
|
|
|
rev = "b9537dfbb241d7456835ed7e9d27ab8c8184e5f6";
|
|
|
|
hash = "sha256-ssAk60jnwYzAjseL26/3FaDv1vBAylgdE+vLhWZ8It4=";
|
2022-09-21 19:40:16 +00:00
|
|
|
};
|
|
|
|
|
2022-10-05 19:39:24 +00:00
|
|
|
cargoHash = "sha256-cR86eFhP9Swh+Ff8FNbAfWpWMkliOAyPwDQ6lRvU+nk=";
|
2022-09-21 19:40:16 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Generate manual pages from mdBooks";
|
|
|
|
homepage = "https://github.com/vv9k/mdbook-man";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|