-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Command line application for delaying execution of other commands relative to sunrise and sunset https://github.com/mfreeborn/heliocron
- Loading branch information
1 parent
74bf7c3
commit 353b8c3
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |