Skip to content

Commit

Permalink
nagstamon: 3.14.0 -> 3.16.2 (#349714)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Nov 29, 2024
2 parents b9816a9 + a848fde commit 2c7123c
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 29 deletions.
67 changes: 67 additions & 0 deletions pkgs/by-name/na/nagstamon/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
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 ];
};
}
25 changes: 0 additions & 25 deletions pkgs/tools/misc/nagstamon/default.nix

This file was deleted.

4 changes: 0 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4200,10 +4200,6 @@ with pkgs;

mx-puppet-discord = callPackage ../servers/mx-puppet-discord { };

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

nanoemoji = with python3Packages; toPythonApplication nanoemoji;

nbtscanner = callPackage ../tools/security/nbtscanner {
Expand Down

0 comments on commit 2c7123c

Please sign in to comment.