Skip to content

Commit

Permalink
Merge pull request NixOS#234462 from hitsmaxft/add_antidote
Browse files Browse the repository at this point in the history
antidote: init at 1.8.6
  • Loading branch information
drupol authored Jun 2, 2023
2 parents 382388c + ae9d6a0 commit 37a6711
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6382,6 +6382,12 @@
fingerprint = "45A9 9917 578C D629 9F5F B5B4 C22D 4DE4 D7B3 2D19";
}];
};
hitsmaxft = {
name = "Bhe Hongtyu";
email = "mfthits@gmail.com";
github = "hitsmaxft";
githubId = 352727;
};
hjones2199 = {
email = "hjones2199@gmail.com";
github = "hjones2199";
Expand Down
33 changes: 33 additions & 0 deletions pkgs/shells/zsh/antidote/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation (finalAttrs: {
version = "1.8.6";
pname = "antidote";

src = fetchFromGitHub {
owner = "mattmc3";
repo = "antidote";
rev = "v${finalAttrs.version}";
hash = "sha256-CcWEXvz1TB6LFu9qvkVB1LJsa68grK16VqjUTiuVG/c=";
};

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 ];
};
})
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6002,6 +6002,8 @@ with pkgs;

antibody = callPackage ../shells/zsh/antibody { };

antidote = callPackage ../shells/zsh/antidote { };

antigen = callPackage ../shells/zsh/antigen { };

apparix = callPackage ../tools/misc/apparix { };
Expand Down

0 comments on commit 37a6711

Please sign in to comment.