mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
f8c4a98e8e
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/'
27 lines
576 B
Nix
27 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;
|
|
};
|
|
}
|