b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
33 lines
901 B
Nix
33 lines
901 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "1.9.2";
|
|
pname = "antidote";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattmc3";
|
|
repo = "antidote";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-h+Gay1InnOY6tc8Iir5QzCC7FQj9cVWSn5YViEAHraU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|