@@ -0,0 +1,30 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+let
4+ repo = "lambda-mod-zsh-theme";
5+ rev = "eceee68cf46bba9f7f42887c2128b48e8861e31b";
6+in stdenv.mkDerivation {
7+ name = "${repo}-${rev}";
8+
9+ src = fetchFromGitHub {
10+ inherit rev repo;
11+
12+ owner = "halfo";
13+ sha256 = "1410ryc22i20na5ypa1q6f106lkjj8n1qfjmb77q4rspi0ydaiy4";
14+ };
15+
16+ buildPhases = [ "unpackPhase" "installPhase" ];
17+
18+ installPhase = ''
19+ mkdir -p $out/share/themes
20+ cp lambda-mod.zsh-theme $out/share/themes
21+ '';
22+
23+ meta = with stdenv.lib; {
24+ description = "A ZSH theme optimized for people who use Git & Unicode-compatible fonts and terminals";
25+ homepage = "https://github.com/halfo/lambda-mod-zsh-theme/";
26+ license = licenses.mit;
27+ platforms = platforms.linux;
28+ maintainers = with maintainers; [ ma27 ];
29+ };
30+}