mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 01:54:34 +00:00
34 lines
965 B
Nix
34 lines
965 B
Nix
![]() |
{
|
||
|
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;
|
||
|
};
|
||
|
}
|