1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/shells/liquidprompt/default.nix

33 lines
1 KiB
Nix
Raw Normal View History

2019-08-10 10:59:26 +01:00
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "liquidprompt";
2020-11-03 06:45:16 +00:00
version = "1.12.1";
2019-08-10 10:59:26 +01:00
src = fetchFromGitHub {
owner = "nojhan";
repo = pname;
rev = "v${version}";
2020-11-03 06:45:16 +00:00
sha256 = "0vlwwkdbkxjsjcfmcspmq3f163kf0x4mwa8svxkzgnn2g4kl41ja";
2019-08-10 10:59:26 +01:00
};
installPhase = ''
install -D -m 0444 liquidprompt $out/bin/liquidprompt
install -D -m 0444 liquidpromptrc-dist $out/share/doc/liquidprompt/liquidpromptrc-dist
install -D -m 0444 liquid.theme $out/share/doc/liquidprompt/liquid.theme
install -D -m 0444 liquidprompt.plugin.zsh \
$out/share/zsh/plugins/liquidprompt/liquidprompt.plugin.zsh
install -D -m 0444 liquidprompt \
$out/share/zsh/plugins/liquidprompt/liquidprompt
'';
meta = with stdenv.lib; {
description = "A full-featured & carefully designed adaptive prompt for Bash & Zsh";
homepage = "https://github.com/nojhan/liquidprompt";
2019-08-10 10:59:26 +01:00
license = licenses.agpl3;
platforms = platforms.all;
maintainers = with maintainers; [ gerschtli ];
};
}