forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#234462 from hitsmaxft/add_antidote
antidote: init at 1.8.6
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters