2017-10-10 02:39:04 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 00:05:54 +01:00
|
|
|
version = "2.2.3";
|
2017-10-10 02:39:04 +02:00
|
|
|
name = "antigen-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh";
|
2018-02-25 00:05:54 +01:00
|
|
|
sha256 = "1bmp3qf14509swpxin4j9f98n05pdilzapjm0jdzbv0dy3hn20ix";
|
2017-10-10 02:39:04 +02:00
|
|
|
};
|
2017-11-26 20:47:36 +01:00
|
|
|
|
2017-10-10 02:39:04 +02:00
|
|
|
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 = stdenv.lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|