1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4 pname = "liquidprompt";
7 src = fetchFromGitHub {
11 sha256 = "sha256-7mnrXLqnCdOuS2aRs4tVLfO8SRFrqZHNM40gWE/CVFI=";
16 install -D -m 0444 liquidprompt $out/bin/liquidprompt
17 install -D -m 0444 liquidpromptrc-dist $out/share/doc/liquidprompt/liquidpromptrc-dist
18 install -D -m 0444 liquid.theme $out/share/doc/liquidprompt/liquid.theme
20 install -D -m 0444 liquidprompt.plugin.zsh \
21 $out/share/zsh/plugins/liquidprompt/liquidprompt.plugin.zsh
22 install -D -m 0444 liquidprompt \
23 $out/share/zsh/plugins/liquidprompt/liquidprompt
27 description = "A full-featured & carefully designed adaptive prompt for Bash & Zsh";
28 homepage = "https://github.com/nojhan/liquidprompt";
29 license = licenses.agpl3;
30 platforms = platforms.all;
31 maintainers = with maintainers; [ gerschtli ];