nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 949 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "tfupdate"; 9 version = "0.9.3"; 10 11 src = fetchFromGitHub { 12 owner = "minamijoyo"; 13 repo = "tfupdate"; 14 rev = "v${version}"; 15 sha256 = "sha256-Df6imS3JCtMOMCNJd/3cFqK5JsGpIkF/yab7B7YgILI="; 16 }; 17 18 vendorHash = "sha256-0odAvB2VqYZnPu4wlXpPeR2ioEq3WOGyvpRm72/GWsg="; 19 20 # Tests start http servers which need to bind to local addresses: 21 # panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted 22 __darwinAllowLocalNetworking = true; 23 24 meta = { 25 description = "Update version constraints in your Terraform configurations"; 26 mainProgram = "tfupdate"; 27 homepage = "https://github.com/minamijoyo/tfupdate"; 28 changelog = "https://github.com/minamijoyo/tfupdate/blob/${src.rev}/CHANGELOG.md"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ 31 Intuinewin 32 qjoly 33 ]; 34 }; 35}