9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
33 lines
901 B
Nix
33 lines
901 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "1.9.0";
|
|
pname = "antidote";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattmc3";
|
|
repo = "antidote";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-YKFG66Kjw/S0YkvPlJK3HC9v00SHEW1Wng6+xcy41Hg=";
|
|
};
|
|
|
|
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 = "A zsh plugin manager made from the ground up thinking about performance";
|
|
homepage = "https://getantidote.github.io/";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.hitsmaxft ];
|
|
};
|
|
})
|