mirror of
https://github.com/kmein/niveum
synced 2026-03-28 23:31:07 +01:00
feat: rusty alarm
This commit is contained in:
31
packages/rusty-jeep.nix
Normal file
31
packages/rusty-jeep.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
alsa-lib,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "rusty-jeep";
|
||||
version = "1.0.0";
|
||||
|
||||
src = let
|
||||
repo = fetchFromGitHub {
|
||||
owner = "kmein";
|
||||
repo = "scripts";
|
||||
rev = "c8e80b34c08e427f83b6af19a361e8c0711a4e6c";
|
||||
sha256 = "18jlf9zkhni4jsvzrlkkllqvv5dkhjmilggcchbs32hr1km51q84";
|
||||
};
|
||||
in "${repo}/rusty-jeep";
|
||||
|
||||
nativeBuildInputs = [pkg-config];
|
||||
buildInputs = [alsa-lib];
|
||||
|
||||
cargoHash = "sha256-8qbYTqRk+4InJNX6xK95VxISamDb5KID+wbmUDJYJ94=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A beeping program inspired by K_belwagen";
|
||||
license = licenses.wtfpl;
|
||||
maintainers = [maintainers.kmein];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user