Merge pull request #280617 from IogaMaster/manix-nix-community-edition

manix: 0.7.1 -> 0.8.0
This commit is contained in:
Sandro 2024-02-07 17:45:35 +01:00 committed by GitHub
commit 6915e80f85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 26 additions and 33 deletions

View File

@ -0,0 +1,26 @@
{ 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 = "A fast CLI documentation searcher for Nix";
homepage = "https://github.com/nix-community/manix";
license = licenses.mpl20;
maintainers = with maintainers; [ iogamaster lecoqjacob ];
mainProgram = "manix";
};
}

View File

@ -1,29 +0,0 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
Security,
}:
rustPlatform.buildRustPackage rec {
pname = "manix";
version = "0.7.1";
src = fetchFromGitHub {
repo = pname;
owner = "lecoqjacob";
rev = "${version}";
hash = "sha256-kTQbeOIGG1HmbsXKfXw5yCZ49kGufbGiCkkIRMTwcsg=";
};
buildInputs = lib.optionals stdenv.isDarwin [Security];
cargoSha256 = "sha256-7SHUi1qH9Dr4Oi7A6gRmZqhAIr8RzLNU1l1x4WGtQYI=";
meta = with lib; {
license = [licenses.mpl20];
platforms = platforms.unix;
homepage = "https://github.com/lecoqjacob/manix";
description = "A Fast Documentation Searcher for Nix";
maintainers = [maintainers.lecoqjacob];
};
}

View File

@ -10752,10 +10752,6 @@ with pkgs;
inherit (python3Packages) mako;
};
manix = callPackage ../tools/nix/manix {
inherit (darwin.apple_sdk.frameworks) Security;
};
marktext = callPackage ../applications/misc/marktext { };
mars-mips = callPackage ../development/tools/mars-mips { };