2017-09-28 21:13:19 +02:00
|
|
|
{ stdenv, lib, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "virt-what";
|
2019-10-09 01:12:53 +02:00
|
|
|
version = "1.20";
|
2017-09-28 21:13:19 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://people.redhat.com/~rjones/virt-what/files/${pname}-${version}.tar.gz";
|
2019-10-09 01:12:53 +02:00
|
|
|
sha256 = "1s0hg5w47gmnllbs935bx21k3zqrgvqx1wn0zzij2lfxkb9dq4zr";
|
2017-09-28 21:13:19 +02: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;
|
|
|
|
};
|
|
|
|
}
|