about summary refs log tree commit diff
path: root/pkgs/tools/security/zlint
diff options
context:
space:
mode:
authorArthur Gautier <arthur.gautier@arista.com>2022-11-23 12:56:30 -0800
committerArthur Gautier <arthur.gautier@arista.com>2022-11-23 13:05:24 -0800
commit21ef1b91290fb033376e1b4a0162f99332e86b63 (patch)
treece4b0bd16ab66acce2ca1797a119dd0a5ce56529 /pkgs/tools/security/zlint
parentdf6fdef6d0338bae9ebf3e7dab55cd3426566100 (diff)
zlint: 3.4.0 -> 3.4.1
This bump also dumped the git requirement so we can re-enable the tests.
Diffstat (limited to 'pkgs/tools/security/zlint')
-rw-r--r--pkgs/tools/security/zlint/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/tools/security/zlint/default.nix b/pkgs/tools/security/zlint/default.nix
index cdc4bc36d748c..9c67bb504b296 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";