2017-03-30 20:49:20 +02:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
|
|
|
let
|
|
|
|
pkgName = "lambda-mod-zsh-theme";
|
|
|
|
rev = "eceee68cf46bba9f7f42887c2128b48e8861e31b";
|
2017-03-30 21:04:01 +02:00
|
|
|
in stdenv.mkDerivation {
|
2017-03-30 20:49:20 +02:00
|
|
|
name = "${pkgName}-${rev}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
|
|
|
|
url = "https://github.com/halfo/lambda-mod-zsh-theme";
|
|
|
|
sha256 = "1410ryc22i20na5ypa1q6f106lkjj8n1qfjmb77q4rspi0ydaiy4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildPhases = [ "unpackPhase" "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share
|
|
|
|
cp lambda-mod.zsh-theme $out/share
|
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|