2018-07-10 15:28:47 +02:00
|
|
|
{ stdenv, fetchFromGitHub, zsh }:
|
2017-03-30 20:49:20 +02:00
|
|
|
|
2017-05-04 07:41:57 +02:00
|
|
|
stdenv.mkDerivation {
|
2017-10-08 15:56:28 +02:00
|
|
|
name = "lambda-mod-zsh-theme-unstable-2017-10-08";
|
2017-03-30 20:49:20 +02:00
|
|
|
|
2017-03-30 21:07:14 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "halfo";
|
2017-05-04 07:41:57 +02:00
|
|
|
repo = "lambda-mod-zsh-theme";
|
2017-10-08 15:56:28 +02:00
|
|
|
sha256 = "13yis07zyr192s0x2h04k5bm1yzbk5m3js83aa17xh5573w4b786";
|
|
|
|
rev = "61c373c8aa5556d51522290b82ad44e7166bced1";
|
2017-03-30 20:49:20 +02:00
|
|
|
};
|
|
|
|
|
2018-07-10 15:28:47 +02:00
|
|
|
buildInputs = [ zsh ];
|
|
|
|
|
2017-03-30 20:49:20 +02:00
|
|
|
installPhase = ''
|
2018-07-10 15:28:47 +02:00
|
|
|
chmod +x lambda-mod.zsh-theme # only executable scripts are found by `patchShebangs`
|
|
|
|
patchShebangs .
|
|
|
|
|
|
|
|
install -Dm0644 lambda-mod.zsh-theme $out/share/zsh/themes/lambda-mod.zsh-theme
|
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";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/halfo/lambda-mod-zsh-theme/;
|
2017-03-30 20:49:20 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|