summary refs log tree commit diff
path: root/pkgs/shells/zsh/lambda-mod-zsh-theme/default.nix
blob: eae5f77904b5e2062785854570076f1c9bc2f76d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
  pname = "lambda-mod-zsh-theme-unstable";
  version = "2020-10-03";

  src = fetchFromGitHub {
    owner = "halfo";
    repo = "lambda-mod-zsh-theme";
    rev = "78347ea9709935f265e558b6345919d12323fbff";
    sha256 = "0fvxnvgbcvwii7ghvpj5l43frllq71wwjvfg7cqfmic727z001dh";
  };

  strictDeps = true;
  installPhase = ''
    install -Dm0644 lambda-mod.zsh-theme $out/share/zsh/themes/lambda-mod.zsh-theme
  '';

  meta = with lib; {
    description = "A ZSH theme optimized for people who use Git & Unicode-compatible fonts and terminals";
    homepage = "https://github.com/halfo/lambda-mod-zsh-theme/";
    license = licenses.mit;
    platforms = platforms.all;
    maintainers = with maintainers; [ ma27 ];
  };
}