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
43
pkgs/tools/misc/complete-alias/default.nix
Normal file
43
pkgs/tools/misc/complete-alias/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, stdenvNoCC
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "complete-alias";
|
||||
version = "1.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cykerway";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "18lmdb3inphxyjv08ing5wckqnjq0m5zfl0f15mqzlvf2ypar63x";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
# required for the patchShebangs setup hook
|
||||
chmod +x complete_alias
|
||||
|
||||
patchShebangs complete_alias
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp -r complete_alias "$out"/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automagical shell alias completion";
|
||||
homepage = "https://github.com/cykerway/complete-alias";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ tuxinaut ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue