depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-you-should-use/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
728 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-you-should-use";
version = "1.8.0";
src = fetchFromGitHub {
owner = "MichaelAquilina";
repo = pname;
rev = version;
sha256 = "sha256-fJX748lwVP1+GF/aIl1J3c6XAy/AtYCpEHsP8weUNo0=";
};
strictDeps = true;
dontBuild = true;
installPhase = ''
install -D you-should-use.plugin.zsh $out/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
'';
meta = with lib; {
homepage = "https://github.com/MichaelAquilina/zsh-you-should-use";
license = licenses.gpl3;
description = "ZSH plugin that reminds you to use existing aliases for commands you just typed";
maintainers = with maintainers; [ ];
};
}