fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
27 lines
728 B
Nix
27 lines
728 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsh-you-should-use";
|
|
version = "1.7.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MichaelAquilina";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Jl3wZa/WIA+GtkUiCn0vKfd6N/GitOavwZ+uqfmzdps=";
|
|
};
|
|
|
|
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; [ ];
|
|
};
|
|
}
|