2023-07-15 17:15:38 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.9.4";
|
2023-07-15 17:15:38 +00:00
|
|
|
pname = "antidote";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mattmc3";
|
|
|
|
repo = "antidote";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-gZBDLKkLVfHC+DHlaMS/ySUjb14Jo1192JbkDQnzi7c=";
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
2024-01-13 08:15:51 +00:00
|
|
|
platforms = lib.platforms.all;
|
2023-07-15 17:15:38 +00:00
|
|
|
};
|
|
|
|
})
|