a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
25 lines
563 B
Nix
25 lines
563 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.2.3";
|
|
pname = "antigen";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh";
|
|
sha256 = "1bmp3qf14509swpxin4j9f98n05pdilzapjm0jdzbv0dy3hn20ix";
|
|
};
|
|
|
|
phases = "installPhase";
|
|
|
|
installPhase = ''
|
|
outdir=$out/share/antigen
|
|
mkdir -p $outdir
|
|
cp $src $outdir/antigen.zsh
|
|
'';
|
|
|
|
meta = {
|
|
description = "The plugin manager for zsh";
|
|
homepage = "http://antigen.sharats.me";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|