2021-04-21 03:08:54 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin, Security }:
|
2020-09-15 20:25:33 +02:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "manix";
|
2021-04-21 03:08:54 +02:00
|
|
|
version = "0.6.3";
|
2020-09-15 20:25:33 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mlvzk";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-21 03:08:54 +02:00
|
|
|
sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs";
|
2020-09-15 20:25:33 +02:00
|
|
|
};
|
|
|
|
|
2021-04-21 03:08:54 +02:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2020-09-15 20:25:33 +02:00
|
|
|
|
2021-04-21 03:08:54 +02:00
|
|
|
cargoSha256 = "1yivx9vzk2fvncvlkwq5v11hb9llr1zlcmy69y12q6xnd9rd8x1b";
|
2020-09-15 20:25:33 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-09-15 20:25:33 +02:00
|
|
|
description = "A Fast Documentation Searcher for Nix";
|
|
|
|
homepage = "https://github.com/mlvzk/manix";
|
|
|
|
license = [ licenses.mpl20 ];
|
|
|
|
maintainers = [ maintainers.mlvzk ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|