e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
34 lines
936 B
Nix
34 lines
936 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "1.9.4";
|
|
pname = "antidote";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattmc3";
|
|
repo = "antidote";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-gZBDLKkLVfHC+DHlaMS/ySUjb14Jo1192JbkDQnzi7c=";
|
|
};
|
|
|
|
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 ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|