Skip to content

Commit

Permalink
nagstamon: 3.14.0 > 3.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liberodark committed Nov 15, 2024
1 parent 540a1b5 commit 48338f6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 7 deletions.
47 changes: 40 additions & 7 deletions pkgs/tools/misc/nagstamon/default.nix
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;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9417,6 +9417,7 @@ with pkgs;

nagstamon = callPackage ../tools/misc/nagstamon {
pythonPackages = python3Packages;
qt6 = kdePackages;
};

nanoemoji = with python3Packages; toPythonApplication nanoemoji;
Expand Down

0 comments on commit 48338f6

Please sign in to comment.