Skip to content

Commit 08228e8

Browse files
committedJun 1, 2017
nagstamon: init at 2.0.1
1 parent ca6a97d commit 08228e8

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
 

‎pkgs/tools/nagstamon/default.nix

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{ stdenv, fetchurl, pythonPackages }:
2+
3+
pythonPackages.buildPythonApplication rec {
4+
name = "nagstamon-${version}";
5+
version = "2.0.1";
6+
7+
src = fetchurl {
8+
url = "https://nagstamon.ifw-dresden.de/files/stable/Nagstamon-${version}.tar.gz";
9+
sha256 = "3d4b22190d47250b175a4a70b12391c694ba2399832320887e5909e1ce3dfd7b";
10+
};
11+
12+
# Test assumes darwin
13+
doCheck = false;
14+
15+
propagatedBuildInputs = with pythonPackages; [ configparser pyqt5 psutil requests
16+
beautifulsoup4 ];
17+
18+
meta = with stdenv.lib; {
19+
description = "A status monitor for the desktop";
20+
homepage = https://nagstamon.ifw-dresden.de/;
21+
license = licenses.gpl2;
22+
maintainers = with maintainers; [ pSub ];
23+
inherit version;
24+
};
25+
}

‎pkgs/top-level/all-packages.nix

+4
Original file line numberDiff line numberDiff line change
@@ -2718,6 +2718,10 @@ with pkgs;
27182718

27192719
mxt-app = callPackage ../misc/mxt-app { };
27202720

2721+
nagstamon = callPackage ../tools/nagstamon {
2722+
pythonPackages = python3Packages;
2723+
};
2724+
27212725
netdata = callPackage ../tools/system/netdata { };
27222726

27232727
netsurf = recurseIntoAttrs (let callPackage = newScope pkgs.netsurf; in rec {

0 commit comments

Comments
 (0)