nixpkgs/pkgs/shells/antigen/default.nix
bugworm d89b68ed87 antigen: init at 2.2.1 (#27266)
* Added antigen

* Repaced link to releases
2017-10-10 01:39:04 +01:00

26 lines
574 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
version = "2.2.1";
name = "antigen-${version}";
src = fetchurl {
url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh";
sha256 = "0s32280ak0gd0rr66g5dj6r5px0si8w47bcxlqfpaijg7i8xk1i7";
};
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;
};
}