Files
nixpkgs/pkgs/by-name/ws/wsysmon/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.0 KiB
Nix

{
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";
};
})