-
-
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.
Merge pull request #315703 from amyipdev/pwalarmd-v2
pwalarmd: init at 0.1.0
- Loading branch information
Showing
1 changed file
with
37 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,37 @@ | ||
{ lib | ||
, fetchFromGitHub | ||
, rustPlatform | ||
, pkg-config | ||
, alsa-lib | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "pwalarmd"; | ||
version = "0.1.0"; | ||
|
||
nativeBuildInputs = [ pkg-config ]; | ||
buildInputs = [ alsa-lib ]; | ||
|
||
src = fetchFromGitHub { | ||
owner = "amyipdev"; | ||
repo = "pwalarmd"; | ||
rev = "v${version}"; | ||
hash = "sha256-xoC1PtDQjkvoWb9x8A43ITo6xyYOv9hxH2pxiZBBvKI="; | ||
}; | ||
|
||
cargoHash = "sha256-cRAFnmgvzWLFAjB7H1rU4FdxMwm0J6d76kdFPoXpPMw="; | ||
|
||
meta = { | ||
description = "Background CLI-based alarm system for *nix"; | ||
longDescription = '' | ||
pwalarmd is a command-line (daemon-based) alarm system. | ||
It has extensive configuration and personalization, PulseAudio | ||
and PipeWire support, and supports live configuration changes. | ||
''; | ||
mainProgram = "pwalarmd"; | ||
license = lib.licenses.gpl2Only; | ||
platforms = lib.platforms.all; | ||
badPlatforms = lib.platforms.darwin; | ||
maintainers = with lib.maintainers; [ amyipdev ]; | ||
}; | ||
} |