summaryrefslogtreecommitdiff
path: root/pkgs/swaddle.nix
blob: 7b1778e80d5028eb09e66fc511fc803dd616ba6f (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
25
26
27
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  dbus,
  pkg-config,
}:
let
  buildRustPackage = import ../lib/build-rust-package.nix {
    inherit lib rustPlatform fetchFromGitHub;
  };
in
buildRustPackage (
  with lib;
  {
    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 = licenses.mit;
    maintainers = [ maintainers.Fuwn ];
    nativeBuildInputs = [ pkg-config ];
    buildInputs = [ dbus.dev ];
  }
)