forked from mirrors/nixpkgs
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:
parent
df6fdef6d0
commit
21ef1b9129
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue