mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
579 B
Nix
25 lines
579 B
Nix
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "bosun";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bosun-monitor";
|
|
repo = "bosun";
|
|
rev = version;
|
|
sha256 = "1qj97wiqj6awivvac1n00k0x8wdv4ambzdj4502nmmnr5rdbqq88";
|
|
};
|
|
|
|
subPackages = [ "cmd/bosun" "cmd/scollector" ];
|
|
goPackagePath = "bosun.org";
|
|
|
|
meta = with lib; {
|
|
description = "Time Series Alerting Framework";
|
|
license = licenses.mit;
|
|
homepage = https://bosun.org;
|
|
maintainers = with maintainers; [ offline ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|