Merge pull request #243438 from nrhtr/add-sloth

sloth: init at 0.11.0
This commit is contained in:
Franz Pletz 2023-08-10 15:20:43 +02:00 committed by GitHub
commit 0887186141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "sloth";
version = "0.11.0";
src = fetchFromGitHub {
owner = "slok";
repo = pname;
rev = "v${version}";
hash = "sha256-KMVD7uH3Yg9ThnwKKzo6jom0ctFywt2vu7kNdfjiMCs=";
};
vendorSha256 = "sha256-j6qXUQ/Tu3VNQL5xBOHloRn5DH3KG/znCLi1s8RIoL8=";
subPackages = [ "cmd/sloth" ];
meta = {
description = "Easy and simple Prometheus SLO (service level objectives) generator";
homepage = "https://sloth.dev/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nrhtr ];
platforms = lib.platforms.unix;
};
}

View file

@ -1898,6 +1898,8 @@ with pkgs;
shell-genie = callPackage ../applications/misc/shell-genie { };
sloth = callPackage ../tools/misc/sloth { };
snagboot = python3.pkgs.callPackage ../applications/misc/snagboot { };
simple-dlna-browser = callPackage ../tools/networking/simple-dlna-browser { };