summary refs log tree commit diff
path: root/pkgs/tools/misc/mcfly/default.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-06-28 13:52:53 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-06-28 13:52:53 -0500
commit8557402d9348358af429f868164e453245fd8dae (patch)
treeabacf5c596f93ccbad7aaf5e5df5c032933042ca /pkgs/tools/misc/mcfly/default.nix
parent9893f64b578ecd4cf3a47993798aa3a10f9d2f13 (diff)
downloadnixpkgs-8557402d9348358af429f868164e453245fd8dae.tar
nixpkgs-8557402d9348358af429f868164e453245fd8dae.tar.gz
nixpkgs-8557402d9348358af429f868164e453245fd8dae.tar.bz2
nixpkgs-8557402d9348358af429f868164e453245fd8dae.tar.lz
nixpkgs-8557402d9348358af429f868164e453245fd8dae.tar.xz
nixpkgs-8557402d9348358af429f868164e453245fd8dae.tar.zst
nixpkgs-8557402d9348358af429f868164e453245fd8dae.zip
mcfly: 0.3.6 -> 0.4.0
Diffstat (limited to 'pkgs/tools/misc/mcfly/default.nix')
-rw-r--r--pkgs/tools/misc/mcfly/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/tools/misc/mcfly/default.nix b/pkgs/tools/misc/mcfly/default.nix
index f206c54a003..7feb2fce710 100644
--- a/pkgs/tools/misc/mcfly/default.nix
+++ b/pkgs/tools/misc/mcfly/default.nix
@@ -1,27 +1,26 @@
-{ stdenv, rustPlatform, fetchFromGitHub, Security }:
+{ stdenv, rustPlatform, fetchFromGitHub }:
 
 rustPlatform.buildRustPackage rec {
   pname = "mcfly";
-  version = "0.3.6";
+  version = "0.4.0";
 
   src = fetchFromGitHub {
     owner = "cantino";
     repo = "mcfly";
     rev = "v${version}";
-    sha256 = "1g3n7ll0yg7w7hb3jgp25mlnqwsdzv0608f41z7q5gmsskdm3v1j";
+    sha256 = "01rw7gdvpr2s3yj7wphsm5gfrgzf5jkrci4mpqiw7xp8d5k87nzl";
   };
 
-  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
-
   preInstall = ''
     install -Dm644 -t $out/share/mcfly mcfly.bash
+    install -Dm644 -t $out/share/mcfly mcfly.zsh
   '';
 
-  cargoSha256 = "0r2zb59rpja9z7q0gsylqaq4vqm5rp57fy56ajjrm6k6z06nq7bv";
+  cargoSha256 = "1q1mi69prn9q1nk4021c69vq160ls6md6gpqxk7zyf25r5ckdd98";
 
   meta = with stdenv.lib; {
     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;
     maintainers = [ maintainers.melkor333 ];
   };