summaryrefslogtreecommitdiff
path: root/pkgs/swaddle.nix
blob: ddb5c4335368a419410039c20aa2690015fa7f40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  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 ];
}