nagstamon: 3.14.0 -> 3.16.2
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
This commit is contained in:
@@ -1,43 +1,67 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
fetchurl,
|
fetchFromGitHub,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
|
qt6Packages,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "nagstamon";
|
pname = "nagstamon";
|
||||||
version = "3.14.0";
|
version = "3.16.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/HenriWahl/Nagstamon/archive/refs/tags/v${version}.tar.gz";
|
owner = "HenriWahl";
|
||||||
sha256 = "sha256-9RxQ/rfvoyjSUsY4tmAkBdVQqZYi3X6PBzQYFIeenzA=";
|
repo = "Nagstamon";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-9w8ux+AeSg0vDhnk28/2eCE2zYLvAjD7mB0pJBMFs2I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Test assumes darwin
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
build-system = with python3Packages; [ setuptools ];
|
build-system = with python3Packages; [ setuptools ];
|
||||||
dependencies = with python3Packages; [
|
|
||||||
configparser
|
nativeBuildInputs = [ qt6Packages.wrapQtAppsHook ];
|
||||||
pyqt6
|
|
||||||
psutil
|
buildInputs = [
|
||||||
requests
|
qt6Packages.qtmultimedia
|
||||||
beautifulsoup4
|
qt6Packages.qtsvg
|
||||||
keyring
|
|
||||||
requests-kerberos
|
|
||||||
lxml
|
|
||||||
dbus-python
|
|
||||||
python-dateutil
|
|
||||||
pysocks
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "Status monitor for the desktop";
|
||||||
homepage = "https://nagstamon.de/";
|
homepage = "https://nagstamon.de/";
|
||||||
license = licenses.gpl2Plus;
|
changelog = "https://github.com/HenriWahl/Nagstamon/releases/tag/v${version}";
|
||||||
maintainers = with maintainers; [
|
license = lib.licenses.gpl2Plus;
|
||||||
|
maintainers = with lib.maintainers; [
|
||||||
pSub
|
pSub
|
||||||
liberodark
|
liberodark
|
||||||
];
|
];
|
||||||
|
mainProgram = "nagstamon.py";
|
||||||
|
# NameError: name 'bdist_rpm_options' is not defined. Did you mean: 'bdist_mac_options'?
|
||||||
|
badPlatforms = [ lib.systems.inspect.patterns.isDarwin ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user