mcfly: 0.3.6 -> 0.4.0

This commit is contained in:
Mario Rodas 2020-06-28 13:52:53 -05:00
parent 9893f64b57
commit 8557402d93
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027
2 changed files with 7 additions and 10 deletions

View File

@ -1,27 +1,26 @@
{ stdenv, rustPlatform, fetchFromGitHub, Security }: { stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mcfly"; pname = "mcfly";
version = "0.3.6"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cantino"; owner = "cantino";
repo = "mcfly"; repo = "mcfly";
rev = "v${version}"; rev = "v${version}";
sha256 = "1g3n7ll0yg7w7hb3jgp25mlnqwsdzv0608f41z7q5gmsskdm3v1j"; sha256 = "01rw7gdvpr2s3yj7wphsm5gfrgzf5jkrci4mpqiw7xp8d5k87nzl";
}; };
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
preInstall = '' preInstall = ''
install -Dm644 -t $out/share/mcfly mcfly.bash install -Dm644 -t $out/share/mcfly mcfly.bash
install -Dm644 -t $out/share/mcfly mcfly.zsh
''; '';
cargoSha256 = "0r2zb59rpja9z7q0gsylqaq4vqm5rp57fy56ajjrm6k6z06nq7bv"; cargoSha256 = "1q1mi69prn9q1nk4021c69vq160ls6md6gpqxk7zyf25r5ckdd98";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/cantino/mcfly"; homepage = "https://github.com/cantino/mcfly";
description = "An upgraded ctrl-r for Bash whose history results make sense for what you're working on right now."; description = "An upgraded ctrl-r for Bash whose history results make sense for what you're working on right now";
license = licenses.mit; license = licenses.mit;
maintainers = [ maintainers.melkor333 ]; maintainers = [ maintainers.melkor333 ];
}; };

View File

@ -4734,9 +4734,7 @@ in
mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { }; mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { };
mcfly = callPackage ../tools/misc/mcfly { mcfly = callPackage ../tools/misc/mcfly { };
inherit (darwin.apple_sdk.frameworks) Security;
};
mdbook = callPackage ../tools/text/mdbook { mdbook = callPackage ../tools/text/mdbook {
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) CoreServices;