mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
d1109dac5b
http://git.annexia.org/?p=virt-top.git;a=blob_plain;f=ChangeLog;hb=4e29d93ac30354743258a7a737ad30dc346a3b38
26 lines
756 B
Nix
26 lines
756 B
Nix
{ stdenv, fetchgit, ocamlPackages, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "virt-top";
|
|
version = "1.0.9";
|
|
|
|
src = fetchgit {
|
|
url = git://git.annexia.org/virt-top.git;
|
|
rev = "v${version}";
|
|
sha256 = "0m7pm8lzlpngsj0vjv0hg8l9ck3gvwpva7r472f8f03xpjffwiga";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
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;
|
|
};
|
|
}
|