-
-
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.
- Loading branch information
1 parent
540a1b5
commit 48338f6
Showing
2 changed files
with
41 additions
and
7 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,25 +1,58 @@ | ||
{ lib, fetchurl, pythonPackages }: | ||
{ | ||
lib, | ||
fetchurl, | ||
pythonPackages, | ||
qt6, | ||
}: | ||
|
||
pythonPackages.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="; | ||
sha256 = "sha256-QuXs0muY0CvEJFB7ehMhvcQG4MByp3ySEmr7qB1enEk="; | ||
}; | ||
|
||
# Test assumes darwin | ||
doCheck = false; | ||
|
||
build-system = with pythonPackages; [ setuptools ]; | ||
dependencies = with pythonPackages; [ configparser pyqt6 psutil requests | ||
beautifulsoup4 keyring requests-kerberos lxml dbus-python python-dateutil pysocks ]; | ||
buildInputs = [ | ||
qt6.qtmultimedia | ||
qt6.qtbase | ||
qt6.qtsvg | ||
]; | ||
|
||
# Correction : buildSystem -> nativeBuildInputs | ||
nativeBuildInputs = with pythonPackages; [ | ||
setuptools | ||
qt6.wrapQtAppsHook # Déplacé ici car c'est un outil de build | ||
]; | ||
|
||
# Correction : dependencies -> propagatedBuildInputs | ||
propagatedBuildInputs = with pythonPackages; [ | ||
arrow | ||
configparser | ||
pyqt6 | ||
psutil | ||
requests | ||
beautifulsoup4 | ||
keyring | ||
requests-kerberos | ||
lxml | ||
dbus-python | ||
python-dateutil | ||
pysocks | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Status monitor for the desktop"; | ||
homepage = "https://nagstamon.de/"; | ||
license = licenses.gpl2Plus; | ||
maintainers = with maintainers; [ pSub liberodark ]; | ||
maintainers = with maintainers; [ | ||
pSub | ||
liberodark | ||
]; | ||
badPlatforms = platforms.darwin; | ||
}; | ||
} |
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