heliocron: init at 0.8.1 (#338936)

This commit is contained in:
kirillrdy 2024-09-06 12:01:34 +10:00 committed by GitHub
commit 59910df84e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 40 additions and 0 deletions

View File

@ -20672,6 +20672,13 @@
githubId = 3512122;
keys = [ { fingerprint = "5F29 132D EFA8 5DA0 B598 5BF2 5941 754C 1CDE 33BB"; } ];
};
TheColorman = {
name = "colorman";
email = "nixpkgs@colorman.me";
github = "TheColorman";
githubId = 18369995;
keys = [ { fingerprint = "3D8C A43C FBA2 5D28 0196 19F0 AB11 0475 B417 291D"; } ];
};
thedavidmeister = {
email = "thedavidmeister@gmail.com";
github = "thedavidmeister";

View File

@ -0,0 +1,33 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "heliocron";
version = "0.8.1";
src = fetchFromGitHub {
owner = "mfreeborn";
repo = "heliocron";
rev = "v${version}";
hash = "sha256-5rzFz29Bpy2GR6bEt2DdCq9RtpdcY3SK/KnZrBrHUvk=";
};
cargoHash = "sha256-RjYE2TBvHnBgiwJi/Ys+wAmJoMHJuimcD07FOqwkcis=";
meta = {
description = "Execute tasks relative to sunset, sunrise and other solar events";
longDescription = "A simple command line application that integrates with `cron` to execute tasks relative to sunset, sunrise and other such solar events.";
homepage = "https://github.com/mfreeborn/heliocron";
changelog = "https://github.com/mfreeborn/heliocron/releases/tag/v${version}";
license = with lib.licenses; [
mit
asl20
];
maintainers = with lib.maintainers; [ TheColorman ];
mainProgram = "heliocron";
platforms = lib.platforms.linux;
};
}