2019-06-29 12:14:42 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zsh-you-should-use";
|
2020-01-20 13:43:45 +01:00
|
|
|
version = "1.7.0";
|
2019-06-29 12:14:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MichaelAquilina";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-01-20 13:43:45 +01:00
|
|
|
sha256 = "1gcxm08ragwrh242ahlq3bpfg5yma2cshwdlj8nrwnd4qwrsflgq";
|
2019-06-29 12:14:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/MichaelAquilina/zsh-you-should-use";
|
2019-06-29 12:14:42 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
description = "ZSH plugin that reminds you to use existing aliases for commands you just typed";
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|