nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 24 lines 667 B view raw
1{ stdenv, fetchurl, python2Packages }: 2 3python2Packages.buildPythonApplication rec { 4 pname = "dstat"; 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; [ ]; 23 }; 24}