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/zsh-fast-syntax-highlighting/default.nix
Normal file
31
pkgs/shells/zsh/zsh-fast-syntax-highlighting/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "zsh-fast-syntax-highlighting";
|
||||
version = "1.55";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zdharma-continuum";
|
||||
repo = "fast-syntax-highlighting";
|
||||
rev = "v${version}";
|
||||
sha256 = "0h7f27gz586xxw7cc0wyiv3bx0x3qih2wwh05ad85bh2h834ar8d";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
plugindir="$out/share/zsh/site-functions"
|
||||
|
||||
mkdir -p "$plugindir"
|
||||
cp -r -- {,_,-,.}fast-* *chroma themes "$plugindir"/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Syntax-highlighting for Zshell";
|
||||
homepage = "https://github.com/zdharma-continuum/fast-syntax-highlighting";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue