summary refs log tree commit diff
path: root/pkgs/applications/virtualization/virt-what/default.nix
blob: 0236a34bb1249afebf9ee16376fc1d3adaf15849 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, lib, fetchurl }:

stdenv.mkDerivation rec {
  name = "virt-what-${version}";
  version = "1.18";

  src = fetchurl {
    url = "https://people.redhat.com/~rjones/virt-what/files/${name}.tar.gz";
    sha256 = "1x32h7i6lh823wj97r5rr2hg1v215kqzly14dwg0mwx62j1dshmw";
  };

  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;
  };
}