From 21ef1b91290fb033376e1b4a0162f99332e86b63 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Wed, 23 Nov 2022 12:56:30 -0800 Subject: [PATCH] zlint: 3.4.0 -> 3.4.1 This bump also dumped the git requirement so we can re-enable the tests. --- pkgs/tools/security/zlint/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/security/zlint/default.nix b/pkgs/tools/security/zlint/default.nix index cdc4bc36d74..9c67bb504b2 100644 --- a/pkgs/tools/security/zlint/default.nix +++ b/pkgs/tools/security/zlint/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "zlint"; - version = "3.4.0"; + version = "3.4.1"; src = fetchFromGitHub { owner = "zmap"; repo = "zlint"; rev = "v${version}"; - hash = "sha256-l39GdfEKUAw5DQNjx6ZBgfGtengRlUUasm0G07kAA2A="; + hash = "sha256-edCZQeBZelDfZGBZgevvJ8fgm1G2QFILJKB3778D7ac="; }; modRoot = "v3"; @@ -25,9 +25,8 @@ buildGoModule rec { rm -rf v3/cmd/genTestCerts ''; - subPackages = [ - "cmd/zlint" - "cmd/zlint-gtld-update" + excludedPackages = [ + "lints" ]; ldflags = [ @@ -36,9 +35,6 @@ buildGoModule rec { "-X main.version=${version}" ]; - # Checks rely on .git directory, leaveDotGit makes the source derivation flaky. - doCheck = false; - passthru.tests.version = testers.testVersion { package = zlint; command = "zlint -version";