diff --git a/pkgs/tools/nagstamon/default.nix b/pkgs/tools/nagstamon/default.nix new file mode 100644 index 000000000000..3163b78437ec --- /dev/null +++ b/pkgs/tools/nagstamon/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + name = "nagstamon-${version}"; + version = "2.0.1"; + + src = fetchurl { + url = "https://nagstamon.ifw-dresden.de/files/stable/Nagstamon-${version}.tar.gz"; + sha256 = "3d4b22190d47250b175a4a70b12391c694ba2399832320887e5909e1ce3dfd7b"; + }; + + # Test assumes darwin + doCheck = false; + + propagatedBuildInputs = with pythonPackages; [ configparser pyqt5 psutil requests + beautifulsoup4 ]; + + meta = with stdenv.lib; { + description = "A status monitor for the desktop"; + homepage = https://nagstamon.ifw-dresden.de/; + license = licenses.gpl2; + maintainers = with maintainers; [ pSub ]; + inherit version; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f26e7a5029a6..e8ad1d790059 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2718,6 +2718,10 @@ with pkgs; mxt-app = callPackage ../misc/mxt-app { }; + nagstamon = callPackage ../tools/nagstamon { + pythonPackages = python3Packages; + }; + netdata = callPackage ../tools/system/netdata { }; netsurf = recurseIntoAttrs (let callPackage = newScope pkgs.netsurf; in rec {