2018-02-26 22:50:46 +00:00
|
|
|
{ stdenv, fetchgit, ocamlPackages, autoreconfHook }:
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2019-10-29 12:10:29 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "virt-top";
|
2019-10-29 12:10:29 +00:00
|
|
|
version = "1.0.9";
|
2017-02-04 15:07:45 +00:00
|
|
|
|
2018-02-26 22:50:46 +00:00
|
|
|
src = fetchgit {
|
2019-10-29 12:10:29 +00:00
|
|
|
url = git://git.annexia.org/virt-top.git;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0m7pm8lzlpngsj0vjv0hg8l9ck3gvwpva7r472f8f03xpjffwiga";
|
2017-02-04 15:07:45 +00:00
|
|
|
};
|
|
|
|
|
2018-02-26 22:50:46 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2017-02-04 15:07:45 +00:00
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib ocaml_extlib ocaml_libvirt ocaml_gettext curses csv xml-light ];
|
|
|
|
|
|
|
|
buildPhase = "make opt";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A top-like utility for showing stats of virtualized domains";
|
|
|
|
homepage = https://people.redhat.com/~rjones/virt-top/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.volth ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|