nixpkgs/pkgs/shells/zsh/antigen/default.nix
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

26 lines
576 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 = "Plugin manager for zsh";
homepage = "https://antigen.sharats.me/";
license = lib.licenses.mit;
};
}