cargo-codspeed: 2.3.1 -> 2.3.2
[NixPkgs.git] / pkgs / tools / wayland / aw-watcher-window-wayland / default.nix
blob20235737d98bd1138f4ca5d5b66a9a7ef3185a31
2   lib,
3   fetchFromGitHub,
4   rustPlatform,
5   pkg-config,
6   openssl,
7 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "aw-watcher-window-wayland";
10   version = "6108ad3df8e157965a43566fa35cdaf144b1c51b";
12   src = fetchFromGitHub {
13     owner = "ActivityWatch";
14     repo = pname;
15     rev = version;
16     hash = "sha256-xl9+k6xJp5/t1QPOYfnBLyYprhhrzjzByDKkT3dtVVQ=";
17   };
19   cargoLock = {
20     lockFile = ./Cargo.lock;
21     outputHashes = {
22       "aw-client-rust-0.1.0" = "sha256-9tlVesnBeTlazKE2UAq6dzivjo42DT7p7XMuWXHHlnU=";
23     };
24   };
25   nativeBuildInputs = [
26     pkg-config
27   ];
29   buildInputs = [
30     openssl
31   ];
33   meta = with lib; {
34     description = "WIP window and afk watcher for wayland ";
35     homepage = "https://github.com/ActivityWatch/aw-watcher-window-wayland";
36     license = licenses.mpl20;
37     maintainers = with maintainers; [ esau79p ];
38   };