mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
745 B
Nix
28 lines
745 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "consul-alerts";
|
|
version = "0.5.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/AcalephStorage/consul-alerts";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "AcalephStorage";
|
|
repo = "consul-alerts";
|
|
sha256 = "0dff2cpk3lkgjsh97rvlrpacpka0kwm29691diyvj7lb9ydzlx3r";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An extendable open source continuous integration server";
|
|
homepage = https://github.com/AcalephStorage/consul-alerts;
|
|
# As per README
|
|
platforms = platforms.linux ++ platforms.freebsd ++ platforms.darwin;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ nh2 ];
|
|
};
|
|
}
|