depot/third_party/nixpkgs/pkgs/tools/nix/manix/default.nix
Default email a97b1c8da0 Project import generated by Copybara.
GitOrigin-RevId: d235056d6d6dcbd2999bd55fd120d831d4df6304
2021-04-22 04:08:21 +02:00

25 lines
696 B
Nix

{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin, Security }:
rustPlatform.buildRustPackage rec {
pname = "manix";
version = "0.6.3";
src = fetchFromGitHub {
owner = "mlvzk";
repo = pname;
rev = "v${version}";
sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs";
};
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
cargoSha256 = "1yivx9vzk2fvncvlkwq5v11hb9llr1zlcmy69y12q6xnd9rd8x1b";
meta = with lib; {
description = "A Fast Documentation Searcher for Nix";
homepage = "https://github.com/mlvzk/manix";
license = [ licenses.mpl20 ];
maintainers = [ maintainers.mlvzk ];
platforms = platforms.unix;
};
}