2017-03-30 21:07:14 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2017-03-30 20:49:20 +02:00
|
|
|
|
|
|
|
let
|
2017-03-30 21:07:14 +02:00
|
|
|
repo = "lambda-mod-zsh-theme";
|
2017-03-30 20:49:20 +02:00
|
|
|
rev = "eceee68cf46bba9f7f42887c2128b48e8861e31b";
|
2017-03-30 21:04:01 +02:00
|
|
|
in stdenv.mkDerivation {
|
2017-03-30 21:07:14 +02:00
|
|
|
name = "${repo}-${rev}";
|
2017-03-30 20:49:20 +02:00
|
|
|
|
2017-03-30 21:07:14 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev repo;
|
2017-03-30 20:49:20 +02:00
|
|
|
|
2017-03-30 21:07:14 +02:00
|
|
|
owner = "halfo";
|
2017-03-30 20:49:20 +02:00
|
|
|
sha256 = "1410ryc22i20na5ypa1q6f106lkjj8n1qfjmb77q4rspi0ydaiy4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
2017-04-09 13:51:16 +02:00
|
|
|
mkdir -p $out/share/themes
|
|
|
|
cp lambda-mod.zsh-theme $out/share/themes
|
2017-03-30 20:49:20 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.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.linux;
|
2017-03-30 21:10:05 +02:00
|
|
|
maintainers = with maintainers; [ ma27 ];
|
2017-03-30 20:49:20 +02:00
|
|
|
};
|
|
|
|
}
|