zlint: 3.4.0 -> 3.4.1

This bump also dumped the git requirement so we can re-enable the tests.
This commit is contained in:
Arthur Gautier 2022-11-23 12:56:30 -08:00
parent df6fdef6d0
commit 21ef1b9129

View file

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "zlint"; pname = "zlint";
version = "3.4.0"; version = "3.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zmap"; owner = "zmap";
repo = "zlint"; repo = "zlint";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-l39GdfEKUAw5DQNjx6ZBgfGtengRlUUasm0G07kAA2A="; hash = "sha256-edCZQeBZelDfZGBZgevvJ8fgm1G2QFILJKB3778D7ac=";
}; };
modRoot = "v3"; modRoot = "v3";
@ -25,9 +25,8 @@ buildGoModule rec {
rm -rf v3/cmd/genTestCerts rm -rf v3/cmd/genTestCerts
''; '';
subPackages = [ excludedPackages = [
"cmd/zlint" "lints"
"cmd/zlint-gtld-update"
]; ];
ldflags = [ ldflags = [
@ -36,9 +35,6 @@ buildGoModule rec {
"-X main.version=${version}" "-X main.version=${version}"
]; ];
# Checks rely on .git directory, leaveDotGit makes the source derivation flaky.
doCheck = false;
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = zlint; package = zlint;
command = "zlint -version"; command = "zlint -version";