mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
27 lines
580 B
Nix
27 lines
580 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.2.3";
|
|
pname = "antigen";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh";
|
|
sha256 = "1bmp3qf14509swpxin4j9f98n05pdilzapjm0jdzbv0dy3hn20ix";
|
|
};
|
|
|
|
strictDeps = true;
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
outdir=$out/share/antigen
|
|
mkdir -p $outdir
|
|
cp $src $outdir/antigen.zsh
|
|
'';
|
|
|
|
meta = {
|
|
description = "The plugin manager for zsh";
|
|
homepage = "https://antigen.sharats.me/";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|