nixpkgs-suyu/pkgs/shells/zsh/antigen/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
580 B
Nix
Raw Normal View History

2021-01-15 07:28:56 +01:00
{ 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";
};
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;
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/";
2021-01-15 07:28:56 +01:00
license = lib.licenses.mit;
};
}