about summary refs log tree commit diff
path: root/packages/swhkd/default.nix
blob: a6950e7940a41130efd12c6cdf889ab0446bace0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ rustPlatform, fetchFromGitHub, pkgs, ... }:
rustPlatform.buildRustPackage rec {
  name = "swhkd";

  nativeBuildInputs = with pkgs; [
    pkgconfig
  ];

  buildInputs = with pkgs; [ systemd ];

  src = fetchFromGitHub {
    owner = "waycrate";
    repo = name;
    rev = "2e6f091817be5f6ebf837f8fc1cdf1e54f0b3526";
    sha256 = "sha256-6kTRAUP///EwIkF1QkQByHqHW55u2L2Gv3c+B5z3e5U=";
  };

  cargoHash = "sha256-E5AE18CfeX1HI/FbGDFoUDsPyG/CpJrD+8Ky7c+EQUw=";
}