3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/virtualization/virt-top/default.nix

26 lines
799 B
Nix
Raw Normal View History

2018-02-26 22:50:46 +00:00
{ stdenv, fetchgit, ocamlPackages, autoreconfHook }:
2017-02-04 15:07:45 +00:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "virt-top";
2018-02-26 22:50:46 +00:00
version = "2017-11-18-unstable";
2017-02-04 15:07:45 +00:00
2018-02-26 22:50:46 +00:00
src = fetchgit {
url = git://git.annexia.org/git/virt-top.git;
rev = "18a751d8c26548bb090ff05e30ccda3092e3373b";
sha256 = "0c4whjvw7p3yvd476i4ppdhi8j821r5y6caqrj2v9dc181cnp01i";
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;
};
}