mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
antigen: init at 2.2.1 (#27266)
* Added antigen * Repaced link to releases
This commit is contained in:
parent
3541b9a72e
commit
d89b68ed87
25
pkgs/shells/antigen/default.nix
Normal file
25
pkgs/shells/antigen/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.2.1";
|
||||
name = "antigen-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/zsh-users/antigen/releases/download/v${version}/antigen.zsh";
|
||||
sha256 = "0s32280ak0gd0rr66g5dj6r5px0si8w47bcxlqfpaijg7i8xk1i7";
|
||||
};
|
||||
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;
|
||||
};
|
||||
}
|
@ -1227,6 +1227,8 @@ with pkgs;
|
||||
utillinux = utillinuxMinimal;
|
||||
};
|
||||
|
||||
antigen = callPackage ../shells/antigen { };
|
||||
|
||||
apparix = callPackage ../tools/misc/apparix { };
|
||||
|
||||
appdata-tools = callPackage ../tools/misc/appdata-tools { };
|
||||
|
Loading…
Reference in New Issue
Block a user