mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
17 lines
393 B
Nix
17 lines
393 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "consul-alerts-${version}";
|
|
version = "0.3.3";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "AcalephStorage";
|
|
repo = "consul-alerts";
|
|
sha256 = "1w0mb20w1yazyh84sa30bsw271c5nm7lsx2qg0g3gf6mxdb63lpq";
|
|
};
|
|
}
|