2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2019-06-29 12:14:42 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zsh-you-should-use";
|
2020-07-08 02:47:18 +02:00
|
|
|
version = "1.7.3";
|
2019-06-29 12:14:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MichaelAquilina";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-07-08 02:47:18 +02:00
|
|
|
sha256 = "1dz48rd66priqhxx7byndqhbmlwxi1nfw8ik25k0z5k7k754brgy";
|
2019-06-29 12:14:42 +02:00
|
|
|
};
|
|
|
|
|
2022-05-06 20:39:28 +02:00
|
|
|
strictDeps = true;
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
|
|
|
}
|