From 03a48db031e14b48594e5a10687f39ceaa910f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 5 Jul 2022 17:32:31 +0200 Subject: [PATCH] zsh-history: fix vendor hash, formatting --- pkgs/shells/zsh/zsh-history/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/shells/zsh/zsh-history/default.nix b/pkgs/shells/zsh/zsh-history/default.nix index 9f88d972e7d2..604d593a0bd4 100644 --- a/pkgs/shells/zsh/zsh-history/default.nix +++ b/pkgs/shells/zsh/zsh-history/default.nix @@ -11,9 +11,9 @@ buildGoModule rec { sha256 = "13n643ik1zjvpk8h9458yd9ffahhbdnigmbrbmpn7b7g23wqqsi3"; }; - nativeBuildInputs = [ installShellFiles ]; + vendorSha256 = "sha256-n5QFN1B2GjbzylFuW9Y4r0+ioIJlfKwcGK8X3ZwKLI8="; - vendorSha256 = "1863ad97y82fx0an1ysalkxnqjz3zfz228wag9a92wdssl1vwzws"; + nativeBuildInputs = [ installShellFiles ]; doCheck = false; @@ -23,16 +23,15 @@ buildGoModule rec { installShellCompletion --zsh --name _history $out/share/zsh/completions/_history ''; + passthru.tests = { + zsh-history-shell-integration = nixosTests.zsh-history; + }; + meta = with lib; { description = "A CLI to provide enhanced history for your ZSH shell"; homepage = "https://github.com/b4b4r07/history"; license = licenses.mit; maintainers = with maintainers; [ ]; mainProgram = "history"; - platforms = platforms.unix; - }; - - passthru.tests = { - zsh-history-shell-integration = nixosTests.zsh-history; }; }