8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
715 B
Nix
26 lines
715 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsh-you-should-use";
|
|
version = "1.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MichaelAquilina";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1gcxm08ragwrh242ahlq3bpfg5yma2cshwdlj8nrwnd4qwrsflgq";
|
|
};
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
install -D you-should-use.plugin.zsh $out/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
|
|
'';
|
|
|
|
meta = with stdenv.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; [ ma27 ];
|
|
};
|
|
}
|