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
34
pkgs/tools/misc/tydra/default.nix
Normal file
34
pkgs/tools/misc/tydra/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tydra";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mange";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1kvyski3qy2lwlpipynq894i0g9x2j4a1iy2mgdwfibfyfkv2jnm";
|
||||
};
|
||||
|
||||
cargoSha256 = "0handd5vxxvmlllzxhvwgadl4r7yc78f068r8jryprpap31azg3a";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage doc/{tydra.1,tydra-actions.5}
|
||||
|
||||
$out/bin/tydra --generate-completions bash > tydra.bash
|
||||
$out/bin/tydra --generate-completions fish > tydra.fish
|
||||
$out/bin/tydra --generate-completions zsh > _tydra
|
||||
|
||||
installShellCompletion tydra.{bash,fish} _tydra
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Shortcut menu-based task runner, inspired by Emacs Hydra";
|
||||
homepage = "https://github.com/Mange/tydra";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue