2024-01-02 11:29:13 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
rustPlatform,
|
|
|
|
Security,
|
|
|
|
}:
|
2020-09-25 04:45:31 +00:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "manix";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "0.7.1";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-01-02 11:29:13 +00:00
|
|
|
repo = pname;
|
|
|
|
owner = "lecoqjacob";
|
|
|
|
rev = "${version}";
|
|
|
|
hash = "sha256-kTQbeOIGG1HmbsXKfXw5yCZ49kGufbGiCkkIRMTwcsg=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [Security];
|
|
|
|
cargoSha256 = "sha256-7SHUi1qH9Dr4Oi7A6gRmZqhAIr8RzLNU1l1x4WGtQYI=";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-01-02 11:29:13 +00:00
|
|
|
license = [licenses.mpl20];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
homepage = "https://github.com/lecoqjacob/manix";
|
2020-09-25 04:45:31 +00:00
|
|
|
description = "A Fast Documentation Searcher for Nix";
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = [maintainers.lecoqjacob];
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|