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/applications/networking/cluster/tfswitch/default.nix
Normal file
31
pkgs/applications/networking/cluster/tfswitch/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ buildGoModule, lib, fetchFromGitHub }:
|
||||
buildGoModule rec {
|
||||
pname = "tfswitch";
|
||||
version = "0.13.1250";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "warrensbox";
|
||||
repo = "terraform-switcher";
|
||||
rev = version;
|
||||
sha256 = "sha256-OfQUwAv7PgjcDLE4Wm6I8pAHeLV9sHlLHRVqTB13B4c=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-jM9xYwBshBpaT4duBTvVwYUOapQfUbq9kL7EaRIGfQY=";
|
||||
|
||||
# Disable tests since it requires network access and relies on the
|
||||
# presence of release.hashicorp.com
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
# The binary is named tfswitch
|
||||
mv $out/bin/terraform-switcher $out/bin/tfswitch
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"A command line tool to switch between different versions of terraform";
|
||||
homepage = "https://github.com/warrensbox/terraform-switcher";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ psibi ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue