mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
34 lines
934 B
Nix
34 lines
934 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "1.9.7";
|
|
pname = "antidote";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattmc3";
|
|
repo = "antidote";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-Gg69O35CpsI3Q3cdxBpRDOfSxRxWG3PHew59kJVH1eQ=";
|
|
};
|
|
|
|
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 = "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;
|
|
};
|
|
})
|