depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-you-should-use/default.nix
Default email 2ce5db779a Project import generated by Copybara.
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
2022-05-18 16:49:53 +02:00

27 lines
734 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-you-should-use";
version = "1.7.3";
src = fetchFromGitHub {
owner = "MichaelAquilina";
repo = pname;
rev = version;
sha256 = "1dz48rd66priqhxx7byndqhbmlwxi1nfw8ik25k0z5k7k754brgy";
};
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; [ ma27 ];
};
}