1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/shells/antigen/default.nix
Ryan Mulligan 5e12088331 antigen: 2.2.2 -> 2.2.3
Semi-automatic update; builds on NixOS
2018-02-24 15:05:54 -08: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;
};
}