Unverified Commit be7e5adb authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #213206 from FugiMuffi/agdsn-zsh-config

agdsn-zsh-config: init at 0.6.0
parents 7afc5668 82364107
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5105,6 +5105,12 @@
    githubId = 36706276;
    name = "Fufezan Mihai";
  };
  fugi = {
    email = "me@fugi.dev";
    github = "FugiMuffi";
    githubId = 21362942;
    name = "Fugi";
  };
  fusion809 = {
    email = "brentonhorne77@gmail.com";
    github = "fusion809";
+34 −0
Original line number Diff line number Diff line
{ lib, stdenvNoCC, fetchFromGitHub }:

stdenvNoCC.mkDerivation rec {
  pname = "agdsn-zsh-config";
  version = "0.6.0";

  src = fetchFromGitHub {
    owner = "agdsn";
    repo = "agdsn-zsh-config";
    rev = "v${version}";
    sha256 = "sha256-/l2fE4ZsZ6f89fYG9sTEV1mrXZ3MLXx6K3CTUQHiAsc=";
  };

  dontBuild = true;

  installPhase = ''
    runHook preInstall

    install -D -m644 zshrc-base-hw.zsh "$out/etc/zsh/zshrc"
    install -D -m644 zshrc-home.zsh "$out/etc/skel/.zshrc"
    install -D -m644 zshrc-home.zsh "$out/etc/zsh/newuser.zshrc.recommended"
    install -D -m644 profile-d-agdsn-zsh-config.sh "$out/etc/profile.d/agdsn-zsh-config.sh"

    runHook postInstall
  '';

  meta = with lib; {
    description = "A modified version of the Grml Zsh configuration specialised for the needs of system administration";
    homepage = "https://github.com/agdsn/agdsn-zsh-config";
    license = licenses.gpl2Plus;
    platforms = platforms.unix;
    maintainers = with maintainers; [ fugi ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13793,6 +13793,8 @@ with pkgs;
  runtimeShell = "${runtimeShellPackage}${runtimeShellPackage.shellPath}";
  runtimeShellPackage = bash;
  agdsn-zsh-config = callPackage ../shells/zsh/agdsn-zsh-config { };
  any-nix-shell = callPackage ../shells/any-nix-shell { };
  bash = lowPrio (callPackage ../shells/bash/5.nix {