2017-09-28 19:13:19 +00:00
|
|
|
{ stdenv, lib, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "virt-what";
|
2018-11-08 15:28:44 +00:00
|
|
|
version = "1.19";
|
2017-09-28 19:13:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://people.redhat.com/~rjones/virt-what/files/${pname}-${version}.tar.gz";
|
2018-11-08 15:28:44 +00:00
|
|
|
sha256 = "00nhwly5q0ps8yv9cy3c2qp8lfshf3s0kdpwiy5zwk3g77z96rwk";
|
2017-09-28 19:13:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Detect if running in a virtual machine and prints its type";
|
|
|
|
homepage = "https://people.redhat.com/~rjones/virt-what/";
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|