depot/third_party/nixpkgs/pkgs/os-specific/linux/dstat/default.nix
Default email ae1b531433 Project import generated by Copybara.
GitOrigin-RevId: 1dc37370c489b610f8b91d7fdd40633163ffbafd
2020-10-27 01:29:36 +01:00

26 lines
708 B
Nix

{ stdenv, fetchurl, python2Packages }:
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 ];
patches = [ ./fix_pluginpath.patch ];
makeFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
homepage = "http://dag.wieers.com/home-made/dstat/";
description = "Versatile resource statistics tool";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
};
}