nixpkgs/pkgs/shells/zsh/antigen/default.nix
Matthew Bauer ddaea6ac77 pkgs/shells: move extensions to subdirs
These are not reaal shells and should go into their parent shell
directory.
2018-04-17 14:47:32 -05:00

26 lines
574 B
Nix

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