mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
628 B
Nix
27 lines
628 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "manix";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nix-community";
|
|
repo = "manix";
|
|
rev = "v${version}";
|
|
hash = "sha256-b/3NvY+puffiQFCQuhRMe81x2wm3vR01MR3iwe/gJkw=";
|
|
};
|
|
|
|
cargoHash = "sha256-45cb0yO/ypGLcvEgPOkN6Py99yqK09xnCmMOLOOYYSA=";
|
|
|
|
meta = with lib; {
|
|
description = "Fast CLI documentation searcher for Nix";
|
|
homepage = "https://github.com/nix-community/manix";
|
|
license = licenses.mpl20;
|
|
maintainers = with maintainers; [ iogamaster lecoqjacob ];
|
|
mainProgram = "manix";
|
|
};
|
|
}
|