manix: 0.7.1 -> 0.8.0

https://github.com/nix-community/manix

Update pkgs/by-name/ma/manix/package.nix

Co-authored-by: bryango <bryango@users.noreply.github.com>

Update pkgs/by-name/ma/manix/package.nix

Co-authored-by: bryango <bryango@users.noreply.github.com>
This commit is contained in:
IogaMaster 2024-01-12 16:43:46 -07:00
parent 644fcfd126
commit a44c757bb7
No known key found for this signature in database
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

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