nixpkgs/pkgs/os-specific/linux/dstat/default.nix

27 lines
708 B
Nix
Raw Normal View History

2016-11-09 14:54:07 +00:00
{ stdenv, fetchurl, python2Packages }:
2012-08-05 12:55:44 +00:00
python2Packages.buildPythonApplication rec {
2019-08-31 11:41:23 +00:00
pname = "dstat";
format = "other";
2016-06-20 16:08:31 +00:00
version = "0.7.3";
2012-08-05 12:55:44 +00:00
src = fetchurl {
2016-06-20 16:08:31 +00:00
url = "https://github.com/dagwieers/dstat/archive/${version}.tar.gz";
sha256 = "16286z3y2lc9nsq8njzjkv6k2vyxrj9xiixj1k3gnsbvhlhkirj6";
2012-08-05 12:55:44 +00:00
};
propagatedBuildInputs = with python2Packages; [ python-wifi ];
2012-08-05 12:55:44 +00:00
2020-02-15 00:41:39 +00:00
patches = [ ./fix_pluginpath.patch ];
makeFlags = [ "prefix=$(out)" ];
2012-08-05 12:55:44 +00:00
2015-06-22 06:25:07 +00:00
meta = with stdenv.lib; {
homepage = "http://dag.wieers.com/home-made/dstat/";
description = "Versatile resource statistics tool";
2015-06-22 06:25:07 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
2012-08-05 12:55:44 +00:00
};
}