diff options
| author | Fuwn <[email protected]> | 2024-08-31 14:40:38 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-08-31 14:40:38 -0700 |
| commit | 81b1033e9717fbc7aed411c023a2c9364ca1d249 (patch) | |
| tree | 387308cd1fc40e9b95789db7c3fbfde260a08179 /pkgs/swaddle.nix | |
| parent | tings (diff) | |
| download | nixos-config-81b1033e9717fbc7aed411c023a2c9364ca1d249.tar.xz nixos-config-81b1033e9717fbc7aed411c023a2c9364ca1d249.zip | |
t
Diffstat (limited to 'pkgs/swaddle.nix')
| -rw-r--r-- | pkgs/swaddle.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/swaddle.nix b/pkgs/swaddle.nix new file mode 100644 index 0000000..bd83e34 --- /dev/null +++ b/pkgs/swaddle.nix @@ -0,0 +1,24 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, dbus +, pkg-config +, +}: +let + rustUtils = import ../lib/rust-utils.nix { + inherit lib rustPlatform fetchFromGitHub; + }; +in +rustUtils.mkRustPackage { + pname = "swaddle"; + version = "5a91352b3fc84d3af5d82eeda90f4b6844126dcb"; + githubOwner = "ATTron"; + githubHash = "sha256-tZAmaHXatzAo+sF2eBO2xsvJX2G2h6ShFRFpCHJcVew="; + cargoHash = "sha256-q+EkvenuJGxmfDpPnvQa3lJSc+CUCFxesmDaVGbBngE="; + description = "Swayidle inhibitor when watching content or listening to audio"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ Fuwn ]; + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ dbus.dev ]; +} |