nixpkgs/pkgs/tools/misc/nagstamon/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

25 lines
736 B
Nix

{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "nagstamon";
version = "3.2.1";
src = fetchurl {
url = "https://nagstamon.ifw-dresden.de/files/stable/Nagstamon-${version}.tar.gz";
sha256 = "1048x55g3nlyyggn6a36xmj24w4hv08llg58f4hzc0fwg074cd58";
};
# Test assumes darwin
doCheck = false;
propagatedBuildInputs = with pythonPackages; [ configparser pyqt5 psutil requests
beautifulsoup4 keyring requests-kerberos kerberos lxml ];
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;
};
}