mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 15:54:32 +00:00
consul-alerts: migrate to buildGoModule
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
d6261b6f04
commit
6a11289f14
@ -1,21 +1,24 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "consul-alerts";
|
||||
version = "0.6.0";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
rev = "v${version}";
|
||||
owner = "AcalephStorage";
|
||||
repo = "consul-alerts";
|
||||
sha256 = "0836zicv76sd6ljhbbii1mrzh65pch10w3gfa128iynaviksbgn5";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
go mod init github.com/AcalephStorage/consul-alerts
|
||||
'';
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
mainProgram = "consul-alerts";
|
||||
description = "An extendable open source continuous integration server";
|
||||
|
Loading…
Reference in New Issue
Block a user