From 3d4687c6cd8e2d521af5fbec520d4278f930877f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Dec 2022 14:24:46 +0100 Subject: [PATCH 1/2] terrascan: 1.17.0 -> 1.17.1 Diff: https://github.com/accurics/terrascan/compare/v1.17.0...v1.17.1 --- pkgs/tools/security/terrascan/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/terrascan/default.nix b/pkgs/tools/security/terrascan/default.nix index 56f5d676a8b8..619c2f00fb20 100644 --- a/pkgs/tools/security/terrascan/default.nix +++ b/pkgs/tools/security/terrascan/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "terrascan"; - version = "1.17.0"; + version = "1.17.1"; src = fetchFromGitHub { owner = "accurics"; repo = pname; rev = "v${version}"; - sha256 = "sha256-I7tA6FRsG3miIXibmBAFvanIyI8jgThrInQEzUCxvAs="; + sha256 = "sha256-XcMDdnqx64UcEzD44z34sm5TmshPOTb5tivBnGXQLjo="; }; - vendorSha256 = "sha256-ahj67MoS+VXNlh5dRA722tq27JRQGaC7TejOVIAH8ms="; + vendorSha256 = "sha256-HjWUV5gfh2WnUAayZIj6LGFs0rMv2n7v6zJJrzBHBwg="; # Tests want to download a vulnerable Terraform project doCheck = false; From be841aaf45d83de5373a1c8c359edd237d1d750e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Dec 2022 14:27:26 +0100 Subject: [PATCH 2/2] terrrascan: add changelog to meta --- pkgs/tools/security/terrascan/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/terrascan/default.nix b/pkgs/tools/security/terrascan/default.nix index 619c2f00fb20..bc694986c8d1 100644 --- a/pkgs/tools/security/terrascan/default.nix +++ b/pkgs/tools/security/terrascan/default.nix @@ -11,10 +11,10 @@ buildGoModule rec { owner = "accurics"; repo = pname; rev = "v${version}"; - sha256 = "sha256-XcMDdnqx64UcEzD44z34sm5TmshPOTb5tivBnGXQLjo="; + hash = "sha256-XcMDdnqx64UcEzD44z34sm5TmshPOTb5tivBnGXQLjo="; }; - vendorSha256 = "sha256-HjWUV5gfh2WnUAayZIj6LGFs0rMv2n7v6zJJrzBHBwg="; + vendorHash = "sha256-HjWUV5gfh2WnUAayZIj6LGFs0rMv2n7v6zJJrzBHBwg="; # Tests want to download a vulnerable Terraform project doCheck = false; @@ -27,6 +27,7 @@ buildGoModule rec { 500+ polices and support for Terraform and Kubernetes. ''; homepage = "https://github.com/accurics/terrascan"; + changelog = "https://github.com/tenable/terrascan/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; };