blob: 923ce6c790ab214275bff86f588fa6e8a8bbaaae (
plain)
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
44
45
46
47
48
49
50
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
gtkmm3,
gtk3,
spdlog,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "wsysmon";
version = "0.1.0";
src = fetchFromGitHub {
owner = "slyfabi";
repo = "wsysmon";
tag = finalAttrs.version;
hash = "sha256-5kfZT+hm064qXoAzi0RdmUqXi8VaXamlbm+FJOrGh3A=";
};
patches = [
# - Dynamically link spdlog
# - Remove dependency on procps (had a newer version than this package expected)
# - See https://github.com/SlyFabi/WSysMon/issues/4 for the issue about procps and why it could be removed
# - Add an installPhase
./fix-deps-and-add-install.patch
];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
gtkmm3
gtk3
spdlog
];
meta = {
description = "Windows task manager clone for Linux";
homepage = "https://github.com/SlyFabi/WSysMon";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ totoroot ];
mainProgram = "WSysMon";
};
})
|