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
35
pkgs/development/tools/summon/default.nix
Normal file
35
pkgs/development/tools/summon/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib, patchResolver ? true }:
|
||||
|
||||
with lib;
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "summon";
|
||||
version = "0.8.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cyberark";
|
||||
repo = "summon";
|
||||
rev = "v${version}";
|
||||
sha256 = "1z4xnrncwvp3rfm97zvc0ivvw2fh1hrjhj3rplvidzxjfyasbvwv";
|
||||
};
|
||||
|
||||
vendorSha256 = "1597vrs4b7k6gkmkvf7xnd38rvjixmlcz0j7npmik9nbkm57l74m";
|
||||
|
||||
subPackages = [ "cmd" ];
|
||||
|
||||
# Patches provider resolver to support resolving unqualified names
|
||||
# from $PATH, e.g. `summon -p gopass` instead of `summon -p $(which gopass)`
|
||||
patches = optional patchResolver [ ./resolve-paths.patch ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/summon
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"CLI that provides on-demand secrets access for common DevOps tools";
|
||||
homepage = "https://cyberark.github.io/summon";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with maintainers; [ quentini ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue