8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
19 lines
567 B
Nix
19 lines
567 B
Nix
{ stdenv, lib, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "virt-what";
|
|
version = "1.20";
|
|
|
|
src = fetchurl {
|
|
url = "https://people.redhat.com/~rjones/virt-what/files/${pname}-${version}.tar.gz";
|
|
sha256 = "1s0hg5w47gmnllbs935bx21k3zqrgvqx1wn0zzij2lfxkb9dq4zr";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|