-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: liberodark <[email protected]> Diff: HenriWahl/Nagstamon@v3.14.0...v3.16.2 Changelog: https://github.com/HenriWahl/Nagstamon/releases/tag/v3.16.2
- Loading branch information
1 parent
697286b
commit a848fde
Showing
1 changed file
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,67 @@ | ||
{ | ||
lib, | ||
fetchurl, | ||
fetchFromGitHub, | ||
python3Packages, | ||
qt6Packages, | ||
}: | ||
|
||
python3Packages.buildPythonApplication rec { | ||
pname = "nagstamon"; | ||
version = "3.14.0"; | ||
version = "3.16.2"; | ||
|
||
src = fetchurl { | ||
url = "https://github.com/HenriWahl/Nagstamon/archive/refs/tags/v${version}.tar.gz"; | ||
sha256 = "sha256-9RxQ/rfvoyjSUsY4tmAkBdVQqZYi3X6PBzQYFIeenzA="; | ||
src = fetchFromGitHub { | ||
owner = "HenriWahl"; | ||
repo = "Nagstamon"; | ||
rev = "refs/tags/v${version}"; | ||
hash = "sha256-9w8ux+AeSg0vDhnk28/2eCE2zYLvAjD7mB0pJBMFs2I="; | ||
}; | ||
|
||
# Test assumes darwin | ||
doCheck = false; | ||
|
||
build-system = with python3Packages; [ setuptools ]; | ||
|
||
nativeBuildInputs = [ qt6Packages.wrapQtAppsHook ]; | ||
|
||
buildInputs = [ | ||
qt6Packages.qtmultimedia | ||
qt6Packages.qtsvg | ||
]; | ||
|
||
dontWrapQtApps = true; | ||
|
||
preFixup = '' | ||
makeWrapperArgs+=("''${qtWrapperArgs[@]}") | ||
''; | ||
|
||
dependencies = with python3Packages; [ | ||
configparser | ||
pyqt6 | ||
psutil | ||
requests | ||
arrow | ||
beautifulsoup4 | ||
configparser | ||
dbus-python | ||
keyring | ||
requests-kerberos | ||
lxml | ||
dbus-python | ||
python-dateutil | ||
psutil | ||
pyqt6 | ||
pysocks | ||
python-dateutil | ||
requests | ||
requests-kerberos | ||
]; | ||
|
||
nativeCheckInputs = with python3Packages; [ | ||
pylint | ||
pytestCheckHook | ||
]; | ||
|
||
meta = with lib; { | ||
meta = { | ||
description = "Status monitor for the desktop"; | ||
homepage = "https://nagstamon.de/"; | ||
license = licenses.gpl2Plus; | ||
maintainers = with maintainers; [ | ||
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 ]; | ||
}; | ||
} |