2016-11-09 14:54:07 +00:00
|
|
|
{ stdenv, fetchurl, python2Packages }:
|
2012-08-05 13:55:44 +01:00
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
python2Packages.buildPythonApplication rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "dstat";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2016-06-20 17:08:31 +01:00
|
|
|
version = "0.7.3";
|
2012-08-05 13:55:44 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-06-20 17:08:31 +01:00
|
|
|
url = "https://github.com/dagwieers/dstat/archive/${version}.tar.gz";
|
|
|
|
sha256 = "16286z3y2lc9nsq8njzjkv6k2vyxrj9xiixj1k3gnsbvhlhkirj6";
|
2012-08-05 13:55:44 +01:00
|
|
|
};
|
|
|
|
|
2016-12-10 13:21:34 +00:00
|
|
|
propagatedBuildInputs = with python2Packages; [ python-wifi ];
|
2012-08-05 13:55:44 +01:00
|
|
|
|
2015-11-26 17:44:44 +00:00
|
|
|
makeFlags = [ "prefix=$(out)" ];
|
2012-08-05 13:55:44 +01:00
|
|
|
|
2015-06-22 07:25:07 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://dag.wieers.com/home-made/dstat/";
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Versatile resource statistics tool";
|
2015-06-22 07:25:07 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2019-03-12 22:45:33 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2012-08-05 13:55:44 +01:00
|
|
|
};
|
|
|
|
}
|