about summary refs log tree commit diff
path: root/pkgs/tools/misc/nagstamon
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-04-17 15:40:30 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-04-17 15:42:25 -0500
commit1592e03abaed9be050e1546fb6dd28d2436f9c39 (patch)
treed4318f6faaa2bb43d66564fa2328da22ead732fc /pkgs/tools/misc/nagstamon
parent6bd83e624c1d3478a255044704fd173ad84198fd (diff)
treewide: rename bad filenames
Most of these can easily be moved to subdirectories of other
directories. This helps reduce clutter in the main trees.
Diffstat (limited to 'pkgs/tools/misc/nagstamon')
-rw-r--r--pkgs/tools/misc/nagstamon/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/nagstamon/default.nix b/pkgs/tools/misc/nagstamon/default.nix
new file mode 100644
index 0000000000000..3163b78437ecb
--- /dev/null
+++ b/pkgs/tools/misc/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;
+  };
+}