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