Merge pull request #179622 from SuperSandro2000/go-1-18

go,goBuildModules: bump default go version to 1.18
This commit is contained in:
Sandro 2022-07-16 01:48:22 +02:00 committed by GitHub
commit e32ba32046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 300 additions and 268 deletions

View file

@ -15,7 +15,7 @@ buildGoModule rec {
proxyVendor = true;
vendorSha256 = "sha256-1vlgnY4kZJfoAtbv+r8onxL03Ak32zKLJgtrBYZX09g=";
vendorSha256 = "sha256-n9XNqXIoqn+f0xKCenJWXUYXtQhtbNBar68onWH/WV4=";
meta = with lib; {
description = "RSS/Atom reader with the focus on speed, usability and a bit of unix philosophy";

View file

@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-vWwRZVArmlTIGwD4zV3dEHN2kkoeCZuNIvjCBVAviPo=";
};
vendorSha256 = "sha256-kgSJUSjY8kgrGCNDPgw1WA8KwAqI5koJQ0IcE+tC5nk=";
vendorSha256 = "sha256-pYtP+Tkh2TcGsbk7zQNaoYLEQrqGOL0gkMG5dUkfpt4=";
postInstall = ''
rm $out/bin/plugin*

View file

@ -15,17 +15,14 @@ buildGoModule {
};
proxyVendor = true;
vendorSha256 = "sha256-zZ0IrtfQvczoB7th9ZCUlYOtyZr3Y3yF0pKzRCqmCjo=";
vendorSha256 = "sha256-miyNIF6RNOuvNEA9Hf+hOyRJG+5IcXU4Vo4Fzn+nIb4=";
subPackages = [ "cmd/sqlc" ];
meta = let
inherit (lib) licenses platforms maintainers;
in {
description = " Generate type-safe code from SQL";
meta = with lib; {
description = "Generate type-safe code from SQL";
homepage = "https://sqlc.dev/";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.adisbladis ];
};
}

View file

@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "sha256-0Cp/OnFvVZj9UZgl3F5MCzemBaHI4smGWU46VQnhLOg=";
};
vendorSha256 = "sha256-07zoQL4mLPSERBkZ3sz35Av7zdZsjTyGR8zbA86EEjU=";
vendorSha256 = "sha256-JbBXRkxnB7LeeWdBLIQvyjvWo0zZ1EOuEUPXxHWiq+E=";
proxyVendor = true;

View file

@ -11,7 +11,7 @@ buildGoModule rec {
sha256 = "0ksxic7cypv9gg8q5lkl5bla1n9i65z7b03cx9lwq6252glmf2jk";
};
vendorSha256 = "093blawprs2yf478zp9p1zc7mmimgpiwrw6nh8nqml89y5b5zldc";
vendorSha256 = "sha256-XAFB+DDWN7CLfNxIBqYJy88gUNrUJYExzy2/BFnBe8c=";
doCheck = false;
@ -20,6 +20,5 @@ buildGoModule rec {
homepage = "https://github.com/emicklei/proto-contrib";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View file

@ -11,7 +11,7 @@ buildGoModule {
sha256 = "sha256-LfF/n96LwRX8aoPHzCRI/QbDmZR9yMhE5yGhFAqa8nA=";
};
vendorSha256 = "sha256-xZlP4rg1FMx6ddkKYlSdF6NrtY8xBZ3aEZSATgSf13M=";
vendorSha256 = "sha256-WISWuq1neVX4xQkoamc6FznZahOQHwgkYmERJF40OFQ=";
subPackages = [ "." ];

View file

@ -34,7 +34,10 @@ buildGoModule {
description = "Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files";
homepage = "https://github.com/nix-community/vgo2nix";
license = licenses.mit;
maintainers = with maintainers; [ adisbladis SuperSandro2000 ];
maintainers = with maintainers; [ adisbladis ];
mainProgram = "vgo2nix";
# vendoring fails with cryptic error:
# reading file:///nix/store/..../github.com/orivej/e/@v/v0.0.0-20180728214217-ac3492690fda.zip: no such file or directory
broken = true;
};
}

View file

@ -100,13 +100,14 @@ buildGoModule {
cp -r _tpl "$out/share/tpl"
'';
passthru.tests.ncdns = nixosTests.ncdns;
meta = with lib; {
description = "Namecoin to DNS bridge daemon";
homepage = "https://github.com/namecoin/ncdns";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ rnhmjoj ];
# module github.com/btcsuite/btcd@latest found (v0.23.1), but does not contain package github.com/btcsuite/btcd/btcec
broken = true;
};
passthru.tests.ncdns = nixosTests.ncdns;
}

View file

@ -14,7 +14,7 @@ buildGoModule rec {
hash = "sha256-U+h/WmTVwwUIBEOiNa/EKS6HvkeoGNmP3NpeP1fcqYw=";
};
vendorSha256 = "sha256-h/DpbXO+LUsB9NOAXUfNx3VOfEsiolfBEMBrAqVlU3A=";
vendorSha256 = "sha256-5a/V2OQGVRIJVl/YG+lvtbLeHCy/1eiZu69zKIFqRKM=";
proxyVendor = true;

View file

@ -1,11 +1,11 @@
{ lib
, buildGo118Module
, buildGoModule
, fetchFromGitHub
, fetchurl
, nixosTests
}:
buildGo118Module rec {
buildGoModule rec {
pname = "mattermost";
version = "7.1.0";

View file

@ -15,7 +15,7 @@ buildGoModule rec {
sha256 = "sha256-Cftxm+Lb3ekK8YZrklD/C+p0EpyEVU/xxVI5oiNgBxk=";
};
vendorSha256 = "sha256-E1p9hnxNFse7Zg8FGcZrbVqThrGTVSP04nH/ZP8WBlk=";
vendorSha256 = "sha256-VyNPIYRMAC51zp38BKoM5/bLbfwULtFEtRC3LQjVJK4=";
proxyVendor = true;
ldflags = [

View file

@ -11,9 +11,9 @@ buildGoModule rec {
sha256 = "13n643ik1zjvpk8h9458yd9ffahhbdnigmbrbmpn7b7g23wqqsi3";
};
nativeBuildInputs = [ installShellFiles ];
vendorSha256 = "sha256-n5QFN1B2GjbzylFuW9Y4r0+ioIJlfKwcGK8X3ZwKLI8=";
vendorSha256 = "1863ad97y82fx0an1ysalkxnqjz3zfz228wag9a92wdssl1vwzws";
nativeBuildInputs = [ installShellFiles ];
doCheck = false;
@ -23,16 +23,15 @@ buildGoModule rec {
installShellCompletion --zsh --name _history $out/share/zsh/completions/_history
'';
passthru.tests = {
zsh-history-shell-integration = nixosTests.zsh-history;
};
meta = with lib; {
description = "A CLI to provide enhanced history for your ZSH shell";
homepage = "https://github.com/b4b4r07/history";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "history";
platforms = platforms.unix;
};
passthru.tests = {
zsh-history-shell-integration = nixosTests.zsh-history;
};
}

View file

@ -1,4 +1,4 @@
{ lib, hwdata, pkg-config, lxc, buildGo118Package, fetchurl
{ lib, hwdata, pkg-config, lxc, buildGoPackage, fetchurl
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq, attr
, squashfsTools, iproute2, iptables, libcap
, dqlite, raft-canonical, sqlite-replication, udev
@ -9,7 +9,7 @@
, nixosTests
}:
buildGo118Package rec {
buildGoPackage rec {
pname = "lxd";
version = "5.3";

View file

@ -29,10 +29,10 @@ buildGoModule rec {
'';
meta = with lib; {
broken = stdenv.isDarwin;
description = "Tool for generating Bash/Fish/Zsh autocompletions based on `--help` output";
homepage = "https://github.com/dim-an/cod/";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
broken = true;
};
}

View file

@ -1,6 +1,6 @@
{ stdenv, lib, buildGo118Module, fetchFromGitHub, fetchzip }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, fetchzip }:
buildGo118Module rec {
buildGoModule rec {
pname = "mutagen-compose";
version = "0.14.0";

View file

@ -1,6 +1,6 @@
{ stdenv, lib, buildGo118Module, fetchFromGitHub, fetchzip }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, fetchzip }:
buildGo118Module rec {
buildGoModule rec {
pname = "mutagen";
version = "0.14.0";

View file

@ -16,7 +16,7 @@ buildGoModule rec {
};
# proxy vendor to avoid hash missmatches between linux and macOS
proxyVendor = true;
vendorSha256 = "sha256-CzFcSvJCMfS83Semk92XUd9iSX6OjOrDzRUNNLVtpi4=";
vendorSha256 = "sha256-G3sIWkYKYnqDmmwspQNw+8yU/SWBBr8KX7Osae9mXe4=";
subPackages = [ "cmd/otelcontribcol" ];

View file

@ -1,6 +1,6 @@
{ stdenv, lib, buildGo118Module, fetchFromGitHub, installShellFiles }:
{ stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGo118Module rec {
buildGoModule rec {
pname = "steampipe";
version = "0.15.0";

View file

@ -1,11 +1,11 @@
{ lib
, buildGo118Module
, buildGoModule
, fetchFromGitHub
, installShellFiles
, nixosTests
}:
buildGo118Module rec {
buildGoModule rec {
pname = "upterm";
version = "0.8.2";

View file

@ -11,19 +11,18 @@ buildGoModule rec {
sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
};
vendorSha256 = "17m0ssfw9n3g2lkv63qajz3adrk5yp0c9hx66x7dl79snwqd49yg";
vendorSha256 = "sha256-llseW3k8ygTXwkSpnRfQEnX3OVj2zdL8JDpIoRcC9kE=";
doCheck = false;
ldflags = [
"-s"
"-w"
"-X main.tag=v${version}"
];
meta = with lib; {
description = ''
This project aims at creating a universal dark theme for Firefox while
adhering to the modern design principles set by Mozilla.
'';
description = "Universal dark theme for Firefox while adhering to the modern design principles set by Mozilla";
homepage = "https://overdodactyl.github.io/ShadowFox/";
license = licenses.mit;
maintainers = with maintainers; [ infinisil ];

View file

@ -1,6 +1,6 @@
{ lib, buildGo118Module, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGo118Module rec {
buildGoModule rec {
pname = "spire";
version = "1.3.1";

File diff suppressed because it is too large Load diff