mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
treewide: drop unnecessary go_1_17, buildGo117{Module,Package}
This commit is contained in:
parent
2211a7cf74
commit
ab07e12988
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "cointop";
|
||||
version = "1.6.10";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "cloudflared";
|
||||
version = "2022.1.2";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub, installShellFiles }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "cmctl";
|
||||
version = "1.7.1";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub, installShellFiles }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "helm";
|
||||
version = "3.8.0";
|
||||
gitCommit = "d14138609b01886f544b2025f5000351c9eb092e";
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ lib
|
||||
, buildGo117Module
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, git
|
||||
, go_1_17
|
||||
, go
|
||||
, gnumake
|
||||
}:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "kubebuilder";
|
||||
version = "3.3.0";
|
||||
|
||||
@ -23,8 +23,8 @@ buildGo117Module rec {
|
||||
|
||||
ldflags = [
|
||||
"-X main.kubeBuilderVersion=v${version}"
|
||||
"-X main.goos=${go_1_17.GOOS}"
|
||||
"-X main.goarch=${go_1_17.GOARCH}"
|
||||
"-X main.goos=${go.GOOS}"
|
||||
"-X main.goarch=${go.GOARCH}"
|
||||
"-X main.gitCommit=v${version}"
|
||||
"-X main.buildDate=v${version}"
|
||||
];
|
||||
@ -34,7 +34,7 @@ buildGo117Module rec {
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/kubebuilder
|
||||
wrapProgram $out/bin/kubebuilder \
|
||||
--prefix PATH : ${lib.makeBinPath [ go_1_17 gnumake ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ go gnumake ]}
|
||||
'';
|
||||
|
||||
allowGoReference = true;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGo117Module
|
||||
, buildGoModule
|
||||
, coredns
|
||||
, installShellFiles
|
||||
, isFull ? false
|
||||
@ -14,7 +14,7 @@
|
||||
]
|
||||
}:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
inherit pname ;
|
||||
version = "1.4.0";
|
||||
tags = lib.optionals enableGateway ["gateway"];
|
||||
|
@ -1,9 +1,8 @@
|
||||
{ lib, fetchFromGitHub, buildGo117Module, installShellFiles }:
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
|
||||
|
||||
{ channel, version, sha256, vendorSha256 }:
|
||||
|
||||
# Fix-Me: Unlock buildGoModule version when #154059 is merged.
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "linkerd-${channel}";
|
||||
inherit version vendorSha256;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "talosctl";
|
||||
version = "0.14.1";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub, installShellFiles }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "vcluster";
|
||||
version = "0.5.3";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "dstp";
|
||||
version = "0.4.0";
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ lib
|
||||
, buildGo117Module
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, fq
|
||||
, testVersion
|
||||
}:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "fq";
|
||||
version = "0.0.3";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "kubepug";
|
||||
version = "1.3.2";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ buildGo117Module, fetchFromGitHub, lib, nixosTests }:
|
||||
{ buildGoModule, fetchFromGitHub, lib, nixosTests }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "ergo";
|
||||
version = "2.9.1";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, buildGo117Package, buildEnv
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, buildGoPackage, buildEnv
|
||||
|
||||
# The suffix for the Mattermost version.
|
||||
, versionSuffix ? "nixpkgs"
|
||||
@ -14,7 +14,7 @@ let
|
||||
|
||||
goPackagePath = "github.com/mattermost/mattermost-server";
|
||||
|
||||
mattermost-server-build = buildGo117Package rec {
|
||||
mattermost-server-build = buildGoPackage rec {
|
||||
pname = "mattermost-server";
|
||||
inherit version goPackagePath;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub, olm }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, olm }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "mautrix-whatsapp";
|
||||
version = "0.2.3";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchurl, fetchFromGitHub, nixosTests, tzdata, wire }:
|
||||
{ lib, buildGoModule, fetchurl, fetchFromGitHub, nixosTests, tzdata, wire }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "grafana";
|
||||
version = "8.3.4";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub, nixosTests }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "telegraf";
|
||||
version = "1.20.4";
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, buildGo117Module
|
||||
, buildGoModule
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
@ -43,7 +43,7 @@ let
|
||||
sha256 = "sha256-oKvDXkxA73IJOi+ciBFVLkYcmeRUsTC+3rcYf64vDoY=";
|
||||
};
|
||||
in
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "teleport";
|
||||
|
||||
inherit src version;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "kopia";
|
||||
version = "0.10.4";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, buildGo117Module, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGo117Module rec {
|
||||
buildGoModule rec {
|
||||
pname = "nebula";
|
||||
version = "1.5.2";
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user