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