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/development/tools/kustomize/kustomize-sops.nix
Normal file
34
pkgs/development/tools/kustomize/kustomize-sops.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kustomize-sops";
|
||||
version = "3.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "viaduct-ai";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-6mLfMbYbdsjWHpfUHP3Q5nsqdMXo/82+A9PV8xWZBM0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-aRS+MwME72qIMyhnnIRqmrx5hcQ1V0pLIBJqSoR+Fkk=";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
|
||||
mv $GOPATH/bin/kustomize-sops $out/lib/viaduct.ai/v1/ksops-exec/ksops-exec
|
||||
'';
|
||||
|
||||
# Tests are broken in a nix environment
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Flexible Kustomize Plugin for SOPS Encrypted Resource";
|
||||
longDescription = ''
|
||||
KSOPS can be used to decrypt any Kubernetes resource, but is most commonly
|
||||
used to decrypt encrypted Kubernetes Secrets and ConfigMaps.
|
||||
'';
|
||||
homepage = "https://github.com/viaduct-ai/kustomize-sops";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ starcraft66 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue