2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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 = {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "The plugin manager for zsh";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://antigen.sharats.me";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|