at 18.09-beta 683 B view raw
1{ stdenv, fetchurl, python2Packages }: 2 3python2Packages.buildPythonApplication rec { 4 name = "dstat-${version}"; 5 format = "other"; 6 version = "0.7.3"; 7 8 src = fetchurl { 9 url = "https://github.com/dagwieers/dstat/archive/${version}.tar.gz"; 10 sha256 = "16286z3y2lc9nsq8njzjkv6k2vyxrj9xiixj1k3gnsbvhlhkirj6"; 11 }; 12 13 propagatedBuildInputs = with python2Packages; [ python-wifi ]; 14 15 makeFlags = [ "prefix=$(out)" ]; 16 17 meta = with stdenv.lib; { 18 homepage = http://dag.wieers.com/home-made/dstat/; 19 description = "Versatile resource statistics tool"; 20 license = licenses.gpl2; 21 platforms = platforms.linux; 22 maintainers = with maintainers; [ jgeerds ]; 23 }; 24}