mirror of
https://github.com/msfjarvis/dotfiles.git
synced 2024-06-03 03:48:56 +05:30
38 lines
859 B
Nix
38 lines
859 B
Nix
{
|
|
darwin,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
stdenv,
|
|
lib,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "hcctl";
|
|
version = "2.0.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "msfjarvis";
|
|
repo = "healthchecks-rs";
|
|
rev = "hcctl-v${version}";
|
|
hash = "sha256-A83pzY+c4kz59tHEc6hRd0Zp8Uj96KdrenD9RDWwavQ=";
|
|
};
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
|
|
|
buildAndTestSubdir = "hcctl";
|
|
|
|
cargoHash = "sha256-v8mpH1akao35P8ePFTFLBidkPW+vzsaMg4h51TudYMM=";
|
|
|
|
useNextest = true;
|
|
|
|
meta = with lib; {
|
|
description = "Simple CLI tool to keep a track of your https://healthchecks.io account";
|
|
homepage = "https://msfjarvis.dev/g/healthchecks-rs";
|
|
license = with licenses; [
|
|
asl20
|
|
mit
|
|
];
|
|
maintainers = with maintainers; [ msfjarvis ];
|
|
mainProgram = "hcctl";
|
|
};
|
|
}
|