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
31
pkgs/shells/zsh/pure-prompt/default.nix
Normal file
31
pkgs/shells/zsh/pure-prompt/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pure-prompt";
|
||||
version = "1.20.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sindresorhus";
|
||||
repo = "pure";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-iuLi0o++e0PqK81AKWfIbCV0CTIxq2Oki6U2oEYsr68=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
installPhase = ''
|
||||
OUTDIR="$out/share/zsh/site-functions"
|
||||
mkdir -p "$OUTDIR"
|
||||
cp pure.zsh "$OUTDIR/prompt_pure_setup"
|
||||
cp async.zsh "$OUTDIR/async"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Pretty, minimal and fast ZSH prompt";
|
||||
homepage = "https://github.com/sindresorhus/pure";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ pacien pablovsky ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue