evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / aw / aw-watcher-window-wayland / package.nix
blob5235832f78e3f483fbbcbbe2cc6e7cc835e56cb8
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   cargoPatches = [ ./rustc-serialize-fix.patch ];
21   cargoLock = {
22     lockFile = ./Cargo.lock;
23     outputHashes = {
24       "aw-client-rust-0.1.0" = "sha256-9tlVesnBeTlazKE2UAq6dzivjo42DT7p7XMuWXHHlnU=";
25     };
26   };
27   nativeBuildInputs = [
28     pkg-config
29   ];
31   buildInputs = [
32     openssl
33   ];
35   meta = with lib; {
36     description = "WIP window and afk watcher for wayland";
37     homepage = "https://github.com/ActivityWatch/aw-watcher-window-wayland";
38     license = licenses.mpl20;
39     maintainers = with maintainers; [ esau79p ];
40     mainProgram = "aw-watcher-window-wayland";
41     platforms = platforms.linux;
42   };