depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-defer/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

29 lines
731 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-defer";
version = "unstable-2022-06-13";
src = fetchFromGitHub {
owner = "romkatv";
repo = pname;
rev = "57a6650ff262f577278275ddf11139673e01e471";
sha256 = "sha256-/rcIS2AbTyGw2HjsLPkHtt50c2CrtAFDnLuV5wsHcLc=";
};
strictDeps = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/share/zsh-defer
cp zsh-defer* $out/share/zsh-defer
'';
meta = with lib; {
description = "Deferred execution of zsh commands";
homepage = "https://github.com/romkatv/zsh-defer";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.vinnymeller ];
};
}