depot/third_party/nixpkgs/pkgs/shells/zsh/antidote/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
934 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation (finalAttrs: {
version = "1.9.6";
pname = "antidote";
src = fetchFromGitHub {
owner = "mattmc3";
repo = "antidote";
rev = "v${finalAttrs.version}";
hash = "sha256-8kNMCo/DwZvBwqh/434GqK7z4KXgkwZH9SazLbH8SfM=";
};
dontPatch = true;
dontBuild = true;
dontConfigure = true;
dontFixup = true;
installPhase = ''
runHook preInstall
install -D antidote --target-directory=$out/share/antidote
install -D antidote.zsh --target-directory=$out/share/antidote
install -D functions/* --target-directory=$out/share/antidote/functions
runHook postInstall
'';
meta = {
description = "Zsh plugin manager made from the ground up thinking about performance";
homepage = "https://getantidote.github.io/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.hitsmaxft ];
platforms = lib.platforms.all;
};
})