mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-08 14:03:29 +00:00
a848fde40e
Co-authored-by: liberodark <liberodark@gmail.com> Diff: https://github.com/HenriWahl/Nagstamon/compare/v3.14.0...v3.16.2 Changelog: https://github.com/HenriWahl/Nagstamon/releases/tag/v3.16.2
68 lines
1.4 KiB
Nix
68 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
qt6Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "nagstamon";
|
|
version = "3.16.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "HenriWahl";
|
|
repo = "Nagstamon";
|
|
rev = "refs/tags/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
|
|
];
|
|
|
|
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
|
|
];
|
|
mainProgram = "nagstamon.py";
|
|
# NameError: name 'bdist_rpm_options' is not defined. Did you mean: 'bdist_mac_options'?
|
|
badPlatforms = [ lib.systems.inspect.patterns.isDarwin ];
|
|
};
|
|
}
|