2021-01-15 09:28:56 +03:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-10-10 03:39:04 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 02:05:54 +03:00
|
|
|
version = "2.2.3";
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "antigen";
|
2017-10-10 03:39:04 +03:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh";
|
2018-02-25 02:05:54 +03:00
|
|
|
sha256 = "1bmp3qf14509swpxin4j9f98n05pdilzapjm0jdzbv0dy3hn20ix";
|
2017-10-10 03:39:04 +03:00
|
|
|
};
|
2017-11-26 22:47:36 +03:00
|
|
|
|
2017-10-10 03:39:04 +03:00
|
|
|
phases = "installPhase";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
outdir=$out/share/antigen
|
|
|
|
mkdir -p $outdir
|
|
|
|
cp $src $outdir/antigen.zsh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-10-11 08:55:05 +03:00
|
|
|
description = "The plugin manager for zsh";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://antigen.sharats.me";
|
2021-01-15 09:28:56 +03:00
|
|
|
license = lib.licenses.mit;
|
2017-10-10 03:39:04 +03:00
|
|
|
};
|
|
|
|
}
|