uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/shells/liquidprompt/default.nix
Normal file
33
pkgs/shells/liquidprompt/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liquidprompt";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nojhan";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ntCfXJUOQqL63HWoG+WJr9a+qB16AaL5zf58039t7GU=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
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 lib; {
|
||||
description = "A full-featured & carefully designed adaptive prompt for Bash & Zsh";
|
||||
homepage = "https://github.com/nojhan/liquidprompt";
|
||||
license = licenses.agpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ gerschtli ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue