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
71 lines
1.4 KiB
Nix
71 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
qt6Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "nagstamon";
|
|
version = "3.16.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HenriWahl";
|
|
repo = "Nagstamon";
|
|
tag = "v${version}";
|
|
hash = "sha256-9w8ux+AeSg0vDhnk28/2eCE2zYLvAjD7mB0pJBMFs2I=";
|
|
};
|
|
|
|
build-system = with python3Packages; [ setuptools ];
|
|
|
|
nativeBuildInputs = [ qt6Packages.wrapQtAppsHook ];
|
|
|
|
buildInputs = [
|
|
qt6Packages.qtmultimedia
|
|
qt6Packages.qtsvg
|
|
];
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
preFixup = ''
|
|
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
|
|
'';
|
|
|
|
dependencies = with python3Packages; [
|
|
arrow
|
|
beautifulsoup4
|
|
configparser
|
|
dbus-python
|
|
keyring
|
|
lxml
|
|
psutil
|
|
pyqt6
|
|
pysocks
|
|
python-dateutil
|
|
requests
|
|
requests-kerberos
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = with python3Packages; [
|
|
pylint
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
description = "Status monitor for the desktop";
|
|
homepage = "https://nagstamon.de/";
|
|
changelog = "https://github.com/HenriWahl/Nagstamon/releases/tag/v${version}";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [
|
|
pSub
|
|
liberodark
|
|
videl
|
|
];
|
|
mainProgram = "nagstamon.py";
|
|
# NameError: name 'bdist_rpm_options' is not defined. Did you mean: 'bdist_mac_options'?
|
|
badPlatforms = [ lib.systems.inspect.patterns.isDarwin ];
|
|
};
|
|
}
|