2021-01-15 07:28:56 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2017-10-10 02:39:04 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 00:05:54 +01:00
|
|
|
version = "2.2.3";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "antigen";
|
2017-10-10 02:39:04 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2022-05-06 20:39:28 +02:00
|
|
|
strictDeps = true;
|
2021-07-17 22:22:56 +02:00
|
|
|
dontUnpack = true;
|
2017-10-10 02:39:04 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
outdir=$out/share/antigen
|
|
|
|
mkdir -p $outdir
|
|
|
|
cp $src $outdir/antigen.zsh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = "The plugin manager for zsh";
|
2021-12-29 16:02:51 +01:00
|
|
|
homepage = "https://antigen.sharats.me/";
|
2021-01-15 07:28:56 +01:00
|
|
|
license = lib.licenses.mit;
|
2017-10-10 02:39:04 +02:00
|
|
|
};
|
|
|
|
}
|