blob: 5235832f78e3f483fbbcbbe2cc6e7cc835e56cb8 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "aw-watcher-window-wayland";
version = "6108ad3df8e157965a43566fa35cdaf144b1c51b";
src = fetchFromGitHub {
owner = "ActivityWatch";
repo = pname;
rev = version;
hash = "sha256-xl9+k6xJp5/t1QPOYfnBLyYprhhrzjzByDKkT3dtVVQ=";
};
cargoPatches = [ ./rustc-serialize-fix.patch ];
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"aw-client-rust-0.1.0" = "sha256-9tlVesnBeTlazKE2UAq6dzivjo42DT7p7XMuWXHHlnU=";
};
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
meta = with lib; {
description = "WIP window and afk watcher for wayland";
homepage = "https://github.com/ActivityWatch/aw-watcher-window-wayland";
license = licenses.mpl20;
maintainers = with maintainers; [ esau79p ];
mainProgram = "aw-watcher-window-wayland";
platforms = platforms.linux;
};
}
|