Merge pull request #78230 from r-ryantm/auto-update/mcfly

mcfly: 0.3.1 -> 0.3.6
This commit is contained in:
Mario Rodas 2020-01-22 05:04:30 -05:00 committed by GitHub
commit 9613cc8104
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -1,20 +1,20 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
{ stdenv, rustPlatform, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "mcfly";
version = "0.3.1";
version = "0.3.6";
src = fetchFromGitHub {
owner = "cantino";
repo = "mcfly";
rev = "v${version}";
sha256 = "0pmyw21zns4zn7pffji4yvbj63fx3g15cx81pk4bs6lzyz5zbdc2";
sha256 = "1g3n7ll0yg7w7hb3jgp25mlnqwsdzv0608f41z7q5gmsskdm3v1j";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
preInstall = ''
mkdir -p $out/share/mcfly
cp mcfly.bash $out/share/mcfly/
chmod +x $out/share/mcfly/mcfly.bash
install -Dm644 -t $out/share/mcfly mcfly.bash
'';
cargoSha256 = "1bf65kagvhsi6lg8187ihi5j45hkq9d8v6j7rzmmfhngdzvcfr69";
@ -23,7 +23,6 @@ rustPlatform.buildRustPackage rec {
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.";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.melkor333 ];
};
}

View File

@ -4544,7 +4544,9 @@ in
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 {
inherit (darwin.apple_sdk.frameworks) CoreServices;