about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/virtualization/virt-what/default.nix
blob: 8a339ac83224524880a12dfe63bb0b5494e74a5b (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.19";

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

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