2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, python2Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python2Packages.buildPythonApplication rec {
|
|
|
|
pname = "dstat";
|
|
|
|
format = "other";
|
|
|
|
version = "0.7.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/dagwieers/dstat/archive/${version}.tar.gz";
|
|
|
|
sha256 = "16286z3y2lc9nsq8njzjkv6k2vyxrj9xiixj1k3gnsbvhlhkirj6";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python2Packages; [ python-wifi ];
|
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
patches = [ ./fix_pluginpath.patch ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://dag.wieers.com/home-made/dstat/";
|
|
|
|
description = "Versatile resource statistics tool";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
};
|
|
|
|
}
|